The Community for Technology Leaders
Green Image
<p><b>Abstract</b>—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. In this paper, we approach this phenomenon, which we term <it>code decay</it>, 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.</p>
Software maintenance, metrics, statistical analysis, fault potential, span of changes, effort modeling.

A. F. Karr, A. Mockus, T. L. Graves, S. G. Eick and J. Marron, "Does Code Decay? Assessing the Evidence from Change Management Data," in IEEE Transactions on Software Engineering, vol. 27, no. , pp. 1-12, 2001.
94 ms
(Ver 3.3 (11022016))