arrow
返回

Detecting Java Code Clones Based on Bytecode Sequence Alignment

delete2019-01-01
delete13
delete
OA
AI
D
Dongjin Yu *
J
Jiazha Yang
陈欣 封面图
陈欣 (Xin Chen)
J
Jie Chen
DOI:10.1109/ACCESS.2019.2898411delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
When the source code is copied and pasted or modified, there will be a lot of identical or similar code snippets in the software system, which are called code clones. Because code clones are believed to result in undesirable maintainability of software, numerous approaches and techniques have been proposed for code clone detection. However, most of them are based on the source code, while only a few employ the bytecode to detect code clones. In this paper, we introduce an approach based on Java bytecode, which mainly contains the steps of bytecode sequence alignment and similarity score comparison. In particular, we apply the Smith-Waterman algorithm to align bytecode sequences for precise matching. Moreover, we separately consider the similarities between instruction sequences and method call sequences, thus improving its effectiveness in detecting code clones. We conducted an extensive experiment on five open-source software to evaluate the proposed approach. The results show that our approach outperforms other state-of-the-art techniques.
Keyword:
Code clones
code clone detection
Java bytecode
code sequence alignment
code similarities
instruction block
method call sequences
AI总结

AI总结

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

A Large-Gap Clone Detection Approach Using Sequence Alignment via Dynamic Parameter Optimization
err2019-01-01
err10
errOAAI
errLiu, Jinze; Wang, Tao; Feng, Chenhui; Wang, Huaimin; Li, Dongsheng
err分享
err收藏
A Systematic Review on Code Clone Detection代码克隆检测的系统综述
err2019-01-01
err84
errOAAI
errUl Ain, Qurat; Butt, Wasi Haider; Anwar, Muhammad Waseem; Azam, Farooque; Maqbool, Bilal
err分享
err收藏

期刊

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

机构

杭州电子科技大学 封面图
杭州电子科技大学
学者数:
2.0K
论文数: 654
被引数: 6.0K
引用论文

引用论文

err分享
err收藏
Comparison and evaluation of clone detection tools克隆检测工具的比较与评价
err2007-09-01
err510
errOAAI
errBellon, Stefan; Koschke, Rainer; Antoniol, Giuliano; Krinke, Jens; Merlo, Ettore
err分享
err收藏
学者 查看更多内容