arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.17910cs.SEcs.AI
收藏

变革软件开发:评估 GitHub Copilot 在真实世界项目中的效率与挑战

Transforming Software Development: Evaluating the Efficiency and Challenges of GitHub Copilot in Real-World Projects

Security Business Group, Cisco Systems Inc(思科系统公司安全业务集团)

Ruchika Pandey, Prabhat Singh, Raymond Wei, Shaila Shankar

AI总结:

本研究评估了 AI 编码助手 GitHub Copilot 在真实项目中的效率与挑战,发现其在文档和重复性任务中可节省 30-50% 时间,但在复杂和 C/C++ 代码场景下表现不佳,预计云优先生命周期整体编码时间将减少 33-36%。

摘要:

生成式 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