A new method for code similarity detection

Liuliu Huang*, Shumin Shi, Heyan Huang

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

7 Citations (Scopus)

Abstract

Source code documents are vulnerable to being plagiarized. As the central component of Code Plagiarism Detection (CPD), Code Similarity Detection (CSD) attracts more and more attention. In this paper, we proposed a new method for CSD by combining structure metric with semantic computing techniques. It is capable of identifying not only the primary cheating means in code copy, but also the senior ones, such as replacing control structures with equivalent structures. We describe the design and implementation of the method, and make some comparative experiments against MOSS and the structure only method. Experiments show that the method proposed in this paper can obtain more effective similar values of code-pairs.

Original languageEnglish
Title of host publicationProceedings of the 2010 IEEE International Conference on Progress in Informatics and Computing, PIC 2010
Pages1015-1018
Number of pages4
DOIs
Publication statusPublished - 2010
Event2010 1st IEEE International Conference on Progress in Informatics and Computing, PIC 2010 - Shanghai, China
Duration: 10 Dec 201012 Dec 2010

Publication series

NameProceedings of the 2010 IEEE International Conference on Progress in Informatics and Computing, PIC 2010
Volume2

Conference

Conference2010 1st IEEE International Conference on Progress in Informatics and Computing, PIC 2010
Country/TerritoryChina
CityShanghai
Period10/12/1012/12/10

Keywords

  • Cheating means
  • Code plagiarism
  • Code similarity detection
  • Semantic computing
  • Structure metric

Fingerprint

Dive into the research topics of 'A new method for code similarity detection'. Together they form a unique fingerprint.

Cite this