Exports to the Cobertura1 XML format .gcda and .gcno files are generated by setting • GCC_GENERATE_TEST_COVERAGE_FILES • GCC_INSTRUMENT_PROGRAM_FLOW_ARCS 1 - Cobertura: an open source tool for measuring Java code coverage
not Gospel • Static analysis alone is not enough • Pick a range of complementary metrics • Be honest with yourself • Aim for all metrics rather than excelling in a single one