Software Model Generation and Simulation for Change Impact Analysis with LLM

  • Zijian Huang
  • , Jun Ai
  • , Jingyu Liu*
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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.

Original languageEnglish
Title of host publicationProceedings - 2025 25th International Conference on Software Quality, Reliability and Security Companion, QRS-C 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages530-539
Number of pages10
ISBN (Electronic)9781665477734
DOIs
Publication statusPublished - 2025
Externally publishedYes
Event25th International Conference on Software Quality, Reliability and Security Companion, QRS-C 2025 - Hangzhou, China
Duration: 16 Jul 202520 Jul 2025

Publication series

NameProceedings - 2025 25th International Conference on Software Quality, Reliability and Security Companion, QRS-C 2025

Conference

Conference25th International Conference on Software Quality, Reliability and Security Companion, QRS-C 2025
Country/TerritoryChina
CityHangzhou
Period16/07/2520/07/25

Keywords

  • Change Impact Analysis
  • LLM
  • Software Evolution
  • Software Network

Fingerprint

Dive into the research topics of 'Software Model Generation and Simulation for Change Impact Analysis with LLM'. Together they form a unique fingerprint.

Cite this