• DocumentCode
    3532519
  • Title

    Improved Plagiarism Detection Algorithm Based on Abstract Syntax Tree

  • Author

    Guo Tao ; Dong Guowei ; Qin Hu ; Cui Baojiang

  • Author_Institution
    China Inf. Technol. Security Evaluation Center, Beijing, China
  • fYear
    2013
  • fDate
    9-11 Sept. 2013
  • Firstpage
    714
  • Lastpage
    719
  • Abstract
    Statements with conditionals are widely used in C, C++ and java, such as if and while statements and they are easy to plagiarize by adjusting the logical structure of the corresponding statements. However, the existing relative algorithms and tools cannot effectively detect code plagiarism of these statements. This paper puts forward an improved code plagiarism detection algorithm based on abstract syntax tree. The algorithm calculates the hash value for each node of the abstract syntax tree, and compares the hash values node by node. Based on this, it analyzes the if-statement plagiarism, as if-statements are representative in the statements with conditionals, and puts forward the corresponding detection schemes in order to detect plagiarism effectively. After that, with the results of many experiments, the algorithm is proved effective on detecting if-statement plagiarisms.
  • Keywords
    cryptography; tree data structures; C++; Java; abstract syntax tree; code plagiarism detection algorithm; hash value; if-statement plagiarism; Abstracts; Algorithm design and analysis; Cloning; Detection algorithms; Java; Plagiarism; Syntactics; Abstract syntax tree; Hash value; if-statement; 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.129
  • Filename
    6631708