TY - JOUR
T1 - Model-based mutant equivalence detection using automata language equivalence and simulations
AU - Devroey, Xavier
AU - Perrouin, Gilles
AU - Papadakis, Mike
AU - Legay, Axel
AU - Schobbens, Pierre-Yves
AU - Heymans, Patrick
N1 - Funding Information:
We would like to thank Damien Pous for his support on the HKC tool. This research was partially funded by the EU Horizon 2020 ICT-10-2016-RIA "STAMP" project (No.731529) and the Dutch 4TU project “Big Software on the Run” as well as by the European Regional Development Fund ( ERDF ) “Ideas for the future Internet” (IDEES) project (No. ETR121200001375).
Publisher Copyright:
© 2018 Elsevier Inc.
Copyright:
Copyright 2020 Elsevier B.V., All rights reserved.
PY - 2018/7/1
Y1 - 2018/7/1
N2 - Mutation analysis is a popular technique for assessing the strength of test suites. It relies on the mutation score, which indicates their fault-revealing potential. Yet, there are mutants whose behaviour is equivalent to the original system, wasting analysis resources and preventing the satisfaction of a 100\% mutation score. For finite behavioural models, the Equivalent Mutant Problem (EMP) can be transformed to the language equivalence problem of non-deterministic finite automata for which many solutions exist. However, these solutions are quite expensive, making computation unbearable when used for tackling the EMP. In this paper, we report on our assessment of a state-of-the-art exact language equivalence tool and two heuristics we proposed. We used 12 models, composed of (up to) 15,000 states, and 4,710 mutants. We introduce a random and a mutation-biased simulation heuristics, used as baselines for comparison. Our results show that the exact approach is often more than ten times faster in the weak mutation scenario. For strong mutation, our biased simulations can be up to 1,000 times faster for models larger than 300 states, while limiting the error of misclassifying non-equivalent mutants as equivalent to 8\% on average. We therefore conclude that the approaches can be combined for improved efficiency.
AB - Mutation analysis is a popular technique for assessing the strength of test suites. It relies on the mutation score, which indicates their fault-revealing potential. Yet, there are mutants whose behaviour is equivalent to the original system, wasting analysis resources and preventing the satisfaction of a 100\% mutation score. For finite behavioural models, the Equivalent Mutant Problem (EMP) can be transformed to the language equivalence problem of non-deterministic finite automata for which many solutions exist. However, these solutions are quite expensive, making computation unbearable when used for tackling the EMP. In this paper, we report on our assessment of a state-of-the-art exact language equivalence tool and two heuristics we proposed. We used 12 models, composed of (up to) 15,000 states, and 4,710 mutants. We introduce a random and a mutation-biased simulation heuristics, used as baselines for comparison. Our results show that the exact approach is often more than ten times faster in the weak mutation scenario. For strong mutation, our biased simulations can be up to 1,000 times faster for models larger than 300 states, while limiting the error of misclassifying non-equivalent mutants as equivalent to 8\% on average. We therefore conclude that the approaches can be combined for improved efficiency.
KW - model-based mutation analysis
KW - automata language equivalence
KW - random simulations
KW - Model-based mutation analysis
KW - Random simulations
KW - Automata language equivalence
UR - http://www.scopus.com/inward/record.url?scp=85044481061&partnerID=8YFLogxK
U2 - 10.1016/j.jss.2018.03.010
DO - 10.1016/j.jss.2018.03.010
M3 - Article
SN - 0164-1212
VL - 141
SP - 1
EP - 15
JO - Journal of Systems and Software
JF - Journal of Systems and Software
ER -