Just-in-time defect prediction for mobile applications: using shallow or deep learning?

被引:6
作者
van Dinter, Raymon [1 ,2 ]
Catal, Cagatay [3 ]
Giray, Goerkem
Tekinerdogan, Bedir [1 ]
机构
[1] Wageningen Univ & Res, Informat Technol Grp, Wageningen, Netherlands
[2] Sioux Technol, Apeldoorn, Netherlands
[3] Qatar Univ, Dept Comp Sci & Engn, Doha, Qatar
关键词
Just-in-time defect prediction; Shallow learning; XGBoost; Deep learning; Imbalanced learning; SOFTWARE; FRAMEWORK; MODELS;
D O I
10.1007/s11219-023-09629-1
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Just-in-time defect prediction (JITDP) research is increasingly focused on program changes instead of complete program modules within the context of continuous integration and continuous testing paradigm. Traditional machine learning-based defect prediction models have been built since the early 2000s, and recently, deep learning-based models have been designed and implemented. While deep learning (DL) algorithms can provide state-of-the-art performance in many application domains, they should be carefully selected and designed for a software engineering problem. In this research, we evaluate the performance of traditional machine learning algorithms and data sampling techniques for JITDP problems and compare the model performance with the performance of a DL-based prediction model. Experimental results demonstrated that DL algorithms leveraging sampling methods perform significantly worse than the decision tree-based ensemble method. The XGBoost-based model appears to be 116 times faster than the multilayer perceptron-based (MLP) prediction model. This study indicates that DL-based models are not always the optimal solution for software defect prediction, and thus, shallow, traditional machine learning can be preferred because of better performance in terms of accuracy and time parameters.
引用
收藏
页码:1281 / 1302
页数:22
相关论文
共 50 条
[21]   Just-in-Time crash prediction for mobile apps [J].
Wimalasooriya, Chathrie ;
Licorish, Sherlock A. ;
da Costa, Daniel Alencar ;
MacDonell, Stephen G. .
EMPIRICAL SOFTWARE ENGINEERING, 2024, 29 (03)
[22]   Graph-based machine learning improves just-in-time defect prediction [J].
Bryan, Jonathan ;
Moriano, Pablo .
PLOS ONE, 2023, 18 (04)
[23]   A Systematic Survey of Just-in-Time Software Defect Prediction [J].
Zhao, Yunhua ;
Damevski, Kostadin ;
Chen, Hui .
ACM COMPUTING SURVEYS, 2023, 55 (10)
[24]   An Empirical Study on Just-in-time Conformal Defect Prediction [J].
Shahini, Xhulja ;
Metzger, Andreas ;
Pohl, Klaus .
2024 IEEE/ACM 21ST INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2024, :88-99
[25]   Just-in-Time Software Defect Prediction Techniques: A Survey [J].
Alnagi, Eman ;
Azzeh, Mohammad .
2024 15TH INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION SYSTEMS, ICICS 2024, 2024,
[26]   Just-in-time Software Defect Prediction: Literature Review [J].
Cai L. ;
Fan Y.-R. ;
Yan M. ;
Xia X. .
Ruan Jian Xue Bao/Journal of Software, 2019, 30 (05) :1288-1307
[27]   Just-In-Time Defect Prediction for Intellignet Computing Frameworks [J].
Ge J. ;
Yu H.-Q. ;
Fan G.-S. ;
Tang J.-H. ;
Huang Z.-J. .
Ruan Jian Xue Bao/Journal of Software, 2023, 34 (09)
[28]   The impact of context metrics on just-in-time defect prediction [J].
Kondo, Masanari ;
German, Daniel M. ;
Mizuno, Osamu ;
Choi, Eun-Hye .
EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (01) :890-939
[29]   The impact of context metrics on just-in-time defect prediction [J].
Masanari Kondo ;
Daniel M. German ;
Osamu Mizuno ;
Eun-Hye Choi .
Empirical Software Engineering, 2020, 25 :890-939
[30]   A Preliminary Evaluation of CPDP Approaches on Just-in-Time Software Defect Prediction [J].
Amasaki, Sousuke ;
Aman, Hirohisa ;
Yokogawa, Tomoyuki .
2021 47TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2021), 2021, :279-286