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 条
[41]   Effort-aware cross-project just-in-time defect prediction framework for mobile apps [J].
Tian CHENG ;
Kunsong ZHAO ;
Song SUN ;
Muhammad MATEEN ;
Junhao WEN .
Frontiers of Computer Science, 2022, 16 (06) :19-33
[42]   Effort-aware cross-project just-in-time defect prediction framework for mobile apps [J].
Tian Cheng ;
Kunsong Zhao ;
Song Sun ;
Muhammad Mateen ;
Junhao Wen .
Frontiers of Computer Science, 2022, 16
[43]   JITGNN: A deep graph neural network framework for Just-In-Time bug prediction [J].
Keshavarz, Hossein ;
Rodriguez-Perez, Gema .
JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 210
[44]   Effort-aware and just-in-time defect prediction with neural network [J].
Qiao, Lei ;
Wang, Yan .
PLOS ONE, 2019, 14 (02)
[45]   Cross-Project Online Just-In-Time Software Defect Prediction [J].
Tabassum, Sadia ;
Minku, Leandro L. ;
Feng, Danyi .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (01) :268-287
[46]   FENSE: A feature-based ensemble modeling approach to cross-project just-in-time defect prediction [J].
Zhang, Tanghaoran ;
Yu, Yue ;
Mao, Xinjun ;
Lu, Yao ;
Li, Zhixing ;
Wang, Huaimin .
EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (07)
[47]   NeuroJIT: Improving Just-In-Time Defect Prediction Using Neurophysiological and Empirical Perceptions of Modern Developers [J].
Lee, Gichan ;
Ju, Hansae ;
Lee, Scott Uk-Jin .
PROCEEDINGS OF 2024 39TH ACM/IEEE INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2024, 2024, :594-605
[48]   MULTI: Multi-objective effort-aware just-in-time software defect prediction [J].
Chen, Xiang ;
Zhao, Yingquan ;
Wang, Qiuping ;
Yuan, Zhidan .
INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 93 :1-13
[49]   Estimating Uncertainty in Labeled Changes by SZZ Tools on Just-In-Time Defect Prediction [J].
Guo, Shikai ;
Li, Dongmin ;
Huang, Lin ;
Lv, Sijia ;
Chen, Rong ;
Li, Hui ;
Li, Xiaochen ;
Jiang, He .
ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2024, 33 (04)
[50]   An empirical study of data sampling techniques for just-in-time software defect prediction [J].
Li, Zhiqiang ;
Du, Qiannan ;
Zhang, Hongyu ;
Jing, Xiao-Yuan ;
Wu, Fei .
AUTOMATED SOFTWARE ENGINEERING, 2024, 31 (02)