首页    期刊浏览 2024年10月05日 星期六
登录注册

文章基本信息

  • 标题:Code Syntax-Comparison Algorithm Based on Type-Redefinition-Preprocessing and Rehash Classification
  • 本地全文:下载
  • 作者:Cui, Baojiang ; Guan, Jun ; Guo, Tao
  • 期刊名称:Journal of Multimedia
  • 印刷版ISSN:1796-2048
  • 出版年度:2011
  • 卷号:6
  • 期号:4
  • 页码:320-328
  • DOI:10.4304/jmm.6.4.320-328
  • 语种:English
  • 出版社:Academy Publisher
  • 摘要:The code comparison technology plays an important role in the fields of software security protection and plagiarism detection. Nowadays, there are mainly FIVE approaches of plagiarism detection, file-attribute-based, text-based, token-based, syntax-based and semantic-based. The prior three approaches have their own limitations, while the technique based on syntax has its shortage of detection ability and low efficiency that all of these approaches cannot meet the requirements on large-scale software plagiarism detection. Based on our prior research, we propose an algorithm on type redefinition plagiarism detection, which could detect the level of simple type redefinition, repeating pattern redefinition, and the redefinition of type with pointer. Besides, this paper also proposes a code syntax-comparison algorithm based on rehash classification, which enhances the node storage structure of the syntax tree, and greatly improves the efficiency.
  • 关键词:code clone;code plagiarism;syntax tree;rehash classification;type-redefinition
国家哲学社会科学文献中心版权所有