Skip to main content
QUICK REVIEW

[Paper Review] Beyond the Code: Mining Self-Admitted Technical Debt in Issue Tracker Systems

Laerte Xavier, Fábio Ferreira|arXiv (Cornell University)|Mar 20, 2020
Software Engineering ResearchComputer Science7 citations
TL;DR

This paper introduces issue-based self-admitted technical debt (SATD-I), where developers explicitly document technical debt in issue tracker systems using labels like 'technical debt' rather than in source code comments. Analyzing 286 SATD-I instances across five open-source projects, the study finds that only 29% of SATD-I instances are also present in code comments, and these issues take longer to close despite similar code churn, with 45% introduced to ship earlier and 60% related to design flaws. The findings advocate for tools that support issue-based TD tracking and management.

ABSTRACT

Self-admitted technical debt (SATD) is a particular case of Technical Debt (TD) where developers explicitly acknowledge their sub-optimal implementation decisions. Previous studies mine SATD by searching for specific TD-related terms in source code comments. By contrast, in this paper we argue that developers can admit technical debt by other means, e.g., by creating issues in tracking systems and labelling them as referring to TD. We refer to this type of SATD as issue-based SATD or just SATD-I. We study a sample of 286 SATD-I instances collected from five open source projects, including Microsoft Visual Studio and GitLab Community Edition. We show that only 29% of the studied SATD-I instances can be tracked to source code comments. We also show that SATD-I issues take more time to be closed, compared to other issues, although they are not more complex in terms of code churn. Besides, in 45% of the studied issues TD was introduced to ship earlier, and in almost 60% it refers to Design flaws. Finally, we report that most developers pay SATD-I to reduce its costs or interests (66%). Our findings suggest that there is space for designing novel tools to support technical debt management, particularly tools that encourage developers to create and label issues containing TD concerns.

Motivation & Objective

  • To investigate whether self-admitted technical debt (SATD) is documented beyond source code comments, particularly in issue tracker systems.
  • To understand the characteristics, causes, and motivations behind issue-based SATD (SATD-I) in real-world software projects.
  • To explore the overlap between SATD documented in code comments (SATD-C) and SATD documented in issues (SATD-I).
  • To identify the reasons developers introduce and pay off SATD-I, and to assess the impact of such debt on project maintenance.

Proposed method

  • The study collected 286 SATD-I instances from five open-source projects, including Microsoft Visual Studio and GitLab, by identifying issues labeled with terms like 'technical debt' or 'debt'.
  • A state-of-the-art tool, SATDDetector, was used to detect SATD-C (code-based self-admitted technical debt) in the same projects to compare with SATD-I.
  • The researchers manually classified SATD-I instances into ten TD categories from the literature, focusing on types such as design flaws and code duplication.
  • A survey was conducted with 30 developers involved in paying off SATD-I to understand motivations for introducing and resolving the debt.
  • Code churn was measured to assess complexity differences between SATD-I and non-SATD issues, ensuring that time-to-close differences were not due to higher complexity.
  • The study used qualitative and quantitative analysis to compare SATD-I with SATD-C, and to analyze the reasons behind debt introduction and payment.

Experimental results

Research questions

  • RQ1RQ1: What is the overlap between SATD-C (code-based) and SATD-I (issue-based) instances in the studied projects?
  • RQ2RQ2: What types of technical debt are most frequently paid in SATD-I instances?
  • RQ3RQ3: Why do developers introduce SATD-I in their projects?
  • RQ4RQ4: Why do developers choose to pay off SATD-I, and what motivates the payment?

Key findings

  • Only 29% of the 286 SATD-I instances studied were also documented in source code comments, indicating that a significant portion of self-admitted technical debt exists outside the codebase.
  • SATD-I issues take significantly longer to close than other issues, despite having similar levels of code churn, suggesting that these issues are not more complex but may involve deeper design or architectural considerations.
  • In 45% of cases, technical debt was introduced to enable earlier software delivery, highlighting the role of time pressure in debt accumulation.
  • In nearly 60% of SATD-I instances, the debt was related to design flaws, with 44% specifically involving method-level design issues such as code duplication or poor cohesion.
  • The most common motivations for paying off SATD-I were to reduce interest costs (44%) and to maintain clean, maintainable code (33%), indicating strong developer awareness of long-term maintenance burdens.
  • The study confirms that developers actively use issue trackers to document and manage technical debt, suggesting that issue-based tracking is a viable and underutilized channel for TD management.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.