Does code decay? assessing the evidence from change management data

SG Eick, TL Graves, AF Karr, JS Marron… - IEEE transactions on …, 2001 - ieeexplore.ieee.org
IEEE transactions on software engineering, 2001ieeexplore.ieee.org
A central feature of the evolution of large software systems is that change-which is
necessary to add new functionality, accommodate new hardware, and repair faults-becomes
increasingly difficult over time. We approach this phenomenon, which we term code decay,
scientifically and statistically. We define code decay and propose a number of
measurements (code decay indices) on software and on the organizations that produce it,
that serve as symptoms, risk factors, and predictors of decay. Using an unusually rich data …
A central feature of the evolution of large software systems is that change-which is necessary to add new functionality, accommodate new hardware, and repair faults-becomes increasingly difficult over time. We approach this phenomenon, which we term code decay, scientifically and statistically. We define code decay and propose a number of measurements (code decay indices) on software and on the organizations that produce it, that serve as symptoms, risk factors, and predictors of decay. Using an unusually rich data set (the fifteen-plus year change history of the millions of lines of software for a telephone switching system), we find mixed, but on the whole persuasive, statistical evidence of code decay, which is corroborated by developers of the code. Suggestive indications that perfective maintenance can retard code decay are also discussed.
ieeexplore.ieee.org