- Shows you which lines were executed during your tests
A simple example with coverage.py
1 $ coverage -x manage.py test
2 $ coverage report --show-missing
Sample output:
Name Stmts Miss Cover Missing
----------------------------------------------------------------
django/views/__init__ 0 0 100%
django/views/decorators/__init__ 0 0 100%
django/views/decorators/cache 32 19 40% 16-17, 39-50, 54-60
django/views/decorators/csrf 22 12 45% 6-7, 22-26, 35-38, 48
django/views/defaults 11 5 54% 13-14, 24, 34-35
-----------------------------------------------------------------
TOTAL 65 36 44%