Title :
Probability-Based Semantic Interpretation of Mutants
Author :
Patrick, Matthew ; Alexander, Rob ; Oriol, Manuel ; Clark, John A.
Author_Institution :
Dept. of Plant Sci., Univ. of Cambridge, Cambridge, UK
fDate :
March 31 2014-April 4 2014
Abstract :
Mutation analysis is a stringent and powerful technique for evaluating the ability of a test suite to find faults. It generates a large number of mutants and applies the test suite to them one at a time. As mutation analysis is computationally expensive, it is usually performed on a subset of mutants. The competent programmer hypothesis suggests that experienced software developers are more likely to make small mistakes. It is prudent therefore to focus on semantically small mutants that represent mistakes developers are likely to make. We previously introduced a technique to assess mutant semantics using static analysis by comparing the numerical range of their symbolic output expressions. This paper extends our previous work by considering the probability the output of a mutant is the same as the original program. We show how probability-based semantic interpretation can be used to select mutants that are semantically more similar than those selected by our previous technique. In addition to numerical outputs, it also provides support for modelling the semantics of Boolean variables, strings and composite objects.
Keywords :
probability; program diagnostics; program testing; Boolean variable semantics; composite objects; mutant probability-based semantic interpretation; mutant semantics assessment; mutation analysis; programmer hypothesis; software developers; static analysis; strings; symbolic output expressions; Equations; Java; Mathematical model; Measurement; Numerical models; Probability; Semantics; mutant selection; mutation analysis; semantic interpretation; static analysis; symbolic execution;
Conference_Titel :
Software Testing, Verification and Validation Workshops (ICSTW), 2014 IEEE Seventh International Conference on
Conference_Location :
Cleveland, OH
DOI :
10.1109/ICSTW.2014.18