Getting lines of C code in files

Viewed 349

We are using gcov and gcovr.py to get coverage reports for our tests. Not all the source files are tested at all and therefore those aren't mentioned in gcovr report. Now I'd like to calculate overall coverage for whole code base nevertheless.

From the reports I can get lines covered but I'd also need to get number of C code lines in those files which aren't tested. What would be the possibilities to to get lines of C code in files inside code directory?

2 Answers
Related