How many defects are actually detected by coverage testing?
Nobody knows for sure, but you ought to figure that increasing branch coverage from 50% to around 90% will expose 5-10 defects per 1000 lines of code (KLOC). • Can I set up my makefiles to do coverage analysis automatically? You sure can! You make a one or two line modification to the makefile to tell it how to call the TestWorks instrumenter when you want to “make” an instrumented target. Then you “make instrumented version” rather than “make normal version.” Some people make instrumentation the normal and only take out the instrumentation prior to ship!