UCL Discovery
UCL home » Library Services » Electronic resources » UCL Discovery

Automatically fixing dependency breaking changes

Fruntke, Lukas; Krinke, Jens; (2025) Automatically fixing dependency breaking changes. In: Proceedings of 47th Conference on Software Engineering. ACM (Association for Computing Machinery): Ottawa, Canada. (In press). Green open access

[thumbnail of ResearchReport.pdf]
Preview
Text
ResearchReport.pdf - Published Version

Download (748kB) | Preview

Abstract

Breaking changes in dependencies are a common challenge in software development, requiring manual intervention to resolve. This study examines how well Large Language Models (LLMs) automate the repair of breaking changes caused by dependency updates in Java projects. Although earlier methods have mostly concentrated on detecting breaking changes or investigating their impact, they have not been able to completely automate the repair process. We introduce and compare two new approaches: an agentic system that combines automated tool usage with LLMs, and a recursive zero-shot approach, employing iterative prompt refinement. Our experimental framework assesses the repair success of both approaches, using the BUMP dataset of curated breaking changes. We also investigate the impact of variables such as dependency popularity and prompt configuration on repair outcomes. Our results demonstrate a substantial difference in test suite success rates, with the agentic approach achieving a repair success rate of up to 23%, while the zero-shot prompting approach achieved a repair success rate of up to 19%. We show that automated program repair of breaking dependencies with LLMs is feasible and can be optimised to achieve better repair outcomes.

Type: Proceedings paper
Title: Automatically fixing dependency breaking changes
Event: FSE 2025
Open access status: An open access version is available from UCL Discovery
DOI: 10.1145/3729366
Publisher version: https://doi.org/10.1145/3729366
Language: English
Additional information: This work is licensed under a Creative Commons Attribution 4.0 International License. © 2025 Copyright held by the owner/author(s).
Keywords: Automated program repair, dependency management
UCL classification: UCL
UCL > Provost and Vice Provost Offices > UCL BEAMS
UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science
URI: https://discovery.ucl.ac.uk/id/eprint/10207439
Downloads since deposit
0Downloads
Download activity - last month
Download activity - last 12 months
Downloads by country - last 12 months

Archive Staff Only

View Item View Item