Vis enkel innførsel

dc.contributor.authorRao, Rajwant Singh
dc.contributor.authorDewangan, Seema
dc.contributor.authorMishra, Alok
dc.contributor.authorGupta, Manjari
dc.date.accessioned2023-11-09T09:55:28Z
dc.date.available2023-11-09T09:55:28Z
dc.date.created2023-09-24T20:56:31Z
dc.date.issued2023
dc.identifier.issn2045-2322
dc.identifier.urihttps://hdl.handle.net/11250/3101596
dc.description.abstractDetecting code smells may be highly helpful for reducing maintenance costs and raising source code quality. Code smells facilitate developers or researchers to understand several types of design flaws. Code smells with high severity can cause significant problems for the software and may cause challenges for the system's maintainability. It is quite essential to assess the severity of the code smells detected in software, as it prioritizes refactoring efforts. The class imbalance problem also further enhances the difficulties in code smell severity detection. In this study, four code smell severity datasets (Data class, God class, Feature envy, and Long method) are selected to detect code smell severity. In this work, an effort is made to address the issue of class imbalance, for which, the Synthetic Minority Oversampling Technique (SMOTE) class balancing technique is applied. Each dataset's relevant features are chosen using a feature selection technique based on principal component analysis. The severity of code smells is determined using five machine learning techniques: K-nearest neighbor, Random forest, Decision tree, Multi-layer Perceptron, and Logistic Regression. This study obtained the 0.99 severity accuracy score with the Random forest and Decision tree approach with the Long method code smell. The model's performance is compared based on its accuracy and three other performance measurements (Precision, Recall, and F-measure) to estimate severity classification models. The impact of performance is also compared and presented with and without applying SMOTE. The results obtained in the study are promising and can be beneficial for paving the way for further studies in this area.en_US
dc.language.isoengen_US
dc.publisherSpringer Nature Ltd.en_US
dc.relation.urihttps://rdcu.be/dnajm
dc.rightsNavngivelse 4.0 Internasjonal*
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/deed.no*
dc.titleA study of dealing class imbalance problem with machine learning methods for code smell severity detection using PCA-based feature selection techniqueen_US
dc.title.alternativeA study of dealing class imbalance problem with machine learning methods for code smell severity detection using PCA-based feature selection techniqueen_US
dc.typePeer revieweden_US
dc.typeJournal articleen_US
dc.description.versionpublishedVersionen_US
dc.source.pagenumber1-18en_US
dc.source.volume13en_US
dc.source.journalScientific Reportsen_US
dc.identifier.doi10.1038/s41598-023-43380-8
dc.identifier.cristin2178359
dc.source.articlenumber16245en_US
cristin.ispublishedfalse
cristin.fulltextoriginal
cristin.fulltextoriginal
cristin.qualitycode1


Tilhørende fil(er)

Thumbnail

Denne innførselen finnes i følgende samling(er)

Vis enkel innførsel

Navngivelse 4.0 Internasjonal
Med mindre annet er angitt, så er denne innførselen lisensiert som Navngivelse 4.0 Internasjonal