返回
A Large-Gap Clone Detection Approach Using Sequence Alignment via Dynamic Parameter Optimization
DOI:10.1109/ACCESS.2019.2940710.png)
摘要
En 中文
Large-gap clones, a kind of clones that reuses code with many edits, are very common in software development practice and widespread in software systems. The detection of such clones is very crucial. However, due to a large number of edits, most of the current work fails to detect such clones effectively. This paper aims to find an effective approach for accurate detection of large-gap clones. We transform the code clone detection problem into a biological sequence alignment question and propose a novel approach that combines code fingerprint with sequence alignment. The sequence alignment is Smith-Waterman algorithm based, but shows significant improvements using dynamic parameter acquisition strategy. Furthermore, we design new rational criteria for clone identification. The proposed approach is automatically evaluated extensively by more than 10 million lines of code for general clones detection. We further conduct an empirical study on five large-scale Java projects to manually measure the approach for large-gap clones detection. The experimental results show that the proposed approach can effectively detect large-gap clones and exhibit good performance, and at the same time remains the competitiveness with existing advanced detection tools in detecting general clone detection.
Keyword:
Code clone detection
dynamic parameter acquisition strategy
large-gap clone
sequence alignment
AI总结
对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。
期刊
IF:
3.6
论文数:
10.1W
被引数:
36.3W
机构
引用论文
Sustainability of the community-based ecotourism development in the Aksu-Zhabagly nature reserve, Kazakhstan
REGION
IF0
Lys63/Met1-hybrid ubiquitin chains are commonly formed during the activation of innate immune signallingLys63/Met1-hybrid泛素链通常在先天免疫信号激活过程中形成
Characterization of polymer matrix and low melting point solder for anisotropic conductive film各向异性导电膜用聚合物基体及低熔点焊料的表征
Harvest Indices, Storability, and Poststorage Refrigeration Requirement of `Sunrise' Apple
HortScience
IF0
Controls on Sediment Suspension, Flux, and Marsh Deposition near a Bay-Marsh Boundary控制海湾-沼泽边界附近的沉积物悬浮,通量和沼泽沉积
CP-Miner: Finding copy-paste and related bugs in large-scale software codeCp-miner: 在大规模软件代码中查找复制粘贴和相关错误

