Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
The broken windows theory applies to technical debt
Chalmers University of Technology, Sweden; University of Gothenburg, Sweden.
Chalmers University of Technology, Sweden; University of Gothenburg, Sweden.
RISE Research Institutes of Sweden, Digital Systems, Mobility and Systems.ORCID iD: 0000-0002-9811-000X
Chalmers University of Technology, Sweden; University of Gothenburg, Sweden.
2024 (English)In: Empirical Software Engineering, ISSN 1382-3256, E-ISSN 1573-7616, Vol. 29, no 4, article id 73Article in journal (Refereed) Published
Abstract [en]

Context: The term technical debt (TD) describes the aggregation of sub-optimal solutions that serve to impede the evolution and maintenance of a system. Some claim that the broken windows theory (BWT), a concept borrowed from criminology, also applies to software development projects. The theory states that the presence of indications of previous crime (such as a broken window) will increase the likelihood of further criminal activity; TD could be considered the broken windows of software systems. Objective: To empirically investigate the causal relationship between the TD density of a system and the propensity of developers to introduce new TD during the extension of that system. Method: The study used a mixed-methods research strategy consisting of a controlled experiment with an accompanying survey and follow-up interviews. The experiment had a total of 29 developers of varying experience levels completing system extension tasks in already existing systems with high or low TD density. Results: The analysis revealed significant effects of TD level on the subjects’ tendency to re-implement (rather than reuse) functionality, choose non-descriptive variable names, and introduce other code smells identified by the software tool SonarQube, all with at least 95% credible intervals. Coclusions: Three separate significant results along with a validating qualitative result combine to form substantial evidence of the BWT’s existence in software engineering contexts. This study finds that existing TD can have a major impact on developers propensity to introduce new TD of various types during development. 

Place, publisher, year, edition, pages
Springer , 2024. Vol. 29, no 4, article id 73
Keywords [en]
Boiling water reactors; Software design; Bayesian data analysis; Broken windows theory; Causal relationships; Controlled experiment; Criminal activities; Software development projects; Software-systems; Suboptimal solution; Technical debts; Thematic analysis; Computer software reusability
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:ri:diva-73613DOI: 10.1007/s10664-024-10456-6Scopus ID: 2-s2.0-85195125250OAI: oai:DiVA.org:ri-73613DiVA, id: diva2:1870549
Note

The computationswere enabled by resources provided by the Swedish National Infrastructure for Computing (SNIC), partiallyfunded by the Swedish Research Council through grant agreement no. 2018–05973. Part of this research wasfunded by Marianne & Marcus Wallenberg(2017.0071).

Available from: 2024-06-14 Created: 2024-06-14 Last updated: 2024-06-14Bibliographically approved

Open Access in DiVA

fulltext(2300 kB)27 downloads
File information
File name FULLTEXT01.pdfFile size 2300 kBChecksum SHA-512
dbc4500633e7a348df908c23a2eabbe8ab1ba663c6e919653380d67fe55b7a4a6eebb911c1f3b01c40e0213aa98c258f6fe04fe4dc6174662d62225af363191e
Type fulltextMimetype application/pdf

Other links

Publisher's full textScopus

Authority records

Besker, Terese

Search in DiVA

By author/editor
Besker, Terese
By organisation
Mobility and Systems
In the same journal
Empirical Software Engineering
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 27 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 430 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf