Vis enkel innførsel

dc.contributor.authorDewangan, Seema
dc.contributor.authorRao, Rajwant Singh
dc.contributor.authorMishra, Alok
dc.contributor.authorGupta, Manjari
dc.date.accessioned2024-03-20T12:47:10Z
dc.date.available2024-03-20T12:47:10Z
dc.date.created2022-10-18T08:33:10Z
dc.date.issued2022
dc.identifier.citationApplied Sciences. 2022, 12 (20), 10321.en_US
dc.identifier.issn2076-3417
dc.identifier.urihttps://hdl.handle.net/11250/3123409
dc.description.abstractCode smells are the result of not following software engineering principles during software development, especially in the design and coding phase. It leads to low maintainability. To evaluate the quality of software and its maintainability, code smell detection can be helpful. Many machine learning algorithms are being used to detect code smells. In this study, we applied five ensemble machine learning and two deep learning algorithms to detect code smells. Four code smell datasets were analyzed: the Data class, the God class, the Feature-envy, and the Long-method datasets. In previous works, machine learning and stacking ensemble learning algorithms were applied to this dataset and the results found were acceptable, but there is scope of improvement. A class balancing technique (SMOTE) was applied to handle the class imbalance problem in the datasets. The Chi-square feature extraction technique was applied to select the more relevant features in each dataset. All five algorithms obtained the highest accuracy—100% for the Long-method dataset with the different selected sets of metrics, and the poorest accuracy, 91.45%, was achieved by the Max voting method for the Feature-envy dataset for the selected twelve sets of metrics. Keywords: code smell, code smell detection, ensemble method, deep learning, Chi-square feature extraction technique, SMOTE class balancing techniqueen_US
dc.language.isoengen_US
dc.relation.urihttps://doi.org/10.3390/app122010321
dc.rightsNavngivelse 4.0 Internasjonal*
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/deed.no*
dc.titleCode smell detection using ensemble machine learning algorithmsen_US
dc.typePeer revieweden_US
dc.typeJournal articleen_US
dc.description.versionpublishedVersionen_US
dc.source.volume12en_US
dc.source.journalApplied Sciencesen_US
dc.source.issue20en_US
dc.identifier.doi10.3390/app122010321
dc.identifier.cristin2062261
dc.source.articlenumber10321en_US
cristin.ispublishedtrue
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