Abstract
Higher order mutation testing is a type of white-box testing in which the source code is changed repeatedly using two or more mutation operators to generate mutated programs. The objective of this procedure is to improve the design and execution phases of testing by allowing testers to automatically evaluate their test cases. However, generating higher order mutants is challenging due to the large number of mutants needed and the complexity of the mutation search space. To address this challenge, the problem is modeled as a search problem. The purpose of this study is to propose a genetic algorithm-based search technique for mutation testing. The expected outcome is a reduction in the number of equivalent high order mutants produced, leading to a minimum number of mutant sets that produce an adequate mutation score. The experiments were carried out and the results were compared with a random search algorithm and four different versions of the proposed genetic algorithm which use different selection methods: roulette wheel, tournament, rank, and truncation selection. The results indicate that the number of equivalent mutants and the execution cost can be reduced using the proposed genetic algorithm with respect to the selection method.
Keywords
- Search-based mutation testing
- higher order mutation testing
- equivalent mutants
- genetic algorithms
- selection methods
Cite this article
@article{cai-6825,
author = {Serhat Uzunbayir and Kaan Kurtel},
title = {Leveraging Genetic Algorithms for Efficient Search-Based Higher Order Mutation Testing},
journal = {Computing and Informatics},
volume = {43},
number = {3},
pages = {709--734},
year = {2024},
issn = {1335-9150},
doi = {10.31577/cai_2024_3_709}
}
TY - JOUR AU - Serhat Uzunbayir AU - Kaan Kurtel TI - Leveraging Genetic Algorithms for Efficient Search-Based Higher Order Mutation Testing JO - Computing and Informatics VL - 43 IS - 3 SP - 709 EP - 734 PY - 2024 SN - 1335-9150 DO - 10.31577/cai_2024_3_709 UR - https://doi.org/10.31577/cai_2024_3_709 KW - Search-based mutation testing KW - higher order mutation testing KW - equivalent mutants KW - genetic algorithms KW - selection methods ER -
Uzunbayir, S., & Kurtel, K. (2024). Leveraging Genetic Algorithms for Efficient Search-Based Higher Order Mutation Testing. Computing and Informatics, 43(3), 709–734. https://doi.org/10.31577/cai_2024_3_709