Serviceeinschränkungen vom 12.-22.02.2026 - weitere Infos auf der UB-Homepage

Treffer: Automatically fixing dependency breaking changes

Title:
Automatically fixing dependency breaking changes
Source:
In: Proceedings of 47th Conference on Software Engineering. ACM (Association for Computing Machinery): Ottawa, Canada. (2025) (In press).
Publisher Information:
ACM (Association for Computing Machinery)
Publication Year:
2025
Collection:
University College London: UCL Discovery
Document Type:
Report report
File Description:
text
Language:
English
Rights:
open
Accession Number:
edsbas.DB3A6DA2
Database:
BASE

Weitere Informationen

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.