NachschlagenQuellenregister

SchlüsselarbeitOriginalarbeiterreichbar

Agentic Refactoring: An Empirical Study of AI Coding Agents

arxiv.org (externe Seite)

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 commitsbestätigt 10.11.2026
  • with agents explicitly targeting refactoring in 26.1% of commitsbestätigt 10.11.2026
  • agentic refactoring contains a slightly larger share of low-level, consistency-oriented edits than human refactoring (27.6% vs. 24.4%)bestätigt 10.11.2026
  • High-level refactorings form the largest category overallbestätigt 10.11.2026
  • 52.5% maintainability and 28.1% readabilitybestätigt 10.11.2026
  • agentic refactoring yields small but statistically significant improvements in structural metricsbestätigt 10.11.2026
  • reducing class size and complexitybestätigt 10.11.2026
  • particularly for medium-level changesbestätigt 10.11.2026
  • its two most frequent operations are Rename Variable (7.6%) and Change Variable Type (6.8%)bestätigt 10.11.2026
  • the measured metric improvements from these frequent low-level refactorings remain limitedbestätigt 10.11.2026
  • the 3,907 commits (32,611 instances) with explicit refactoring intentbestätigt 10.11.2026
  • The subsequent analyses of refactoring types, purposes, and code quality focus on the 3,907 commits (32,611 instances) with explicit refactoring intentbestätigt 10.11.2026

11 Codequalität und Refactoring

Alle Quellen

↑↓ auswählenEnter öffnenDie Suche läuft im Browser. Nichts wird übertragen.