JOURNAL ARTICLE

Naive Bayes Classification for Software Defect Prediction

Abstract

Software defects are an inevitable aspect of software development, exerting substantial influence on the reliability and performance of software applications. This research addresses the imperative need to enhance the prediction and monitoring of software defects within the software development domain. With a focus on system stability and the prevention of software malfunctions, this study underscores the significance of proactive measures, including robust software testing, routine maintenance, and continuous system monitoring. The central challenge addressed in this research pertains to the insufficient efficiency of predicting software defects during the development phase. To address this challenge, the study employs the Naive Bayes classification method. Test results conducted on the complete dataset reveal that the Naive Bayes method yields classifications with an exceptionally high accuracy rate, reaching 98%. These findings suggest that the method holds great potential as an effective tool for predicting and preventing software defects throughout the software development process. Additionally, through linear regression analysis, the model exhibits an intercept value of -0.09359968 and a coef coefficient of 0.00761893. The outcomes of this research bear significant implications for the implementation of the Naive Bayes method in software bug prediction analysis, particularly in the utilization of the Python programming language with the assistance of Google Colab. The adoption of this method can play a pivotal role in mitigating risks and elevating the overall quality of software during the developmental stages.

Keywords:
Naive Bayes classifier Computer science Software bug Artificial intelligence Software Bayes' theorem Machine learning Bayesian probability Support vector machine Programming language

Metrics

0
Cited By
0.00
FWCI (Field Weighted Citation Impact)
22
Refs
0.34
Citation Normalized Percentile
Is in top 1%
Is in top 10%

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

Enhancing Software Reliability through Naive Bayes-based Defect Prediction

P Dhavakumar.Kumar Lakshmikant

Journal:   Greater South Information System Year: 2024
JOURNAL ARTICLE

Enhancing Software Reliability through Naive Bayes-based Defect Prediction

P Dhavakumar.Kumar Lakshmikant

Journal:   Greater South Information System Year: 2024
BOOK-CHAPTER

Heart Disease Prediction Using Classification (Naive Bayes)

Akansh GuptaLokesh KumarRachna JainPreeti Nagrath

Lecture notes in networks and systems Year: 2020 Pages: 561-573
BOOK-CHAPTER

Naive Bayes Classification

Hong Zhou

Apress eBooks Year: 2023 Pages: 143-159
© 2026 ScienceGate Book Chapters — All rights reserved.