ICPC 2019
Sat 25 - Sun 26 May 2019 Montreal, QC, Canada
co-located with ICSE 2019
Sat 25 May 2019 14:40 - 15:00 at Laurier - Session III: Code cloning and smells Chair(s): Maleknaz Nayebi

Code smells represent poor implementation choices performed by developers when enhancing source code. Their negative impact on source code maintainability and comprehensibility has been widely shown in the past and several techniques to automatically detect them have been devised. Most of these techniques are based on heuristics, namely they compute a set of code metrics and combine them by creating detection rules; while they have a reasonable accuracy, a recent trend is represented by the use of machine learning where code metrics are used as predictors of the smelliness of code artefacts. Despite the recent advances in the field, there is still a noticeable lack of knowledge of whether machine learning can actually be more accurate than traditional heuristic-based approaches. To fill this gap, in this paper we propose a large-scale study to empirically compare the performance of heuristic-based and machine-learning-based techniques for metric-based code smell detection. We consider five code smell types and compare machine learning models with DECOR, a state-of-the-art heuristic-based approach. Key findings emphasize the need of further research aimed at improving the effectiveness of both machine learning and heuristic approaches for code smell detection: while DECOR generally achieves better performance than a machine learning baseline, its precision is still too low to make it usable in practice.

Sat 25 May

Displayed time zone: Eastern Time (US & Canada) change

14:00 - 15:30
Session III: Code cloning and smellsICPC 2019 Technical Research at Laurier
Chair(s): Maleknaz Nayebi Polytechnique Montréal
14:00
20m
Full-paper
Neural Detection of Semantic Code Clones via Tree-Based Convolution
ICPC 2019 Technical Research
Hao Yu Peking University, Wing Lam University of Illinois at Urbana-Champaign, Long Chen , Ge Li Peking University, Tao Xie University of Illinois at Urbana-Champaign, Qianxiang Wang
14:20
20m
Full-paper
Comparing Bug Replication in Regular and Micro Code Clones
ICPC 2019 Technical Research
Judith Islam University of Saskatchewan, Manishankar Mondal Assistant Professor, Khulna University, Chanchal K. Roy University of Saskatchewan, Kevin Schneider University of Saskatchewan
14:40
20m
Full-paper
Comparing Machine Learning and Heuristic Approaches for Metric-Based Code Smell Detection
ICPC 2019 Technical Research
Fabiano Pecorelli University of Salerno, Fabio Palomba University of Zurich, Dario Di Nucci Vrije Universiteit Brussel, Andrea De Lucia University of Salerno
Pre-print
15:00
20m
Full-paper
Enabling Clone Detection For Ethereum via Smart Contract Birthmarks
ICPC 2019 Technical Research
Han Liu Tsinghua University, Zhiqiang Yang Tsinghua University, Yu Jiang , Wenqi Zhao Ant Financial, Jiaguang Sun
15:20
10m
Short-paper
Prevalence of Bad Smells in PL/SQL Projects
ICPC 2019 Technical Research