A Dataset and Preliminary Study of Using GPT-5 for Code-change Impact Analysis
Katharina Stengg, Christian Macho, Martin Pinzger

TL;DR
This study evaluates GPT-5's ability to predict impacted code entities from source code changes, revealing limited performance but some improvement with additional diff information, highlighting challenges in applying LLMs to impact analysis.
Contribution
First comprehensive assessment of GPT-5 for code-change impact analysis, introducing a new dataset and exploring different information configurations.
Findings
GPT-5 outperforms GPT-5-mini in impact prediction.
Adding diff hunks slightly improves model performance.
Both models perform poorly overall in the task.
Abstract
Understanding source code changes and their impact on other code entities is a crucial skill in software development. However, the analysis of code changes and their impact is often performed manually and therefore is time-consuming. Recent advancements in AI, and in particular large language models (LLMs) show promises to help developers in various code analysis tasks. However, the extent to which this potential can be utilized for understanding code changes and their impact is underexplored. To address this gap, we study the capabilities of GPT-5 and GPT-5-mini to predict the code entities impacted by given source code changes. We construct a dataset containing information about seed-changes, change pairs, and change types for each commit. Existing datasets lack crucial information about seed changes and impacted code entities. Our experiments evaluate the LLMs in two configurations:…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Testing and Debugging Techniques · Scientific Computing and Data Management
