Prevalence, Contents and Automatic Detection of KL-SATD

Leevi Rantala, Mika Mäntylä, David Lo
8/12/2020
cs.SE

Official code: M3SOulu/KLSATD_SEAA_2020 (0 stars, R, last commit 2020-07-01).

Abstract

When developers use different keywords such as TODO and FIXME in source code comments to describe self-admitted technical debt (SATD), we refer it as Keyword-Labeled SATD (KL-SATD). We study KL-SATD from 33 software repositories with 13,588 KL-SATD comments.

Show full abstract

We find that the median percentage of KL-SATD comments among all comments is only 1,52%. We find that KL-SATD comment contents include words expressing code changes and uncertainty, such as remove, fix, maybe and probably. This makes them different compared to other comments. KL-SATD comment contents are similar to manually labeled SATD comments of prior work. Our machine learning classifier using logistic Lasso regression has good performance in detecting KL-SATD comments (AUC-ROC 0.88). Finally, we demonstrate that using machine learning we can identify comments that are currently missing but which should have a SATD keyword in them. Automating SATD identification of comments that lack SATD keywords can save time and effort by replacing manual identification of comments. Using KL-SATD offers a potential to bootstrap a complete SATD detector.

View on arXivView PDF

Code Implementations(1)

00RJul 1, 20206 years ago

Similar Papers

Cite this paper

@article{rantala2020prevalence,
  title  = {Prevalence, Contents and Automatic Detection of KL-SATD},
  author = {Leevi Rantala and Mika Mäntylä and David Lo},
  year   = {2020},
  eprint = {2008.05159},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.05159}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2008.05159.svg)](https://codeofpaper.com/paper/2008.05159)

Discussion