A Comparative Study of CNN and MLP for Software Defect Prediction Using PROMISE Datasets

Ekhlas Tariq HasanDepartment of Basic Science, College of Nursing, University of Mosul, Nineveh, IraqShayma Mustafa Mohi-AldeenDepartment of Computer Science, College of Computer Science and Mathematics, University of Mosul, Nineveh, Iraq

Vol 10 No 7 (2026): Volume 10, Issue 7, July 2026 | Pages: 101-109

International Research Journal of Innovations in Engineering and Technology

OPEN ACCESS | Research Article | Published Date: 31-07-2026

doi Logo doi.org/10.47001/IRJIET/2026.107011

Abstract

Modern Software defects pose significant challenges, leading to critical system failures and substantial financial losses. As contemporary software systems become increasingly large and complex, identifying defects during the early stages grows more difficult. To address this, deep learning techniques, specifically multi-layer perceptron (MLP) and Convolutional Neural Network (CNN), are employed to predict software defects (SDP), integrated with code segment analysis during early development phases. This study applies both algorithms to detect software defects using 11 open-source datasets from the PROMISE repository. The evaluation emphasizes the prediction accuracy of the MLP and CNN models, alongside the F1 score-a crucial metric for assessing model performance on imbalanced datasets. Findings indicate that CNN outperforms MLP, achieving 86% prediction accuracy and an F1 score of 87.7%. In contrast, MLP attained 71% accuracy with an F1 score of 71.6%. These results demonstrate the superior predictive capability of CNN-based approaches in software defect prediction tasks.

Keywords

Software Defects Prediction (SDP), Deep learning, CNN, MLP, RF.


Citation of this Article

Ekhlas Tariq Hasan, & Shayma Mustafa Mohi-Aldeen. (2026). A Comparative Study of CNN and MLP for Software Defect Prediction Using PROMISE Datasets. International Research Journal of Innovations in Engineering and Technology - IRJIET, 10(7), 101-109. Article DOI https://doi.org/10.47001/IRJIET/2026.107011

References
I.A. qbal, S. Aftab, U. Ali, Z. Nawaz, L. Sana, M. Ahmad, and A. Husen. “Performance analysis of machine learning techniques on software defect prediction using NASA datasets”, International Journal of Advanced Computer Science and Applications, Vol. 10, No. 5, 300–308, 2019. 

S. K. Pandey and A. K. Tripathi, “SDC-estimator: an effectual software defect count estimation technique for the upcoming version of software project. Innovations in Systems and Software Engineering”, 1-36, 2025.

F. Provost and T. Fawcett, “Data science and its relationship to big data and data-driven decision-making Big data”, Vol. 1, No. 1, 51-59, 2013. 

C. W. Yohannese and T. Li, “A combined learning-based framework for improved software fault prediction”, International Journal of Computational Intelligence Systems, Vol. 10, No. 1, pp. 647, 2017.

S. Sahel, M. Alsahafi, M. Alghamdi, and T. Alsubait, “Logo detection using deep learning with pre-trained CNN models”, Engineering, Technology & Applied Science Research, Vol. 11, No. 1, pp. 6724–6729, 2021.

A.Alsaeedi and M. Z. Khan, “Software defect prediction using supervised machine learning and ensemble techniques: A comparative study”, Journal of Software Engineering and Applications, Vol. 12, No. 5, pp. 85–100, 2019.

E. E. Miandoab and F. S. Gharehchopogh, “A novel hybrid algorithm for software cost estimation based on Cuckoo optimisation and K-Nearest Neighbors algorithms”, Engineering, Technology & Applied Science Research, Vol. 6, No. 3, pp. 1018–1022, 2016.

S. C. Satapathy, A. K. Jena, J. Singh, S. Bilgaiyan, D. Ghosh, and J. Singh, “A novel approach of software fault prediction using deep learning technique”, in Automated Software Engineering: A Deep Learning-Based Approach, pp. 73–91, 2020.

D. Mnyanghwalo, H. Kundaeli, E. Kalinga, and N. Hamisi, “Deep learning approaches for fault detection and classifications in the electrical secondary distribution network: Methods comparison and recurrent neural network accuracy comparison”, Cogent Engineering, Vol. 7, No. 1, PP. 1857500, 2020.

O. A. AL Qasem and M. Akour, “Software fault prediction using deep learning algorithms”, International Journal of Open-Source Software and Processes, Vol. 10, No. 4, pp. 1–19, 2019.

H. M. Yahya and D. B. Taha “The Development of the Secure Quality Dataset (SQDS): Combining Security and Quality Measures Using Deep Machine Learning for Code Smell Detection”, International Journal of Computing and Digital Systems, Vol. 16, No.1, 995-1006 ,2024.

S. K. Pandey, A. Haldar, and A. K. Tripathi, “Is deep learning good enough for software defect prediction”, Innovations in Systems and Software Engineering, pp. 1–16, 2023.

T. Hoang, H. K. Dam, Y. Kamei, D. Lo, and N. Ubayashi, “Deepjit: An end-to-end deep learning framework for just-in-time defect prediction”, in IEEE/ACM 16th International Conference on Mining Software Repositories, 2019.

