Automatic Equivalent Mutants Classification Using Abstract Syntax Tree Neural Networks
Autor: | Josh Dehlinger, Suranjan Chakraborty, Samuel Peacock, Lin Deng |
---|---|
Jazyk: | angličtina |
Rok vydání: | 2021 |
Předmět: |
Artificial neural network
Process (engineering) Computer science business.industry 020207 software engineering 02 engineering and technology Machine learning computer.software_genre Recurrent neural network 020204 information systems 0202 electrical engineering electronic engineering information engineering Test suite Mutation testing Artificial intelligence Software system business Abstract syntax tree computer Quality assurance |
Zdroj: | ICST Workshops |
DOI: | 10.5281/zenodo.4662975 |
Popis: | —Mutation testing is a testing technique that is effective at designing tests and evaluating an existing test suite. Even though mutation testing has been developed to be applicable and effective towards different types of software systems and programing languages for many years, wide industrial use of mutation testing has not yet been seen. One primary reason that prevents developers and testers from using mutation testing is the expensive computational cost.Specifically, the need to manually identify equivalent mutants is a major obstacle and makes mutation testing very time consuming and labor intensive. This paper addresses this limitation and proposes a machine learning-based approach that designs and trains an abstract syntax tree recurrent neural network model to automatically classify equivalent mutants during the process of mutation testing. A pilot study with 582 mutants shows that the proposed machine learning-based approach can automatically classify equivalent mutants with an accuracy higher than 90%. The approach can significantly save the manual effort and time spent on identifying equivalent mutants during the process of mutation testing. |
Databáze: | OpenAIRE |
Externí odkaz: |