TY - GEN
T1 - Prioritizing mutation operators based on importance sampling
AU - Sridharan, Mohan
AU - Namin, Akbar Siami
PY - 2010
Y1 - 2010
N2 - Mutation testing is a fault-based testing technique for measuring the adequacy of a test suite. Test suites are assigned scores based on their ability to expose synthetic faults (i.e., mutants) generated by a range of well-defined mathematical operators. The test suites can then be augmented to expose the mutants that remain undetected and are not semantically equivalent to the original code. However, the mutation score can be increased superfluously by mutants that are easy to expose. In addition, it is infeasible to examine all the mutants generated by a large set of mutation operators. Existing approaches have therefore focused on determining the sufficient set of mutation operators and the set of equivalent mutants. Instead, this paper proposes a novel Bayesian approach that prioritizes operators whose mutants are likely to remain unexposed by the existing test suites. Probabilistic sampling methods are adapted to iteratively examine a subset of the available mutants and direct focus towards the more informative operators. Experimental results show that the proposed approach identifies more than 90% of the important operators by examining ≤ 20% of the available mutants, and causes a 6% increase in the importance measure of the selected mutants.
AB - Mutation testing is a fault-based testing technique for measuring the adequacy of a test suite. Test suites are assigned scores based on their ability to expose synthetic faults (i.e., mutants) generated by a range of well-defined mathematical operators. The test suites can then be augmented to expose the mutants that remain undetected and are not semantically equivalent to the original code. However, the mutation score can be increased superfluously by mutants that are easy to expose. In addition, it is infeasible to examine all the mutants generated by a large set of mutation operators. Existing approaches have therefore focused on determining the sufficient set of mutation operators and the set of equivalent mutants. Instead, this paper proposes a novel Bayesian approach that prioritizes operators whose mutants are likely to remain unexposed by the existing test suites. Probabilistic sampling methods are adapted to iteratively examine a subset of the available mutants and direct focus towards the more informative operators. Experimental results show that the proposed approach identifies more than 90% of the important operators by examining ≤ 20% of the available mutants, and causes a 6% increase in the importance measure of the selected mutants.
KW - Bayesian reasoning
KW - Importance sampling
KW - Mutation testing
KW - Testing effectiveness
UR - http://www.scopus.com/inward/record.url?scp=79952020117&partnerID=8YFLogxK
U2 - 10.1109/ISSRE.2010.16
DO - 10.1109/ISSRE.2010.16
M3 - Conference contribution
AN - SCOPUS:79952020117
SN - 9780769542553
T3 - Proceedings - International Symposium on Software Reliability Engineering, ISSRE
SP - 378
EP - 387
BT - Proceedings - 2010 IEEE 21st International Symposium on Software Reliability Engineering, ISSRE 2010
T2 - 2010 IEEE 21st International Symposium on Software Reliability Engineering, ISSRE 2010
Y2 - 1 November 2010 through 4 November 2010
ER -