• Home
  • Raw
  • Download

Lines Matching +full:coverage +full:- +full:results

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 .. option:: --help
41 .. option:: --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 .. option:: -c, --count
63 :option:`--coverdir <-C>`, :option:`--file <-f>` and
64 :option:`--no-report <-R>` below.
66 .. option:: -t, --trace
70 .. option:: -l, --listfuncs
74 .. option:: -r, --report
77 :option:`--count <-c>` and :option:`--file <-f>` option. This does not
80 .. option:: -T, --trackcalls
89 .. option:: -f, --file=<file>
92 used with the :option:`--count <-c>` option.
94 .. option:: -C, --coverdir=<dir>
96 Directory where the report files go. The coverage report for
99 .. option:: -m, --missing
104 .. option:: -s, --summary
106 When using :option:`--count <-c>` or :option:`--report <-r>`, write a brief
109 .. option:: -R, --no-report
112 several runs with :option:`--count <-c>`, and then produce a single set of
115 .. option:: -g, --timing
127 .. option:: --ignore-module=<mod>
132 .. option:: --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
193 Write coverage results. Set *show_missing* to show lines that had no
194 hits. Set *summary* to include in the output the coverage summary per
195 module. *coverdir* specifies the directory into which the coverage
196 result files will be output. If ``None``, the results for each source
199 If *ignore_missing_files* is ``True``, coverage counts for files that no
212 # do tracing or line-counting or both.
222 r = tracer.results()