AI辅助编程通过增加技术债务和维护负担降低了有经验开发者的生产力
AI-Assisted Programming Decreases the Productivity of Experienced Developers by Increasing the Technical Debt and Maintenance Burden
AI总结:
AI辅助编程虽提升短期生产力,但增加技术债务和维护负担,尤其加重核心开发者的负担。
摘要:
GenAI解决方案如GitHub Copilot已被证明能提高软件开发人员的生产力。然而,先前的研究仍然不清楚所生成代码的质量以及在软件项目中维护它的挑战。如果质量随着数量的增长而下降,那么随着有经验的开发人员面对越来越多的负担去审查和重新编写来自不太有经验的贡献者的代码,技术债务就会积累。我们分析了在引入GitHub Copilot后开源软件(OSS)项目中的开发者活动。我们发现生产力确实提高了。然而,生产力的增加主要由不太有经验(边缘)的开发人员推动。我们还发现,在采用AI后编写代码需要更多的重新工作以满足仓库标准,这表明可能存在技术债务的增加。重要的是,增加的重新工作负担落在更有经验(核心)的开发人员身上,他们审查的代码增加了6.5%,但其原始代码生产力却下降了19%。更广泛地说,这一发现提出了警告,即AI带来的生产力增长可能掩盖了专家人数减少所带来的维护负担的增长,以及项目中技术债务的增加。结果突显了AI辅助软件开发中短期生产力增长与长期系统可持续性之间的根本矛盾。
英文摘要:
GenAI solutions like GitHub Copilot have been shown to increase the productivity of software developers. Yet prior work remains unclear on the quality of code produced and the challenges of maintaining it in software projects. If quality declines as volume grows, technical debt accumulates as experienced developers face increased workloads reviewing and reworking code from less-experienced contributors. We analyze developer activity in Open Source Software (OSS) projects following the introduction of GitHub Copilot. We find that productivity indeed increases. However, the increase in productivity is primarily driven by less-experienced (peripheral) developers. We also find that code written after the adoption of AI requires more rework to satisfy repository standards, indicating a potential increase in technical debt. Importantly, the added rework burden falls on the more experienced (core) developers, who review 6.5% more code after Copilot's introduction, but show a 19% drop in their original code productivity. More broadly, this finding raises caution that productivity gains of AI may mask the growing burden of maintenance on a shrinking pool of experts, together with increased technical debt for the projects. The results highlight a fundamental tension in AI-assisted software development between short-term productivity gains and long-term system sustainability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。