Skip to content
Code coverage measurement for Python
Python HTML JavaScript C CSS Makefile Other
Branch: master
Clone or download

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Try to get better bug reports Apr 13, 2020
ci Use requests link parsing May 20, 2020
coverage Read the config file contents as bytes, it's just for debugging anyway. May 23, 2020
doc Finish up --precision May 12, 2020
lab A script for comparing run times Oct 10, 2019
perf No need for format indexes (mostly) Sep 1, 2019
requirements Update pylint May 19, 2020
tests Read the config file contents as bytes, it's just for debugging anyway. May 23, 2020
.editorconfig Sometime git needs trailing spaces for diffs to work properly Jan 6, 2019
.gitignore A test of running coverage when it has been zipped. #862 Jan 11, 2020
.readthedocs.yml Yup, it works May 5, 2019
.travis.yml Clean up Mar 26, 2020
.treerc HTML: Mark things to show instead of to hide. Jul 6, 2019
CHANGES.rst Read the config file contents as bytes, it's just for debugging anyway. May 23, 2020
CONTRIBUTORS.txt Finish up --precision May 12, 2020
LICENSE.txt Switch license to Apache Jul 24, 2015
MANIFEST.in Better auto-spelling of contributors' names Nov 11, 2019
Makefile GitHub release automation May 19, 2020
NOTICE.txt 2019 -> 2020 Jan 4, 2020
README.rst Downloads badge is working again Apr 27, 2020
__main__.py Update NOTICE link to GitHub. Jun 24, 2018
appveyor.yml Appveyor should use the same version of pip as everything else May 1, 2020
howto.txt GitHub release automation May 19, 2020
igor.py A test of running coverage when it has been zipped. #862 Jan 11, 2020
metacov.ini Tweak some coverage details of switch_context code Dec 22, 2019
pylintrc Upgrade pylint Oct 18, 2019
setup.cfg Suppress a warning that is not our fault Jan 4, 2020
setup.py Adapt to 3.9's way of reporting files using absolute paths. Nov 25, 2019
tox.ini Appveyor should use the same version of pip as everything else May 1, 2020
tox_wheels.ini All tox work directories are under .tox Dec 23, 2019

README.rst

Coverage.py

Code coverage testing for Python.

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 many versions of Python:

  • CPython 2.7.
  • CPython 3.5 through 3.9 alpha 4.
  • PyPy2 7.3.0 and PyPy3 7.3.0.

Documentation is on Read the Docs. Code repository and issue tracker are on GitHub.

New in 5.0: SQLite data storage, JSON report, contexts, relative filenames, dropped support for Python 2.6, 3.3 and 3.4.

For Enterprise

Tidelift Available as part of the Tidelift Subscription. Coverage and thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use. If you want the flexibility of open source and the confidence of commercial-grade software, this is for you. Learn more.

Getting Started

See the Quick Start section of the docs.

Change history

The complete history of changes is on the change history page.

Contributing

See the Contributing section of the docs.

Security

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.

License

Licensed under the Apache 2.0 License. For details, see NOTICE.txt.

You can’t perform that action at this time.