Leveraging Genetic Algorithms for Efficient Search-Based Higher Order Mutation Testing

Authors

  • Serhat Uzunbayir Department of Software Engineering, Izmir University of Economics, Sakarya Cd. No. 156, 35330, Balçova, İzmir, Türkiye
  • Kaan Kurtel Department of Software Engineering, Izmir University of Economics, Sakarya Cd. No. 156, 35330, Balçova, İzmir, Türkiye

DOI:

https://doi.org/10.31577/cai_2024_3_709

Keywords:

Search-based mutation testing, higher order mutation testing, equivalent mutants, genetic algorithms, selection methods

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.

Downloads

Download data is not yet available.

Downloads

Published

2024-06-24

How to Cite

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