Just-in-Time Prediction of Software Architectural Changes Through Commit-Level Analyses
- 10 July 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 51 (8) , 2285-2304
Abstract
During software evolution, commits with various purposes, such as bug fixes, feature additions, improvements, etc., are continuously applied to software systems. This could drift software architecture from its planned design, and even cause architectural decay, that negatively affects software maintenance. Although prior studies have presented that even daily code commits could induce architectural changes, and the commit-level analysis has been widely used for multiple software comprehension and maintenance tasks, there is little work analyzing the architectural changes at the commit level. To bridge this gap, we conduct a study investigating the relationships between commits and architectural changes. Through our evaluation of thirty projects, we have shown that the architecture remains stable after most of the commits. However, there still exists a large portion of commits (27% of all studied commits) that have induced architectural changes, which deserve more attention. This further suggests the importance of analyzing architectural changes at the commit level. Meanwhile, we present a suite of commit-level metrics strongly correlated with architectural changes. Finally, we propose prediction models that can effectively forecast how much of the architecture would be changed after a commit.Keywords
Funding Information
- Natural Science Foundation of Hubei Province of China (2025AFB969)
This publication has 69 references indexed in Scilit:
- Multi-programming language software systems modularizationComputers and Electrical Engineering, 2019
- A new algorithm for software clustering considering the knowledge of dependency between artifacts in the source codeInformation and Software Technology, 2019
- Multi-objective search-based software modularization: structural and non-structural featuresSoft Computing, 2018
- Revisiting supervised and unsupervised models for effort-aware just-in-time defect predictionEmpirical Software Engineering, 2018
- TLEL: A two-layer ensemble learning approach for just-in-time defect predictionInformation and Software Technology, 2017
- A large-scale study of architectural evolution in open-source software systemsEmpirical Software Engineering, 2016
- An empirical study of some software fault prediction techniques for the number of faults predictionSoft Computing, 2016
- Assessing architectural drift in commercial software development: a case studySoftware: Practice and Experience, 2010
- Fine‐grained management of software artefacts: the ADAMS systemSoftware: Practice and Experience, 2010
- Regression via Classification applied on software defect estimationExpert Systems with Applications, 2008