Skip to main content

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 CPython 2.6, 2.7, 3.3, 3.4 or 3.5, PyPy 2.4, and PyPy3 2.4.

Documentation is at nedbatchelder.com. Code repository and issue tracker are on Bitbucket, with a mirrored repo on GitHub.

New in 4.0 alpha: --concurrency, dropped support for older Pythons, setup.cfg support, plugins for other file variants, –skip-covered, HTML filtering.

New in 3.7: --debug, and 12 bugs closed.

New in 3.6: --fail-under, and >20 bugs closed.

New in 3.5: Branch coverage exclusions, keyboard shortcuts in HTML report.

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

New in 3.3: .coveragerc files.

New in 3.2: Branch coverage!

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

coverage-4.0a5.zip (385.9 kB view details)

Uploaded Source

coverage-4.0a5.tar.gz (289.9 kB view details)

Uploaded Source

coverage-4.0a5.tar.bz2 (232.6 kB view details)

Uploaded Source

Built Distributions

coverage-4.0a5.win-amd64-py3.4.exe (483.0 kB view details)

Uploaded Source

coverage-4.0a5.win-amd64-py3.3.exe (483.1 kB view details)

Uploaded Source

coverage-4.0a5.win-amd64-py3.2.exe (485.2 kB view details)

Uploaded Source

coverage-4.0a5.win-amd64-py2.7.exe (484.7 kB view details)

Uploaded Source

coverage-4.0a5.win-amd64-py2.6.exe (484.9 kB view details)

Uploaded Source

coverage-4.0a5.win32-py3.4.exe (443.6 kB view details)

Uploaded Source

coverage-4.0a5.win32-py3.3.exe (443.6 kB view details)

Uploaded Source

coverage-4.0a5.win32-py3.2.exe (448.7 kB view details)

Uploaded Source

coverage-4.0a5.win32-py2.7.exe (448.6 kB view details)

Uploaded Source

coverage-4.0a5.win32-py2.6.exe (448.9 kB view details)

Uploaded Source

coverage-4.0a5-py3.4-win-amd64.egg (243.9 kB view details)

Uploaded Source

coverage-4.0a5-py3.4-win32.egg (243.8 kB view details)

Uploaded Source

coverage-4.0a5-py3.3-win-amd64.egg (246.8 kB view details)

Uploaded Source

coverage-4.0a5-py3.3-win32.egg (246.7 kB view details)

Uploaded Source

coverage-4.0a5-py3.2-win-amd64.egg (243.0 kB view details)

Uploaded Source

coverage-4.0a5-py3.2-win32.egg (242.7 kB view details)

Uploaded Source

coverage-4.0a5-py2.7-win-amd64.egg (240.3 kB view details)

Uploaded Source

coverage-4.0a5-py2.7-win32.egg (240.0 kB view details)

Uploaded Source

coverage-4.0a5-py2.6-win-amd64.egg (241.5 kB view details)

Uploaded Source

coverage-4.0a5-py2.6-win32.egg (241.2 kB view details)

Uploaded Source

coverage-4.0a5-cp34-none-win_amd64.whl (141.6 kB view details)

Uploaded CPython 3.4 Windows x86-64

coverage-4.0a5-cp34-none-win32.whl (141.6 kB view details)

Uploaded CPython 3.4 Windows x86

coverage-4.0a5-cp33-none-win_amd64.whl (141.6 kB view details)

Uploaded CPython 3.3 Windows x86-64

coverage-4.0a5-cp33-none-win32.whl (141.7 kB view details)

Uploaded CPython 3.3 Windows x86

coverage-4.0a5-cp32-none-win_amd64.whl (141.7 kB view details)

Uploaded CPython 3.2 Windows x86-64

coverage-4.0a5-cp32-none-win32.whl (141.6 kB view details)

Uploaded CPython 3.2 Windows x86

coverage-4.0a5-cp27-none-win_amd64.whl (141.7 kB view details)

Uploaded CPython 2.7 Windows x86-64

coverage-4.0a5-cp27-none-win32.whl (141.6 kB view details)

Uploaded CPython 2.7 Windows x86

coverage-4.0a5-cp26-none-win_amd64.whl (142.0 kB view details)

Uploaded CPython 2.6 Windows x86-64

