SchlüsselarbeitOriginalarbeiterreichbar
Agentic Refactoring: An Empirical Study of AI Coding Agents
Die große Erhebung dazu, wie Agenten umbauen: 51.412 Refactorings aus 12.256 Pull Requests und 14.998 Commits offener Java-Projekte, erschienen am 06.11.2025, neu gefasst am 26.10.2026 (v2). Agenten zielen in 26,1 Prozent ihrer Commits ausdrücklich auf einen Umbau. Art, Zweck und Codequalität wertet die Arbeit nur an den 3.907 Commits (32.611 Fälle) mit ausdrücklicher Umbauabsicht aus; die 51.412 sind der Gesamtbestand. Insgesamt bilden Umbauten auf hoher Ebene die größte Gruppe. Agenten haben einen etwas größeren Anteil kleinteiliger Änderungen (27,6 gegen 24,4 Prozent), am häufigsten Variablen umbenennen und Variablentypen ändern. Die Messung findet kleine, statistisch signifikante Verbesserungen an Klassengröße und Komplexität, vor allem bei Umbauten mittlerer Stufe.
geprüft 10.11.2026
Worauf sich diese Seite beruft, wörtlich, abgerufen am 31.10.2026:
analyzing 51,412 refactoring instances across 12,256 pull requests and 14,998 commits
bestätigt 10.11.2026with agents explicitly targeting refactoring in 26.1% of commits
bestätigt 10.11.2026agentic refactoring contains a slightly larger share of low-level, consistency-oriented edits than human refactoring (27.6% vs. 24.4%)
bestätigt 10.11.2026High-level refactorings form the largest category overall
bestätigt 10.11.202652.5% maintainability and 28.1% readability
bestätigt 10.11.2026agentic refactoring yields small but statistically significant improvements in structural metrics
bestätigt 10.11.2026reducing class size and complexity
bestätigt 10.11.2026particularly for medium-level changes
bestätigt 10.11.2026its two most frequent operations are Rename Variable (7.6%) and Change Variable Type (6.8%)
bestätigt 10.11.2026the measured metric improvements from these frequent low-level refactorings remain limited
bestätigt 10.11.2026the 3,907 commits (32,611 instances) with explicit refactoring intent
bestätigt 10.11.2026The subsequent analyses of refactoring types, purposes, and code quality focus on the 3,907 commits (32,611 instances) with explicit refactoring intent
bestätigt 10.11.2026