Software Defect Prediction with Naive Bayes Classifier

被引:8
作者
Rahim, Aqsa [1 ]
Hayat, Zara [1 ]
Abbas, Muhammad [1 ]
Rahim, Amna [1 ]
Rahim, Muhammad Abdul [1 ]
机构
[1] NUST, Islamabad, Pakistan
来源
PROCEEDINGS OF 2021 INTERNATIONAL BHURBAN CONFERENCE ON APPLIED SCIENCES AND TECHNOLOGIES (IBCAST) | 2021年
关键词
Software Defect Prediction; PROMISE Dataset; Feature extraction; Naive Bayes; OBJECT-ORIENTED SOFTWARE; METRICS;
D O I
10.1109/IBCAST51254.2021.9393250
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
The defect is an error state, which is not according to the requirement of the given software. The error in the software system can affect the efficiency and reliability of the software therefore, early prediction of software defects can save the companies from a bigger loss. For this purpose, multiple algorithms have been proposed in the past decade. Still, the accuracy achieved is not suitable for the market demand which means that a lot of improvement needs to be done. In this paper, we have proposed an efficient and reliable framework for the prediction of the software defects. The framework is divided into three main steps which involves data preprocessing steps that includes: removal of noise and normalization. After that, feature extraction is done using correlation-based analysis and relevant features are selected, and finally applies machine learning models including naive Bayes and linear regression. Results show that the proposed method can reach an accuracy of 98.7% using Naive Bayes algorithm. Consequently, the significance of the proposed technique is that it will lower the cost of maintenance and reduce the code complexity by predicting the defects earlier in the software systems that will help the developers to remove those defects and ultimately improves the software quality before the deployment phase.
引用
收藏
页码:293 / 297
页数:5
相关论文
共 19 条
  • [1] ABREU FBE, 1994, J SYST SOFTWARE, V26, P87, DOI 10.1016/0164-1212(94)90099-X
  • [2] A Novel Approach for Dealing with Missing Values in Machine Learning Datasets with Discrete Values
    Abu-Soud, Saleh M.
    [J]. 2019 INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCES (ICCIS), 2019, : 118 - 122
  • [3] [Anonymous], 2020, TYPES DEFECTS SOFTWA
  • [4] [Anonymous], 2020, DEFECT SOFTWARE TEST
  • [5] A METRICS SUITE FOR OBJECT-ORIENTED DESIGN
    CHIDAMBER, SR
    KEMERER, CF
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (06) : 476 - 493
  • [6] Predicting defect-prone software modules using support vector machines
    Elish, Karim O.
    Elish, Mahmoud O.
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2008, 81 (05) : 649 - 660
  • [7] A critique of software defect prediction models
    Fenton, NE
    Neil, M
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1999, 25 (05) : 675 - 689
  • [8] Ferreira D, 2018, 2018 13TH APCA INTERNATIONAL CONFERENCE ON CONTROL AND SOFT COMPUTING (CONTROLO), P137, DOI 10.1109/CONTROLO.2018.8516413
  • [9] Halstead MH., 1977, Elements of Software Science (Operating and Programming Systems Series)
  • [10] An evaluation of the MOOD set of object-oriented software metrics
    Harrison, R
    Counsell, SJ
    Nithi, RV
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1998, 24 (06) : 491 - 496