Increasing, not Diminishing: Investigating the Returns of Highly Maintainable Code

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Borg, Markus, Pruvost, Ilyana, Mones, Enys, Tornhill, Adam
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866929221935300608
author Borg, Markus
Pruvost, Ilyana
Mones, Enys
Tornhill, Adam
author_facet Borg, Markus
Pruvost, Ilyana
Mones, Enys
Tornhill, Adam
contents Understanding and effectively managing Technical Debt (TD) remains a vital challenge in software engineering. While many studies on code-level TD have been published, few illustrate the business impact of low-quality source code. In this study, we combine two publicly available datasets to study the association between code quality on the one hand, and defect count and implementation time on the other hand. We introduce a value-creation model, derived from regression analyses, to explore relative changes from a baseline. Our results show that the associations vary across different intervals of code quality. Furthermore, the value model suggests strong non-linearities at the extremes of the code quality spectrum. Most importantly, the model suggests amplified returns on investment in the upper end. We discuss the findings within the context of the "broken windows" theory and recommend organizations to diligently prevent the introduction of code smells in files with high churn. Finally, we argue that the value-creation model can be used to initiate discussions regarding the return on investment in refactoring efforts.
format Preprint
id arxiv_https___arxiv_org_abs_2401_13407
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Increasing, not Diminishing: Investigating the Returns of Highly Maintainable Code
Borg, Markus
Pruvost, Ilyana
Mones, Enys
Tornhill, Adam
Software Engineering
Understanding and effectively managing Technical Debt (TD) remains a vital challenge in software engineering. While many studies on code-level TD have been published, few illustrate the business impact of low-quality source code. In this study, we combine two publicly available datasets to study the association between code quality on the one hand, and defect count and implementation time on the other hand. We introduce a value-creation model, derived from regression analyses, to explore relative changes from a baseline. Our results show that the associations vary across different intervals of code quality. Furthermore, the value model suggests strong non-linearities at the extremes of the code quality spectrum. Most importantly, the model suggests amplified returns on investment in the upper end. We discuss the findings within the context of the "broken windows" theory and recommend organizations to diligently prevent the introduction of code smells in files with high churn. Finally, we argue that the value-creation model can be used to initiate discussions regarding the return on investment in refactoring efforts.
title Increasing, not Diminishing: Investigating the Returns of Highly Maintainable Code
topic Software Engineering
url https://arxiv.org/abs/2401.13407