Description
Is your feature request related to a problem? Please describe.
I am currently generating a report using gcovr -r . -s
, which reports on all files and uncovered "entities" (where "entities" might be lines, might be branches).
It would be "useful" to me if this report was "reversed" and it only reported on covered files and covered entities.
Describe the solution you'd like
A flag to gcovr
that was something like --covered
and --uncovered
(the default, which gives what we have today).
We might also need a --skip-empty
to not report on files with no covered entities.
Describe alternatives you've considered
To "keep me moving", I've already implemented a change in FileCoverage.uncovered_lines_str
(which is not the right change!), but which calculates the set uncovered_lines
using line.is_covered
vs. line.is_uncovered
(which is what is there today).
This does not remove listing files that are totally uncovered, but just having only the covered entities is really helpful for me.
I could also do this myself using the json
report but I generate a lot of reports, and the ~17 MiB per file is "too much" for me, and it also doesn't allow me to see things at the high-level (which the --status
report does).
Additional context
(none)