arrow
Return

Identifying self-admitted technical debt in open source projects using text mining

delete2017-05-09
delete95
PRE
AI
Q
Qiao Huang
E
Emad Shihab
X
Xin Xia *
D
David Lo
S
Shanping Li
DOI:10.1007/s10664-017-9522-4delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Technical debt is a metaphor to describe the situation in which long-term code quality is traded for short-term goals in software projects. Recently, the concept of self-admitted technical debt (SATD) was proposed, which considers debt that is intentionally introduced, e.g., in the form of quick or temporary fixes. Prior work on SATD has shown that source code comments can be used to successfully detect SATD, however, most current state-of-the-art classification approaches of SATD rely on manual inspection of the source code comments. In this paper, we proposed an automated approach to detect SATD in source code comments using text mining. In our approach, we utilize feature selection to select useful features for classifier training, and we combine multiple classifiers from different source projects to build a composite classifier that identifies SATD comments in a target project. We investigate the performance of our approach on 8 open source projects that contain 212,413 comments. Our experimental results show that, on every target project, our approach outperforms the state-of-the-art and the baselines approaches in terms of F1-score. The F1-score achieved by our approach ranges between 0.518 - 0.841, with an average of 0.737, which improves over the state-of-the-art approach proposed by Potdar and Shihab by 499.19%. When compared with the text mining-based baseline approaches, our approach significantly improves the average F1-score by at least 58.49%. When compared with a natural language processing-based baseline, our approach also significantly improves its F1-score by 27.95%. Our proposed approach can be used by project personnel to effectively identify SATD with minimal manual effort.
Keywords:
Technical debt
Source code comments
Text mining
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Empirical Software Engineering cover
Empirical Software Engineering
IF:
3.6
Papers:
2.0K
Citations:
5.3K

Organization

S
Singapore Management University
Scholars:
1.5K
Papers: 2.5K
Citations: 3.5K
C
concordia university - canada
Scholars:
8.0K
Papers: 8.9K
Citations: 4
Z
zhejiang university
Scholars:
17.7W
Papers: 12.1W
Citations: 152
researcher View more organizations
Cited Papers

Cited Papers

errShare
errSave
Crosstalk Between Autophagy and Apoptosis in RAW 264.7 Macrophages Infected With Ectromelia Orthopoxvirus
err2013-10-01
err0
errOAAI
errLech Martyniszyn; Lidia Szulc-Dąbrowska; Anna Boratyńska-Jasińska; Justyna Struzik; Anna Winnicka; Marek Niemiałtowski
errShare
errSave
errShare
errSave
Episodic nyctohemeral secretion of melatonin in adult humans: Lack of relation with LH pulsatile pattern
err1990-01-01
err0
PREAI
errAlberto de Leiva; Federico Tortosa; Miguel A. Peinado; José Serrano; José Rodriguez-Espinosa; Manuel Puig-Domingo
errShare
errSave
Patent Foramen Ovale Complicating Heart Transplantation
err1987-09-01
err0
errOAAI
errLarry L. Schulman; Craig R. Smith; Ronald Drusin; Eric A Rose; Yale Enson; Keith Reemtsma
errShare
errSave
VECTOR-SPACE MODEL FOR AUTOMATIC INDEXING
err1975-11-01
err4.8K
errOAAI
errSALTON, G; WONG, A; YANG, CS
errShare
errSave
researcher View more