TY - GEN
T1 - Beyond Isolated Changes
T2 - 16th International Conference on Internetware, Internetware 2025
AU - Wang, Binghe
AU - Jin, Wuxia
AU - Wang, Zijun
AU - Sun, Mengjie
AU - Wang, Haijun
N1 - Publisher Copyright:
© 2025 Copyright held by the owner/author(s).
PY - 2025/10/27
Y1 - 2025/10/27
N2 - Code change detection is essential for understanding software evolution. However, existing techniques mainly concentrate on modifications at the entity level (like methods and statements) while often overlooking changes in dependencies and failing to group related changes that are scattered throughout the code. To tackle these issues, this paper introduces ChangeDelta, a code change detection method that is both context-aware and dependency-enhanced. ChangeDelta utilizes static analysis and rule-driven techniques to identify changes not only in code entities but also in their dependencies, including both intra- and inter-procedural dependencies. This approach enhances the semantic understanding of changes across different scopes. Additionally, we present a context-aware change association mechanism that aggregates individual changes, highlighting their logical relationships and the intent behind their implementation. Our evaluations on two Java benchmarks demonstrate that ChangeDelta outperforms leading tools such as RefactoringMiner and CodeShovel, achieving 95.2% precision and 98.0% recall in change detection. The results also show that ChangeDelta effectively associates related scattered changes. Moreover, our analysis of real-world commit history indicates that dependency changes occur twice as frequently as entity changes, underscoring their importance in the detection process. Overall, our work will help developers in navigating numerous discrete code modifications, providing clarity on the motivations and purposes behind these changes.
AB - Code change detection is essential for understanding software evolution. However, existing techniques mainly concentrate on modifications at the entity level (like methods and statements) while often overlooking changes in dependencies and failing to group related changes that are scattered throughout the code. To tackle these issues, this paper introduces ChangeDelta, a code change detection method that is both context-aware and dependency-enhanced. ChangeDelta utilizes static analysis and rule-driven techniques to identify changes not only in code entities but also in their dependencies, including both intra- and inter-procedural dependencies. This approach enhances the semantic understanding of changes across different scopes. Additionally, we present a context-aware change association mechanism that aggregates individual changes, highlighting their logical relationships and the intent behind their implementation. Our evaluations on two Java benchmarks demonstrate that ChangeDelta outperforms leading tools such as RefactoringMiner and CodeShovel, achieving 95.2% precision and 98.0% recall in change detection. The results also show that ChangeDelta effectively associates related scattered changes. Moreover, our analysis of real-world commit history indicates that dependency changes occur twice as frequently as entity changes, underscoring their importance in the detection process. Overall, our work will help developers in navigating numerous discrete code modifications, providing clarity on the motivations and purposes behind these changes.
KW - Code Change Detection
KW - Context-aware
KW - Dependencies
UR - https://www.scopus.com/pages/publications/105023675240
U2 - 10.1145/3755881.3755912
DO - 10.1145/3755881.3755912
M3 - 会议稿件
AN - SCOPUS:105023675240
T3 - 16th International Conference on Internetware, Internetware 2025 - Proceedings
SP - 321
EP - 331
BT - 16th International Conference on Internetware, Internetware 2025 - Proceedings
A2 - Mei, Hong
A2 - Lv, Jian
A2 - Jin, Zhi
A2 - Li, Xuandong
A2 - Zimmermann, Thomas
A2 - Li, Ge
A2 - Bu, Lei
A2 - Xia, Xin
PB - Association for Computing Machinery, Inc
Y2 - 20 June 2025 through 22 June 2025
ER -