Journal of Jishou University(Natural Sciences Edition) ›› 2022, Vol. 43 ›› Issue (6): 20-25.DOI: 10.13438/j.cnki.jdzk.2022.06.005

• Computer • Previous Articles     Next Articles

Improved of Source Code Plagiarism Detection Based on Abstract Syntax Tree

LIU Feixiang,LONG Dongdong,OU Xingru,CHEN Changfeng   

  1. (College of Information Science and Engineering,Jishou University,Jishou 416000,Hunan China)
  • Online:2022-11-25 Published:2023-01-10

Abstract: For low detection accuracy and inability to detect plagiarism at the semantic level in the traditional abstract syntax tree based code plagiarism detection methods,an improved code plagiarism detection approach based on abstract syntax tree is designed.This approach achieves higher plagiarism detection rate through TF-IDF weighted simplified syntax tree.Moreover,feature extraction and similarity calculation methods based on weighted simplified abstract syntax tree are designed to realize partial detection of semantic plagiarism.Experimental results show that the proposed approach can effectively detect semantic level plagiarism and achieves higher accuracy than traditional tree-based methods.

Key words: abstract syntax tree, code plagiarism detection, feature extraction

WeChat e-book chaoxing Mobile QQ