coverage-4.0a5-cp26-none-win32.whl (141.9 kB view details)

Uploaded CPython 2.6 Windows x86

File details

Details for the file coverage-4.0a5.zip.

File metadata

  • Download URL: coverage-4.0a5.zip
  • Upload date:
  • Size: 385.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for coverage-4.0a5.zip
Algorithm Hash digest
SHA256 62cebac5cc6b1eee95d3714ed5c2ca46a53a0b5e0eec06452d59001b33da8435
MD5 8a59799b1c1740d211346d6e88990815
BLAKE2b-256 ad9cee295d5c42c50bdf6c7d0c7c576a988d1d0bc528a94592c6f936b4880117

See more details on using hashes here.

File details

Details for the file coverage-4.0a5.tar.gz.

File metadata

  • Download URL: coverage-4.0a5.tar.gz
  • Upload date:
  • Size: 289.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for coverage-4.0a5.tar.gz
Algorithm Hash digest
SHA256 07a36ac3c82f5961c45565fd5575b4c568a8fc59e8d5d29a5b04dc8597a07e0e
MD5 37f4d8ae679b2c43a87da8d519817a3b
BLAKE2b-256 715fa5e5e5c8471ff6e567c9829aec3a487c327e034b7f3ae0a4e41e92b44e53

See more details on using hashes here.

File details

Details for the file coverage-4.0a5.tar.bz2.

File metadata

  • Download URL: coverage-4.0a5.tar.bz2
  • Upload date:
  • Size: 232.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for coverage-4.0a5.tar.bz2
Algorithm Hash digest
SHA256 8b4aef275cf2ea54be7cd4bd6c55430f027161df8604f22b774ce58a38fbdc47
MD5 093b78ed15ae1194e74da11ca0b66f52
BLAKE2b-256 f0aaa1a022d3ec43c0ed8a826a80ad79e69d1884802e4fe4f3175f86ee3ec3a0

See more details on using hashes here.

File details

Details for the file coverage-4.0a5.win-amd64-py3.4.exe.

File metadata

File hashes

Hashes for coverage-4.0a5.win-amd64-py3.4.exe
Algorithm Hash digest
SHA256 3b29a44af4fd72667e4263fc46df570393e4068527cd9a603cd9c72110cb59f3
MD5 0c0bb995848789ea173171e819b64742
BLAKE2b-256 5589a2b565eca2bd719cafb035b6bfa7a0992de7123ead27b9c7d831d1afbc95

See more details on using hashes here.

File details

Details for the file coverage-4.0a5.win-amd64-py3.3.exe.

File metadata

File hashes

Hashes for coverage-4.0a5.win-amd64-py3.3.exe
Algorithm Hash digest
SHA256 886fde4916a327332fe6a0182bc611264f641e7a27c10cfcb8c47e9784a2dd76
MD5 fc9d239d8c66c76bc6bf274a7d991a7d
BLAKE2b-256 6356ac0477d5f5e629c63474896cbe4befa54543213829a13f4d50716665c2c5

See more details on using hashes here.

File details

Details for the file coverage-4.0a5.win-amd64-py3.2.exe.

File metadata

File hashes

Hashes for coverage-4.0a5.win-amd64-py3.2.exe
Algorithm Hash digest
SHA256 a21b8fab0ff2025a5bdb23167eda9b923a70d585d3e344c2f097be40daa99dc5
MD5 f516aa67db29c074504bf0a9066162aa
BLAKE2b-256 cc06bc657678790ebde3f14b2a3084c3f67fcfd6d63ca8e7ec5016da4b0f8c76

See more details on using hashes here.

File details

Details for the file coverage-4.0a5.win-amd64-py2.7.exe.

File metadata

File hashes

Hashes for coverage-4.0a5.win-amd64-py2.7.exe
Algorithm Hash digest
SHA256 c84fc97580ec516083752fa268a8cf4c0107dc96134b865129cd4035da3657e1
MD5 b65a8adbd1f2092a228bc5e44cf1348d
BLAKE2b-256 66de9b67afba970056489d28a8a0666141e792a1b145e5f918daf8b75aee215b

See more details on using hashes here.

File details

Details for the file coverage-4.0a5.win-amd64-py2.6.exe.

