arrow
Return

A Large-Gap Clone Detection Approach Using Sequence Alignment via Dynamic Parameter Optimization

delete2019-01-01
delete10
delete
OA
AI
J
Jinze Liu
T
Tao Wang *
C
Chenhui Feng
H
Huaimin Wang
D
Dongsheng Li
DOI:10.1109/ACCESS.2019.2940710delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

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.
Keywords:
Code clone detection
dynamic parameter acquisition strategy
large-gap clone
sequence alignment
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

IEEE Access cover
IEEE Access
IF:
3.6
Papers:
9.8W
Citations:
29.4W

Organization

N
national university of defense technology - china
Scholars:
1.8W
Papers: 1.4W
Citations: 9
Cited Papers

Cited Papers

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
errShare
errSave
Lys63/Met1-hybrid ubiquitin chains are commonly formed during the activation of innate immune signalling
err2016-06-01
err0
errOAAI
errChristoph H. Emmerich; Siddharth Bakshi; Ian R. Kelsall; Juanma Ortiz-Guerrero; Natalia Shpiro; Philip Cohen
errShare
errSave
Characterization of polymer matrix and low melting point solder for anisotropic conductive film
err2008-02-01
err0
PREAI
errYong-Sung Eom; Ji-Won Baek; Jong-Tae Moon; Jae-Do Nam; Jong-Min Kim
errShare
errSave
BEHAVIORAL MOMENTUM IN COLLEGE BASKETBALL
err2013-02-27
err0
errOAAI
errF. Charles Mace; Joseph S. Lalli; Michael C. Shea; John A. Nevin
errShare
errSave
Controls on Sediment Suspension, Flux, and Marsh Deposition near a Bay-Marsh Boundary
err2018-10-24
err0
PREAI
errMelissa S. Duvall; Patricia L. Wiberg; Matthew L. Kirwan
errShare
errSave
Pulmonary endarterectomy for the treatment of chronic thromboembolic pulmonary hypertension
err2016-05-03
err0
PREAI
errStefan Guth; Christoph B. Wiedenroth; Thorsten Kramm; Eckhard Mayer
errShare
errSave
researcher View more