python-coverage

code coverage tool for Python

This tool measures which parts (statements) of a Python program are
executed while it is run. This is useful for testing: those parts of
a program that are not executed by the tests have not been tested.