2007
DOI: 10.1109/wcre.2007.15
|View full text |Cite
|
Sign up to set email alerts
|

Clone Detection via Structural Abstraction

Abstract: This paper describes the design, implementation, and application of a new algorithm to detect cloned code. It operates on the abstract syntax trees formed by many compilers as an intermediate representation. It extends prior work by identifying clones even when arbitrary subtrees have been changed. On a 440,000-line code corpus, 20-50% of the clones it detected were missed by previous methods. The method also identifies cloning in declarations, so it is somewhat more general than conventional procedural abstra… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1

Citation Types

1
37
0

Year Published

2008
2008
2020
2020

Publication Types

Select...
4
2

Relationship

0
6

Authors

Journals

citations
Cited by 39 publications
(38 citation statements)
references
References 25 publications
1
37
0
Order By: Relevance
“…In the present paper anti-unifiers are built in top-down manner by enlarging clusters and generalizing their anti-unifiers. It is difficult to compare the method of finding patterns, proposed in [4] and the method of building clusters from the current paper. But the anti-unification based approach is more flexible, because it is based on general notions such as distance between two statements and an "average value" of a set of statements.…”
Section: Comparison With Existing Approachesmentioning
confidence: 99%
See 4 more Smart Citations
“…In the present paper anti-unifiers are built in top-down manner by enlarging clusters and generalizing their anti-unifiers. It is difficult to compare the method of finding patterns, proposed in [4] and the method of building clusters from the current paper. But the anti-unification based approach is more flexible, because it is based on general notions such as distance between two statements and an "average value" of a set of statements.…”
Section: Comparison With Existing Approachesmentioning
confidence: 99%
“…We follow the approach of [4] using the notion of d-cap. The d-cap of a tree is obtained by replacing all subtrees of the level d and all leaves by placeholders.…”
Section: A Partitioning Similar Statements Into Clustersmentioning
confidence: 99%
See 3 more Smart Citations