Understanding Structural Complexity Evolution: A Quantitative Analysis
Background: An increase in structural complexity makes the source code of software projects more difficult to understand, and consequently more difficult and expensive to maintain and evolve. Knowing the factors that influence structural complexity helps developers to avoid the effects of higher lev...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Tagungsbericht |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Background: An increase in structural complexity makes the source code of software projects more difficult to understand, and consequently more difficult and expensive to maintain and evolve. Knowing the factors that influence structural complexity helps developers to avoid the effects of higher levels of structural complexity on the maintainability of their projects. Aims: This paper investigates factors that might influence the evolution of structural complexity. Method: We analyzed the source code repositories of 5 free/open source software projects, with commits as experimental units. For each commit we measured the structural complexity variation it caused, the experience of the developer who made the commit, the size variation caused by the commit, and the change diffusion of the commit. Commits that increased structural complexity were analyzed separately from commits that decreased structural complexity, since they represent activities of distinct natures. Results: Change diffusion was the most influential among the factors studied, followed by size variation and developer experience, system growth was not necessarily associated with complexity increase, all the factors we studied influenced at least two projects, different projects were affected by different factors, and the factors that influenced the increase in structural complexity were usually not the same that influenced the decrease. Conclusions: All the factors explored in this study should be taken into consideration when analysing structural complexity evolution. However, they do not fully explain the structural complexity evolution in the studied projects: this suggests that qualitative studies are needed in order to better understand structural complexity evolution and identify other factors that must be included in future quantitative analysis. |
---|---|
ISSN: | 1534-5351 2640-7574 |
DOI: | 10.1109/CSMR.2012.19 |