An application for plagiarized source code detection based on a parse tree kernel

作者:Son Jeong Woo; Noh Tae Gil; Song Hyun Je; Park Seong Bae*
来源:Engineering Applications of Artificial Intelligence, 2013, 26(8): 1911-1918.
DOI:10.1016/j.engappai.2013.06.007

摘要

Program plagiarism detection is a task of detecting plagiarized code pairs among a set of source codes. In this paper, we propose a code plagiarism detection system that uses a parse tree kernel. Our parse tree kernel calculates a similarity value between two source codes in terms of their parse tree similarity. Since parse trees contain the essential syntactic structure of source codes, the system effectively handles structural information. The contributions of this paper are two-fold. First, we propose a parse tree kernel that is optimized for program source code. The evaluation shows that our system based on this kernel outperforms well-known baseline systems. Second, we collected a large number of real-world Java source codes from a university programming class. This test set was manually analyzed and tagged by two independent human annotators to mark plagiarized codes. It can be used to evaluate the performance of various detection systems in real-world environments. The experiments with the test set show that the performance of our plagiarism detection system reaches to 93% level of human annotators.

  • 出版日期2013-9