Try it: function/class coverage report
Briefly

Inner functions are not counted as part of their outer functions. Classes consist of the executable lines in their methods, but not lines outside of methods. Each file has an entry in the function report for all lines outside of any function, called '(no function)'. The class report has '(no class)' entries for lines outside of any classes.
The result ensures that every line is part of one function or the '(no function)' entry, and every line is part of one class or the '(no class)' entry. The reports have a sortable column for the file name and the function or class, making it easier to filter and focus on specific areas of interest.
Read at Nedbatchelder
[
]
[
|
]