Enhancing Code Smell Detection Performance in Python Programming Language : A Comparative Study

Code smell is one of the problems in programming which indicates that a problem has occurred, where there is something less than ideal in the code even though the code can run well. This research conducted a comparative study of the performance of Decision Tree, Random Forest, the use of the AdaBoost, CatBoost, XGBoost ensemble, and the use of SMOTEENN preprocessing to improve code smell detection in the Python programming language. Overall, the Decision Tree Pruning model hybrid with Adaboost and SMOTEEN produces the highest accuracy of 98.69% and MCC of 97.40%. Meanwhile, on the Long Method dataset, the XGBoost model with the SMOTEENN application produces the highest accuracy of 99.69% and MCC of 99.38%.

Authors

Institutions

Publication Details

Published
2024-11-22
DOI
https://doi.org/10.1109/iceecit63698.2024.10859904
Citations
1
Primary Topic
Computational Physics and Python Applications
Type
article
Field-Weighted Citation Impact
0.35
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Code Smell Detection Performance in Python Programming Language : A Comparative Study

Saiful Bukhori, Daniel Siahaan, Tio Dharmawan, Windi Eka Yulia Retnani et al.
1 citations
Computational Physics and Python Applications
0.35
article

Enhancing Code Smell Detection Performance in Python Programming Language : A Comparative Study

Saiful Bukhori, Daniel Siahaan, Tio Dharmawan, Windi Eka Yulia Retnani, Johar Bayu
article en
1 citations

Abstract

Code smell is one of the problems in programming which indicates that a problem has occurred, where there is something less than ideal in the code even though the code can run well. This research conducted a comparative study of the performance of Decision Tree, Random Forest, the use of the AdaBoost, CatBoost, XGBoost ensemble, and the use of SMOTEENN preprocessing to improve code smell detection in the Python programming language. Overall, the Decision Tree Pruning model hybrid with Adaboost and SMOTEEN produces the highest accuracy of 98.69% and MCC of 97.40%. Meanwhile, on the Long Method dataset, the XGBoost model with the SMOTEENN application produces the highest accuracy of 99.69% and MCC of 99.38%.

Sepuluh Nopember Institute of Technology (ID), Universitas Jember (ID)
Openalex Percentile: Top 29%
Computational Physics and Python Applications
0.35
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.