Enhancing Software Reliability through Naive Bayes-based Defect Prediction

Author:

P Dhavakumar1,Lakshmikant Kumar2

Affiliation:

1. Vellore Institute of Technology

2. Amrita School of Computing, Amrita Vishwa Vidyapeetham

Abstract

Abstract

Software defects can be costly to fix and can lead to reduced system reliability, decreased user satisfaction, and increased development time. To mitigate these risks, software defect prediction techniques have been proposed to identify potentially problematic areas of code before defects occur. In this paper, we propose an effective method to detect software flaws using the Naive Bayes classifier. We used a publicly available dataset for our study and performed preprocessing steps such as removing duplicate records and missing values. We splitted the data into training and testing and trained a Naive Bayes classifier on training. We evaluated the performance of our approach using precision, recall, and F1 score metrics. Our results demonstrate that the Naive Bayes classifier was effective in detecting software defects, achieving an accuracy of 98.16% on the testing set and area under ROC curve of 0.965. These findings suggest that the Naive Bayes classifier could be a valuable tool for software defect prediction and could help practitioners and researchers improve the quality of software systems.

Publisher

Springer Science and Business Media LLC

Reference17 articles.

1. Seml: A semantic LSTM model for software defect prediction;Liang H;Ieee Access : Practical Innovations, Open Solutions,2019

2. Singh, P., & Deep, A. (2017). Software defect prediction analysis using machine learning algorithms, in 7th International Conference on Cloud Computing, IEEE.

3. Performance analysis of machine learning techniques on software defect prediction using NASA datasets;Iqbal A;Int J Adv Computer Sci Appl,2019

4. Daoud, M. (2022). Machine learning empowered software defect prediction system.

5. Dhavakumar, P., & Gopalan, N. P. Defect Prediction and Dimension Reduction Methods for Achieving Better Software Quality, International Journal of Recent Technology and Engineering (IJRTE), July 2019, Volume-8 Issue-2, pp. 2168–2179 ISSN: 2277–3878. (Scopus).

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3