On the Diffuseness of Code: Technical Debt in Open Source Projects
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.
Mon 27 MayDisplayed time zone: Eastern Time (US & Canada) change
14:00 - 15:00
|On the Diffuseness of Code: Technical Debt in Open Source Projects|
|Investigating on the Impact of Software Clones on Technical Debt|
|The Delta Maintainability Model: Measuring Maintainability of Fine-Grained Code Changes|
Marco di Biase Software Improvement Group / Delft University of Technology, Ayushi Rastogi , Magiel Bruntink Software Improvement Group, Arie van Deursen Delft University of TechnologyDOI Pre-print