EUVIMEDEUVIMED entdecken
Crossref

DeepLineDP: Towards a Deep Learning Approach for Line-Level Defect Prediction

Chanathip Pornprasit, Chakkrit Kla Tantithamthavorn

IEEE Transactions on Software Engineering · 01.01.2023 · 49 (1) · 84-98

DOI: 10.1109/tse.2022.3144348 ↗

Kurz gefasst

Fachartikel in der Zeitschrift IEEE Transactions on Software Engineering, erschienen am 01.01.2023. Verfasst von Chanathip Pornprasit und 1 weiteren Autor:innen. Die Arbeit wurde bisher 130-mal zitiert (Crossref) und nennt 80 Literaturangaben. Gefördert von: Australian Research Council, Discovery Early Career Researcher Award.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Defect prediction is proposed to assist practitioners effectively prioritize limited Software Quality Assurance (SQA) resources on the most risky files that are likely to have post-release software defects. However, there exist two main limitations in prior studies: (1) the granularity levels of defect predictions are still coarse-grained and (2) the surrounding tokens and surrounding lines have not yet been fully utilized. In this paper, we perform a survey study to better understand how practitioners perform code inspection in modern code review process, and their perception on a line-level defect prediction. According to the responses from 36 practitioners, we found that 50% of them spent at least 10 minutes to more than one hour to review a single file, while 64% of them still perceived that code inspection activity is challenging to extremely challenging. In addition, 64% of the respondents perceived that a line-level defect prediction tool would potentially be helpful in identifying defective lines. Motivated by the practitioners’ perspective, we present DeepLineDP, a deep learning approach to automatically learn the semantic properties of the surrounding tokens and lines in order to identify defective files and defective lines. Through a case study of 32 releases of 9 software projects, we find that the risk score of code tokens varies greatly depending on their location. Our DeepLineDP is 17%-37% more accurate than other file-level defect prediction approaches; is 47%-250% more cost-effective than other line-level defect prediction approaches; and achieves a reasonable performance when transferred to other software projects. These findings confirm that the surrounding tokens and surrounding lines should be considered to identify the fine-grained locations of defective files (i.e., defective lines).

Förderung

  • Australian Research Council
  • Discovery Early Career Researcher Award

Zitieren

APA

Pornprasit, C., & Tantithamthavorn, C. K. (2023). DeepLineDP: Towards a Deep Learning Approach for Line-Level Defect Prediction. IEEE Transactions on Software Engineering, 49(1), 84-98. https://doi.org/10.1109/tse.2022.3144348

Vancouver

Pornprasit C, Tantithamthavorn CK. DeepLineDP: Towards a Deep Learning Approach for Line-Level Defect Prediction. IEEE Transactions on Software Engineering. 2023;49(1):84-98. doi:10.1109/tse.2022.3144348

BibTeX
@article{Pornprasit2023,
  author = {Pornprasit, Chanathip and Tantithamthavorn, Chakkrit Kla},
  title = {DeepLineDP: Towards a Deep Learning Approach for Line-Level Defect Prediction},
  journal = {IEEE Transactions on Software Engineering},
  year = {2023},
  volume = {49},
  number = {1},
  pages = {84--98},
  doi = {10.1109/tse.2022.3144348}
}
Kostenlos starten →