Need advice about which tool to choose?Ask the StackShare community!

Codecov

819
298
+ 1
89
SonarQube

1.4K
1.6K
+ 1
42
Add tool

Codecov vs SonarQube: What are the differences?

Codecov: Hosted coverage reports with awesome features to enhance your CI workflow. Our patrons rave about our elegant coverage reports, integrated pull request comments, interactive commit graphs, our Chrome plugin and security; SonarQube: Continuous Code Quality. SonarQube provides an overview of the overall health of your source code and even more importantly, it highlights issues found on new code. With a Quality Gate set on your project, you will simply fix the Leak and start mechanically improving.

Codecov belongs to "Code Coverage" category of the tech stack, while SonarQube can be primarily classified under "Code Review".

"More stable than coveralls" is the primary reason why developers consider Codecov over the competitors, whereas "Tracks code complexity and smell trends" was stated as the key factor in picking SonarQube.

SonarQube is an open source tool with 3.79K GitHub stars and 1.06K GitHub forks. Here's a link to SonarQube's open source repository on GitHub.

According to the StackShare community, SonarQube has a broader approval, being mentioned in 105 company stacks & 61 developers stacks; compared to Codecov, which is listed in 49 company stacks and 29 developer stacks.

Decisions about Codecov and SonarQube

My website is brand new and one of the few requirements of testings I had to implement was code coverage. Never though it was so hard to implement using a #docker container. Given my lack of experience, every attempt I tried on making a simple code coverage test using the 4 combinations of #TravisCI, #CircleCi with #Coveralls, #Codecov I failed. The main problem was I was generating the .coverage file within the docker container and couldn't access it with #TravisCi or #CircleCi, every attempt to solve this problem seems to be very hacky and this was not the kind of complexity I want to introduce to my newborn website. This problem was solved using a specific action for #GitHubActions, it was a 3 line solution I had to put in my github workflow file and I was able to access the .coverage file from my docker container and get the coverage report with #Codecov.

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Codecov
Pros of SonarQube
  • 16
    More stable than coveralls
  • 15
    Easy setup
  • 12
    GitHub integration
  • 10
    They reply their users
  • 8
    Easy setup,great ui
  • 4
    Golang support
  • 4
    Easily see per-commit coverage in GitHub
  • 4
    Steve is the man
  • 3
    Code coverage
  • 3
    Merges coverage from multiple CI jobs
  • 3
    JSON in web hook
  • 2
    Free for public repositories
  • 2
    Newest Android SDK preinstalled
  • 2
    Cool diagrams
  • 1
    Bitbucket Integration
  • 22
    Tracks code complexity and smell trends
  • 13
    IDE Integration
  • 7
    Complete code Review

Sign up to add or upvote prosMake informed product decisions

Cons of Codecov
Cons of SonarQube
  • 1
    GitHub org / team integration is a little too tight
  • 0
    Delayed results by hours since recent outage
  • 0
    Support does not respond to email
  • 7
    Sales process is long and unfriendly
  • 7
    Paid support is poor, techs arrogant and unhelpful

Sign up to add or upvote consMake informed product decisions

- No public GitHub repository available -

What is Codecov?

Our patrons rave about our elegant coverage reports, integrated pull request comments, interactive commit graphs, our Chrome plugin and security.

What is SonarQube?

SonarQube provides an overview of the overall health of your source code and even more importantly, it highlights issues found on new code. With a Quality Gate set on your project, you will simply fix the Leak and start mechanically improving.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Codecov?
What companies use SonarQube?
See which teams inside your own company are using Codecov or SonarQube.
Sign up for Private StackShareLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Codecov?
What tools integrate with SonarQube?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

What are some alternatives to Codecov and SonarQube?
Code Climate
After each Git push, Code Climate analyzes your code for complexity, duplication, and common smells to determine changes in quality and surface technical debt hotspots.
Coveralls
Coveralls works with your CI server and sifts through your coverage data to find issues you didn't even know you had before they become a problem. Free for open source, pro accounts for private repos, instant sign up with GitHub OAuth.
Codacy
Codacy automates code reviews and monitors code quality on every commit and pull request on more than 40 programming languages reporting back the impact of every commit or PR, issues concerning code style, best practices and security.
JaCoCo
It is a free code coverage library for Java, which has been created based on the lessons learned from using and integration existing libraries for many years.
Istanbul
It is a JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
See all alternatives