返回
Classification model for code clones based on machine learning
DOI:10.1007/s10664-014-9316-x.png)
摘要
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.
Keyword:
Filtering
Classify
Machine learning
Code clone detector
期刊
IF:
3.6
论文数:
2.0K
被引数:
5.3K
机构
引用论文
CP-Miner: Finding copy-paste and related bugs in large-scale software codeCp-miner: 在大规模软件代码中查找复制粘贴和相关错误
Synthesizing Data Using Variational Autoencoders for Handling Class Imbalanced Deep Learning使用变分自编码器合成数据以处理类不平衡深度学习

