Title :
Comparing Multi-Point Stride Coverage and dataflow coverage
Author :
Hassan, Mohammad ; Andrews, James H.
Author_Institution :
Comput. Sci. Dept., Univ. of Western Ontario, London, ON, Canada
Abstract :
We introduce a family of coverage criteria, called Multi-Point Stride Coverage (MPSC). MPSC generalizes branch coverage to coverage of tuples of branches taken from the execution sequence of a program. We investigate its potential as a replacement for dataflow coverage, such as def-use coverage. We find that programs can be instrumented for MPSC easily, that the instrumentation usually incurs less overhead than that for def-use coverage, and that MPSC is comparable in usefulness to def-use in predicting test suite effectiveness. We also find that the space required to collect MPSC can be predicted from the number of branches in the program.
Keywords :
data flow analysis; program testing; MPSC; branch coverage; coverage criteria family; dataflow coverage; def-use coverage; multipoint stride coverage; program execution sequence; software testing; test suite effectiveness; Data structures; Educational institutions; Instruments; Java; Software measurement; Switches; Upper bound; Control Flow Coverage; Data Flow Coverage; Partial Execution Pattern; Software Testing;
Conference_Titel :
Software Engineering (ICSE), 2013 35th International Conference on
Conference_Location :
San Francisco, CA
Print_ISBN :
978-1-4673-3073-2
DOI :
10.1109/ICSE.2013.6606563