I have a number of source files in my project which are not tested at all. So they have gcno files but no gcda files. gcovr just skips them entirely, which artificially inflates my test coverage reporting. I've looked through the various options in gcov and gcovr, but I haven't seen any way of generating a 0% coverage metric for untested files. Is there any way to do this?
Gcovr does try to report coverage for uncovered files, but:
For details, see the gcovr FAQ: https://gcovr.com/en/stable/faq.html#why-are-uncovered-files-not-reported