Code Coverage

Code coverage is a measure that indicates the percentage of a codebase that is tested by automated tests. It helps ensure that the tests cover a significant portion of the code, identifying untested parts and potential bugs.

Guide to set up code coverage for your account

Code coverage report

  • Total Coverage: The percentage of the codebase covered by automated test cases.

  • Uncovered Lines: The number of lines without any associated test cases.

  • Uncovered Conditions: The number of conditions without any associated test cases.

  • Overall Tracked Lines: The total number of lines present in your codebase.

  • Overall Tracked Conditions: The total number of conditions present in your codebase.

  • Covered Lines: The number of lines covered by test cases.

  • Covered Conditions: The number of conditions with test cases written for them.

  • Last Analyzed: The date when the code was last analyzed, helping you understand the recency of the coverage report.

  • Repo Coverage Summary: Shows the coverage at the repository level, highlighting missed lines that lack tests.

PR level coverage

This section shows the coverage for each Pull Request, allowing you to see the impact of each PR on your overall code coverage.

Last updated