arrow
返回

Code smell detection based on supervised learning models: A survey

delete2024-01-01
delete4
PRE
AI
张杨 封面图
张杨 (Yang Zhang)
H
Haiyang Liu
K
Kun Zheng
DOI:10.1016/j.neucom.2023.127014delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Supervised learning-based code smell detection has become one of the dominant approaches to identify code smell. Existing works optimize the process of code smell detection from multiple aspects, such as high-quality dataset, feature selection, and model, etc. Although the accuracy is improved continuously, researchers are confused about what model are the most suitable ones to detect code smell when considering dataset construction and feature selection. Furthermore, existing surveys for code smell mainly analyze the impact of code smell, categorize the concerns of code smell, and repair code smell. There is a lack of systematic analysis and classification of code smell detection based on supervised learning. To this end, we collect 86 papers of code smell detection based on supervised learning ranging from January 2010 to April 2023. A total of 7 research questions is empirically evaluated from different aspects, such as datasets construction, data pre-processing, feature selection, and model training, etc. We conclude that existing works suffer from issues such as sample imbalance, different attention to types of code smell, and limited feature selection. Finally, we suggest possible future research directions.
Keyword:
Code smell
Supervised learning
Feature selection
Dataset
Data balancing

期刊

Neurocomputing 封面图
Neurocomputing
IF:
6.5
论文数:
2.5W
被引数:
6.5W

机构

H
harbin institute of technology
学者数:
8.0W
论文数: 6.6W
被引数: 66
引用论文

引用论文

Automatic detection of Long Method and God Class code smells through neural source code embeddings
err2022-10-01
err25
errOAAI
errKovacevic, Aleksandar; Slivka, Jelena; Vidakovic, Dragan; Grujic, Katarina-Glorija; Luburic, Nikola; Prokic, Simona; Sladic, Goran
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
Fragmentation of the universe
err1983-08-01
err0
PREAI
errW. K. Brown; R. R. Karpp; D. E. Grady
err分享
err收藏
err分享
err收藏
Recombination between an expressed immunoglobulin heavy-chain gene and a germline variable gene segment in a Ly 1+ B-cell lymphoma
err1986-08-01
err0
PREAI
errRobert Kleinfield; Richard R. Hardy; David Tarlinton; Jeffery Dangl; Leonard A. Herzenberg; Martin Weigert
err分享
err收藏
On the adequacy of static analysis warnings with respect to code smell prediction
err2022-03-17
err9
errOAAI
errPecorelli, Fabiano; Lujan, Savanna; Lenarduzzi, Valentina; Palomba, Fabio; De Lucia, Andrea
err分享
err收藏
学者 查看更多内容