NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #125 most downloaded on PyPI
Code coverage measurement for Python
Last release 6 days ago
13 Sep 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
17 years old
196 releases · first in 2009
Classes are no longer incorrectly marked as branches: issue 32.
:arrow_right: PyPI page: coverage 3.2b2.
:arrow_right: To install: python3 -m pip install coverage==3.2b2
One column per quarter.
XML reporting has file paths that let Cobertura find the source code.
:arrow_right: PyPI page: coverage 3.2b1.
:arrow_right: To install: python3 -m pip install coverage==3.2b1
Source code can now be read from eggs. Thanks, Ross Lawley. Fixes issue 25.
:arrow_right: PyPI page: coverage 3.1.
:arrow_right: To install: python3 -m pip install coverage==3.1
Coverage.py has a new command line syntax with sub-commands. This expands the possibilities for adding features and options in the future. The old syn
:arrow_right: PyPI page: coverage 3.1b1.
:arrow_right: To install: python3 -m pip install coverage==3.1b1
Removed the recursion limit in the tracer function. Previously, code that ran more than 500 frames deep would crash. Fixed issue 9.
:arrow_right: PyPI page: coverage 3.0.1.
:arrow_right: To install: python3 -m pip install coverage==3.0.1
Fixed the way the Python library was ignored. Too much code was being excluded the old way.
:arrow_right: PyPI page: coverage 3.0.
:arrow_right: To install: python3 -m pip install coverage==3.0
Added parameters to coverage.\_\_init\_\_ for options that had been set on the coverage object itself.
:arrow_right: PyPI page: coverage 3.0b3.
:arrow_right: To install: python3 -m pip install coverage==3.0b3
- Add support for finding source files in eggs. Don’t check for morf’s being instances of ModuleType, instead use duck typing so that pseudo-modules c
Add support for finding source files in eggs. Don’t check for morf’s being instances of ModuleType, instead use duck typing so that pseudo-modules can participate. Thanks, Imri Goldberg.
Use os.realpath as part of the fixing of file names so that symlinks won’t confuse things. Thanks, Patrick Mezard.
- Open files in rU mode to avoid line ending craziness. Thanks, Edward Loper.
Open files in rU mode to avoid line ending craziness. Thanks, Edward Loper.
- Don’t try to predict whether a file is Python source based on the extension. Extension-less files are often Pythons scripts. Instead, simply parse t
Don’t try to predict whether a file is Python source based on the extension. Extension-less files are often Pythons scripts. Instead, simply parse the file and catch the syntax errors. Hat tip to Ben Finney.
- Better packaging.
Better packaging.
- Now Python 2.5 is really fully supported: the body of the new with statement is counted as executable.
Now Python 2.5 is really fully supported: the body of the new with statement is counted as executable.
- Python 2.5 now fully supported. The method of dealing with multi-line statements is now less sensitive to the exact line that Python reports during
Python 2.5 now fully supported. The method of dealing with multi-line statements is now less sensitive to the exact line that Python reports during execution. Pass statements are handled specially so that their disappearance during execution won’t throw off the measurement.
Nothing published for this version
- Applied Joseph Tate’s patch for function decorators.
Applied Joseph Tate’s patch for function decorators.
Applied Sigve Tjora and Mark van der Wal’s fixes for argument handling.
Applied Geoff Bache’s parallel mode patch.
Refactorings to improve testability. Fixes to command-line logic for parallel mode and collect.
- Call threading.settrace so that all threads are measured. Thanks Martin Fuzzey.
Call threading.settrace so that all threads are measured. Thanks Martin Fuzzey.
Add a file argument to report so that reports can be captured to a different destination.
Coverage.py can now measure itself.
Adapted Greg Rogers’ patch for using relative file names, and sorting and omitting files to report on.
Your coding agent can read these notes before it upgrades. Set up the MCP server →