class LineCoverageReporter(AbstractReporter): (source)
Exact line coverage reporter.
This reporter writes a JSON dictionary with one field 'lines' to the file 'coverage.json' in the specified report directory. The value of that field is a dictionary which associates to each source file's absolute pathname the list of line numbers that belong to typed functions in that file.
Method | __init__ |
Undocumented |
Method | on_file |
Undocumented |
Method | on_finish |
Undocumented |
Instance Variable | lines_covered |
Undocumented |
Inherited from AbstractReporter
:
Instance Variable | output_dir |
Undocumented |
mypy.report.AbstractReporter.__init__
Undocumented
Parameters | |
reports:Reports | Undocumented |
output_dir:str | Undocumented |
mypy.report.AbstractReporter.on_file
Undocumented
Parameters | |
tree:MypyFile | Undocumented |
modules:Dict[ | Undocumented |
type_map:Dict[ | Undocumented |
options:Options | Undocumented |