JOURNAL ARTICLE

Software Defect Prediction Based on Machine Learning and Deep Learning Techniques: An Empirical Approach

Waleed AlbattahMusaad Alzahrani

Year: 2024 Journal:   AI Vol: 5 (4)Pages: 1743-1758   Publisher: Multidisciplinary Digital Publishing Institute

Abstract

Software bug prediction is a software maintenance technique used to predict the occurrences of bugs in the early stages of the software development process. Early prediction of bugs can reduce the overall cost of software and increase its reliability. Machine learning approaches have recently offered several prediction methods to improve software quality. This paper empirically investigates eight well-known machine learning and deep learning algorithms for software bug prediction. We compare the created models using different evaluation metrics and a well-accepted dataset to make the study results more reliable. This study uses a large dataset collected from five publicly available bug datasets that includes about 60 software metrics. The source-code metrics of internal class quality, including cohesion, coupling, complexity, documentation inheritance, and size metrics, were used as features to predict buggy and non-buggy classes. Four performance metrics, namely accuracy, macro F1 score, weighted F1 score, and binary F1 score, are considered to quantitatively evaluate and compare the performance of the constructed bug prediction models. The results demonstrate that the deep learning model (LSTM) outperforms all other models across these metrics, achieving an accuracy of 0.87.

Keywords:
Computer science Artificial intelligence Machine learning Deep learning

Metrics

14
Cited By
21.39
FWCI (Field Weighted Citation Impact)
55
Refs
0.99
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Software Engineering Research
Physical Sciences →  Computer Science →  Information Systems
Software Reliability and Analysis Research
Physical Sciences →  Computer Science →  Software
Software Testing and Debugging Techniques
Physical Sciences →  Computer Science →  Software

Related Documents

JOURNAL ARTICLE

EMPIRICAL ASSESSMENT OF MACHINE LEARNING BASED SOFTWARE DEFECT PREDICTION TECHNIQUES

V.U.B. ChallagullaFarokh BastaniI‐Ling YenRaymond A. Paul

Journal:   International Journal of Artificial Intelligence Tools Year: 2008 Vol: 17 (02)Pages: 389-400
JOURNAL ARTICLE

Software Defect Prediction based on Machine Learning and Deep Learning

Prathyusha TadapaneniNaga Chandana NadellaMudili DivyanjaliY. Sangeetha

Journal:   2022 International Conference on Inventive Computation Technologies (ICICT) Year: 2022
BOOK-CHAPTER

Software Defect Prediction Using Machine Learning Techniques

G. CauveryDhina SureshG. AswiniP. JayanthiK. Kalaiselvi

Advances in computational intelligence and robotics book series Year: 2023 Pages: 180-195
JOURNAL ARTICLE

Software defect prediction using machine learning techniques

Nitin KumarOm Prakash SangwanSunita Beniwal

Journal:   AIP conference proceedings Year: 2025 Vol: 3394 Pages: 040004-040004
© 2026 ScienceGate Book Chapters — All rights reserved.