Vis enkel innførsel

dc.contributor.authorDewangan, Seema
dc.contributor.authorRao, Rajwant Singh
dc.contributor.authorMishra, Alok
dc.contributor.authorGupta, Manjari
dc.date.accessioned2023-10-26T11:25:51Z
dc.date.available2023-10-26T11:25:51Z
dc.date.created2021-12-17T12:29:01Z
dc.date.issued2021
dc.identifier.citationIEEE Access. 2021, 9, 162869-162883.en_US
dc.identifier.issn2169-3536
dc.identifier.urihttps://hdl.handle.net/11250/3098935
dc.description.abstractCode smells detection helps in improving understandability and maintainability of software while reducing the chances of system failure. In this study, six machine learning algorithms have been applied to predict code smells. For this purpose, four code smell datasets (God-class, Data-class, Feature-envy, and Long-method) are considered which are generated from 74 open-source systems. To evaluate the performance of machine learning algorithms on these code smell datasets, 10-fold cross validation technique is applied that predicts the model by partitioning the original dataset into a training set to train the model and test set to evaluate it. Two feature selection techniques are applied to enhance our prediction accuracy. The Chi-squared and Wrapper-based feature selection techniques are used to improve the accuracy of total six machine learning methods by choosing the top metrics in each dataset. Results obtained by applying these two feature selection techniques are compared. To improve the accuracy of these algorithms, grid search-based parameter optimization technique is applied. In this study, 100% accuracy was obtained for the Long-method dataset by using the Logistic Regression algorithm with all features while the worst performance 95.20 % was obtained by Naive Bayes algorithm for the Long-method dataset using the chi-square feature selection technique.en_US
dc.language.isoengen_US
dc.relation.urihttps://doi.org/10.1109/ACCESS.2021.3133810
dc.rightsNavngivelse 4.0 Internasjonal*
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/deed.no*
dc.titleA novel approach for code smell detection : an empirical studyen_US
dc.typePeer revieweden_US
dc.typeJournal articleen_US
dc.description.versionpublishedVersionen_US
dc.source.pagenumber162869-162883en_US
dc.source.volume9en_US
dc.source.journalIEEE Accessen_US
dc.identifier.doi10.1109/ACCESS.2021.3133810
dc.identifier.cristin1969915
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