File: test.py
Coverage: 57%   (  ►  = Code not executed. )

Run countLine n°Code
1def main():
12    if False:
3        pass # This is not executed
4
5    pass # This is executed.
6
267    for i in range(25):
258        pass  # This is executed 25 times
9
10import trace,sys
11tracer = trace.Trace(ignoredirs=[sys.prefix, sys.exec_prefix],trace=0,count=1,outfile=r'./coverage_dir/counts')
12tracer.run('main()')
13r = tracer.results()
14r.write_results(show_missing=True, coverdir=r'./coverage_dir')