Gcov and lcov gives you to check the coverage of test cases. This means you can make better test which has wider coverage with gcov. This presentation introduces how to work with gcov/lcov to make a better testcases for your kernel subsystem, from my experience of improving ftracetest.