File metadata

File hashes

Hashes for coverage-4.0a5.win-amd64-py2.6.exe
Algorithm Hash digest
SHA256 54335291730c9b8b47effc5825976b5dfb6ac8dbb15be66241c4b4a75df16069
MD5 a138a679095304b3410a6328b2f74fbd
BLAKE2b-256 c35b706884572f92362f05d17e87d85c41627d44cad03b588bd73293d9962da1

See more details on using hashes here.

File details

Details for the file coverage-4.0a5.win32-py3.4.exe.

File metadata

File hashes

Hashes for coverage-4.0a5.win32-py3.4.exe
Algorithm Hash digest
SHA256 d0d4d3ecc710a71f3e384cf2afdcc4e0a6af83273e9dac56de2afe6727e9c1f4
MD5 fe681efa53836582afcd6fbb490d812c
BLAKE2b-256 df799c7fb9ce9f4b74a1abb505ae66753d0f694c7eb84ec2ff2ad9bf14f15fd6

See more details on using hashes here.

File details

Details for the file coverage-4.0a5.win32-py3.3.exe.

File metadata

File hashes

Hashes for coverage-4.0a5.win32-py3.3.exe
Algorithm Hash digest
SHA256 f89f778d921558e31bcd626058405736eda5ef6cca1c2b9081965404b06f85b9
MD5 b62c20603e7710e3d4a444cbcb96a418
BLAKE2b-256 ea30aa0edfab8940f7cdf76f62f395e0b757abd0c41f1be0e524b1011e5b5d17

See more details on using hashes here.

File details

Details for the file coverage-4.0a5.win32-py3.2.exe.

File metadata

File hashes

Hashes for coverage-4.0a5.win32-py3.2.exe
Algorithm Hash digest
SHA256 e1fcdb4324c08d400d79d7fb2963490c176e4e84c03755a2f09a1a5b335b1c49
MD5 0b57b1fc31baa2462a554c096df0d0c0
BLAKE2b-256 28d72f4a4a6a28ad6168ab2fe55fff0bcfb2d04c1877335b3747c460c32878f0

See more details on using hashes here.

File details

Details for the file coverage-4.0a5.win32-py2.7.exe.

File metadata

File hashes

Hashes for coverage-4.0a5.win32-py2.7.exe
Algorithm Hash digest
SHA256 35a352909eda438ca7eebfd2a6784812a7faa4251f5ab3cfdcfe5edbed92e872
MD5 acc2492b79e781f874e387169781e7d5
BLAKE2b-256 d5c38498bd417db59a8f082f0f20bb552e65e5dbcd42799df712008d68991977

See more details on using hashes here.

File details

Details for the file coverage-4.0a5.win32-py2.6.exe.

File metadata

File hashes

Hashes for coverage-4.0a5.win32-py2.6.exe
Algorithm Hash digest
SHA256 766bc63656a4309a316d161f54e08a73f700e4e1d0fbca470db5db9a97e512a8
MD5 ce9149758a06d98c19a04a3bff13630e
BLAKE2b-256 6fb22d95a516fc680e3d133868ad39b37ebb41f172fa74f6c94fbbc17112170a

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-py3.4-win-amd64.egg.

File metadata

File hashes

Hashes for coverage-4.0a5-py3.4-win-amd64.egg
Algorithm Hash digest
SHA256 11ccb26290a9035297e7910b2438b9c2750f570a961f873116d116a4fa78825e
MD5 bd08d15d4af720fa243064ddd561dc19
BLAKE2b-256 752817102ad65c537c30858a4795ca223b4fac05015c69ee4c80874e1572824c

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-py3.4-win32.egg.

File metadata

File hashes

Hashes for coverage-4.0a5-py3.4-win32.egg
Algorithm Hash digest
SHA256 bcb04a0d67c3045b726c683af929209d4aa104e28b67f20ce466d70e324ff30d
MD5 dbdb201f93767d91244d8ad480f75626
BLAKE2b-256 3ec57d19c20feed8e8fbc46b461d290937452c48e732671e0c21591d80e06220

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-py3.3-win-amd64.egg.

File metadata

File hashes

