• Home
  • Search
  • Code Smells Detection Using Artificial Intelligence Techniques: A Business-Driven Systematic Review
  • Cite Icon42
  • https://doi.org/10.1007/978-3-030-77916-0_12Copy DOI Icon

Code Smells Detection Using Artificial Intelligence Techniques: A Business-Driven Systematic Review

  • Aug 16, 2021
  • Tomasz Lewowski +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Context Code smells in the software systems are indications that usually correspond to deeper problems that can negatively influence software quality characteristics. This review is a part of a R&D project aiming to improve the existing codebeat platform that help developers to avoid code smells and deliver quality code. Objective This study aims to identify and investigate the current state of the art with respect to: (1) predictors used in prediction models to detect code smells, (2) machine learning/artificial intelligence (ML/AI) methods used in prediction models to detect code smells, (3) code smells analyzed in scientific literature. Our secondary objectives were to identify (4) data sets and projects used in research papers to predict code smells, (5) performance measures used to assess prediction models and (6) improvement ideas with regard to code smell detection using ML/AI. Method We conducted a systematic review using a database search in Scopus and evaluated it using the quasi-gold standard procedure to identify relevant studies. In the data sheet used to obtain data from publications we factor research questions into finer-grained ones, which are then answered on a per-publication basis. Those are then merged over a set of publications using an automated script to obtain answers to the posed research questions. Results We have identified 45 primary studies relevant to the primary objectives of this research. The results show the prediction capability of the ML/AI techniques for predicting code smells. Conclusion Only a few smells—Blob, Feature Envy, Long Method and Data Class—have received the vast majority of interest in research community. The usage of deep learning techniques is increasing. Most researchers still use source code metrics as predictors. Precision, recall and F-measure are the go-to performance metrics. There seems to be a need for modern reference data/projects sets that reflect modern constructs of programming languages. We identified various promising paths of research that have the potential to advance the state of the art in the area of code smells prediction.

Similar Papers
  • Research Article

A Systematic Review on Code Smell Detection Approaches in Open Source Projects

  • Apr 21, 2026
  • Software: Practice and Experience
  • Sawsan Alodibat +1
  • Book Chapter
  • Citations1

A Catalog of Source Code Metrics – A Tertiary Study

  • Jan 01, 2023
  • Umar Iftikhar +3
  • Addendum
  • Citations8

WITHDRAWN: Prioritization of code smells in object-oriented software: A review

  • Jan 01, 2021
  • Materials Today: Proceedings
  • Amandeep Kaur +3
  • Research Article

Optimizing LSTM for Code Smell Detection: The Role of Data Balancing

  • Jan 01, 2024
  • Infocommunications journal
  • Alnor Adam Khleel Nasraldeen +1
  • Book Chapter
  • Citations1

Examining the Bug Prediction Capabilities of Primitive Obsession Metrics

  • Jan 01, 2021
  • Edit Pengő
  • Conference Article
  • Citations15

Predicting software change-proneness with code smells and class imbalance learning

  • Sep 01, 2016
  • Arvinder Kaur +2
  • Research Article
  • Citations29

MARS: Detecting brain class/method code smell based on metric–attention mechanism and residual network

  • Nov 04, 2021
  • Journal of Software: Evolution and Process
  • Yang Zhang +1
  • Research Article
  • Citations89

Bad Smell Detection Using Machine Learning Techniques: A Systematic Literature Review

  • Jan 07, 2020
  • Arabian Journal for Science and Engineering
  • Ahmed Al-Shaaby +2
  • Research Article
  • Citations9

On the effectiveness of developer features in code smell prioritization: A replication study

  • Jan 08, 2024
  • Journal of Systems and Software
  • Zijie Huang +5
  • Conference Article
  • Citations8

Software Analytics in Practice

  • Jan 01, 2016
  • Behjat Soltanifar +5
  • Conference Article
  • Citations2

A Novel Approach for Improving the Quality of Software Code using Reverse Engineering

  • Jun 19, 2018
  • Hamza A Elghadhafi +2
  • Research Article

Editorial for the special issue on software refactoring: Application breadth and technical depth

  • Sep 18, 2024
  • Journal of Software: Evolution and Process
  • Zhenchang Xing
  • Conference Article
  • Citations3

TFfinder: A Software tool to discover Temporary Field code smell

  • Dec 18, 2020
  • Ruchin Gupta +1
  • Conference Article
  • Citations11

Application of genetic algorithm as feature selection technique in development of effective fault prediction model

  • Jan 01, 2016
  • Lov Kumar +1
  • Conference Article
  • Citations240

FLUCCS: using code and change metrics to improve fault localization

  • Jul 10, 2017
  • Jeongju Sohn +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.