Please use lcov. It hides gcov’s complexity, produces nice output, allows detailed output per test, features easy file filtering and – ta-taa – line markers for already reviewed lines:
From geninfo(1):
The following markers are recognized by geninfo:
- LCOV_EXCL_LINE
- Lines containing this marker will be excluded.
- LCOV_EXCL_START
- Marks the beginning of an excluded section. The current line is part of this section.
- LCOV_EXCL_STOP
- Marks the end of an excluded section. The current line not part of this section.