Enhancing Test Suite Optimization in Software Engineering through a Hybrid Whale Optimization and LSTM Approach
Abstract
The algorithms used for Meta are commonly utilized to solve complicated optimization issues, but they frequently have disadvantages such as premature convergence, poor examination in the initial phases of the search, and insufficient adaptation of search operators. To address these issues, this study presents a novel hybrid approach, the Whale Optimization Algorithm with Long Short-Term Memory (WOA-LSTM), which is intended to improve exploration and adaptive learning. The primary goal is to overcome the performance limits of traditional WOA by providing a more robust search approach for confined combinatorial test-generating tasks. The proposed WOA-LSTM combines the regular WOA with an LSTM-based probability table that dynamically selects search operators. Data normalization with Z-score standardization resulted in stable feature scaling for effective LSTM training. In the early iteration stages, low-performing operators are given a chance to re-enter the search, preventing premature stagnation. Furthermore, the model selects just-in-time adaptive operators among the three WOA mechanisms random generation, spiral shape, and shrinkage—based on their historical effectiveness, allowing for a balance of exploration and exploitation. The experimental results show that WOA-LSTM outperforms other algorithms, with an accuracy of 99.3% and a recall of 99.1%. Comparative examination shows that the suggested method outperforms traditional WOA while being competitive with other sophisticated metaheuristic algorithms. Furthermore, statistical validation with t-tests demonstrates WOA-LSTM's considerable superiority over existing techniques, ensuring the proposed model's performance is reliable, resilient, and generalizable across several experimental runs. Finally, WOA-LSTM presents a highly successful optimization framework that overcomes WOA's drawbacks while also pointing the way forward for future optimization research.DOI:
https://doi.org/10.31449/inf.v49i19.9646Downloads
Published
How to Cite
Issue
Section
License
I assign to Informatica, An International Journal of Computing and Informatics ("Journal") the copyright in the manuscript identified above and any additional material (figures, tables, illustrations, software or other information intended for publication) submitted as part of or as a supplement to the manuscript ("Paper") in all forms and media throughout the world, in all languages, for the full term of copyright, effective when and if the article is accepted for publication. This transfer includes the right to reproduce and/or to distribute the Paper to other journals or digital libraries in electronic and online forms and systems.
I understand that I retain the rights to use the pre-prints, off-prints, accepted manuscript and published journal Paper for personal use, scholarly purposes and internal institutional use.
In certain cases, I can ask for retaining the publishing rights of the Paper. The Journal can permit or deny the request for publishing rights, to which I fully agree.
I declare that the submitted Paper is original, has been written by the stated authors and has not been published elsewhere nor is currently being considered for publication by any other journal and will not be submitted for such review while under review by this Journal. The Paper contains no material that violates proprietary rights of any other person or entity. I have obtained written permission from copyright owners for any excerpts from copyrighted works that are included and have credited the sources in my article. I have informed the co-author(s) of the terms of this publishing agreement.
Copyright © Slovenian Society Informatika







