Manara - Qatar Research Repository
10.1007_s11219-023-09629-1.pdf (1.37 MB)

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

Download (1.37 MB)
journal contribution
submitted on 2024-01-15, 06:19 and posted on 2024-01-16, 09:54 authored by Raymon van Dinter, Cagatay Catal, Görkem Giray, Bedir Tekinerdogan

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.

Other Information

Published in: Software Quality Journal
See article on publisher's website:


Open Access funding provided by the Qatar National Library.



  • English


Springer Nature

Publication Year

  • 2023

License statement

This Item is licensed under the Creative Commons Attribution 4.0 International License.

Institution affiliated with

  • Qatar University
  • College of Engineering - QU

Usage metrics

    Qatar University



    Ref. manager