Understanding Structural Complexity Evolution: a Quantitative Analysis

被引:2
|
作者
Terceiro, Antonio [1 ]
Mendonca, Manoel [1 ]
Chavez, Christina [1 ]
Cruzes, Daniela S. [2 ]
机构
[1] Fed Univ Bahia UFBA, Dept Comp Sci, Software Engn Lab LES, Salvador, BA, Brazil
[2] Norwegian Univ Sci & Technol NTNU, Dept Comp & Informat Sci IDI, Trondheim, Norway
关键词
SOFTWARE; METRICS;
D O I
10.1109/CSMR.2012.19
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:85 / 94
页数:10
相关论文
共 50 条
  • [31] Quantitative analysis on complexity of weaving segment with conflicts
    Du, Sheng-Pin
    Ma, Yong-Feng
    Jiaotong Yunshu Xitong Gongcheng Yu Xinxi/Journal of Transportation Systems Engineering and Information Technology, 2014, 14 (01): : 53 - 58
  • [32] Understanding evolution and the complexity of species interactions using orchids as a model system
    Bronstein, Judith L.
    Armbruster, W. Scott
    Thompson, John N.
    NEW PHYTOLOGIST, 2014, 202 (02) : 373 - 375
  • [33] Patterns and evolution of structural complexity in 323 GBM whole genomes
    Hamdan, A.
    Aitken, S.
    Meynert, A.
    Pollard, S.
    Semple, C.
    BRAIN PATHOLOGY, 2023, 33
  • [34] Orange carotenoid proteins: structural understanding of evolution and function
    Kerfeld, Cheryl A.
    Sutter, Markus
    TRENDS IN BIOCHEMICAL SCIENCES, 2024, 49 (09) : 819 - 828
  • [35] Understanding Structural Evolution in the Synthesis of Advanced Energy Materials
    Zhang Ming-Jian
    Chen Yu-Sheng
    Pan Feng
    Ren Yang
    CHINESE JOURNAL OF STRUCTURAL CHEMISTRY, 2020, 39 (01) : 26 - 30
  • [36] Understanding Structural Evolution in the Synthesis of Advanced Energy Materials
    ZHANG Ming-Jian
    CHEN Yu-Sheng
    PAN Feng
    REN Yang
    ChineseJournalofStructuralChemistry, 2020, 39 (01) : 26 - 30
  • [37] Understanding complexity
    Kivelson, Sophia
    Kivelson, Steven
    NATURE PHYSICS, 2018, 14 (05) : 426 - 427
  • [38] Complexity and understanding
    Allen, Peter
    EMERGENCE-COMPLEXITY & ORGANIZATION, 2015, 17 (01):
  • [39] Understanding complexity
    Schwaninger, M
    SYSTEM DYNAMICS REVIEW, 2005, 21 (03) : 261 - 269
  • [40] Understanding complexity
    Sophia Kivelson
    Steven Kivelson
    Nature Physics, 2018, 14 : 426 - 427