When comparing SonarCloud vs Codecov, the Slant community recommends Codecov for most people. In the question“What are the best code coverage services?” Codecov is ranked 1st while SonarCloud is ranked 6th. The most important reason people chose Codecov is:
Great detailed pull request comments including Codecov's Coverage Diff which breaks down coverage changes in the pull request. Comments are updated after every successful CI build.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Multi language
Support for more than 20 programming languages.
Pro Branch analysis
SonarCloud features automatic analysis of project branches and pull requests as soon as they get created.
Pro Detailed pull request comments
Great detailed pull request comments including Codecov's Coverage Diff which breaks down coverage changes in the pull request. Comments are updated after every successful CI build.
Pro Free version
Codecov is free for up to 5 users and open source repositories on Github, Bitbucket, and Gitlab.
Pro Grouping Coverage Reports
Codecov groups coverage reports to isolate coverage metrics. For example: unittest vs functional. Learn more here.
Pro Github commit status
Commit statuses are posted to maintain minimum coverage percentage.
Pro Coverage reports can be integrated into Github and Bitbucket with a browser extension
Overlay coverage reports directly in Github and Bitbucket for seamless integration into your workflow.
Pro Good customer support
Codecov has great customer support. Especially because it uses Intercom for communication which makes it easy to ask questions or make feature requests.
Cons
Con Seems extremely Java-focused, despite advertising support for many languages
Con Setup instructions don't work
Con Expensive - paid per user/month
Per-user pricing increases the pricing for us by 2600% compared to before.
Con Frequent downtime not reflected in status page
Often codecov.io URL returns 504 or 503 errors to the build scripts resulting in failed CI builds. Downtime is never reflected in their status page.
Con Node package doesn't support piped input
Most Node coverage uploaders allow you to pipe directly from a coverage tool into the coverage uploader, but Codecov seems to require that coverage is written to a file.
Con Browser extension not available for Safari
Alternative Products
