AI Writes Code, Humans Pay the Debt. An Empirical Study on the Sustainability and Evolution of Agent-Generated Code
Antonino Coppola, Matteo Esposito, Rick Kazman, Valentina Lenarduzzi
Abstract
Context. The increasing adoption of Generative AI coding agents in software engineering is transforming how developers implement and maintain code. While these systems provide short-term productivity benefits, their long-term impact on software quality and technical debt remains unclear. Aim. We aim to investigate how agent-generated code affects software quality, focusing on issue localization accuracy, the introduction of technical debt, and its evolution over time. Method. We will conduct a large-scale mining software repositories study using the SQuaD dataset, employing a candidate set of 628k issue tickets. We will generate agent-based implementations for these issues, and compare them with the actual commits done by developers using static analysis metrics and tools. We will analyze differences at the commit level and across releases, and we will consider multiple LLM-based Agents selected through a systematic benchmarking strategy. Expected Results. We expect to provide empirical evidence on the trade-offs introduced by agent-based development, including differences in localization accuracy, variations in technical debt introduction, and potential divergence in long-term evolution. We expect the results to highlight variability across LLMs, to enrich our understanding of software evolution with Agents, and to inform more responsible adoption of Agents in software development.
Create a lesson
Metadata
- Comments
- ACCEPTED REGISTERED REPORT AT ESEM (CORE A*) 2026
Related papers
How Much Do Coding Agents Over-Edit, and Why? An Empirical Study of Unneeded Edits in Repository-Level Agent Patches
Shared title terminologycs.SEAakash Goel, Benjamin Steenhoek, Yu Hu
Can Vibe Coding Produce Accessible Websites: An Empirical Study on LLM Coding Agents and Skills
Shared title terminologycs.SESyed Fatiul Huq, Md. Asif Haider, Abu Jafar Saifullah et al.
No Accidental Software Agent First Canonical Code for Human Code Entropy Reduction and 30 to 500 times Lower Frontier Model Requirements
Shared title terminologycs.SEJepson Taylor
The End of Code Review: Coding Agents Supersede Human Inspection
Shared title terminologycs.SEMartin Monperrus
Watts and Debts of Agentic Frameworks: An Empirical Study (Registered Report)
Shared title terminologycs.SEAneetta Sara Shany, Chandrasekar S, Karthik Vaidhyanathan
CodeTaste: Can LLMs Generate Human-Level Code Refactorings?
Shared title terminologycs.SEAlex Thillen, Niels Mündler, Veselin Raychev et al.