paper-with-me

Papers

Teaching Code Refactoring Using LLMs

2025-08-12 · Anshul Khairnar, Aarya Rajoju, Edward F. Gehringer arxiv

This Innovative Practice full paper explores how Large Language Models (LLMs) can enhance the teaching of code refactoring in software engineering courses through real-time, context-aware feedback. Refactoring improves code quality but is difficult to teach, especially with complex, real-world codebases. Traditional methods like code reviews and static analysis tools offer limited, inconsistent feedback. Our approach integrates LLM-assisted refactoring into a course project using structured prompts to help students identify and address code smells such as long methods and low cohesion. Implemented in Spring 2025 in a long-lived OSS project, the intervention is evaluated through student feedback and planned analysis of code quality improvements. Findings suggest that LLMs can bridge theoretical and practical learning, supporting a deeper understanding of maintainability and refactoring principles.

📄 PDF Abstract BibTeX arXiv:2508.09332

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Refactoring with LLMs: Bridging Human Expertise and Machine Understanding

2025-10-04 · Yonnel Chen Kuang Piao, Jean Carlors Paul, Leuson Da Silva, Arghavan Moradi Dakhel 외 arxiv

Code refactoring is a fundamental software engineering practice aimed at improving code quality and maintainability. Despite its importance, developers often neglect refactoring due to the significant time, effort, and r…

RefactorAssist: Agentic Refinement for Reliable Code Refactoring

2026-08-02 · Jonathan Cordeiro, Shayan Noei, Ying Zou arxiv

Code refactoring aims to enhance the internal structure of source code without affecting its functional behavior. The recent advancements of Large Language Models (LLMs) have demonstrated potential for automating softwar…

RefAgent: A Multi-agent LLM-based Framework for Automatic Software Refactoring

2025-11-05 · Khouloud Oueslati, Maxime Lamothe, Foutse Khomh arxiv

Large Language Models (LLMs) have substantially influenced various software engineering tasks. Indeed, in the case of software refactoring, traditional LLMs have shown the ability to reduce development time and enhance c…

CodeTaste: Can LLMs Generate Human-Level Code Refactorings?

2026-03-04 · Alex Thillen, Niels Mündler, Veselin Raychev, Martin Vechev arxiv

LLM coding agents can generate working code, but their solutions often accumulate complexity, duplication, and architectural debt. Human developers address such issues through refactoring: behavior-preserving program tra…

Trust Calibration in IDEs: Paving the Way for Widespread Adoption of AI Refactoring

2024-12-20 · Markus Borg

In the software industry, the drive to add new features often overshadows the need to improve existing code. Large Language Models (LLMs) offer a new approach to improving codebases at an unprecedented scale through AI-a…

Position