Loading...

An ensemble-based predictive mutation testing approach that considers impact of unreached mutants

Aghamohammadi, A ; Sharif University of Technology | 2021

275 Viewed
  1. Type of Document: Article
  2. DOI: 10.1002/stvr.1784
  3. Publisher: John Wiley and Sons Ltd , 2021
  4. Abstract:
  5. Predictive mutation testing (PMT) is a technique to predict whether a mutant is killed, using machine learning approaches. Researchers have proposed various methods for PMT over the years. However, the impact of unreached mutants on PMT is not fully addressed. A mutant is unreached if the statement on which the mutant is generated is not executed by any test cases. We aim at showing that unreached mutants can inflate PMT results. Moreover, we propose an alternative approach to PMT, suggesting a different interpretation for PMT. To this end, we replicated the previous PMT research. We empirically evaluated the suggested approach on 654 Java projects provided by prior literature. Our results indicate that the performance of PMT drastically decreases in terms of area under a receiver operating characteristic curve (AUC) from 0.833 to 0.517. Furthermore, PMT performs worse than random guesses on 27% of the projects. The proposed approach improves the PMT results, achieving the average AUC value of 0.613. As a result, we recommend researchers to remove unreached mutants when reporting the results. © 2021 John Wiley & Sons, Ltd
  6. Keywords:
  7. Software engineering ; Machine learning approaches ; Mutation testing ; Receiver operating characteristic curves ; Test case ; Software testing
  8. Source: Software Testing Verification and Reliability ; Volume 31, Issue 7 , 2021 ; 09600833 (ISSN)
  9. URL: https://onlinelibrary.wiley.com/doi/abs/10.1002/stvr.1784