five

Iterative Refactoring of Real-World Open-Source Programs with Large Language Models - Experimental Results

收藏
Figshare2024-04-20 更新2026-04-28 收录
下载链接:
https://figshare.com/articles/dataset/Iterative_Refactoring_of_Real-World_Open-Source_Programs_with_Large_Language_Models_-_Experimental_Results/25592526
下载链接
链接失效反馈
官方服务:
资源简介:
Code refactoring is a critical task for improving software quality, but it is traditionally a manual, time-consuming process. This paper demonstrates an approach to automate project-level code refactoring using Large Language Models (LLMs). The key idea is to iteratively identify methods with high cyclomatic complexity, and then use LLMs to generate refactored implementations that reduce complexity. Our evaluation using 17 open-source projects shows that the proposed automated refactoring can reduce average cyclomatic complexity by up to 10.4% within 20 iterations. These results suggest that automated project-level code refactoring is feasible using LLMs with tailored prompts.
创建时间:
2024-04-20
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作