A Survey of Deep Learning Based Software Refactoring
Bridget Nyirongo, Yanjie Jiang, He Jiang, Hui Liu
Beijing Institute of Technology · Tianjin University of Technology
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Software Refactoring Research with Large Language Models: A Systematic Literature ReviewarXiv · 2026
- Refactoring architectural smells with large language models: an exploratory study on cyclic dependenciesEmpirical Software Engineering · 2026
- An Empirical Study on the Code Refactoring Capability of Large Language ModelsACM Transactions on Software Engineering and Methodology · 2026
- Software Change Request in AI-Orchestrated Software Evolution: Literature Review and Research AgendaarXiv · 2026
- FrontierRefactor: Benchmarking Multi-Scale Performance-Oriented Codebase RefactoringarXiv · 2026
- Agentic Refactoring: An Empirical Study of AI Coding AgentsACM Transactions on Software Engineering and Methodology · 2026