IJMEMES logo

International Journal of Mathematical, Engineering and Management Sciences

ISSN: 2455-7749 . Open Access


Study of Code Smells: A Review and Research Agenda

Study of Code Smells: A Review and Research Agenda

Stuti Tandon
Amity Institute of Information Technology, Amity University, Noida, Uttar Pradesh, India.

Vijay Kumar
Department of Mathematics, Amity Institute of Applied Sciences, Amity University, Noida, Uttar Pradesh, India.

V. B. Singh
School of Computer and Systems Sciences, Jawaharlal Nehru University, New Delhi, India.

DOI https://doi.org/10.33889/IJMEMS.2024.9.3.025

Received on August 29, 2023
  ;
Accepted on March 06, 2024

Abstract

Code Smells have been detected, predicted and studied by researchers from several perspectives. This literature review is conducted to understand tools and algorithms used to detect and analyze code smells to summarize research agenda. 114 studies have been selected from 2009 to 2022 to conduct this review. The studies are deeply analyzed under the categorization of machine learning and non-machine learning, which are found to be 25 and 89 respectively. The studies are analyzed to gain insight into algorithms, tools and limitations of the techniques. Long Method, Feature Envy, and Duplicate Code are reported to be the most popular smells. 38% of the studies focused their research on the enhancement of tools and methods. Random Forest and JRip algorithms are found to give the best results under machine learning techniques. We extended the previous studies on code smell detection tools, reporting a total 87 tools during the review. Java is found to be the dominant programming language during the study of smells.

Keywords- Code smells, Machine learning, Non- machine learning, Datasets, Detection tool.

Citation

Tandon, S., Kumar, V., & Singh, V. B. (2024). Study of Code Smells: A Review and Research Agenda. International Journal of Mathematical, Engineering and Management Sciences, 9(3), 472-498. https://doi.org/10.33889/IJMEMS.2024.9.3.025.