生成式 AI 技术有望变革产品开发生命周期。本研究评估了使用 AI 驱动的编码助手 GitHub Copilot 在效率提升、改进空间及新兴挑战方面的表现。我们确定了 15 项软件开发任务,并通过在大型专有代码库上的真实世界项目评估了 Copilot 的收益。研究结果表明,开发者的繁重劳动显著减少,代码文档编写和自动补全节省了高达 50% 的时间,在重复性编码任务、单元测试生成、调试和结对编程中节省了 30-40% 的时间。然而,Copilot 在处理复杂任务、大型函数、多文件和专有上下文时存在困难,尤其是在 C/C++ 代码方面。我们预计,在云优先的软件开发生命周期中,与编码相关的任务时间将减少 33-36%。本研究旨在量化生产力提升,识别表现不佳的场景,考察实际收益与挑战,调查不同编程语言间的性能差异,并讨论与代码质量、安全性和开发者体验相关的新兴问题。
英文摘要:
Generative AI technologies promise to transform the product development lifecycle. This study evaluates the efficiency gains, areas for improvement, and emerging challenges of using GitHub Copilot, an AI-powered coding assistant. We identified 15 software development tasks and assessed Copilot's benefits through real-world projects on large proprietary code bases. Our findings indicate significant reductions in developer toil, with up to 50% time saved in code documentation and autocompletion, and 30-40% in repetitive coding tasks, unit test generation, debugging, and pair programming. However, Copilot struggles with complex tasks, large functions, multiple files, and proprietary contexts, particularly with C/C++ code. We project a 33-36% time reduction for coding-related tasks in a cloud-first software development lifecycle. This study aims to quantify productivity improvements, identify underperforming scenarios, examine practical benefits and challenges, investigate performance variations across programming languages, and discuss emerging issues related to code quality, security, and developer experience.
Understanding the Impact of AI Code Assistants on Security API Usage: An Empirical Study
Centre for Research on Engineering Software Technologies (CREST) & Adelaide University, Australia(工程软件研究技术中心(CREST)及阿德莱德大学,澳大利亚);Edith Cowan University, Australia(埃德温·考文大学,澳大利亚);CSIRO’s Data61, Australia(CSIRO数据61,澳大利亚)
Evaluating Classical Software Process Models as Coordination Mechanisms for LLM-Based Software Generation
Faculty of Computer Science and Engineering, Ho Chi Minh City University of Technology (HCMUT)(胡志明市理工大学计算机科学与工程系);Vietnam National University Ho Chi Minh City(越南国立大学胡志明市分校);FPT University(FPT大学);Department of Economics and IT, University of South Eastern Norway(挪威东南大学经济与信息技术系)
Kyushu University(九州大学);Nara Institute of Science and Technology(奈良先端科学技术大学院大学);University of Bari(巴里大学);Singapore Management University(新加坡管理大学);University of Osaka(大阪大学);Shinshu University(信州大学);Heidelberg University(海德堡大学)