Discovering smell relations between temporary field and design smells: an empirical analysis

Publication typeJournal Article
Publication date2025-02-05
scimago Q3
wos Q4
SJR0.371
CiteScore4.7
Impact factor1.1
ISSN16145046, 16145054
Abstract
Code smells have an adverse impact on the quality of source code. Martin Fowler initially identified a set of 22 code smells. Since the term "code smell", there have been multiple attempts to understand them through their detection and to discover relationships between them using correlation and other approaches. The literature demonstrates multiple studies in which code smells have been found to exhibit relationships with other code smells. Nevertheless, the temporary field is one of the 22 code smells that has not been analysed to determine its relationship with other code smells. It is important to consider temporary field, as it has a detrimental impact on the maintainability of the source code. The study has conducted a review of the 7 smell relations identified by Pietrzak and Walter and proposed 3 new smell relations. It has evaluated these smell relations between temporary field and 17 design smells in 10 popular open-source Java applications that are widely cited in the literature and publicly accessible. The study has also done a correlation analysis of temporary field with 17 design smells. All code smells in the study were detected using an open-source tool called "TFfinder". The study reveals 18 significant smell relations between temporary field and design smells. Utilization of smell relations can facilitate an in-depth comprehension of code smells and aid in the prioritization of code smells for refactoring purposes. In addition, it can assist a developer in identifying classes that need more maintenance effort and impact the maintainability of the code.
Found 

Are you a researcher?

Create a profile to get free access to personal recommendations for colleagues and new articles.
Metrics
0
Share
Cite this
GOST |
Cite this
GOST Copy
Gupta R. Discovering smell relations between temporary field and design smells: an empirical analysis // Innovations in Systems and Software Engineering. 2025.
GOST all authors (up to 50) Copy
Gupta R. Discovering smell relations between temporary field and design smells: an empirical analysis // Innovations in Systems and Software Engineering. 2025.
RIS |
Cite this
RIS Copy
TY - JOUR
DO - 10.1007/s11334-025-00595-4
UR - https://link.springer.com/10.1007/s11334-025-00595-4
TI - Discovering smell relations between temporary field and design smells: an empirical analysis
T2 - Innovations in Systems and Software Engineering
AU - Gupta, Ruchin
PY - 2025
DA - 2025/02/05
PB - Springer Nature
SN - 1614-5046
SN - 1614-5054
ER -
BibTex
Cite this
BibTex (up to 50 authors) Copy
@article{2025_Gupta,
author = {Ruchin Gupta},
title = {Discovering smell relations between temporary field and design smells: an empirical analysis},
journal = {Innovations in Systems and Software Engineering},
year = {2025},
publisher = {Springer Nature},
month = {feb},
url = {https://link.springer.com/10.1007/s11334-025-00595-4},
doi = {10.1007/s11334-025-00595-4}
}