Evidence is All We Need: Do Self-Admitted Technical Debts Impact Method-Level Maintenance?

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Chowdhury, Shaiful, Kidwai, Hisham, Asaduzzaman, Muhammad
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917913879904256
author Chowdhury, Shaiful
Kidwai, Hisham
Asaduzzaman, Muhammad
author_facet Chowdhury, Shaiful
Kidwai, Hisham
Asaduzzaman, Muhammad
contents Self-Admitted Technical Debt (SATD) refers to the phenomenon where developers explicitly acknowledge technical debt through comments in the source code. While considerable research has focused on detecting and addressing SATD, its true impact on software maintenance remains underexplored. The few studies that have examined this critical aspect have not provided concrete evidence linking SATD to negative effects on software maintenance. These studies, however, focused only on file- or class-level code granularity. This paper aims to empirically investigate the influence of SATD on various facets of software maintenance at the method level. We assess SATD's effects on code quality, bug susceptibility, change frequency, and the time practitioners typically take to resolve SATD. By analyzing a dataset of 774,051 methods from 49 open-source projects, we discovered that methods containing SATD are not only larger and more complex but also exhibit lower readability and a higher tendency for bugs and changes. We also found that SATD often remains unresolved for extended periods, adversely affecting code quality and maintainability. Our results provide empirical evidence highlighting the necessity of early identification, resource allocation, and proactive management of SATD to mitigate its long-term impacts on software quality and maintenance costs.
format Preprint
id arxiv_https___arxiv_org_abs_2411_13777
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Evidence is All We Need: Do Self-Admitted Technical Debts Impact Method-Level Maintenance?
Chowdhury, Shaiful
Kidwai, Hisham
Asaduzzaman, Muhammad
Software Engineering
Self-Admitted Technical Debt (SATD) refers to the phenomenon where developers explicitly acknowledge technical debt through comments in the source code. While considerable research has focused on detecting and addressing SATD, its true impact on software maintenance remains underexplored. The few studies that have examined this critical aspect have not provided concrete evidence linking SATD to negative effects on software maintenance. These studies, however, focused only on file- or class-level code granularity. This paper aims to empirically investigate the influence of SATD on various facets of software maintenance at the method level. We assess SATD's effects on code quality, bug susceptibility, change frequency, and the time practitioners typically take to resolve SATD. By analyzing a dataset of 774,051 methods from 49 open-source projects, we discovered that methods containing SATD are not only larger and more complex but also exhibit lower readability and a higher tendency for bugs and changes. We also found that SATD often remains unresolved for extended periods, adversely affecting code quality and maintainability. Our results provide empirical evidence highlighting the necessity of early identification, resource allocation, and proactive management of SATD to mitigate its long-term impacts on software quality and maintenance costs.
title Evidence is All We Need: Do Self-Admitted Technical Debts Impact Method-Level Maintenance?
topic Software Engineering
url https://arxiv.org/abs/2411.13777