A.Al-Mansoori and A. Al-Hamadi, “Sustainable practices in the manufacturing sector: Challenges and opportunities”, Sustainability, Vol. 15, No. 1, pp. 234–250, 2023.

W. Alkaberi and F. Assiri, “Predicting the number of software faults using deep learning”, Engineering, Technology and Applied Science Research, Vol. 14, No. 2, pp. 13222–13231, 2024.

A.Kukkar, R. Mohana, Y. Kumar, A. Nayyar, M. Bilal, and K. S. Kwak, “Duplicate bug report detection and classification system based on deep learning technique”, IEEE Access, Vol. 8, pp. 200749–200763, 2020.

M. Nevendra and P. Singh, “Software defect prediction using deep learning”, Acta Polytechnica Hungarica, Vol. 18, No. 10, pp. 173–189, 2021.

K. K. Sharma, A. Sinha, and A. Sharma, “Software defect prediction using deep learning by correlation clustering of testing metrics”, International Journal of Electrical and Computer Engineering Systems, Vol. 13, No. 10, pp. 953–960, 2022.

X. Chen, D. Zhang, Y. Zhao, Z. Cui, and C. Ni, “Software defect number prediction: Unsupervised vs supervised methods”, Information and Software Technology, Vol. 106, pp. 161–181, 2018.

N. H. Qazan and S. M. Al-Mashhadany, “Performance Evaluation of the Plagiarism Systems a Systematic Review”, International Journal of Electrical Engineering and Intelligent Computing, Vol. 1, No.1, 15-23,2023.

R. S. Gu, “Data cleaning framework: An extensible approach to data cleaning”, 2011.

M. Jureczko, “Significance of different software metrics in defect prediction”, Software Engineering: An International Journal, Vol. 1, No. 1, pp. 86–95, 2011.

H. Motie Ghader, S. Gharaghani, Y. Masoudi-Sobhanzadeh, and A. Masoudi-Nejad, “Sequential and mixed genetic algorithm and learning automata (SGALA, MGALA) for feature selection in QSAR”, Iranian Journal of Pharmaceutical Research: IJPR, Vol. 16, No. 2, p. 533, 2017.

J. Miao and L. Niu, “A survey on feature selection”, Procedia Computer Science, Vol. 91, pp. 919–926, 2016.

H. A. Younis and Y. F. Mohammad, “Arabic speech recognition based on self-supervised learning”, In 16th International Conference on Developments in eSystems Engineering (DeSE) pp. 528-533, 2023, IEEE.

S. A. M. Al-Taie, and B. I. Khaleel, “Palmprint Identification Using Dolphin Optimization”, Periodica Polytechnica Electrical Engineering and Computer Science, Vol.68, No.3, 295-308, 2024.

I.H. Laradji, M. Alshayeb, and L. Ghouti, “Software defect prediction using ensemble learning on selected features”, Information and Software Technology, Vol. 58, pp. 388–402, 2015.

H. E. Solayman and R. P. Qasha, “Portable Modeling for ICU IoT-based Application using TOSCA on the Edge and Cloud”, In International Conference on Computer Science and Software Engineering (CSASE), pp. 301-305,2022, IEEE.

J. M. Johnson and T. M. Khoshgoftaar, “Survey on deep learning with class imbalance”, Journal of Big Data, Vol. 6, No. 1, 2019.

S. S. Rathore and S. Kumar, “An empirical study of some software fault prediction techniques for the number of faults prediction”, Soft Computing, Vol. 21, No. 24, pp. 7417–7434, 2017.

Z. Vujovic, “Classification model evaluation metrics”, International Journal of Advanced Computer Science and Applications, Vol. 12, pp.599–606, 2021. 

S. J. Mohammed and D. B. Taha, “Performance evaluation of RSA, ElGamal, and paillier partial homomorphic encryption algorithms”, In International Conference on Computer Science and Software Engineering (CSASE), pp. 89-94, 2022, IEEE.

V. Vemuri, “The Hundred-Page Machine Learning Book”, Journal of Information Technology Case and Application Research, Vol. 22, 2020.

D. E. Birba, “A comparative study of data splitting algorithms for machine learning model selection”, 2020.

N. Palanivel, S. Deivanai, G. Lakshmi Priya, and B. Sindhuja, “Biosignals based smoking status prediction using standard autoencoder and artificial neural network”, International Journal of Computing and Digital Systems, Vol. 17, No. 1, pp. 1–14, 2024.

F. Emmert-Streib, S. Moutari, and M. Dehmer, “A comprehensive survey of error measures for evaluating binary decision making in data science”, Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, Vol. 9, e1303, 2019.

B. Sun, Y. S. Sun, T. Ban, T. Takahashi, S. C. Chang, and D. Inoue, “A scalable and accurate feature representation method for identifying malicious mobile applications”, Proceedings of the ACM Symposium on Applied Computing, Part F1477, pp. 1182–1189,2019

A.Alashqar, “A classification of Quran verses using deep learning”, International Journal of Computing and Digital Systems, Vol. 16, No. 1, pp. 1041–1053, 2024.

R. Özakıncı and A. Tarhan, “A decision analysis approach for selecting software defect prediction method in the early phases”,  Software Quality Journal, Vol. 31, No. 1, pp. 121–177, 2023.