By just running lcov on the produced .gcda data files, we don't account for source files that are not touched by tests at all. To fix that, run lcov --initial to create a base line info file with all zero counters, and merge that with the actual counters when creating the final report.
4bb5a25 Add lcov --initial
.gitignore | 2 +-
src/Makefile.global.in | 25 +++++++++++++++++++------
2 files changed, 20 insertions(+), 7 deletions(-)