Back to Search Start Over

A machine learning approach for classification of equivalent mutants.

Authors :
Naeem, Muhammad Rashid
Lin, Tao
Naeem, Hamad
Liu, Hailu
Source :
Journal of Software: Evolution & Process. May2020, Vol. 32 Issue 5, p1-32. 32p.
Publication Year :
2020

Abstract

Mutation testing is a fault‐based technique to test the quality of test suites by inducing artificial syntactic faults or mutants in a source program. However, some mutants have the same semantics as original program and cannot be detected by any test suite input known as equivalent mutants. Equivalent mutant problem (EMP) is undecidable as it requires manual human effort to identify a mutant as equivalent or killable. The constraint‐based testing (CBT) theory suggests the use of mathematical constraints which can help reveal some equivalent mutants using mutant features. In this paper, we consider three metrics of CBT theory, ie, reachability, necessity, and sufficiency to extract feature constraints from mutant programs. Constraints are extracted using program dependency graphs. Other features such as degree of significance, semantic distance, and information entropy of mutants are also extracted to build a binary classification model. Machine learning algorithms such as Random Forest, GBT, and SVM are applied under two application scenarios (split‐project and cross‐project) on ten Java programs to predict equivalent mutants. The analysis of the study demonstrates that that the proposed techniques not only improves the efficiency of the equivalent mutant detection but also reduces the effort required to perform it with small accuracy loss. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
20477473
Volume :
32
Issue :
5
Database :
Academic Search Index
Journal :
Journal of Software: Evolution & Process
Publication Type :
Academic Journal
Accession number :
142811621
Full Text :
https://doi.org/10.1002/smr.2238