The ratio of equivalent mutants: A key to analyzing mutation equivalence
Document Type
Article
Publication Date
11-1-2021
Abstract
Mutation testing is the art of generating syntactic versions (called mutants) of a base program, and is widely used in software testing, most notably the assessment of test suites. Mutants are useful only to the extent that they are semantically distinct from the base program, but some may well be semantically equivalent to the base program, despite being syntactically distinct. Much research has been devoted to identifying, and weeding out, equivalent mutants, but determining whether two programs are semantically equivalent is a non-trivial, tedious, error-prone task. Yet in practice it is not necessary to identify equivalent mutants individually; for most intents and purposes, it suffices to estimate their number. In this paper, we are interested to estimate, for a given number of mutants generated from a program, the ratio of those that are equivalent to the base program; we refer to this as the Ratio of Equivalent Mutants (REM, for short). We argue, on the basis of analytical grounds, that the REM of a program may be estimated from a static analysis of the program, and that it can be used to analyze many mutation related properties of a program. The purpose/ aspiration of this paper is to draw attention to this potentially cost-effective approach to a longstanding stubborn problem.
Identifier
85111273855 (Scopus)
Publication Title
Journal of Systems and Software
External Full Text Location
https://doi.org/10.1016/j.jss.2021.111039
ISSN
01641212
Volume
181
Grant
DGE1565478
Fund Ref
National Science Foundation
Recommended Citation
Marsit, Imen; Ayad, Amani; Kim, David; Latif, Monsour; Loh, Ji Meng; Omri, Mohamed Nazih; and Mili, Ali, "The ratio of equivalent mutants: A key to analyzing mutation equivalence" (2021). Faculty Publications. 3704.
https://digitalcommons.njit.edu/fac_pubs/3704