This paper defines some commonly used code coverage measures and discusses their strengths, weaknesses, and the relationship between measures. Examples are used to illustrate some measures and to indicate common traps and pitfalls. Light is shed on the confusing nomenclature in the area of code coverage: different names for the same measure; same name for different measures. Finally, recommendations for the usage of code coverage are given.
Is One Hundred Percent Code Coverage Enough?