coveragepy/coveragepy
The code coverage tool for Python observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 84
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 2993
- days_rel: 27
- days_push: 8
- n_releases_24m: 141
Adoption not part of the score
3407 stars · 519 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Coverage.py is the standard code coverage measurement tool for Python, tracking which lines of code execute during test runs. It uses Python's standard library tracing hooks and supports Python 3.10-3.15 and PyPy3.
Use cases
- measure code coverage of python tests
- find untested lines in my python codebase
- generate coverage reports for ci
- check test coverage percentage
- run coverage with pytest
- measure branch coverage in python
When to choose
- you need the de facto standard coverage tool for Python
- you want line, branch, and statement coverage with HTML/XML/JSON reports
- you need support for the latest Python versions including free-threading and PyPy
When to avoid
- you are measuring coverage for a non-Python language
- you need runtime performance profiling rather than coverage measurement
Facets
library · maturity stable
testing developer-tools testing developer-tools python cli cross-platform code-coverage test-coverage coverage-reporting pytest-plugin python
1 source
- readme: https://github.com/coveragepy/coveragepy · fetched 2026-08-28 · 2ca8305299d1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| coveragepy/coveragepy | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="coveragepy/coveragepy")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem