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.
The opinions and positions expressed within these guest posts are those of the author alone and do not represent those of the TechWell Community Sites. Guest authors represent that they have the right to distribute this content and that such content is not violating the legal rights of others. If you would like to contribute content to a TechWell Community Site, email [email protected].
CMCrossroads is a TechWell community.
Through conferences, training, consulting, and online resources, TechWell helps you develop and deliver great software every day.