What are your tips for interpreting gcov output in order to improve coverage?
I'm successfully using gcov in my project: I can build my project with gcov flags: -fprofile-arcs -ftest-coverage I link with the -lgcov option I run my unit test program and lots of gcda and gcno files are produced. I run gcov lots of times and lots of gcov files are produced. I summarise the results and produce a list of lines like this: #####: 42: virtual double run_time() const { return 0; } I then go 'doh!' and write a test which calls that missing method. The above example line is quite easy to diagnose - gcov told me the exact method I was not calling. I've also had an example of a copy