Hashes for coverage-4.0a5-py3.3-win-amd64.egg
Algorithm Hash digest
SHA256 01ee6e05e310a0e4df0c5c75570b2d5119729c2125e92a2221693f0ba21697bb
MD5 218001c4880ceea015e60e972c59022d
BLAKE2b-256 2e57ed3b265073701a7cd4e78050308113557c106b776bf1a283f0533c263525

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-py3.3-win32.egg.

File metadata

File hashes

Hashes for coverage-4.0a5-py3.3-win32.egg
Algorithm Hash digest
SHA256 b1f46a56bc032b5dea849c10defbf9094555eddaf9d7bb84520e9925d4d2ccdd
MD5 f8103bd74798e433fb8976ba3dd76f21
BLAKE2b-256 3e31444913e556dc9e2e30940b1ee92c99a8a262d6cbc37e7fab1047f64e0aa3

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-py3.2-win-amd64.egg.

File metadata

File hashes

Hashes for coverage-4.0a5-py3.2-win-amd64.egg
Algorithm Hash digest
SHA256 7cbaed47fdb8ba50d722dfe7222bfc47525689fb14a32ae9dc8de8bd040fd944
MD5 be648e4ab602bcedbfd5b137ae84ed14
BLAKE2b-256 47ab86aa828104be686ded69e77dd2bf595cd3300617e7b004a63f6a6b490b6c

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-py3.2-win32.egg.

File metadata

File hashes

Hashes for coverage-4.0a5-py3.2-win32.egg
Algorithm Hash digest
SHA256 0cd828baa2369b6fe98e8eb3a009158593277c21bcc92439a175ad251533e8cf
MD5 40592c4f67b24750a45fdec80ffbbe41
BLAKE2b-256 e2f2aed31cb21a258e8fcd05c2ca1ffb3f0a9cf6ec8c8fdc609346f98db10259

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-py2.7-win-amd64.egg.

File metadata

File hashes

Hashes for coverage-4.0a5-py2.7-win-amd64.egg
Algorithm Hash digest
SHA256 4c87dce7ae984565b088267b3248815a9c57df5fcd3721e0c19047e737be3298
MD5 cf4b5f02c2e93f98f98d93e5f92e6a89
BLAKE2b-256 f7e5042f8b42e04dec36f54879e3395071d4a46189b9c739a96af7adf3e32962

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-py2.7-win32.egg.

File metadata

File hashes

Hashes for coverage-4.0a5-py2.7-win32.egg
Algorithm Hash digest
SHA256 f5a69647d7e1d62d555a041ce0320433c7feda03524067a44da0d05eb276f080
MD5 f9f4781751199b75ff7e85a0c77a9ac8
BLAKE2b-256 97b364a50b1ee674a1d9834a5e3d9e2d3a7cd210239ed093a81f8669e6c13b53

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-py2.6-win-amd64.egg.

File metadata

File hashes

Hashes for coverage-4.0a5-py2.6-win-amd64.egg
Algorithm Hash digest
SHA256 668375115398d5ee23cb03e9c919510581de79561be2c27774c94f847e01edf8
MD5 7a985bd88af721fa4cf13fdc1df1bf9a
BLAKE2b-256 7308f871258cafc253043227481fd5dd45302ca1b1ae245b6bb9210347db357f

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-py2.6-win32.egg.

File metadata

File hashes

Hashes for coverage-4.0a5-py2.6-win32.egg
Algorithm Hash digest
SHA256 65aac5e2761302549fd8fcbf017347a568e5516b4d4eca3e897f4846c83a3fe0
MD5 d509b34ea84ca77622b02a2ec0fe014e
BLAKE2b-256 a6dcd07ed84914fba220361f58a7c389f69dad34b6601d4ffb0feeeda95791ad

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-cp34-none-win_amd64.whl.

File metadata

File hashes

Hashes for coverage-4.0a5-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 1f0d6f458ba4ea2034a1283aa058dba5c9a7dc18d4dfd2ebea54cf532ac84952
MD5 3769878ff01dd7c2d0f7a48e46e50121
BLAKE2b-256 3a2d98af88feaf3c5c7d2a5914059fdcea3cc28acf5fa01245ac731c039d0bfd

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-cp34-none-win32.whl.

File metadata

File hashes

