arrow
Return

LVMapper: A Large-Variance Clone Detector Using Sequencing Alignment Approach

delete2020-01-01
delete20
delete
OA
AI
M
Ming Wu
王朋成 cover
王朋成 (Pengcheng Wang)
K
Kangqi Yin
H
Haoyu Cheng
Y
Yun Xu *
C
Chanchal K. Roy
DOI:10.1109/ACCESS.2020.2971545delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
To detect large-variance code clones (i.e. clones with many modifications) in large-scale code repositories is difficult because most current tools can only detect almost identical or very similar clones. It has an important impact on downstream software applications such as bug detection, code completion, software analysis, etc. Recently, CCAligner made an attempt to detect the code clones with insertions or deletions in one place, which were called large-gap clones. Our contribution is to develop a novel and effective detection approach of large-variance clones to more general cases for not only the concentrated code modifications but also the scattered code modifications. A detector named LVMapper is proposed, borrowing and changing the approach of sequencing alignment in bioinformatics which can find two similar sequences with more differences. The ability of LVMapper was tested on 8 open source projects datasets, and the results show that LVMapper detected more than 5 times of large-variance clones compared with other state-of-the-art tools including CCAligner. Furthermore, our new tool also presents comparable recall for general Type-1, Type-2 and Type-3 clones with precision of 88.5% on the widely used benchmarking dataset BigCloneBench.
Keywords:
Clone detection
large-variance clone
dynamic threshold
sequencing 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

U
University of Saskatchewan
Scholars:
1.5W
Papers: 1.4W
Citations: 1.7W
C
chinese academy of sciences
Scholars:
56.2W
Papers: 44.8W
Citations: 704