International Journal of Performance Analysis in Sport, 2025, 21(1): 48-55 doi: 10.23940/ijpe.25.01.p5.4855

Original article

Comparative Analysis of Machine Learning Model and PSO Optimized CNN-RNN for Software Fault Prediction

Kalonia Seema, Upadhyay Amrita,*

Department of Computer Science, Banasthali Vidyapith, Rajasthan, India

*Corresponding Author(s): Corresponding author. E-mail address: amritaupadhayay@banasthali.in Corresponding author. E-mail address: amritaupadhayay@banasthali.in

Revised:  Submitted on  Accepted: 

Abstract

Software Fault Prediction has a critical role in improving effectiveness and reliability of software systems by identifying potential faults early in the development cycle. A hybrid PSO optimized CNN-RNN model leverages the strengths of both RNN and CNN in capturing temporal and spatial data features, while PSO optimizes hyperparameters to enhance model performance in this research. The proposed PSO optimized CNN-RNN model is compared against existing hybrid machine learning models, where PSO optimized Genetic Algorithm (GA) was used for hyperparameter tuning and feature selection of Support Vector Machine (SVM). Our experiments are performed on publicly available software fault’s datasets, providing a comprehensive comparison of model performance that is evaluated on the basis of various matrices of performance like F-measures, accuracy, recall, F1-score, SD and precision. The results demonstrate that while optimized Machine Learning algorithms perform well in some cases, the CNN-RNN-PSO model consistently outperforms them, offering superior fault prediction capabilities. The NASA MDP repository’s benchmark datasets are used for the comparative analysis and the results demonstrated that the optimized hybrid machine learning model achieves competitive performance. The proposed PSO optimized CNN-RNN model demonstrates superior accuracy and robustness due to its deep learning architecture and optimization capabilities. This research focus on the potential of a hybrid DL approach which improves the software reliability and suggests future directions for integrating intelligent models in SFP.

Keywords: convolutional neural network ; software fault prediction ; particle swarm optimization ; deep learning ; recurrent neural network ; machine learning

PDF (804KB) Metadata Related articles Export EndNote| Ris| Bibtex

Cite this article

Kalonia Seema, Upadhyay Amrita. Comparative Analysis of Machine Learning Model and PSO Optimized CNN-RNN for Software Fault Prediction. International Journal of Performance Analysis in Sport, 2025, 21(1): 48-55 doi:10.23940/ijpe.25.01.p5.4855

Reference

Montavon G., Samek W., and Müller K.R., 2018.

Methods for interpreting and understanding deep neural networks

Digital Signal Processing, 73, pp. 1-15.

Shepperd M., Song Q., Sun Z., and Mair C., 2013.

Data quality: some comments on the NASA software defect datasets

IEEE Transactions on Software Engineering, 39(9), pp. 1208-1215.

Goodfellow I., Bengio Y., and Courville A., 2016.

Deep Learning

MIT Press.

Manjula C., and Florence L., 2019.

Deep neural network based hybrid approach for software defect prediction using software metrics

Cluster Computing, 22(Suppl 4), pp. 9847-9863.

Alsghaier H., and Akour M., 2020.

Software fault prediction using particle swarm algorithm with genetic algorithm and support vector machine classifier

Software: Practice and Experience, 50(4), pp. 407-427.

Santhosh S., Khatter K., and Relan D., 2023. Software fault prediction using particle swarm optimization and random forest. In Proceedings of International Conference on Data Science and Applications:ICDSA 2022, 1, pp. 843-851.

Pethe Y.S., and Das H., 2024. Feature selection using genetic algorithm for software fault prediction. In 2024 3rd International Conference on Applied Artificial Intelligence and Computing (ICAAIC), pp. 1132-1137.

Banga M., and Bansal A., 2023.

Proposed software faults detection using hybrid approach

Security and Privacy, 6(4), e103.

Kalonia S., and Upadhyay A., 2023. A systematic review of software fault prediction using deep learning: challenges and future perspectives. In International Conference on Advances in Data-Driven Computing and Intelligent Systems, pp. 533-548.

Meenakshi and Pareek M., 2023. Software effort estimation using deep learning: A gentle review. In International Conference on Sustainable and Innovative Solutions for Current Challenges in Engineering & Technology, pp. 351-364.

Jorayeva M., Akbulut A., Catal C., and Mishra A., 2022.

Machine learning-based software defect prediction for mobile applications: A systematic literature review

Sensors, 22(7), 2551.

Kalonia S., and Upadhyay A., 2024.

Nature inspired optimization algorithms: A gentle review

Emerging Trends in IoT and Computing Technologies, pp. 465-469.

Miholca D.L., 2018. An improved approach to software defect prediction using a hybrid machine learning model. In 2018 20th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC), pp. 443-448.

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, 17(2), pp. 436-464.

Kumar A., Sinhal A., and Verma B., 2013.

A novel technique of optimization for software metric using PSO.

International Journal of Soft Computing and Software Engineering, 3(10), pp. 2251-7545.

Malhotra R., Chawla S., and Sharma A., 2023.

Software defect prediction using hybrid techniques: A systematic literature review

Soft Computing, 27(12), pp. 8255-8288.

Erturk E., and Sezer E.A., 2015.

A comparison of some soft computing methods for software fault prediction

Expert Systems with Applications, 42(4), pp. 1872-1879.

Khatibi Bardsiri V., Jawawi D.N.A., Hashim S.Z.M., and Khatibi E., 2014.

A flexible method to estimate the software development effort based on the classification of projects and localization of comparisons

Empirical Software Engineering, 19, pp. 857-884.

Kumar K.H., and Srinivas K., 2023.

An accurate analogy based software effort estimation using hybrid optimization and machine learning techniques

Multimedia Tools and Applications, 82(20), pp. 30463-30490.

Al Qasem O., and Akour M., 2019.

Software fault prediction using deep learning algorithms

International Journal of Open Source Software and Processes (IJOSSP), 10(4), pp. 1-19.

Khan M.Z., 2020.

Hybrid ensemble learning technique for software defect prediction

International Journal of Modern Education & Computer Science, 12(1), pp. 1-10.

Miholca D.L., Czibula G., and Czibula I.G., 2018.

A novel approach for software defect prediction through hybridizing gradual relational association rules with artificial neural networks

Information Sciences, 441, pp. 152-170.

Yadav S., Tomar P., Nehra V., and Sharma N., 2022.

Hybrid model for software fault prediction

In Cyber-Physical Systems, pp. 85-103.

Thant M.W., and Aung N.T.T., 2019. Software defect prediction using hybrid approach. In 2019 International Conference on Advanced Information Technologies (ICAIT), pp. 262-267.

/