2022
Journal article  Open Access

Static detection of equivalent mutants in real-time model-based mutation testing

Basile D., Ter Beek M., Lazreg S., Cordy M., Legay A.

Model-based  Mutation testing  Equivalent mutant 

Model-based mutation testing has the potential to effectively drive test generation to reveal faults in software systems. However, it faces a typical efficiency issue since it could produce many mutants that are equivalent to the original system model, making it impossible to generate test cases from them. We consider this problem when model-based mutation testing is applied to real-time system product lines, represented as timed automata. We define novel, time-specific mutation operators and formulate the equivalent mutant problem in the frame of timed refinement relations. Further, we study in which cases a mutation yields an equivalent mutant. Our theoretical results provide guidance to system engineers, allowing them to eliminate mutations from which no test case can be produced. Our empirical evaluation, based on a proof-of-concept implementation and a set of benchmarks from the literature, confirms the validity of our theory and demonstrates that in general our approach can avoid the generation of a significant amount of the equivalent mutants.

Source: Empirical software engineering (Online) 7 (2022): 160–215. doi:10.1007/s10664-022-10149-y

Publisher: Kluwer, Dordrecht , Paesi Bassi


Metrics



Back to previous page
BibTeX entry
@article{oai:it.cnr:prodotti:471004,
	title = {Static detection of equivalent mutants in real-time model-based mutation testing},
	author = {Basile D. and Ter Beek M. and Lazreg S. and Cordy M. and Legay A.},
	publisher = {Kluwer, Dordrecht , Paesi Bassi},
	doi = {10.1007/s10664-022-10149-y},
	journal = {Empirical software engineering (Online)},
	volume = {7},
	pages = {160–215},
	year = {2022}
}