Efficient instrumentation for code coverage testing

Mustafa M. Tikir, Jeffrey K. Hollingsworth
2002 Software engineering notes  
Evaluation of Code Coverage is the problem of identifying the parts of a program that did not execute in one or more runs of a program. The traditional approach for code coverage tools is to use static code instrumentation. In this paper we present a new approach to dynamically insert and remove instrumentation code to reduce the runtime overhead of code coverage. We also explore the use of dominator tree information to reduce the number of instrumentation points needed. Our experiments show
more » ... t our approach reduces runtime overhead by 38-90% compared with purecov, a commercial code coverage tool. Our tool is fully automated and available for download from the Internet.
doi:10.1145/566172.566186 dblp:conf/issta/TikirH02 fatcat:5seweskimzab5bignavyugejy4