TY - GEN
T1 - Software Model Generation and Simulation for Change Impact Analysis with LLM
AU - Huang, Zijian
AU - Ai, Jun
AU - Liu, Jingyu
N1 - Publisher Copyright:
© 2025 IEEE.
PY - 2025
Y1 - 2025
N2 - Software change impact analysis can enhance maintenance efficiency for modified functionalities during software evolution. Previous methods predominantly rely on static syntactic structures within function call relationships while neglecting semantic constraints' influences on actual execution paths, consequently failing to provide quantitative evaluations against real software runtime behaviors. To address this limitation, this paper proposes a method for software constraint extraction and model generation based on Large Language Models (LLMs), aiming to deliver fine-grained quantitative analysis. Specifically, this paper designs a software model for change impact analysis that performs code-to-model mapping through LLMs, extracting both variable propagations and constraints from function call relationships to obtain more comprehensive software logic. Furthermore, this paper employs a simulator that reconstructs software logic for simulation analysis integrated with Monte Carlo method, statistically measuring invocations of software elements. Finally, this paper proposes multiple metrics for systematic evaluation, enabling a quantitative change impact analysis. In case study, this paper validates the approach through typical function call relationships, the results demonstrate the effectiveness of the proposed approach.
AB - Software change impact analysis can enhance maintenance efficiency for modified functionalities during software evolution. Previous methods predominantly rely on static syntactic structures within function call relationships while neglecting semantic constraints' influences on actual execution paths, consequently failing to provide quantitative evaluations against real software runtime behaviors. To address this limitation, this paper proposes a method for software constraint extraction and model generation based on Large Language Models (LLMs), aiming to deliver fine-grained quantitative analysis. Specifically, this paper designs a software model for change impact analysis that performs code-to-model mapping through LLMs, extracting both variable propagations and constraints from function call relationships to obtain more comprehensive software logic. Furthermore, this paper employs a simulator that reconstructs software logic for simulation analysis integrated with Monte Carlo method, statistically measuring invocations of software elements. Finally, this paper proposes multiple metrics for systematic evaluation, enabling a quantitative change impact analysis. In case study, this paper validates the approach through typical function call relationships, the results demonstrate the effectiveness of the proposed approach.
KW - Change Impact Analysis
KW - LLM
KW - Software Evolution
KW - Software Network
UR - https://www.scopus.com/pages/publications/105023643227
U2 - 10.1109/QRS-C65679.2025.00071
DO - 10.1109/QRS-C65679.2025.00071
M3 - Conference contribution
AN - SCOPUS:105023643227
T3 - Proceedings - 2025 25th International Conference on Software Quality, Reliability and Security Companion, QRS-C 2025
SP - 530
EP - 539
BT - Proceedings - 2025 25th International Conference on Software Quality, Reliability and Security Companion, QRS-C 2025
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 25th International Conference on Software Quality, Reliability and Security Companion, QRS-C 2025
Y2 - 16 July 2025 through 20 July 2025
ER -