{'fraction_non_alphanumeric': 0.02288620470438652, 'fraction_numerical': 0.0025429116338207248, 'mean_word_length': 5.030651340996169, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Review on Machine-learning Based Code Smell Detection Techniques in Object-oriented Software System(s)



Code smells are symptoms that something may be wrong in software systems
that can cause complications in maintaining software quality. In literature, there exist many
code smells and their identification is far from trivial. Thus, several techniques have also been proposed
to automate code smell detection in order to improve software quality.



This paper presents an up-to-date review of simple and hybrid machine learning-based
code smell detection techniques and tools.



We collected all the relevant research published in this field till 2020. We extracted the
data from those articles and classified them into two major categories. In addition, we compared the
selected studies based on several aspects like code smells, machine learning techniques, datasets,
programming languages used by datasets, dataset size, evaluation approach, and statistical testing.



A majority of empirical studies have proposed machine-learning based code smell detection
tools. Support vector machine and decision tree algorithms are frequently used by the researchers.
Along with this, a major proportion of research is conducted on Open Source Softwares (OSS)
such as Xerces, Gantt Project and ArgoUml. Furthermore, researchers pay more attention to Feature
Envy and Long Method code smells.



 We identified several areas of open research like the need for code smell detection
techniques using hybrid approaches, the need for employing valid industrial datasets, etc.
