Open Access iconOpen Access

ARTICLE

crossmark

Machine Learning Empowered Software Defect Prediction System

Mohammad Sh. Daoud1, Shabib Aftab2,3, Munir Ahmad2, Muhammad Adnan Khan4,5,*, Ahmed Iqbal3, Sagheer Abbas2, Muhammad Iqbal2, Baha Ihnaini6,7

1 College of Engineering, Al Ain University, Abu Dhabi, 112612, UAE
2 School of Computer Science, National College of Business Administration & Economics, Lahore, 54000, Pakistan
3 Department of Computer Science, Virtual University of Pakistan, Lahore, 54000, Pakistan
4 Riphah School of Computing & Innovation, Faculty of Computing, Riphah International University, Lahore Campus, Lahore, 54000, Pakistan
5 Pattern Recognition and Machine Learning Lab, Department of Software, Gachon University, Seongnam, 13557, Korea
6 School of Computer Science, Kean University, Union, NJ 07083, USA
7 Department of Computer Science, College of Science and Technology, Wenzhou Kean University, 325060, China

* Corresponding Author: Muhammad Adnan Khan. Email: email

Intelligent Automation & Soft Computing 2022, 31(2), 1287-1300. https://doi.org/10.32604/iasc.2022.020362

Abstract

Production of high-quality software at lower cost has always been the main concern of developers. However, due to exponential increases in size and complexity, the development of qualitative software with lower costs is almost impossible. This issue can be resolved by identifying defects at the early stages of the development lifecycle. As a significant amount of resources are consumed in testing activities, if only those software modules are shortlisted for testing that is identified as defective, then the overall cost of development can be reduced with the assurance of high quality. An artificial neural network is considered as one of the extensively used machine-learning techniques for predicting defect-prone software modules. In this paper, a cloud-based framework for real-time software-defect prediction is presented. In the proposed framework, empirical analysis is performed to compare the performance of four training algorithms of the back-propagation technique on software-defect prediction: Bayesian regularization (BR), Scaled Conjugate Gradient, Broyden–Fletcher–Goldfarb–Shanno Quasi-Newton, and Levenberg-Marquardt algorithms. The proposed framework also includes a fuzzy layer to identify the best training function based on performance. Publicly available cleaned versions of NASA datasets are used in this study. Various measures are used for performance evaluation including specificity, precision, recall, F-measure, an area under the receiver operating characteristic curve, accuracy, R2, and mean-square error. Two graphical user interface tools are developed in MatLab software to implement the proposed framework. The first tool is developed for comparing training functions as well as for extracting the results; the second tool is developed for the selection of the best training function using fuzzy logic. A BR training algorithm is selected by the fuzzy layer as it outperformed the others in most of the performance measures. The accuracy of the BR training function is also compared with other widely used machine-learning techniques, from which it was found that the BR performed better among all training functions.

Keywords


Cite This Article

APA Style
Daoud, M.S., Aftab, S., Ahmad, M., Khan, M.A., Iqbal, A. et al. (2022). Machine learning empowered software defect prediction system. Intelligent Automation & Soft Computing, 31(2), 1287-1300. https://doi.org/10.32604/iasc.2022.020362
Vancouver Style
Daoud MS, Aftab S, Ahmad M, Khan MA, Iqbal A, Abbas S, et al. Machine learning empowered software defect prediction system. Intell Automat Soft Comput . 2022;31(2):1287-1300 https://doi.org/10.32604/iasc.2022.020362
IEEE Style
M.S. Daoud et al., “Machine Learning Empowered Software Defect Prediction System,” Intell. Automat. Soft Comput. , vol. 31, no. 2, pp. 1287-1300, 2022. https://doi.org/10.32604/iasc.2022.020362



cc Copyright © 2022 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 1934

    View

  • 1528

    Download

  • 0

    Like

Share Link