Review Article Open Access

A Systematic Literature Review of Software Defect Prediction Using Deep Learning

Ahmed Bahaa1,2, Enas Mohamed Fathy1, Ahmed Sharaf Eldin1,3 and Laila A. Abd-Elmegid1
  • 1 Helwan University, Egypt
  • 2 Beni-Suef University, Egypt
  • 3 Sinai University, Egypt

Abstract

The approaches associated with software defect prediction are used to reduce the time and cost of discovering software defects in source code and to improve the software quality in the organizations. There are two approaches to reveal the software defects in the source code. The first approach is concentrated on the traditional features such as lines of code, code complexity, etc. However, these features fail to extract the semantics of the source code. The second one is concentrated on revealing these semantics. This paper presents a Systematic Literature Review (SLR) of software defect prediction using deep learning models. This SLR is focused on identifying the studies that use the semantics of the source code for improving defect prediction. This SLR aims to analyze the used datasets, models and frameworks. Also, identifying the evaluation metrics to ensure their applicability in software defect prediction. IEEE Xplore, Scopus and Web of Science digital libraries were used to select the suitable primary studies. Forty (40) primary studies were selected that published by 15 December 2020 for analysis based on the quality criteria. The project levels that applied in the studies were: Within-project 52.5%, cross-project 17.5% and both within-project and cross-project 30%. The datasets used were: Promise dataset 68.18% and other datasets 31.82%. The most used deep learning model in the primary studies was: Convolutional Neural Network (CNN) by 35%. The most used evaluation metrics were: F-measure and Area Under the Curve (AUC). Software defect prediction using deep learning models is still a valuable topic and requires much research studies to enhance the performance of the defect prediction.

Journal of Computer Science
Volume 17 No. 5, 2021, 490-510

DOI: https://doi.org/10.3844/jcssp.2021.490.510

Submitted On: 26 February 2021 Published On: 22 May 2021

How to Cite: Bahaa, A., Fathy, E. M., Eldin, A. S. & Abd-Elmegid, L. A. (2021). A Systematic Literature Review of Software Defect Prediction Using Deep Learning. Journal of Computer Science, 17(5), 490-510. https://doi.org/10.3844/jcssp.2021.490.510

  • 4,492 Views
  • 2,106 Downloads
  • 13 Citations

Download

Keywords

  • Systematic Literature Review
  • Software Defect Prediction
  • Deep Learning
  • Semantics
  • Abstract Syntax Tree