Files
sphinx/tests
Jorge Leitao 99f9209924 Add summary statistics to the coverage report (#5474)
The current implementation of ``sphinx.ext.coverage`` outputs which
methods,classes, and functions are documented.
This commit adds a short summary of this report in terms of
``documented objects / total number of objects``,
both per module and total.

The purpose of this is to support
a currently not mainstream but relevant use-case:
a coverage report on the number of objects that are documented.

By having the statistics on the report or on the stdout,
a regex expression can capture the coverage percentage
(e.g. ``re.search(r'TOTAL.*?([0-9.]{4,6}\%)', d).group(1)``)
and use it e.g. in another report, a status badge, etc.

Two options were added to the configuration to allow a table
to be printed in the report and/or to stdout.

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-07-28 02:33:42 +01:00
..
2022-09-24 15:10:57 +01:00
2020-11-20 19:43:02 +01:00
2023-02-18 02:16:50 +00:00
2023-01-31 18:30:43 +00:00
2023-02-18 02:16:50 +00:00
2023-03-27 07:22:07 +02:00
2023-02-18 01:58:05 +00:00
2022-02-20 03:13:45 +00:00
2022-09-27 18:31:47 +01:00
2022-02-20 03:13:45 +00:00
2023-02-18 02:16:50 +00:00
2023-02-18 02:16:50 +00:00
2023-02-18 01:58:05 +00:00