arrow
Return

Enhancing Software Maintainability Through LLM-Assisted Code Refactoring

delete2026-01-01
delete0
PRE
AI
T
Tommaso Fulcini *
R
Riccardo Coppola
F
Flavio Giobergia
A
Amirali Changizi
M
Meelad Dashti
K
Kimia Dorrani
D
Domenico Amalfitano
D
Damiano Distante
F
Filippo Ricca
DOI:10.1007/978-3-032-12089-2_10delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
High code quality, particularly in terms of maintainability, is crucial for ensuring that software remains efficient and adaptable over time, while minimizing long-term maintenance costs. As artificial intelligence continues to evolve, its application in software development offers new opportunities to improve code quality. This study investigates the use of Large Language Models (LLMs) to enhance software maintainability through code refactoring. The results indicate that LLMs can be effectively utilized for this purpose, with effectiveness varying depending on the model and the evaluation metric used. Although the study is based on a limited set of Python projects and specific prompting strategies, it provides a meaningful step toward understanding the broader applicability of LLMs in this context.
Keywords:
LLMs
Code Maintainability
Code Quality
Technical Debt

Journal

P
PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT, PROFES 2025
IF:
0
Papers:
40
Citations:
0

Organization

P
Polytechnic University of Turin
Scholars:
1.3W
Papers: 1.3W
Citations: 1.3W
U
University of Naples Federico II
Scholars:
4.7W
Papers: 3.6W
Citations: 51
U
university of genoa
Scholars:
2.9W
Papers: 2.2W
Citations: 20
researcher View more organizations