Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Code coverage measurement for Python

Project description

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 Pythons 2.3 through 3.2.

Documentation is at nedbatchelder.com. Code repository and issue tracker are at bitbucket.org.

New in 3.2: Branch coverage!

New in 3.3: .coveragerc files.

New in 3.4: Better control over source to measure, and unexecuted files can be reported.

Project details


Release history Release notifications

History Node

5.0a1

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

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

This version
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-3.4.tar.gz (92.1 kB) Copy SHA256 hash SHA256 Source None Sep 19, 2010
coverage-3.4.win32-py2.3.exe (146.9 kB) Copy SHA256 hash SHA256 Windows Installer 2.3 Sep 19, 2010
coverage-3.4.win32-py2.4.exe (152.0 kB) Copy SHA256 hash SHA256 Windows Installer 2.4 Sep 19, 2010
coverage-3.4.win32-py2.5.exe (152.0 kB) Copy SHA256 hash SHA256 Windows Installer 2.5 Sep 19, 2010
coverage-3.4.win32-py2.6.exe (286.7 kB) Copy SHA256 hash SHA256 Windows Installer 2.6 Sep 19, 2010
coverage-3.4.win32-py2.7.exe (286.7 kB) Copy SHA256 hash SHA256 Windows Installer 2.7 Sep 19, 2010
coverage-3.4.win32-py3.1.exe (286.4 kB) Copy SHA256 hash SHA256 Windows Installer 3.1 Sep 19, 2010
coverage-3.4.win32-py3.2.exe (286.4 kB) Copy SHA256 hash SHA256 Windows Installer 3.2 Sep 19, 2010
coverage-3.4.win-amd64-py2.5.exe (316.9 kB) Copy SHA256 hash SHA256 Windows Installer 2.5 Sep 21, 2010
coverage-3.4.win-amd64-py2.6.exe (315.3 kB) Copy SHA256 hash SHA256 Windows Installer 2.6 Sep 21, 2010
coverage-3.4.win-amd64-py2.7.exe (315.3 kB) Copy SHA256 hash SHA256 Windows Installer 2.7 Sep 21, 2010
coverage-3.4.win-amd64-py3.1.exe (315.5 kB) Copy SHA256 hash SHA256 Windows Installer 3.1 Sep 21, 2010
coverage-3.4.win-amd64-py3.2.exe (315.5 kB) Copy SHA256 hash SHA256 Windows Installer 3.2 Sep 21, 2010

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