A Survey of Deep Learning Based Software Refactoring

Refactoring is a critical activity in software engineering used to improve software quality and maintainability. Increasingly, deep learning (DL) techniques are being applied to software refactoring to overcome the limitations of traditional, manually designed heuristics. However, there is a lack of comprehensive surveys and structured taxonomies characterizing these deep learning-based approaches. To fill this gap, we present a survey that categorizes deep learning-based software refactoring into five core tasks: code smell detection, refactoring recommendation, refactoring implementation, refactoring mining, and refactoring impact analysis. Our analysis reveals an imbalance in research distribution. The field is concentrated on the early decision-making stages, with code smell detection (43.84%) and refactoring recommendation (32.88%) comprising more than three-quarters of the literature. Conversely, refactoring implementation (12.33%) and mining (8.22%) show emergent tracking, while refactoring impact analysis remains under-explored (2.74%). Beyond this taxonomy, the survey highlights critical gaps, including a notable absence of research on quality assurance for DL-based refactoring and minimal attention given to class- and variable-level operations. Finally, we map out open challenges and future directions to guide researchers toward building more comprehensive, end-to-end automated refactoring pipelines.

Authors

Institutions

Publication Details

Journal
ACM Computing Surveys
Published
2026-12-02
DOI
https://doi.org/10.1145/3849693
Citations
23
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
15.58

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A Survey of Deep Learning Based Software Refactoring

Bridget Nyirongo, Yanjie Jiang, Hui Liu, He Jiang
23 citations
ACM Computing Surveys
Software Engineering Research
15.58
article

A Survey of Deep Learning Based Software Refactoring

Bridget Nyirongo, Yanjie Jiang, Hui Liu, He Jiang
article en
23 citations

Abstract

Refactoring is a critical activity in software engineering used to improve software quality and maintainability. Increasingly, deep learning (DL) techniques are being applied to software refactoring to overcome the limitations of traditional, manually designed heuristics. However, there is a lack of comprehensive surveys and structured taxonomies characterizing these deep learning-based approaches. To fill this gap, we present a survey that categorizes deep learning-based software refactoring into five core tasks: code smell detection, refactoring recommendation, refactoring implementation, refactoring mining, and refactoring impact analysis. Our analysis reveals an imbalance in research distribution. The field is concentrated on the early decision-making stages, with code smell detection (43.84%) and refactoring recommendation (32.88%) comprising more than three-quarters of the literature. Conversely, refactoring implementation (12.33%) and mining (8.22%) show emergent tracking, while refactoring impact analysis remains under-explored (2.74%). Beyond this taxonomy, the survey highlights critical gaps, including a notable absence of research on quality assurance for DL-based refactoring and minimal attention given to class- and variable-level operations. Finally, we map out open challenges and future directions to guide researchers toward building more comprehensive, end-to-end automated refactoring pipelines.

ACM Computing SurveysVol. 59(1)
Beijing Institute of Technology (CN), Tianjin University of Technology (CN), Tianjin University (CN), Dalian University of Technology (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 1%
Software Engineering Research
15.58
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon