Monitoring evolution of code complexity and magnitude of changes
Abstract
Complexity management has become a crucial activity in continuous software development. While the overall perceived complexity of a product grows rather insignificantly, the small units, such as functions and files, can have noticeable complexity growth with every increment of product features. This kind of evolution triggers risks of escalating fault-proneness and deteriorating maintainability. The goal of this research was to develop a measurement system which enables effective monitoring of complexity evolution. An action research has been conducted in two large software development organizations. We have measured three complexity and two change properties of code for two large industrial products. The complexity growth has been measured for five consecutive releases of the products. Different patterns of growth have been identified and evaluated with software engineers in industry. The results show that monitoring cyclomatic complexity evolution of functions and number of revisions of files focuses the attention of designers to potentially problematic files and functions for manual assessment and improvement. A measurement system was developed at Ericsson to support the monitoring process.Downloads
Download data is not yet available.
Published
2014-01-01
How to Cite
Antinyan, V. (2014). Monitoring evolution of code complexity and magnitude of changes. Acta Cybernetica, 21(3), 367-382. https://doi.org/10.14232/actacyb.21.3.2014.6
Issue
Section
Regular articles