Sie befinden Sich nicht im Netzwerk der Universität Paderborn. Der Zugriff auf elektronische Ressourcen ist gegebenenfalls nur via VPN oder Shibboleth (DFN-AAI) möglich. mehr Informationen...
Ergebnis 2 von 100
Empirical software engineering : an international journal, 2016-06, Vol.21 (3), p.1143-1191
2016

Details

Autor(en) / Beteiligte
Titel
Comparing and experimenting machine learning techniques for code smell detection
Ist Teil von
  • Empirical software engineering : an international journal, 2016-06, Vol.21 (3), p.1143-1191
Ort / Verlag
New York: Springer US
Erscheinungsjahr
2016
Link zum Volltext
Quelle
Alma/SFX Local Collection
Beschreibungen/Notizen
  • Several code smell detection tools have been developed providing different results, because smells can be subjectively interpreted, and hence detected, in different ways. In this paper, we perform the largest experiment of applying machine learning algorithms to code smells to the best of our knowledge. We experiment 16 different machine-learning algorithms on four code smells (Data Class, Large Class, Feature Envy, Long Method) and 74 software systems, with 1986 manually validated code smell samples. We found that all algorithms achieved high performances in the cross-validation data set, yet the highest performances were obtained by J48 and Random Forest, while the worst performance were achieved by support vector machines. However, the lower prevalence of code smells, i.e., imbalanced data, in the entire data set caused varying performances that need to be addressed in the future studies. We conclude that the application of machine learning to the detection of these code smells can provide high accuracy (>96 %), and only a hundred training examples are needed to reach at least 95 % accuracy.
Sprache
Englisch
Identifikatoren
ISSN: 1382-3256
eISSN: 1573-7616
DOI: 10.1007/s10664-015-9378-4
Titel-ID: cdi_proquest_miscellaneous_1835579391

Weiterführende Literatur

Empfehlungen zum selben Thema automatisch vorgeschlagen von bX