A hybrid approach for optimizing software defect prediction using a grey wolf optimization and multilayer perceptron
International Journal of Intelligent Computing and Cybernetics
ISSN: 1756-378X
Article publication date: 22 March 2024
Issue publication date: 30 May 2024
Abstract
Purpose
Software defect prediction (SDP) is a critical aspect of software quality assurance, aiming to identify and manage potential defects in software systems. In this paper, we have proposed a novel hybrid approach that combines Grey Wolf Optimization with Feature Selection (GWOFS) and multilayer perceptron (MLP) for SDP. The GWOFS-MLP hybrid model is designed to optimize feature selection, ultimately enhancing the accuracy and efficiency of SDP. Grey Wolf Optimization, inspired by the social hierarchy and hunting behavior of grey wolves, is employed to select a subset of relevant features from an extensive pool of potential predictors. This study investigates the key challenges that traditional SDP approaches encounter and proposes promising solutions to overcome time complexity and the curse of the dimensionality reduction problem.
Design/methodology/approach
The integration of GWOFS and MLP results in a robust hybrid model that can adapt to diverse software datasets. This feature selection process harnesses the cooperative hunting behavior of wolves, allowing for the exploration of critical feature combinations. The selected features are then fed into an MLP, a powerful artificial neural network (ANN) known for its capability to learn intricate patterns within software metrics. MLP serves as the predictive engine, utilizing the curated feature set to model and classify software defects accurately.
Findings
The performance evaluation of the GWOFS-MLP hybrid model on a real-world software defect dataset demonstrates its effectiveness. The model achieves a remarkable training accuracy of 97.69% and a testing accuracy of 97.99%. Additionally, the receiver operating characteristic area under the curve (ROC-AUC) score of 0.89 highlights the model’s ability to discriminate between defective and defect-free software components.
Originality/value
Experimental implementations using machine learning-based techniques with feature reduction are conducted to validate the proposed solutions. The goal is to enhance SDP’s accuracy, relevance and efficiency, ultimately improving software quality assurance processes. The confusion matrix further illustrates the model’s performance, with only a small number of false positives and false negatives.
Keywords
Acknowledgements
Conflict of interest: The authors have no relevant financial or non-financial interests to disclose.
Funding: No funding is supported by any agency.
Data availability statement: Data sharing does apply to this article as datasets given in sections 5.1 to 5.3 were generated or analyzed during the current study. And also given in section 3.1.
Erratum: It has come to the attention of the publisher that the article “Mustaqeem, M., Mustajab, S. and Alam, M. (2024), “A hybrid approach for optimizing software defect prediction using a gray wolf optimization and multilayer perceptron”, International Journal of Intelligent Computing and Cybernetics, Vol. ahead-of-print No. ahead-of-print. https://doi.org/10.1108/IJICC-11-2023-0385, contained a spelling error, which was introduced during the production process. The term ‘Gray Wolf Optimization’ has been corrected to ‘Grey Wolf Optimization’ in all 27 instances. The publisher sincerely apologises for this error and for any confusion caused.
Citation
Mustaqeem, M., Mustajab, S. and Alam, M. (2024), "A hybrid approach for optimizing software defect prediction using a grey wolf optimization and multilayer perceptron", International Journal of Intelligent Computing and Cybernetics, Vol. 17 No. 2, pp. 436-464. https://doi.org/10.1108/IJICC-11-2023-0385
Publisher
:Emerald Publishing Limited
Copyright © 2024, Emerald Publishing Limited