For the latest updates and improvements, see the latest Cloud documentation instead.
Generate coverage¶
Code coverage is a metric used to describe the degree to which the source code of a program is tested.
A program with high code coverage has been more thoroughly tested and has a lower chance of containing software bugs than a program with low code coverage.
There are many tools to generate coverage. We have a few suggestions:
- Java - JaCoCo
- JavaScript - Istanbul
- PHP - PHPUnit
- Python - Coverage.py
- C# - OpenCover and dotCover
- Scala - Scoverage
- Ruby - SimpleCov
See also:
Share your feedback 📢
Did this page help you?
Thanks for the feedback! Is there anything else you'd like to tell us about this page?
255 characters left
We're sorry to hear that. Please let us know what we can improve:
255 characters left
Alternatively, you can create a more detailed issue on our GitHub repository.
Thanks for helping improve the Codacy documentation.
If you have a question or need help please contact support@codacy.com.