Code coverage
Software QualityMandatoryHugo ter Doest's proposal
What it checks
The share of the code that the tests run, from a coverage report or a coverage figure in the repository.
Why it matters
High coverage makes it likely that a broken change is caught before it is released.
Where it comes from
Hugo ter Doest's proposal. Hugo ter Doest's proposal for the Component Checker sets what a repository must contain: a licence, publiccode.yml, documentation, tests, Docker, Helm, OpenAPI and the other basics.
Standard for Public Code. Measures a part of the criterion Use continuous integration of the Foundation for Public Code.
Level and version
- Level
- Mandatory
- Counts in the rating
- Yes
- Checklist version
- Introduced in 2026.1
- Category
- Software Quality
- Aspect
- Testing
How it is measured
Measured with a coverage report or coverage figure in the repository.
Tools and models says what each tool proves and what it does not.
How to pass
- Publish a coverage report or badge from your test run.
- Reach at least 80% coverage.