arrow
Return

Classification model for code clones based on machine learning

delete2014-05-29
delete33
delete
OA
AI
杨嘉琛 cover
杨嘉琛 (Jiachen Yang) *
K
Keisuke Hotta
Y
Yoshiki Higo
I
Igaki, Hiroshi
S
Shinji Kusumoto
DOI:10.1007/s10664-014-9316-xdelete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Results from code clone detectors may contain plentiful useless code clones, but judging whether each code clone is useful varies from user to user based on a user's purpose for the clone. In this research, we propose a classification model that applies machine learning to the judgments of each individual user regarding the code clones. To evaluate the proposed model, 32 participants completed an online survey to test its usability and accuracy. The result showed several important observations on the characteristics of the true positives of code clones for the users. Our classification model showed more than 70% accuracy on average and more than 90 % accuracy for some particular users and projects.
Keywords:
Filtering
Classify
Machine learning
Code clone detector

Journal

Empirical Software Engineering cover
Empirical Software Engineering
IF:
3.6
Papers:
2.0K
Citations:
5.3K

Organization

T
the university of osaka
Scholars:
2.8W
Papers: 1.8W
Citations: 6