DocumentCode :
3531710
Title :
A Code Comparison Algorithm Based on AST for Plagiarism Detection
Author :
Jianglang Feng ; Baojiang Cui ; Kunfeng Xia
Author_Institution :
Dept. of Math., Chengdu Univ. of Technol., Chengdu, China
fYear :
2013
fDate :
9-11 Sept. 2013
Firstpage :
393
Lastpage :
397
Abstract :
Plagiarism detection technology plays a very important role in copyright protection of computer software. The plagiarism technology mainly includes text-based, token-based and syntax-based technologies. This paper will introduce a technique based on the Abstract Syntax Tree (AST). This algorithm based on AST can effectively detects the plagiarism cases of changing the names of methods and variables in the code, reordering the sequences of the code and so on. According to algorithm of the Abstract Syntax Tree, we will calculates hash values of every node in the AST, then store the AST, and compare the hash value node by node after completing all of the above. Finally, we will use the experiments to illustrate the superiority of the AST algorithm.
Keywords :
copyright; cryptography; trees (mathematics); AST; abstract syntax tree; code comparison algorithm; computer software copyright protection; hash values; plagiarism detection technology; syntax-based technologies; text-based technologies; token-based technologies; Abstracts; Algorithm design and analysis; Classification algorithms; Cloning; Plagiarism; Software algorithms; Syntactics; Hash value; abstract syntax tree; code comparison; code plagiarism;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Emerging Intelligent Data and Web Technologies (EIDWT), 2013 Fourth International Conference on
Conference_Location :
Xi´an
Print_ISBN :
978-1-4799-2140-9
Type :
conf
DOI :
10.1109/EIDWT.2013.73
Filename :
6631651
Link To Document :
بازگشت