Lines Matching +full:results +full:- +full:coverage
1 :mod:`trace` --- Trace or track Python statement execution
9 --------------
12 annotated statement coverage listings, print caller/callee relationships and
18 `Coverage.py <https://coverage.readthedocs.io/>`_
19 A popular third-party coverage tool that provides HTML
20 output along with advanced features such as branch coverage.
22 .. _trace-cli:
24 Command-Line Usage
25 ------------------
30 python -m trace --count -C . somefile.py ...
37 .. cmdoption:: --help
41 .. cmdoption:: --version
46 Added ``--module`` option that allows to run an executable module.
52 :mod:`trace`. The :option:`--listfuncs <-l>` option is mutually exclusive with
53 the :option:`--trace <-t>` and :option:`--count <-c>` options. When
54 :option:`--listfuncs <-l>` is provided, neither :option:`--count <-c>` nor
55 :option:`--trace <-t>` are accepted, and vice versa.
59 .. cmdoption:: -c, --count
63 :option:`--coverdir <-C>`, :option:`--file <-f>` and
64 :option:`--no-report <-R>` below.
66 .. cmdoption:: -t, --trace
70 .. cmdoption:: -l, --listfuncs
74 .. cmdoption:: -r, --report
77 :option:`--count <-c>` and :option:`--file <-f>` option. This does not
80 .. cmdoption:: -T, --trackcalls
89 .. cmdoption:: -f, --file=<file>
92 used with the :option:`--count <-c>` option.
94 .. cmdoption:: -C, --coverdir=<dir>
96 Directory where the report files go. The coverage report for
99 .. cmdoption:: -m, --missing
104 .. cmdoption:: -s, --summary
106 When using :option:`--count <-c>` or :option:`--report <-r>`, write a brief
109 .. cmdoption:: -R, --no-report
112 several runs with :option:`--count <-c>`, and then produce a single set of
115 .. cmdoption:: -g, --timing
127 .. cmdoption:: --ignore-module=<mod>
132 .. cmdoption:: --ignore-dir=<dir>
137 .. _trace-api:
140 ----------------------
174 .. method:: results()
177 results of all previous calls to ``run``, ``runctx`` and ``runfunc``
179 trace results.
183 A container for coverage results, created by :meth:`Trace.results`. Should
192 Write coverage results. Set *show_missing* to show lines that had no
193 hits. Set *summary* to include in the output the coverage summary per
194 module. *coverdir* specifies the directory into which the coverage
195 result files will be output. If ``None``, the results for each source
204 # do tracing or line-counting or both.
214 r = tracer.results()