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.
机构:
School of Automobile and Traffic Engineering, Wuhan University of Science and Technology, Wuhan 430081, ChinaSchool of Automobile and Traffic Engineering, Wuhan University of Science and Technology, Wuhan 430081, China
Du, Sheng-Pin
Ma, Yong-Feng
论文数: 0引用数: 0
h-index: 0
机构:
School of Transportation, Southeast University, Nanjing 210096, ChinaSchool of Automobile and Traffic Engineering, Wuhan University of Science and Technology, Wuhan 430081, China
Ma, Yong-Feng
Jiaotong Yunshu Xitong Gongcheng Yu Xinxi/Journal of Transportation Systems Engineering and Information Technology,
2014,
14
(01):
: 53
-
58
机构:
Michigan State Univ, MSU DOE Plant Res Lab, E Lansing, MI 48824 USA
Lawrence Berkeley Natl Lab, Environm Genom & Syst Biol Div, Berkeley, CA 94720 USA
Lawrence Berkeley Natl Lab, Mol Biophys & Integrated Bioimaging Div, Berkeley, CA 94720 USAMichigan State Univ, MSU DOE Plant Res Lab, E Lansing, MI 48824 USA
Kerfeld, Cheryl A.
Sutter, Markus
论文数: 0引用数: 0
h-index: 0
机构:
Michigan State Univ, MSU DOE Plant Res Lab, E Lansing, MI 48824 USA
Lawrence Berkeley Natl Lab, Environm Genom & Syst Biol Div, Berkeley, CA 94720 USA
Lawrence Berkeley Natl Lab, Mol Biophys & Integrated Bioimaging Div, Berkeley, CA 94720 USAMichigan State Univ, MSU DOE Plant Res Lab, E Lansing, MI 48824 USA
机构:
School of Advanced Materials,Peking University Shenzhen Graduate School
Center for Advanced Radiation Source (Chem Mat CARS),the University of ChicagoSchool of Advanced Materials,Peking University Shenzhen Graduate School
ZHANG Ming-Jian
CHEN Yu-Sheng
论文数: 0引用数: 0
h-index: 0
机构:
Center for Advanced Radiation Source (Chem Mat CARS),the University of ChicagoSchool of Advanced Materials,Peking University Shenzhen Graduate School
CHEN Yu-Sheng
PAN Feng
论文数: 0引用数: 0
h-index: 0
机构:
School of Advanced Materials,Peking University Shenzhen Graduate SchoolSchool of Advanced Materials,Peking University Shenzhen Graduate School
PAN Feng
REN Yang
论文数: 0引用数: 0
h-index: 0
机构:
X-ray Science Division,Argonne National LaboratorySchool of Advanced Materials,Peking University Shenzhen Graduate School