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
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
A machine learning based framework for code clone validation
err2020-11-01
err10
errOAAI
errMostaeen, Golam; Roy, Banani; Roy, Chanchal K.; Schneider, Kevin; Svajlenko, Jeffrey
errShare
errSave
Challenging Machine Learning-Based Clone Detectors via Semantic-Preserving Code Transformations
err2023-05-01
err8
errOAAI
errZhang, Weiwei; Guo, Shengjian; Zhang, Hongyu; Sui, Yulei; Xue, Yinxing; Xu, Yun
errShare
errSave
Machine Learning Based Embedded Code Multi-Label Classification
err2021-01-01
err6
errOAAI
errZhou, Yu; Cui, Suxia; Wang, Yonghui
errShare
errSave
Eler: Ensemble Learning-Based Automated Verification of Code Clones
err2026-03-01
err0
PREAI
errDou, Shihan; Hu, Yutao; Feng, Siyue; Wu, Yueming; Zou, Deqing
errShare
errSave
Code clone classification based on multi-dimension feature entropy
err2025-12-01
err0
PREAI
errHu, Bin; Zheng, Lizhi; Yu, Dongjin; Wu, Yijian; Chen, Jie; Hu, Tianyi
errShare
errSave
Clones in deep learning code: what, where, and why?
err2022-04-08
err4
PREAI
errJebnoun, Hadhemi; Rahman, Md Saidur; Khomh, Foutse; Muse, Biruk Asmare
errShare
errSave

Journal

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

Organization

T
The University of Osaka
Scholars:
1.4K
Papers: 460
Citations: 5.2K
Cited Papers

Cited Papers

err
IF0
err
err0
PREAI
err
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
Comparison and evaluation of clone detection tools
err2007-09-01
err510
errOAAI
errBellon, Stefan; Koschke, Rainer; Antoniol, Giuliano; Krinke, Jens; Merlo, Ettore
errShare
errSave
Semantic clustering: Identifying topics in source code
err2007-03-01
err343
PREAI
errKuhn, Adrian; Ducasse, Stephane; Girba, Tudor
errShare
errSave
Kinetic Analysis of Food Systems
err
IF0
err2017-01-01
err0
PREAI
errAlejandro G. Marangoni
errShare
errSave
researcher View more