--- id: coverage version: "7.15.4" license: Apache-2.0 license_treatment: permissive maintenance: active --- # coverage — Code coverage measurement for Python License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install coverage uv add coverage poetry add coverage ## Description .. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 .. For details: https://github.com/coveragepy/coveragepy/blob/main/NOTICE.txt =========== Coverage.py =========== Code coverage measurement for Python. .. image:: https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg :target: https://vshymanskyy.github.io/StandWithUkraine :alt: Stand with Ukraine ------------- | |kit| |license| |versions| | |test-status| |quality-status| |docs| |metacov| | |tidelift| |sponsor| |stars| |mastodon-coveragepy| |mastodon-nedbat| |bluesky-nedbat| Coverage.py measures code coverage, typically during test execution. It uses the code analysis tools and tracing hooks provided in the Python standard library to determine which lines are executable, and which have been executed. Coverage.py runs on these versions of Python: .. PYVERSIONS * Python 3.10 through 3.15 rc1, including free-threading. * PyPy3 versions 3.10 and 3.11. Documentation is on `Read the Docs`_. Code repository and issue tracker are on `GitHub`_. .. _Read the Docs: https://coverage.readthedocs.io/en/7.15.4/ .. _GitHub:... ## AI interpretation — verify before relying Coverage.py measures which lines of Python code are executed during test runs, using standard library tracing to identify executable and covered code paths. Verdict: Coverage.py is a mature, actively maintained code coverage tool with zero known vulnerabilities, low install friction, and permissive licensing. It is well-suited for integration into test pipelines across modern Python versions. [View on SkillFed](https://skillfed.io/packages/coverage) · [View on PyPI](https://pypi.org/project/coverage/)