Variability debt in opportunistic reuse: A multi-project field study

Daniele Wolfart, Jabier Martinez, Wesley K.G. Assunção*, Thelma E. Colanzi, Alexander Egyed

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

Technical debt is a metaphor to guide the identification, measurement, and general management of decisions that are appropriate in the short term but create obstacles in the future evolution and maintenance of systems. Variability management, which is the ability to create system variants to satisfy different business or technical needs, is a potential source of technical debt. Variability debt, recently characterized in a systematic literature review we conducted, is caused by suboptimal solutions in the implementation of variability management in software systems. In this work, we present a field study in which we report quantitative and qualitative analysis of variability debt through artifact analysis (e.g., requirements, source code, and tests) and a survey with stakeholders (e.g., analysts, developers, managers, and a user). The context is a large company with three different systems, where opportunistic reuse (a.k.a., copy-and-paste or clone-and-own reuse) of almost all project artifacts was performed to create variants for each system. We analyze the variability debt phenomenon related to opportunistic reuse, and we assess the validity of the metaphor to create awareness to stakeholders and guide technical debt management research related to variability aspects. The results of the field study show evidences of factors that complicate the evolution of the variants, such as code duplication and non-synchronized artifacts. Time pressure is identified as the main cause for not considering other options than opportunistic reuse. Technical practitioners mostly agree on the creation of usability problems and complex maintenance of multiple independent variants. However, this is not fully perceived by managerial practitioners.

Original languageEnglish
Article number111969
JournalJournal of Systems and Software
Volume210
DOIs
Publication statusPublished - Apr 2024

Keywords

  • Clone and own
  • Software reuse
  • Technical debt
  • Variability management

Fingerprint

Dive into the research topics of 'Variability debt in opportunistic reuse: A multi-project field study'. Together they form a unique fingerprint.

Cite this