Poster: Machine Learning based Code Smell Detection through WekaNose

被引:15
作者
Azadi, Umberto [1 ]
Fontana, Francesca Arcelli [1 ]
Zanoni, Marco [1 ]
机构
[1] Univ Milano Bicocca, Milan, Italy
来源
PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING - COMPANION (ICSE-COMPANION | 2018年
关键词
D O I
10.1145/3183440.3194974
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Code smells can be subjectively interpreted, the results provided by detectors are usually different, the agreement in the results is scarce, and a benchmark for the comparison of these results is not yet available. The main approaches used to detect code smells are based on the computation of a set of metrics. However code smell detectors often use different metrics and/or different thresholds, according to their detection rules. As result of this inconsistency the number of detected smells can increase or decrease accordingly, and this makes hard to understand when, for a specific software, a certain characteristic identifies a code smell or not. In this work, we introduce Wekallose, a tool that allows to perform an experiment to study code smell detection through machine learning techniques. The experiment's purpose is to select rules, and/or obtain trained algorithms, that can classify an instance (method or class) as affected or not by a code smell. These rules have the main advantage of being extracted through an example-based approach, rather then a heuristic-based one.
引用
收藏
页码:288 / 289
页数:2
相关论文
共 7 条
[1]  
Abdou Nasir Ali, 2012, P 27 IEEE ACM INT C, P278
[2]  
Azadi Umberto, 2017, THESIS
[3]   Comparing and experimenting machine learning techniques for code smell detection [J].
Fontana, Francesca Arcelli ;
Mantyla, Mika V. ;
Zanoni, Marco ;
Marino, Alessandro .
EMPIRICAL SOFTWARE ENGINEERING, 2016, 21 (03) :1143-1191
[4]   Arcan: a Tool for Architectural Smells Detection [J].
Fontana, Francesca Arcelli ;
Pigazzini, Ilaria ;
Roveda, Riccardo ;
Tamburri, Damian ;
Zanoni, Marco ;
Di Nitto, Elisabetta .
2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE WORKSHOPS (ICSAW), 2017, :282-285
[5]  
Fontana FA, 2015, 2015 IEEE 7TH INTERNATIONAL WORKSHOP ON MANAGING TECHNICAL DEBT (MTD) PROCEEDINGS, P16, DOI 10.1109/MTD.2015.7332620
[6]  
Fowler M., 1999, Refactoring: Improving the design of existing code
[7]   BDTEX: A GQM-based Bayesian approach for the detection of antipatterns [J].
Khomh, Foutse ;
Vaucher, Stephane ;
Gueheneuc, Yann-Gael ;
Sahraoui, Houari .
JOURNAL OF SYSTEMS AND SOFTWARE, 2011, 84 (04) :559-572