AST-based code plagiarism detection method
Zhong Mei · Jisuanji yingyong yanjiu · 2011
Because the current research about code plagiarism detection mostly based on program source code similarity,lacking of grammatical analysis to code,ignoring the syntax and semantics of the program,can not effectively detect plagiarism to the slight modification of the structure.This paper presented a code plagiarism detection based on the AST.It pre-formated code,analysis lexical and syntax and obtained the corresponding AST.Then it traversed AST to generate code sequences,calculated the similarity of the code sequence and got the code plagiarism detection report.Experimental results show that the approach can verify the C code plagiarism effectively,and it has some versatility and scalability on the C+ +,Java and other plagiarism detection program code.