Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Code coverage measurement for Python

Project Description

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.6, 2.7 and 3.3 through 3.6.
  • PyPy2 5.6 and PyPy3 5.5.
  • Jython 2.7.1, though not for reporting.
  • IronPython 2.7.7, though not for reporting.

Documentation is on Read the Docs. Code repository and issue tracker are on Bitbucket, with a mirrored repository on GitHub.

New in 4.4: Suppressable warnings, continuous coverage measurement.

New in 4.3: HTML --skip-covered, sys.excepthook support, tox.ini support.

New in 4.2: better support for multiprocessing and combining data.

New in 4.1: much-improved branch coverage.

New in 4.0: --concurrency, plugins for non-Python files, setup.cfg support, –skip-covered, HTML filtering, and more than 50 issues closed.

Getting Started

See the Quick Start section of the docs.

License

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

Release History

Release History

This version
History Node

4.4.1

History Node

4.4

History Node

4.4b1

History Node

4.3.4

History Node

4.3.3

History Node

4.3.2

History Node

4.3.1

History Node

4.3

History Node

4.2

History Node

4.2b1

History Node

4.1

History Node

4.1b3

History Node

4.1b2

History Node

4.1b1

History Node

4.0.3

History Node

4.0.2

History Node

4.0.1

History Node

4.0

History Node

4.0b3

History Node

4.0b2

History Node

4.0b1

History Node

4.0a6

History Node

4.0a5

History Node

4.0a4

History Node

4.0a3

History Node

4.0a2

History Node

4.0a1

History Node

3.7.1

History Node

3.7

History Node

3.6

History Node

3.6b3

History Node

3.6b2

History Node

3.6b1

History Node

3.5.3

History Node

3.5.2

History Node

3.5.2b1

History Node

3.5.1

History Node

3.5.1b1

History Node

3.5

History Node

3.5b1

History Node

3.4

History Node

3.4b2

History Node

3.4b1

History Node

3.3.1

History Node

3.3

History Node

3.2

History Node

3.2b4

History Node

3.2b3

History Node

3.2b2

History Node

3.2b1

History Node

3.1

History Node

3.1b1

History Node

3.0.1

History Node

3.0

History Node

3.0b3

History Node

2.85

History Node

2.80

History Node

2.78

History Node

2.77

History Node

2.76

History Node

2.75

History Node

2.8

History Node

2.6

History Node

