Estimating the Impact of Instrumentation

As the old saying goes, “You can’t get something for nothing”. There’s always a price to be paid. In the case of code coverage, the price to be paid is the addition of instrumentation to the source files to be tested. This overhead translates directly into increased file and program size, and indirectly into increased execution time.