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
..
2020-11-15 18:25:39 +01:00
2022-09-24 15:10:57 +01:00
2023-07-25 02:07:23 +01:00
2020-11-20 19:43:02 +01:00
2023-07-28 00:39:12 +01:00
2022-02-20 03:13:45 +00:00
2022-02-20 03:13:45 +00:00
2023-02-18 02:16:50 +00:00
2023-07-28 00:39:12 +01:00
2022-04-27 03:04:19 +01:00
2023-01-31 18:30:43 +00:00
2023-04-06 22:33:20 +01:00
2023-07-28 00:39:12 +01:00
2023-07-28 00:39:12 +01:00
2023-07-28 00:39:12 +01:00
2023-07-24 12:15:42 +01:00
2022-10-13 13:16:17 +01:00
2023-07-28 00:39:12 +01:00
2022-04-27 03:04:19 +01:00
2023-07-28 00:39:12 +01:00
2022-04-27 03:11:08 +01:00
2023-07-28 00:39:12 +01:00
2023-07-28 00:39:12 +01:00
2023-02-18 02:16:50 +00:00
2023-07-28 00:39:12 +01:00
2023-02-15 05:45:28 +00:00
2022-02-20 03:13:45 +00:00
2022-02-20 03:13:45 +00:00
2022-02-20 03:13:45 +00:00
2022-02-20 03:13:45 +00:00
2023-07-28 00:39:12 +01:00
2023-07-28 00:39:12 +01:00
2023-05-11 14:28:57 +01:00
2023-07-23 23:22:40 +01:00
2023-01-07 18:31:15 +00:00
2023-01-07 18:31:15 +00:00
2023-05-09 22:57:39 +01:00
2022-09-24 00:31:26 +01:00
2023-05-09 22:57:39 +01:00
2023-07-28 00:39:12 +01:00
2022-06-16 19:33:55 +01:00
2023-03-27 07:22:07 +02:00
2023-07-28 00:39:12 +01:00
2023-01-02 18:57:04 +00:00
2023-07-25 02:07:23 +01:00
2023-01-02 18:57:04 +00:00
2022-06-16 19:33:55 +01:00
2022-09-23 17:27:00 +01:00
2023-04-06 22:56:17 +01:00
2023-04-21 02:44:11 +01:00
2023-02-18 02:16:50 +00:00
2023-01-01 20:48:37 +00:00
2022-09-27 18:31:47 +01:00
2022-05-23 02:04:03 +09:00
2023-07-25 02:07:23 +01:00
2022-06-16 21:07:25 +01:00
2023-07-28 00:39:12 +01:00
2023-07-28 02:33:42 +01:00
2023-07-23 21:29:04 +01:00
2022-02-20 03:13:45 +00:00
2022-10-05 14:47:16 +01:00
2022-04-27 03:04:19 +01:00
2022-09-27 18:31:47 +01:00
2023-02-15 05:45:28 +00:00
2023-02-18 02:16:50 +00:00
2023-04-03 18:26:34 +02:00
2023-07-28 00:39:12 +01:00
2023-07-28 00:39:12 +01:00
2023-01-04 05:46:23 +00:00
2023-02-18 02:16:50 +00:00
2023-02-18 02:05:14 +00:00
2022-04-27 03:04:19 +01:00
2023-04-06 22:40:33 +01:00
2022-02-20 03:13:45 +00:00
2023-03-17 15:32:27 +00:00
2023-07-28 00:39:12 +01:00
2023-04-21 19:04:26 +01:00
2023-02-18 01:58:05 +00:00
2022-02-20 03:13:45 +00:00
2022-02-20 03:13:45 +00:00
2023-07-28 00:39:12 +01:00
2022-09-27 18:31:47 +01:00
2022-06-16 21:37:46 +01:00
2023-07-28 00:39:12 +01:00
2023-07-28 00:39:12 +01:00
2022-02-20 03:13:45 +00:00
2023-04-05 13:54:09 +01:00
2022-09-27 18:31:47 +01:00
2022-04-27 03:04:19 +01:00
2023-07-28 00:39:12 +01:00
2022-04-27 03:11:08 +01:00
2022-04-27 03:04:19 +01:00
2022-06-01 18:10:55 +01:00
2023-05-15 10:43:55 +01:00
2022-02-20 03:13:45 +00:00
2023-01-07 18:31:15 +00:00
2023-07-28 00:39:12 +01:00
2023-07-28 00:39:12 +01:00
2023-02-18 02:16:50 +00:00
2023-07-28 02:05:40 +01:00
2023-07-28 00:39:12 +01:00
2023-02-18 02:16:50 +00:00
2022-07-23 21:19:35 +01:00
2023-02-18 01:58:05 +00:00
2023-07-23 17:14:01 +01:00
2022-02-20 03:13:45 +00:00
2023-07-25 02:07:23 +01:00
2023-07-28 00:39:12 +01:00
2023-07-28 00:39:12 +01:00
2022-02-20 03:13:45 +00:00
2023-07-25 02:07:23 +01:00
2023-07-22 20:12:32 +01:00