Hashes for coverage-4.0a5-cp34-none-win32.whl
Algorithm Hash digest
SHA256 75c1dd24dd317a2ce3148079b6c8f35374c8142d44191ba1da456f2bbad6b6d0
MD5 ea78d624f1bc50d7e80c3558434d9009
BLAKE2b-256 bba0c18ae15a5a916cb842c305e84da661f9b4b3cbf1e3a3bd0eea7917004e9e

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-cp33-none-win_amd64.whl.

File metadata

File hashes

Hashes for coverage-4.0a5-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 be4a868204f172012535b3889b07c616b1b978868ea5ec4a0e4b82a914cb73fe
MD5 66f97f0e387981e11abc16a16fa8c803
BLAKE2b-256 c4d1ef75417cb55cb0c0999bbf6203e6c7c20e84b74b610079ffff8d79c5f5d6

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-cp33-none-win32.whl.

File metadata

File hashes

Hashes for coverage-4.0a5-cp33-none-win32.whl
Algorithm Hash digest
SHA256 889181b3074e467550671f8828c4f692d508997b9fe7c5ad5fb9ce65e3941381
MD5 d4a9b81388eae2ff6b8060667f9eee62
BLAKE2b-256 d216a700c2ef5c49fc5cec122a1d150d63cfe4cc22cb169655c66400a7fcf779

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-cp32-none-win_amd64.whl.

File metadata

File hashes

Hashes for coverage-4.0a5-cp32-none-win_amd64.whl
Algorithm Hash digest
SHA256 eddd149b404d21fc5355a8d17ac048042ae304b68fc1950d35f781a7a0e1ac4c
MD5 0bd9ab54f4039c8c309177810af362c9
BLAKE2b-256 aaf990a65a5a2557a069aed4dbff47d2a20ae1e6457c533b8fc73ebed2b601d6

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-cp32-none-win32.whl.

File metadata

File hashes

Hashes for coverage-4.0a5-cp32-none-win32.whl
Algorithm Hash digest
SHA256 4f1e6f3543d83767c02294ae3e823fb73463686a845783160abf675642f1bb0a
MD5 b9de4223aebf09eff000de0e9e8b7ca6
BLAKE2b-256 a4a43f06d6e9846dee2f563ec9acd654fbd189013bc888f9d2471ef9e7dc8b3f

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-cp27-none-win_amd64.whl.

File metadata

File hashes

Hashes for coverage-4.0a5-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 2a3fdeffb4f6133768455bddd489318b60d3a0918400d084a62c4cb4b041c81f
MD5 a09bff4208fcb0f8338a2a35356d7873
BLAKE2b-256 991b321c17055c9bfd79e693546c573cd6c353116e2aaeb78132b2885a2bae0a

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-cp27-none-win32.whl.

File metadata

File hashes

Hashes for coverage-4.0a5-cp27-none-win32.whl
Algorithm Hash digest
SHA256 ba6c5147351a0a19f20029126461c9577a096f6ec55298a1a38c115c25304bb6
MD5 5abea065156d9c6580a4c367acde00ca
BLAKE2b-256 a50cb4b3c00a1472ccf0baf56412599d0b8423f6ce35593742ad8bf51de856bb

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-cp26-none-win_amd64.whl.

File metadata

File hashes

Hashes for coverage-4.0a5-cp26-none-win_amd64.whl
Algorithm Hash digest
SHA256 7cd9c7adb764276fd939117ace2aa3febe5a53f6885bac6f653642aad00cf64b
MD5 9ade773c5e51698f273637310efc11d9
BLAKE2b-256 ab30d5e0310f4c5be5409bd95b1578e22912a7cbf90d9d1205983debbaaea964

See more details on using hashes here.

File details

Details for the file coverage-4.0a5-cp26-none-win32.whl.

File metadata

File hashes

Hashes for coverage-4.0a5-cp26-none-win32.whl
Algorithm Hash digest
SHA256 9b5b66dfc5e71b8ca25d229ea54e0ed26459a25e58bbbaf8cfc9644cfd24127c
MD5 10e26a8c62f7b3a7a8099caf68d9e886
BLAKE2b-256 f75dbcb8e0c3a127c03c6f6cc7dd8e2af246c731f806e7053b8cb4d8b0ab3904

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page