Clone Detection Using Abstract Syntax Suffix Trees

Author(s):  
Rainer Koschke ◽  
Raimar Falke ◽  
Pierre Frenzel
2008 ◽  
Vol 13 (6) ◽  
pp. 601-643 ◽  
Author(s):  
Raimar Falke ◽  
Pierre Frenzel ◽  
Rainer Koschke

2021 ◽  
Vol 12 (3) ◽  
pp. 17-31
Author(s):  
Amandeep Kaur ◽  
Munish Saini

In the software system, the code snippets that are copied and pasted in the same software or another software result in cloning. The basic cause of cloning is either a programmer‘s constraint or language constraints. An increase in the maintenance cost of software is the major drawback of code clones. So, clone detection techniques are required to remove or refactor the code clone. Recent studies exhibit the abstract syntax tree (AST) captures the structural information of source code appropriately. Many researchers used tree-based convolution for identifying the clone, but this technique has certain drawbacks. Therefore, in this paper, the authors propose an approach that finds the semantic clone through square-based convolution by taking abstract syntax representation of source code. Experimental results show the effectiveness of the approach to the popular BigCloneBench benchmark.


Sign in / Sign up

Export Citation Format

Share Document