J4 ›› 2011, Vol. 33 ›› Issue (12): 78-83.
• 论文 • Previous Articles Next Articles
GUO Jing,WU Junhua
Received:
Revised:
Online:
Published:
Abstract:
The structural clone is a clone with a similar principle and thinking structure, which does not rigidly adhere to the order of statements and expressions. Program dependence graph can better reflect the program's internal relations, and the expression becomes more intuitive to understand. So we first detect the clone code based on the program dependence graph and the process using the program slicing techniques.Then we summarize the characteristics of the structural clone, quantify and generalize the characteristics of the program dependence graph to calculate the similarity. It is useful to get a better assessment of similarity and improve the rate of clone.
Key words: structural clone;program dependence graph;program slicing;similarity
GUO Jing,WU Junhua. A New Method of Detecting the Structural Clone[J]. J4, 2011, 33(12): 78-83.
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://joces.nudt.edu.cn/EN/
http://joces.nudt.edu.cn/EN/Y2011/V33/I12/78