arrow
返回

An Effective Semantic Code Clone Detection Framework Using Pairwise Feature Fusion

delete2021-01-01
delete10
delete
OA
AI
A
Abdullah Sheneamer *
S
Swarup Roy *
J
Jugal Kalita
DOI:10.1109/ACCESS.2021.3079156delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Code clones. In this work, we propose a novel detection framework using machine learning for automated detection of all four type of clones. The features extracted from a pair of code blocks are combined for possible detection of a clone with respect to a reference block. We use AST and PDG features of both code blocks to prepare labelled training samples after fusing the two feature vectors using three different alternatives. We use six state-of-the-art classification models including Deep Convolutional Neural Network to assess the prediction performance of our scheme. To access the effectiveness of our framework we use seven datasets and compare its performance with five state-of-the-art clone detectors. We also compare a large number of algorithms for code clone detection. Comparing the performance of a large number of machine learning techniques, ANN and non-ANN, using such features, and establishing that fusing of AST and PDG features gives competitive results using deep learning as well as boosted tree algorithms, we find that boosted tree algorithms like XGBoost are quite competitive in clone detection. Experimental results demonstrate that our approach outperforms existing clone detection methods in terms of prediction accuracy.
Keyword:
Cloning
Semantics
Feature extraction
Task analysis
Syntactics
Machine learning algorithms
Prediction algorithms
Machine learning
code clones
semantic clones
AST
PDG
features
deep learning
classification
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
10.1W
被引数:
36.3W

机构

University of Colorado System 封面图
University of Colorado System
学者数:
6.3W
论文数: 5.5W
被引数: 8.5W
J
jazan university
学者数:
481
论文数: 266
被引数: 2.9K
S
Sikkim University
学者数:
31
论文数: 20
被引数: 160
学者 查看更多机构
引用论文

引用论文

Cáncer de mama bilateral y síndrome de Peutz-Jeghers
err2013-03-01
err0
PREAI
errMiguel Ángel Lorenzo Liñán; Miguel Lorenzo Campos; Jacob Motos Micó; Carolina Martínez Pérez; Verónica Gumbau Puchol
err分享
err收藏
Sustainability of the community-based ecotourism development in the Aksu-Zhabagly nature reserve, Kazakhstan
err2022-03-07
err0
errOAAI
errImanaly Akbar; Sergeyeva Aigul Maksatovna; Myrzaliyeva Zabira Kazbekkyzy; Tazhekova Akmaral Zhaksybekkyzy; Saulembaev Altynbai Tagabayevich; Mominov Serik Abdukarimovich
err分享
err收藏
The Seattle Structural Genomics Center for Infectious Disease (SSGCID)
err2009-10-01
err0
errOAAI
errP. Myler; R. Stacy; L. Stewart; B. Staker; W. Van Voorhis; G. Varani; G. Buchko
err分享
err收藏
A Fast Feature Fusion Algorithm in Image Classification for Cyber Physical Systems
err2017-01-01
err15
errOAAI
errWang, Yu; Song, Bin; Zhang, Peng; Xin, Ning; Cao, Guixing
err分享
err收藏
学者 查看更多内容