2.5

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
coverage-4.4.1-cp26-cp26m-macosx_10_10_x86_64.whl (172.0 kB) Copy SHA256 Checksum SHA256 cp26 Wheel May 15, 2017
coverage-4.4.1-cp26-cp26m-manylinux1_i686.whl (191.8 kB) Copy SHA256 Checksum SHA256 cp26 Wheel May 15, 2017
coverage-4.4.1-cp26-cp26m-manylinux1_x86_64.whl (193.3 kB) Copy SHA256 Checksum SHA256 cp26 Wheel May 15, 2017
coverage-4.4.1-cp26-cp26mu-manylinux1_i686.whl (191.8 kB) Copy SHA256 Checksum SHA256 cp26 Wheel May 15, 2017
coverage-4.4.1-cp26-cp26mu-manylinux1_x86_64.whl (193.3 kB) Copy SHA256 Checksum SHA256 cp26 Wheel May 15, 2017
coverage-4.4.1-cp26-cp26m-win32.whl (172.5 kB) Copy SHA256 Checksum SHA256 cp26 Wheel May 15, 2017
coverage-4.4.1-cp26-cp26m-win_amd64.whl (172.8 kB) Copy SHA256 Checksum SHA256 cp26 Wheel May 15, 2017
coverage-4.4.1-cp27-cp27m-macosx_10_10_x86_64.whl (172.1 kB) Copy SHA256 Checksum SHA256 cp27 Wheel May 15, 2017
coverage-4.4.1-cp27-cp27m-macosx_10_12_intel.whl (177.3 kB) Copy SHA256 Checksum SHA256 cp27 Wheel May 15, 2017
coverage-4.4.1-cp27-cp27m-manylinux1_i686.whl (191.9 kB) Copy SHA256 Checksum SHA256 cp27 Wheel May 15, 2017
coverage-4.4.1-cp27-cp27m-manylinux1_x86_64.whl (193.3 kB) Copy SHA256 Checksum SHA256 cp27 Wheel May 15, 2017
coverage-4.4.1-cp27-cp27mu-manylinux1_i686.whl (191.9 kB) Copy SHA256 Checksum SHA256 cp27 Wheel May 15, 2017
coverage-4.4.1-cp27-cp27mu-manylinux1_x86_64.whl (193.4 kB) Copy SHA256 Checksum SHA256 cp27 Wheel May 15, 2017
coverage-4.4.1-cp27-cp27m-win32.whl (172.3 kB) Copy SHA256 Checksum SHA256 cp27 Wheel May 15, 2017
coverage-4.4.1-cp27-cp27m-win_amd64.whl (172.5 kB) Copy SHA256 Checksum SHA256 cp27 Wheel May 15, 2017
coverage-4.4.1-cp33-cp33m-macosx_10_10_x86_64.whl (172.0 kB) Copy SHA256 Checksum SHA256 cp33 Wheel May 15, 2017
coverage-4.4.1-cp33-cp33m-manylinux1_i686.whl (192.1 kB) Copy SHA256 Checksum SHA256 cp33 Wheel May 15, 2017
coverage-4.4.1-cp33-cp33m-manylinux1_x86_64.whl (194.1 kB) Copy SHA256 Checksum SHA256 cp33 Wheel May 15, 2017
coverage-4.4.1-cp34-cp34m-macosx_10_10_x86_64.whl (172.0 kB) Copy SHA256 Checksum SHA256 cp34 Wheel May 15, 2017
coverage-4.4.1-cp34-cp34m-manylinux1_i686.whl (193.6 kB) Copy SHA256 Checksum SHA256 cp34 Wheel May 15, 2017
coverage-4.4.1-cp34-cp34m-manylinux1_x86_64.whl (196.2 kB) Copy SHA256 Checksum SHA256 cp34 Wheel May 15, 2017
coverage-4.4.1-cp34-cp34m-win32.whl (172.3 kB) Copy SHA256 Checksum SHA256 cp34 Wheel May 15, 2017
coverage-4.4.1-cp34-cp34m-win_amd64.whl (172.4 kB) Copy SHA256 Checksum SHA256 cp34 Wheel May 15, 2017
coverage-4.4.1-cp35-cp35m-macosx_10_10_x86_64.whl (172.1 kB) Copy SHA256 Checksum SHA256 cp35 Wheel May 15, 2017
coverage-4.4.1-cp35-cp35m-manylinux1_i686.whl (193.8 kB) Copy SHA256 Checksum SHA256 cp35 Wheel May 15, 2017
coverage-4.4.1-cp35-cp35m-manylinux1_x86_64.whl (196.4 kB) Copy SHA256 Checksum SHA256 cp35 Wheel May 15, 2017
coverage-4.4.1-cp35-cp35m-win32.whl (173.7 kB) Copy SHA256 Checksum SHA256 cp35 Wheel May 15, 2017
coverage-4.4.1-cp35-cp35m-win_amd64.whl (175.0 kB) Copy SHA256 Checksum SHA256 cp35 Wheel May 15, 2017
coverage-4.4.1-cp36-cp36m-macosx_10_10_x86_64.whl (172.1 kB) Copy SHA256 Checksum SHA256 cp36 Wheel May 15, 2017
coverage-4.4.1-cp36-cp36m-manylinux1_i686.whl (193.8 kB) Copy SHA256 Checksum SHA256 cp36 Wheel May 15, 2017
coverage-4.4.1-cp36-cp36m-manylinux1_x86_64.whl (196.4 kB) Copy SHA256 Checksum SHA256 cp36 Wheel May 15, 2017
coverage-4.4.1-cp36-cp36m-win32.whl (173.7 kB) Copy SHA256 Checksum SHA256 cp36 Wheel May 15, 2017
coverage-4.4.1-cp36-cp36m-win_amd64.whl (175.0 kB) Copy SHA256 Checksum SHA256 cp36 Wheel May 15, 2017
coverage-4.4.1.tar.gz (369.8 kB) Copy SHA256 Checksum SHA256 Source May 15, 2017
coverage-4.4.1.win32-py2.6.exe (482.2 kB) Copy SHA256 Checksum SHA256 2.6 Windows Installer May 15, 2017
coverage-4.4.1.win32-py2.7.exe (481.9 kB) Copy SHA256 Checksum SHA256 2.7 Windows Installer May 15, 2017
coverage-4.4.1.win32-py3.4.exe (476.9 kB) Copy SHA256 Checksum SHA256 3.4 Windows Installer May 15, 2017
coverage-4.4.1.win32-py3.5.exe (745.6 kB) Copy SHA256 Checksum SHA256 3.5 Windows Installer May 15, 2017
coverage-4.4.1.win32-py3.6.exe (745.6 kB) Copy SHA256 Checksum SHA256 3.6 Windows Installer May 15, 2017
coverage-4.4.1.win-amd64-py2.6.exe (518.4 kB) Copy SHA256 Checksum SHA256 2.6 Windows Installer May 15, 2017
coverage-4.4.1.win-amd64-py2.7.exe (518.1 kB) Copy SHA256 Checksum SHA256 2.7 Windows Installer May 15, 2017
coverage-4.4.1.win-amd64-py3.4.exe (516.5 kB) Copy SHA256 Checksum SHA256 3.4 Windows Installer May 15, 2017
coverage-4.4.1.win-amd64-py3.5.exe (884.6 kB) Copy SHA256 Checksum SHA256 3.5 Windows Installer May 15, 2017
coverage-4.4.1.win-amd64-py3.6.exe (884.6 kB) Copy SHA256 Checksum SHA256 3.6 Windows Installer May 15, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting