Deep Learning-Based Code Refactoring: A Review of Current Knowledge

被引:2
作者
Naik, Purnima [1 ]
Nelaballi, Salomi [1 ]
Pusuluri, Venkata Sai [1 ]
Kim, Dae-Kyoo [1 ,2 ]
机构
[1] Oakland Univ, Rochester, MI USA
[2] Oakland Univ, Comp Sci & Engn, 115 Lib Dr, Rochester, MI 48309 USA
关键词
Code refactoring; deep learning; literature review;
D O I
10.1080/08874417.2023.2203088
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper presents a systematic literature review of deep learning (DL)-based software refactoring, which involves restructuring and simplifying code without altering its external functionality. The study analyzed 17 primary works and found that CNN, RNN, MLP, and GNN are commonly used DL models for code refactoring, with MLP performing the best. However, current research efforts primarily focus on Java code, method-level refactoring, and single language refactoring with varying evaluation methods. The review also highlights the limitations and challenges of DL-based software refactoring and suggests future research directions.
引用
收藏
页码:314 / 328
页数:15
相关论文
共 71 条
[1]  
Abid, 2020, ARXIV
[2]  
Aggarwal C.C., 2018, NEURAL NETWORKS DEEP
[3]   A DQN-based agent for automatic software refactoring [J].
Ahmadi, Hamidreza ;
Ashtiani, Mehrdad ;
Azgomi, Mohammad Abdollahi ;
Saheb-Nassagh, Raana .
INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 147
[4]   A MICROSERVICE DECOMPOSITION METHOD THROUGH USING DISTRIBUTED REPRESENTATION OF SOURCE CODE [J].
Al-Debagy, Omar ;
Martinek, Peter .
SCALABLE COMPUTING-PRACTICE AND EXPERIENCE, 2021, 22 (01) :39-52
[5]  
Alenezi M., 2020, TELKOMNIKA Telecommunication Computing Electronics and Control, V18, P2977, DOI 10.12928/TELKOMNIKA.v18i6.16743
[6]   An Interactive and Dynamic Search-Based Approach to Software Refactoring Recommendations [J].
Alizadeh, Vahid ;
Kessentini, Marouane ;
Mkaouer, Mohamed Wiem ;
Ocinneide, Mel ;
Ouni, Ali ;
Cai, Yuanfang .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2020, 46 (09) :932-961
[7]  
Allamanis M, 2016, PR MACH LEARN RES, V48
[8]   code2vec: Learning Distributed Representations of Code [J].
Alon, Uri ;
Zilberstein, Meital ;
Levy, Omer ;
Yahav, Eran .
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2019, 3 (POPL)
[9]   The Effectiveness of Supervised Machine Learning Algorithms in Predicting Software Refactoring [J].
Aniche, Mauricio ;
Maziero, Erick ;
Durelli, Rafael ;
Durelli, Vinicius H. S. .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (04) :1432-1450
[10]  
[Anonymous], 2014, Microservices