arrow
返回

Code smell severity classification using machine learning techniques

delete2017-07-01
delete98
PRE
AI
F
Francesca Arcelli Fontana
M
Marco Zanoni *
DOI:10.1016/j.knosys.2017.04.014delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Several code smells detection tools have been developed providing different results, because smells can be subjectively interpreted and hence detected in different ways. Machine learning techniques have been used for different topics in software engineering, e.g., design pattern detection, code smell detection, bug prediction, recommending systems. In this paper, we focus our attention on the classification of code smell severity through the use of machine learning techniques in different experiments. The severity of code smells is an important factor to take into consideration when reporting code smell detection results, since it allows the prioritization of refactoring efforts. In fact, code smells with high severity can be particularly large and complex, and create larger issues to the maintainability of software a system. In our experiments, we apply several machine learning models, spanning from multinomial classification to regression, plus a method to apply binary classifiers for ordinal classification. In fact, we model code smell severity as an ordinal variable. We take the baseline models from previous work, where we applied binary classification models for code smell detection with good results. We report and compare the performance of the models according to their accuracy and four different performance measures used for the evaluation of ordinal classification techniques. From our results, while the accuracy of the classification of severity is not high as in the binary classification of absence or presence of code smells, the ranking correlation of the actual and predicted severity for the best models reaches 0.88-0.96, measured through Spearman's p. (C) 2017 Elsevier B.V. All rights reserved.
Keyword:
Code smells detection
Machine learning
Code smell severity
Ordinal classification
Refactoring prioritization
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

err分享
err收藏
Revisiting Code Smell Severity Prioritization using learning to rank techniques
err2024-09-01
err2
PREAI
errLiu, Lei; Lin, Guancheng; Zhu, Lin; Yang, Zhen; Song, Peilin; Wang, Xin; Hu, Wenhua
err分享
err收藏
DeepCSS: severity classification for code smell based on deep learning
err2025-05-01
err0
PREAI
errZhang, Yang; Zhang, Chunhui; Zheng, Kun; Meredith, Grant
err分享
err收藏
Developers' perception matters: machine learning to detect developer-sensitive smells
err2022-10-12
err0
PREAI
errOliveira, Daniel; Assuncao, Wesley K. G.; Garcia, Alessandro; Fonseca, Baldoino; Ribeiro, Marcio
err分享
err收藏

期刊

K
Knowledge-Based Systems
IF:
7.6
论文数:
1.3W
被引数:
5.9W

机构

U
university of milano - bicocca
学者数:
119
论文数: 46
被引数: 8.8K
引用论文

引用论文

BDTEX: A GQM-based Bayesian approach for the detection of antipatterns
err2011-04-01
err143
PREAI
errKhomh, Foutse; Vaucher, Stephane; Gueheneuc, Yann-Gael; Sahraoui, Houari
err分享
err收藏
DECOR: A Method for the Specification and Detection of Code and Design Smells
err2010-01-01
err541
errOAAI
errMoha, Naouel; Gueheneuc, Yann-Gael; Duchien, Laurence; Le Meur, Anne-Francoise
err分享
err收藏
学者 查看更多内容