Saved in:
Bibliographic Details
Main Authors: Gupta, Ruchin, Singh, Sandeep Kumar
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2504.18469
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916707619045376
author Gupta, Ruchin
Singh, Sandeep Kumar
author_facet Gupta, Ruchin
Singh, Sandeep Kumar
contents Code smells are indicators of potential design flaws in source code and do not appear alone but in combination with other smells, creating complex interactions. While existing literature classifies these smell interactions into collocated, coupled, and inter-smell relations, however, to the best of our knowledge, no research has used the existing knowledge of code smells and (or) their relationships with other code smells in the detection of code smells. This gap highlights the need for deeper investigation into how code smells interact with each other and assist in their detection. This would improve the overall comprehension of code smells and how they interact more effectively. This study presents a novel taxonomy and a proposed classification scheme for the possible code smell interactions considering a specific programming language as a domain. This paper has dealt with one scenario called Inter smell detection within the domain. The experiments have been carried out using several popular machine learning (ML) models. Results primarily show the presence of code smell interactions namely Inter-smell Detection within domain. These results are compatible with the available facts in the literature suggesting a promising direction for future research in code smell detection.
format Preprint
id arxiv_https___arxiv_org_abs_2504_18469
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle A Novel Taxonomy and Classification Scheme for Code Smell Interactions
Gupta, Ruchin
Singh, Sandeep Kumar
Software Engineering
Code smells are indicators of potential design flaws in source code and do not appear alone but in combination with other smells, creating complex interactions. While existing literature classifies these smell interactions into collocated, coupled, and inter-smell relations, however, to the best of our knowledge, no research has used the existing knowledge of code smells and (or) their relationships with other code smells in the detection of code smells. This gap highlights the need for deeper investigation into how code smells interact with each other and assist in their detection. This would improve the overall comprehension of code smells and how they interact more effectively. This study presents a novel taxonomy and a proposed classification scheme for the possible code smell interactions considering a specific programming language as a domain. This paper has dealt with one scenario called Inter smell detection within the domain. The experiments have been carried out using several popular machine learning (ML) models. Results primarily show the presence of code smell interactions namely Inter-smell Detection within domain. These results are compatible with the available facts in the literature suggesting a promising direction for future research in code smell detection.
title A Novel Taxonomy and Classification Scheme for Code Smell Interactions
topic Software Engineering
url https://arxiv.org/abs/2504.18469