An Adaptive Machine Learning Algorithm for Resilient Higher-Order Mutant Generation
Subhasish Mohanty1, Jyotirmaya Mishra1, Sudhir Kumar Mohapatra2, Melashu Amare3 & Aliazar Deneke Deferisha4 Show affiliations
- Department of Computer Science and Engineering, GIET University, Gunupur, Odisha, India
- Faculty of Engineering & Technology, Sri Sri University, Bhubaneswar, Odisha, India
- Departments of Software Engineering, Woldia University, Woldia, Ethiopia
- Faculty of Computing and Software Engineering, AMiT, Arba Minch University, Arba Minch, Ethiopia
Journal of Computer Science, Volume 21, Issue 5, pp. 1187–1201 · doi.org/10.3844/jcssp.0.1187.1201
Abstract
In the field of software engineering, ensuring the reliability androbustness of software is paramount, and software testing plays a criticalrole in this process. Mutation testing, a fault-based technique, evaluates theeffectiveness of test suites by introducing artificial defects, known asmutants, into programs. This research presents a novel method forgenerating higher-order mutants (HOMs) using the Chemical ReactionOptimization (CRO) algorithm, which enhances the rigor of mutation testingby creating harder-to-detect mutants. The CRO algorithm employs fourtypes of collision operators: on-wall ineffective, synthesis, decomposition,and inter-molecular ineffective, to modify mutants and simulate complexfaults. Through experimentation with iterations set at 10, 30, and 50, it wasfound that increasing the number of iterations significantly reduces thenumber of mutants and increases their detection difficulty. Notably, with 50iterations, the approach achieved a 93% reduction in mutants and loweredthe mutation score to 27.77%, demonstrating the robustness of the generatedmutants. The research further introduces the HOMUsingCRO tool, whichautomates the mutant generation and testing process, generating XML-basedreports for effective mutant analysis. The proposed approach outperformsexisting techniques in both mutant reduction and mutation score, offering amore comprehensive solution for improving software test suiteeffectiveness.
Licence and reuse
Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.
How to reuse this articleResponses (0)
About this article
Mohanty, S., Mishra, J., Mohapatra, S. K., Amare, M. & Deferisha, A. D. (2025). An Adaptive Machine Learning Algorithm for Resilient Higher-Order Mutant Generation. Journal of Computer Science, 21(5), 1187–1201. https://doi.org/10.3844/jcssp.0.1187.1201
- Licence
- CC BY 4.0
- Issue
- Volume 21, Issue 5
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
