Skip to main navigation Skip to search Skip to main content

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

  • Windi Eka Yulia Retnani*
  • , Daniel Siahaan
  • , Saiful Bukhori
  • , Tio Dharmawan
  • , Johar Bayu
  • *Corresponding author for this work
  • Institut Teknologi Sepuluh Nopember
  • University of Jember

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

3 Citations (Scopus)

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%.

Original languageEnglish
Title of host publicationICEECIT 2024 - Proceedings
Subtitle of host publication2nd International Conference on Electrical Engineering, Computer and Information Technology 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages354-359
Number of pages6
ISBN (Electronic)9798331504373
DOIs
Publication statusPublished - 2024
Event2nd IEEE International Conference on Electrical Engineering, Computer and Information Technology, ICEECIT 2024 - Jember, Indonesia
Duration: 22 Nov 202423 Nov 2024

Publication series

NameICEECIT 2024 - Proceedings: 2nd International Conference on Electrical Engineering, Computer and Information Technology 2024

Conference

Conference2nd IEEE International Conference on Electrical Engineering, Computer and Information Technology, ICEECIT 2024
Country/TerritoryIndonesia
CityJember
Period22/11/2423/11/24

Keywords

  • Code Smell
  • Large Class
  • Long Methode
  • Machine Learning
  • Python

Fingerprint

Dive into the research topics of 'Enhancing Code Smell Detection Performance in Python Programming Language: A Comparative Study'. Together they form a unique fingerprint.

Cite this