Skip to main content
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 CPython 2.6, 2.7; 3.3 through 3.6; PyPy2 5.6; and PyPy3 5.5.

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

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.

Release history Release notifications

History Node

4.5.1

History Node

4.5

History Node

4.4.2

History Node

4.4.1

History Node

4.4

History Node

4.4b1

History Node

4.3.4

History Node

4.3.3

This version
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 the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
coverage-4.3.2-cp26-cp26m-macosx_10_10_x86_64.whl (167.9 kB) Copy SHA256 hash SHA256 Wheel cp26 Jan 17, 2017
coverage-4.3.2-cp26-cp26m-win32.whl (168.4 kB) Copy SHA256 hash SHA256 Wheel cp26 Jan 17, 2017
coverage-4.3.2-cp26-cp26m-win_amd64.whl (168.7 kB) Copy SHA256 hash SHA256 Wheel cp26 Jan 17, 2017
coverage-4.3.2-cp27-cp27m-macosx_10_10_intel.whl (172.9 kB) Copy SHA256 hash SHA256 Wheel cp27 Jan 17, 2017
coverage-4.3.2-cp27-cp27m-macosx_10_10_x86_64.whl (167.9 kB) Copy SHA256 hash SHA256 Wheel cp27 Jan 17, 2017
coverage-4.3.2-cp27-cp27m-win32.whl (168.2 kB) Copy SHA256 hash SHA256 Wheel cp27 Jan 17, 2017
coverage-4.3.2-cp27-cp27m-win_amd64.whl (168.4 kB) Copy SHA256 hash SHA256 Wheel cp27 Jan 17, 2017
coverage-4.3.2-cp33-cp33m-macosx_10_10_x86_64.whl (167.9 kB) Copy SHA256 hash SHA256 Wheel cp33 Jan 17, 2017
coverage-4.3.2-cp34-cp34m-macosx_10_10_x86_64.whl (167.9 kB) Copy SHA256 hash SHA256 Wheel cp34 Jan 17, 2017
coverage-4.3.2-cp34-cp34m-win32.whl (168.2 kB) Copy SHA256 hash SHA256 Wheel cp34 Jan 17, 2017
coverage-4.3.2-cp34-cp34m-win_amd64.whl (168.3 kB) Copy SHA256 hash SHA256 Wheel cp34 Jan 17, 2017
coverage-4.3.2-cp35-cp35m-macosx_10_10_x86_64.whl (168.0 kB) Copy SHA256 hash SHA256 Wheel cp35 Jan 17, 2017
coverage-4.3.2-cp35-cp35m-win32.whl (169.5 kB) Copy SHA256 hash SHA256 Wheel cp35 Jan 17, 2017
coverage-4.3.2-cp35-cp35m-win_amd64.whl (170.7 kB) Copy SHA256 hash SHA256 Wheel cp35 Jan 17, 2017
coverage-4.3.2-cp36-cp36m-macosx_10_10_x86_64.whl (168.0 kB) Copy SHA256 hash SHA256 Wheel cp36 Jan 17, 2017
coverage-4.3.2-cp36-cp36m-win32.whl (169.5 kB) Copy SHA256 hash SHA256 Wheel cp36 Jan 17, 2017
coverage-4.3.2-cp36-cp36m-win_amd64.whl (170.7 kB) Copy SHA256 hash SHA256 Wheel cp36 Jan 17, 2017
coverage-4.3.2.tar.gz (361.1 kB) Copy SHA256 hash SHA256 Source None Jan 17, 2017
coverage-4.3.2.win32-py2.6.exe (477.9 kB) Copy SHA256 hash SHA256 Windows Installer 2.6 Jan 17, 2017
coverage-4.3.2.win32-py2.7.exe (477.7 kB) Copy SHA256 hash SHA256 Windows Installer 2.7 Jan 17, 2017
coverage-4.3.2.win32-py3.4.exe (472.6 kB) Copy SHA256 hash SHA256 Windows Installer 3.4 Jan 17, 2017
coverage-4.3.2.win32-py3.5.exe (743.2 kB) Copy SHA256 hash SHA256 Windows Installer 3.5 Jan 17, 2017
coverage-4.3.2.win32-py3.6.exe (743.2 kB) Copy SHA256 hash SHA256 Windows Installer 3.6 Jan 17, 2017
coverage-4.3.2.win-amd64-py2.6.exe (514.1 kB) Copy SHA256 hash SHA256 Windows Installer 2.6 Jan 17, 2017
coverage-4.3.2.win-amd64-py2.7.exe (513.8 kB) Copy SHA256 hash SHA256 Windows Installer 2.7 Jan 17, 2017
coverage-4.3.2.win-amd64-py3.4.exe (512.2 kB) Copy SHA256 hash SHA256 Windows Installer 3.4 Jan 17, 2017
coverage-4.3.2.win-amd64-py3.5.exe (882.2 kB) Copy SHA256 hash SHA256 Windows Installer 3.5 Jan 17, 2017
coverage-4.3.2.win-amd64-py3.6.exe (882.2 kB) Copy SHA256 hash SHA256 Windows Installer 3.6 Jan 17, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page