Software Defect Prediction Analysis Using Machine Learning Techniques

被引:10
|
作者
Khalid, Aimen [1 ]
Badshah, Gran [2 ]
Ayub, Nasir [3 ]
Shiraz, Muhammad [1 ]
Ghouse, Mohamed [2 ]
机构
[1] Fed Urdu Univ Arts Sci & Technol Islamabad, Dept Comp Sci, Islamabad 44000, Pakistan
[2] King Khalid Univ Abha, Coll Comp Sci, Dept Comp Sci, Abha 61413, Saudi Arabia
[3] Capital Univ Sci & Technol, Fac Comp, Dept Software Engn, Islamabad 44000, Pakistan
关键词
software defect prediction; machine learning; k-means clustering; support vector machine; naive Bayes; random forest; ensemble approach; particle swarm optimization; SELECTION;
D O I
10.3390/su15065517
中图分类号
X [环境科学、安全科学];
学科分类号
08 ; 0830 ;
摘要
There is always a desire for defect-free software in order to maintain software quality for customer satisfaction and to save testing expenses. As a result, we examined various known ML techniques and optimized ML techniques on a freely available data set. The purpose of the research was to improve the model performance in terms of accuracy and precision of the dataset compared to previous research. As previous investigations show, the accuracy can be further improved. For this purpose, we employed K-means clustering for the categorization of class labels. Further, we applied classification models to selected features. Particle Swarm Optimization is utilized to optimize ML models. We evaluated the performance of models through precision, accuracy, recall, f-measure, performance error metrics, and a confusion matrix. The results indicate that all the ML and optimized ML models achieve the maximum results; however, the SVM and optimized SVM models outperformed with the highest achieved accuracy, 99% and 99.80%, respectively. The accuracy of NB, Optimized NB, RF, Optimized RF and ensemble approaches are 93.90%, 93.80%, 98.70%, 99.50%, 98.80% and 97.60, respectively. In this way, we achieve maximum accuracy compared to previous studies, which was our goal.
引用
收藏
页数:17
相关论文
共 50 条
  • [1] Performance Analysis of Machine Learning Techniques on Software Defect Prediction using NASA Datasets
    Iqbal, Ahmed
    Aftab, Shabib
    Ali, Umair
    Nawaz, Zahid
    Sana, Laraib
    Ahmad, Munir
    Husen, Arif
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2019, 10 (05) : 300 - 308
  • [2] Software Defect Prediction Analysis Using Machine Learning Algorithms
    Singh, Praman Deep
    Chug, Anuradha
    [J]. PROCEEDINGS OF THE 7TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING, DATA SCIENCE AND ENGINEERING (CONFLUENCE 2017), 2017, : 775 - 781
  • [3] On Software Defect Prediction Using Machine Learning
    Ren, Jinsheng
    Qin, Ke
    Ma, Ying
    Luo, Guangchun
    [J]. JOURNAL OF APPLIED MATHEMATICS, 2014,
  • [4] An empirical framework for defect prediction using machine learning techniques with Android software
    Malhotra, Ruchika
    [J]. APPLIED SOFT COMPUTING, 2016, 49 : 1034 - 1050
  • [5] Software Defect Prediction on Unlabelled Dataset with Machine Learning Techniques
    Ronchieri, Elisabetta
    Canaparo, Marco
    Belgiovine, Mauro
    Salomoni, Davide
    [J]. 2019 IEEE NUCLEAR SCIENCE SYMPOSIUM AND MEDICAL IMAGING CONFERENCE (NSS/MIC), 2019,
  • [6] Software defect identification using machine learning techniques
    Ceylan, Evren
    Kudubay, F. Onur
    Bener, Ayse B.
    [J]. 32ND EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA) - PROCEEDINGS, 2006, : 240 - +
  • [7] Software Defect Prediction Using Supervised Machine Learning Techniques: A Systematic Literature Review
    Matloob, Faseeha
    Aftab, Shabib
    Ahmad, Munir
    Khan, Muhammad Adnan
    Fatima, Areej
    Iqbal, Muhammad
    Alruwaili, Wesam Mohsen
    Elmitwally, Nouh Sabri
    [J]. INTELLIGENT AUTOMATION AND SOFT COMPUTING, 2021, 29 (02): : 403 - 421
  • [8] Performance evaluation of software defect prediction with NASA dataset using machine learning techniques
    Siddiqui T.
    Mustaqeem M.
    [J]. International Journal of Information Technology, 2023, 15 (8) : 4131 - 4139
  • [9] A study on software metrics based software defect prediction using data mining and machine learning techniques
    Prasad, Manjula C.M.
    Florence, Lilly
    Arya, Arti
    [J]. International Journal of Database Theory and Application, 2015, 8 (03): : 179 - 190
  • [10] Empirical assessment of machine learning based software defect prediction techniques
    Challagulla, VUB
    Bastani, FB
    Yen, IL
    Paul, RA
    [J]. WORDS 2005: 10TH IEEE INTERNATIONAL WORKSHOP ON OBJECT-ORIENTED REAL-TIME DEPENDABLE, PROCEEDINGS, 2005, : 263 - 270