跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2607.01867 (cs)
[提交于 2026年7月2日]

标题:An Exploratory Study on LLM-Generated Code and Comments in Code Repositories

作者:Yongyi Ji, Jiaji Wang, Yi Zhou, Fuxiang Chen, Hongji Yang
查看论文《An Exploratory Study on LLM-Generated Code and Comments in Code Repositories》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The use of LLMs in software development has become increasingly widespread on tasks such as code generation and summarization. Reports from large technology companies showed that around 20% to 30% of their code are generated by LLMs. However, there remains skepticism about the practical usage of LLM-generated code and comments, such as concerns on more time for debugging the generated code and the unnaturalness of the generated comments. In this paper, we study the code and comments detected as likely to be generated by LLMs and their characteristics, the differences between company- and community-maintained repositories, and how likely bugs are associated with LLM-generated code. We conduct extensive experiments on active company- and community-maintained repositories from 2021 to 2025 using various tools and techniques that detect code and comments generated by LLMs. Based on our detector-based proxy analysis, the results suggest that code detected as likely to be generated by LLMs decreased over time and appeared frequently in test cases, while that of comments remains relatively stable. Proxy results further suggest that code detected as likely to be generated by LLMs shows substantial intra-repository code clones, whereas comments exhibit a relatively low proportion of grammatically correct sentences. In addition, the company-maintained repositories show a higher percentage of code and comments detected as likely to be generated by LLMs, and only a small percentage of the human-labelled bugs are detected as being likely associated with LLM-generated code.
评论: Accepted to The Journal of Systems & Software (JSS) on 1 July 2026
主题: 软件工程 (cs.SE); 人工智能 (cs.AI)
引用方式: arXiv:2607.01867 [cs.SE]
  (或者 arXiv:2607.01867v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2607.01867

提交历史

来自:Fuxiang Chen
[v1] 2026年7月2日 星期四 08:25:15 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-07
切换浏览方式为:
cs
cs.AI

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站