Early Software Defects Density Prediction: Training the International Software Benchmarking Cross Projects Data Using Supervised Learning

被引:8
|
作者
Tahir, Touseef [1 ]
Gencel, Cigdem [2 ]
Rasool, Ghulam [1 ]
Umer, Tariq [1 ]
Rasheed, Jawad [3 ,4 ,5 ]
Yeo, Sook Fern [6 ,7 ]
Cevik, Taner [8 ]
机构
[1] COMSATS Univ Islamabad, Dept Comp Sci, Lahore Campus, Lahore 54000, Pakistan
[2] Ankara Medipol Univ, Dept Management Informat Syst, TR-06050 Ankara, Turkiye
[3] Istanbul Sabahattin Zaim Univ, Dept Comp Engn, TR-34303 Istanbul, Turkiye
[4] Istanbul Nisantasi Univ, Dept Software Engn, TR-34398 Istanbul, Turkiye
[5] Bogazici Univ, Deep Learning & Med Image Anal Lab, TR-34342 Istanbul, Turkiye
[6] Multimedia Univ, Fac Business, Malacca 75450, Malaysia
[7] Daffodil Int Univ, Dept Business Adm, Dhaka 1207, Bangladesh
[8] Istanbul Arel Univ, Dept Comp Engn, TR-34537 Istanbul, Turkiye
关键词
Software engineering; Costs; Machine learning; Codes; Predictive models; Training; Size measurement; Fault detection; Prediction methods; Supervised learning; Project management; Cross projects dataset; defect prediction; feature selection; fault prediction; ISBSG dataset; machine learning;
D O I
10.1109/ACCESS.2023.3339994
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Recent reviews of the literature indicate the need for empirical studies on cross-project defect prediction (CPDP) that would allow aggregation of the evidence and improve predictive performance. Most empirical studies predict defects at granularity levels of method, class, file, and module/package during the coding phase, and thereby avoid external failure costs. The main goal of this study is to perform an empirical study on early defect prediction at the beginning of a project at the product level of granularity for using it as input in planning quality activities of the project. Hence, both internal and external failure costs could be avoided as much as possible through proper planning of quality. We first made a systematic mapping study (SMS) on secondary studies (literature reviews) on defect prediction to identify the most used datasets, the project attributes and metrics utilized as estimators, and the supervised learning methods employed for training the data. Then, we made an empirical study on defect density prediction using cross-project data. We collected 760 project data from the International Software Benchmarking (ISBSG) dataset version 11, which reported both defects and functional size attributes. We trained the prediction models using: i) the complete set of project attributes, ii) the individual attributes, and iii) multiple subsets of attributes. We employed classification and regression approaches of machine learning. The machine learning models are trained using original values of the dataset, and z-score and logged transformations of original values to explore the effects of data normalization on prediction. Most machine learning models trained on the z-score transformation of the dataset performed best for classifying defects. The Multilayer-Perceptron (Neural Network) model trained on the z-score transformation of complete dataset predicted defects with the highest F1-score of 0.89 using binary classification. The logged transformation and feature selection methods improved the results for multivariable regression. The multivariable regression predicted defects with the highest Root Mean Squared Error (RMSE) and R-2 (r-squared) values of 0.4 and 0.9, respectively, with a subset of 11 features using logged transformation. The results of classification and regression approaches indicate that defects can be predicted with reasonable accuracy at the software product level using cross-project data.
引用
收藏
页码:141965 / 141986
页数:22
相关论文
共 36 条
  • [1] Prediction of Risk Percentage in Software Projects by Training Machine Learning Classifiers
    Gouthaman, P.
    Sankaranarayanan, Suresh
    [J]. COMPUTERS & ELECTRICAL ENGINEERING, 2021, 94
  • [2] Prediction of Software Defects Using Automated Machine Learning
    Tanaka, Kazuya
    Monden, Akito
    Yucel, Zeynep
    [J]. 2019 20TH IEEE/ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING AND PARALLEL/DISTRIBUTED COMPUTING (SNPD), 2019, : 490 - 494
  • [3] Software Defect Density Prediction Using Deep Learning
    Alghanim, Firas
    Azzeh, Mohammad
    El-Hassan, Ammar
    Qattous, Hazem
    [J]. IEEE ACCESS, 2022, 10 : 114629 - 114641
  • [4] Class Imbalance Learning to Heterogeneous Cross-Software Projects Defect Prediction
    Vashisht, Rohit
    Rizvi, Syed Afzal Murtaza
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE INNOVATION, 2022, 10 (01)
  • [5] Improved prediction of software defects using ensemble machine learning techniques
    Mehta, Sweta
    Patnaik, K. Sridhar
    [J]. NEURAL COMPUTING & APPLICATIONS, 2021, 33 (16): : 10551 - 10562
  • [6] Improved prediction of software defects using ensemble machine learning techniques
    Sweta Mehta
    K. Sridhar Patnaik
    [J]. Neural Computing and Applications, 2021, 33 : 10551 - 10562
  • [7] Enhancing Software Defect Prediction Using Supervised-Learning Based Framework
    Bashir, Kamal
    Li, Tianrui
    Yohannese, Chubato Wondaferaw
    Mahama, Yahaya
    [J]. 2017 12TH INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEMS AND KNOWLEDGE ENGINEERING (IEEE ISKE), 2017,
  • [8] Software Defect Prediction Using Semi-supervised Learning with Dimension Reduction
    Lu, Huihua
    Cukic, Bojan
    Culp, Mark
    [J]. 2012 PROCEEDINGS OF THE 27TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2012, : 314 - 317
  • [9] Cross-projects software defect prediction using spotted hyena optimizer algorithm
    Elsabagh, M. A.
    Farhan, M. S.
    Gafar, M. G.
    [J]. SN APPLIED SCIENCES, 2020, 2 (04):
  • [10] Prediction of software defects using deep learning with improved cuckoo search algorithm
    Badvath, Dhanalaxmi
    Miriyala, Aruna Safali
    Gunupudi, Sai Chaitanya Kumar
    Kuricheti, Parish Venkata Kumar
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2022, 34 (26):