Skip to main content

Lund University Publications

LUND UNIVERSITY LIBRARIES

Code Red : The Business Impact of Code Quality - A Quantitative Study of 39 Proprietary Production Codebases

Tornhill, Adam and Borg, Markus LU (2022) 5th International Conference on Technical Debt, TechDebt 2022 In Proceedings - International Conference on Technical Debt 2022, TechDebt 2022 p.11-20
Abstract

Code quality remains an abstract concept that fails to get traction at the business level. Consequently, software companies keep trading code quality for time-to-market and new features. The resulting technical debt is estimated to waste up to 42% of developers' time. At the same time, there is a global shortage of software developers, meaning that developer productivity is key to software businesses. Our overall mission is to make code quality a business concern, not just a technical aspect. Our first goal is to understand how code quality impacts 1) the number of reported defects, 2) the time to resolve issues, and 3) the predictability of resolving issues on time. We analyze 39 proprietary production codebases from a variety of... (More)

Code quality remains an abstract concept that fails to get traction at the business level. Consequently, software companies keep trading code quality for time-to-market and new features. The resulting technical debt is estimated to waste up to 42% of developers' time. At the same time, there is a global shortage of software developers, meaning that developer productivity is key to software businesses. Our overall mission is to make code quality a business concern, not just a technical aspect. Our first goal is to understand how code quality impacts 1) the number of reported defects, 2) the time to resolve issues, and 3) the predictability of resolving issues on time. We analyze 39 proprietary production codebases from a variety of domains using the CodeScene tool based on a combination of source code analysis, version-control mining, and issue information from Jira. By analyzing activity in 30,737 files, we find that low quality code contains 15 times more defects than high quality code. Furthermore, resolving issues in low quality code takes on average 124% more time in development. Finally, we report that issue reso-lutions in low quality code involve higher uncertainty manifested as 9 times longer maximum cycle times. This study provides evi-dence that code quality cannot be dismissed as a technical concern. With 15 times fewer defects, twice the development speed, and substantially more predictable issue resolution times, the business advantage of high quality code should be unmistakably clear.

(Less)
Please use this url to cite or link to this publication:
author
and
organization
publishing date
type
Chapter in Book/Report/Conference proceeding
publication status
published
subject
keywords
business impact, code quality, devel-oper productivity, mining software repositories, software defects, technical debt
host publication
Proceedings - International Conference on Technical Debt 2022, TechDebt 2022
series title
Proceedings - International Conference on Technical Debt 2022, TechDebt 2022
pages
10 pages
publisher
IEEE - Institute of Electrical and Electronics Engineers Inc.
conference name
5th International Conference on Technical Debt, TechDebt 2022
conference location
Pittsburgh, United States
conference dates
2022-05-17 - 2022-05-18
external identifiers
  • scopus:85134326173
ISBN
9781450393041
DOI
10.1145/3524843.3528091
language
English
LU publication?
yes
id
8bb73d96-6684-4272-929c-73e2a79f130b
date added to LUP
2022-08-26 14:57:01
date last changed
2023-11-20 23:52:42
@inproceedings{8bb73d96-6684-4272-929c-73e2a79f130b,
  abstract     = {{<p>Code quality remains an abstract concept that fails to get traction at the business level. Consequently, software companies keep trading code quality for time-to-market and new features. The resulting technical debt is estimated to waste up to 42% of developers' time. At the same time, there is a global shortage of software developers, meaning that developer productivity is key to software businesses. Our overall mission is to make code quality a business concern, not just a technical aspect. Our first goal is to understand how code quality impacts 1) the number of reported defects, 2) the time to resolve issues, and 3) the predictability of resolving issues on time. We analyze 39 proprietary production codebases from a variety of domains using the CodeScene tool based on a combination of source code analysis, version-control mining, and issue information from Jira. By analyzing activity in 30,737 files, we find that low quality code contains 15 times more defects than high quality code. Furthermore, resolving issues in low quality code takes on average 124% more time in development. Finally, we report that issue reso-lutions in low quality code involve higher uncertainty manifested as 9 times longer maximum cycle times. This study provides evi-dence that code quality cannot be dismissed as a technical concern. With 15 times fewer defects, twice the development speed, and substantially more predictable issue resolution times, the business advantage of high quality code should be unmistakably clear. </p>}},
  author       = {{Tornhill, Adam and Borg, Markus}},
  booktitle    = {{Proceedings - International Conference on Technical Debt 2022, TechDebt 2022}},
  isbn         = {{9781450393041}},
  keywords     = {{business impact; code quality; devel-oper productivity; mining software repositories; software defects; technical debt}},
  language     = {{eng}},
  pages        = {{11--20}},
  publisher    = {{IEEE - Institute of Electrical and Electronics Engineers Inc.}},
  series       = {{Proceedings - International Conference on Technical Debt 2022, TechDebt 2022}},
  title        = {{Code Red : The Business Impact of Code Quality - A Quantitative Study of 39 Proprietary Production Codebases}},
  url          = {{http://dx.doi.org/10.1145/3524843.3528091}},
  doi          = {{10.1145/3524843.3528091}},
  year         = {{2022}},
}