The output of codecov: link is different from the Lcov output for the same file (gcov 9.3.0 is used on both): link.
The file itself: link.
The gcov file: link
Repository
Only 4 links per post, so:
github.com->Cvelth->argument_parser
Thanks for the answer, but I’ve already solved the issue with a different method: it seems like inconsistency was caused by the analyzed file being a header. Writing a simple script to combine all the sources into a single cpp and measuring code coverage on it resolved any problems.