TUTCRIS - Tampereen teknillinen yliopisto


On the Diffuseness of Code Technical Debt in Java Projects of the Apache Ecosystem



Otsikko2019 IEEE/ACM International Conference on Technical Debt (TechDebt)
ISBN (elektroninen)978-1-7281-3371-3
ISBN (painettu)978-1-7281-3372-0
DOI - pysyväislinkit
TilaJulkaistu - 5 elokuuta 2019
OKM-julkaisutyyppiA4 Artikkeli konferenssijulkaisussa
TapahtumaIEEE/ACM International Conference on Technical Debt -
Kesto: 1 tammikuuta 2000 → …


ConferenceIEEE/ACM International Conference on Technical Debt
Ajanjakso1/01/00 → …


Background. Companies commonly invest major effort into removing, respectively not introducing, technical debt issues detected by static analysis tools such as SonarQube, Cast, or Coverity. These tools classify technical debt issues into categories according to severity, and developers commonly pay attention to not introducing issues with a high level of severity that could generate bugs or make software maintenance more difficult. Objective. In this work, we aim to understand the diffuseness of Technical Debt (TD) issues and the speed with which developers remove them from the code if they introduced such an issue. The goal is to understand which type of TD is more diffused and how much attention is paid by the developers, as well as to investigate whether TD issues with a higher level of severity are resolved faster than those with a lower level of severity. We conducted a case study across 78K commits of 33 Java projects from the Apache Software Foundation Ecosystem to investigate the distribution of 1.4M TD items. Results. TD items introduced into the code are mostly related to code smells (issues that can increase the maintenance effort). Moreover, developers commonly remove the most severe issues faster than less severe ones. However, the time needed to resolve issues increases when the level of severity increases (minor issues are removed faster that blocker ones). Conclusion. One possible answer to the unexpected issue of resolution time might be that severity is not correctly defined by the tools. Another possible answer is that the rules at an intermediate severity level could be the ones that technically require more time to be removed. The classification of TD items, including their severity and type, require thorough investigation from a research point of view.