Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 813 Bytes

code-coverage.md

File metadata and controls

12 lines (7 loc) · 813 Bytes

Code coverage

This project uses Kover tool for generating code coverage metrics. To run the code coverage report for the whole codebase, run ./gradlew koverHtmlReport and open the HTML report at WordPress/build/reports/kover/html/index.html.

Coverage exclusions

To get more precise results of the metrics, some classes are excluded from code coverage calculations. Those classes are e.g. Dagger/Hilt generated code, Acitivies, Fragments, databinding etc. A complete list of exclusions is available in the config/gradle/code_coverage.gradle file.

Codecov

We also have Codecov integration for getting reports on each PR and observing trends. See the dashboard to get more insights.