Need advice about which tool to choose?Ask the StackShare community!
Codecov vs Coveralls: What are the differences?
Codecov vs Coveralls
Code coverage tools play a crucial role in the software development process. Two popular options are Codecov and Coveralls. While both aim to measure and track code coverage, there are several key differences between them:
Integration and Platform Support: Codecov supports a wide range of languages and platforms, including popular ones like Java, JavaScript, Python, and Ruby. On the other hand, Coveralls has limited language support, primarily focusing on Ruby, JavaScript, and Python.
Interface and User Experience: Codecov offers a comprehensive and user-friendly interface with various features like pull request integration, code commenting, and visual coverage reports. Coveralls, on the other hand, has a simpler interface with basic features and less intuitive navigation.
Integrations and Ecosystem: Codecov integrates seamlessly with popular code hosting platforms like GitHub and Bitbucket. It also has extensive integration options with various CI/CD tools. While Coveralls also supports GitHub integration, it lacks the same level of integrations with other code hosting and CI/CD platforms.
Metrics and Analysis: Codecov provides detailed metrics, allowing developers to measure not only overall code coverage but also specific coverage metrics like line, branch, and function coverage. Coveralls, however, focuses primarily on overall coverage percentage, lacking more granular metrics.
Security and Privacy: Codecov offers advanced security features like token scanning, secret detection, and security advisories, ensuring the protection of sensitive data. While Coveralls ensures the privacy of code coverage reports, it doesn't provide the same level of security features as Codecov.
Pricing and Plans: Codecov offers a free tier with limited functionality and additional paid plans that unlock advanced features. Coveralls also has a free plan but its features are more limited, and it primarily offers paid plans for teams or organizations.
In summary, Codecov and Coveralls differ in terms of integration and platform support, interface and user experience, integrations and ecosystem, metrics and analysis capabilities, security and privacy measures, as well as pricing and plans. Making a choice between the two ultimately depends on individual needs and preferences.
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.
Pros of Codecov
- More stable than coveralls17
- Easy setup17
- GitHub integration14
- They reply their users11
- Easy setup,great ui10
- Easily see per-commit coverage in GitHub5
- Steve is the man5
- Merges coverage from multiple CI jobs4
- Golang support4
- Free for public repositories3
- Code coverage3
- JSON in web hook3
- Newest Android SDK preinstalled3
- Cool diagrams2
- Bitbucket Integration1
Pros of Coveralls
- Free for public repositories45
- Code coverage13
- Ease of integration7
- More stable than Codecov2
- Combines coverage from multiple/parallel test runs1
Sign up to add or upvote prosMake informed product decisions
Cons of Codecov
- GitHub org / team integration is a little too tight1
- Delayed results by hours since recent outage0
- Support does not respond to email0