Table of Contents
Fetching ...

Automating Technical Debt Management: Insights from Practitioner Discussions in Stack Exchange

João Paulo Biazotto, Daniel Feitosa, Paris Avgeriou, Elisa Yumi Nakagawa

TL;DR

This paper investigates automating technical debt management (TDM) by mining Stack Exchange discussions (PM, SE, SO) to identify which TDM activities practitioners seek to automate, which tools they report, and what challenges hinder automation. Using thematic synthesis on 216 relevant discussions, it finds that TD identification and measurement are most discussed, catalogs 51 tools with SonarQube as the predominant yet problematic option, and reveals two broad challenge categories: drivers of automation (e.g., resource constraints, deadlines) and tool-related issues (e.g., errors, explainability). The study contributes a practical tool catalog, a replication package, and insights for practitioners and researchers, including the need to expand automation to prioritization and prevention and to explore approaches like LLMs for improved explainability. Practically, the findings suggest embedding TDM tooling early in development workflows and focusing on reliability, interoperability, and clear explanations to drive broader tool adoption and more efficient TD management.

Abstract

Managing technical debt (TD) is essential for maintaining long-term software projects. Nonetheless, the time and cost involved in technical debt management (TDM) are often high, which may lead practitioners to omit TDM tasks. The adoption of tools, and particularly the usage of automated solutions, can potentially reduce the time, cost, and effort involved. However, the adoption of tools remains low, indicating the need for further research on TDM automation. To address this problem, this study aims at understanding which TDM activities practitioners are discussing with respect to automation in TDM, what tools they report for automating TDM, and the challenges they face that require automation solutions. To this end, we conducted a mining software repositories (MSR) study on three websites of Stack Exchange (Stack Overflow, Project Management, and Software Engineering) and collected 216 discussions, which were analyzed using both thematic synthesis and descriptive statistics. We found that identification and measurement are the most cited activities. Furthermore, 51 tools were reported as potential alternatives for TDM automation. Finally, a set of nine main challenges were identified and clustered into two main categories: challenges driving TDM automation and challenges related to tool usage. These findings highlight that tools for automating TDM are being discussed and used; however, several significant barriers persist, such as tool errors and poor explainability, hindering the adoption of these tools. Moreover, further research is needed to investigate the automation of other TDM activities such as TD prioritization.

Automating Technical Debt Management: Insights from Practitioner Discussions in Stack Exchange

TL;DR

This paper investigates automating technical debt management (TDM) by mining Stack Exchange discussions (PM, SE, SO) to identify which TDM activities practitioners seek to automate, which tools they report, and what challenges hinder automation. Using thematic synthesis on 216 relevant discussions, it finds that TD identification and measurement are most discussed, catalogs 51 tools with SonarQube as the predominant yet problematic option, and reveals two broad challenge categories: drivers of automation (e.g., resource constraints, deadlines) and tool-related issues (e.g., errors, explainability). The study contributes a practical tool catalog, a replication package, and insights for practitioners and researchers, including the need to expand automation to prioritization and prevention and to explore approaches like LLMs for improved explainability. Practically, the findings suggest embedding TDM tooling early in development workflows and focusing on reliability, interoperability, and clear explanations to drive broader tool adoption and more efficient TD management.

Abstract

Managing technical debt (TD) is essential for maintaining long-term software projects. Nonetheless, the time and cost involved in technical debt management (TDM) are often high, which may lead practitioners to omit TDM tasks. The adoption of tools, and particularly the usage of automated solutions, can potentially reduce the time, cost, and effort involved. However, the adoption of tools remains low, indicating the need for further research on TDM automation. To address this problem, this study aims at understanding which TDM activities practitioners are discussing with respect to automation in TDM, what tools they report for automating TDM, and the challenges they face that require automation solutions. To this end, we conducted a mining software repositories (MSR) study on three websites of Stack Exchange (Stack Overflow, Project Management, and Software Engineering) and collected 216 discussions, which were analyzed using both thematic synthesis and descriptive statistics. We found that identification and measurement are the most cited activities. Furthermore, 51 tools were reported as potential alternatives for TDM automation. Finally, a set of nine main challenges were identified and clustered into two main categories: challenges driving TDM automation and challenges related to tool usage. These findings highlight that tools for automating TDM are being discussed and used; however, several significant barriers persist, such as tool errors and poor explainability, hindering the adoption of these tools. Moreover, further research is needed to investigate the automation of other TDM activities such as TD prioritization.

Paper Structure

This paper contains 18 sections, 4 figures, 3 tables.

Figures (4)

  • Figure 1: Data collection and analysis process
  • Figure 2: Number of discussions per year
  • Figure 3: Number of discussions per website
  • Figure 4: Challenges related to TDM automation