Issue No. 11 - November (2003 vol. 29)
<p><b>Abstract</b>—A test coverage criterion defines a set <tmath>E_c</tmath> of entities of the program flowgraph and requires that every entity in this set is covered under some test case. Coverage criteria are also used to measure the adequacy of the executed test cases. In this paper, we introduce the notion of spanning sets of entities for coverage testing. A spanning set is a minimum subset of <tmath>E_c</tmath>, such that a test suite covering the entities in this subset is guaranteed to cover every entity in <tmath>E_c</tmath>. When the coverage of an entity always guarantees the coverage of another entity, the former is said to subsume the latter. Based on the subsumption relation between entities, we provide a generic algorithm to find spanning sets for control flow and data flow-based test coverage criteria. We suggest several useful applications of spanning sets: They help reduce and estimate the number of test cases needed to satisfy coverage criteria. We also empirically investigate how the use of spanning sets affects the fault detection effectiveness.</p>
Control flow, coverage criteria, data flow, ddgraph, spanning sets, subsumption.
A. Bertolino and M. Marr?, "Using Spanning Sets for Coverage Testing," in IEEE Transactions on Software Engineering, vol. 29, no. , pp. 974-984, 2003.