Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 20 May 2025

An Adaptive Machine Learning Algorithm for Resilient Higher-Order Mutant Generation

Subhasish Mohanty1, Jyotirmaya Mishra1, Sudhir Kumar Mohapatra2, Melashu Amare3 & Aliazar Deneke Deferisha4

Journal of Computer Science, Volume 21, Issue 5, pp. 1187–1201 · doi.org/10.3844/jcssp.0.1187.1201

8,238 accesses1,965 downloads0 citations (Crossref)Metrics
Cite Check for updates

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 article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite 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
An Adaptive Machine Learning Algorithm for Resilient Higher-Order Mutant GenerationJournal of Computer Science · Volume 21, Issue 5 · pp. 1187–1201 · CC BY 4.0Download