Research on Drawing Characteristic Bunch Technology for Copying Plagiarism in Program Code

Author
HouMin
Advisor
LiuDongSheng
School
Inner Mongolia Normal
Major
Applied Computer Technology
Classification
TP311.11 Programming method
Degree
Master's thesis
Year
2009
Downloads
118
Citations
2

Request the full text

Abstract

Copy detection technology in the information age , a very wide range of applications, particularly in computer programming . Copy Detection into two categories : one is the formal language text (such as: computer program code , etc. ) copy detection , and the other is a natural language text copy detection . Copy the code detection is to determine whether a program code plagiarism or copy one or more programs , the core code similarity . Similarity calculation program , you first need to extract the eigenvalues ??of the block , that is able to represent the basic language units of the content and structure of the program . And then compares the extracted program eigenvalue to be compared , the similarity is calculated according to the degree of similarity between the result of the comparison judgment procedure , i.e. . In this process , the feature value extraction is essential, characteristic values ??directly affects the accuracy of the comparison result . In this paper, the characteristic value extraction technology research . This paper first introduces the program code similarity detection technology , including the code similarity definition and measurement technology classification, the status quo of domestic and foreign research and development as well as existing program code similarity discrimination system introduced . Then the program code similarity detection process feature value extraction techniques are introduced . In the existing program code similarity discrimination system , using methods based on string comparison , comparison procedures to be sub-word conversion feature string , then the string similarity comparison . This string contains the program structure information , it will affect the result of the comparison accuracy . This paper studies how the program is converted to string structure contains more structural information , to provide a better basis for comparison for the next step . The design of the study the formation and structure of string is done in three steps : the first step in the development of language lexical rules and grammar rules , provide the basis for follow-up analysis of the source code conversion ; generate lexer and analyzer ; the third step, the lexical analyzer and parser source code analysis, to generate the corresponding tree structure string . Finally, by way of example test , this study achieved a string of the program source code into a tree structure , to achieve the desired purpose .

Table of contents

Chinese Abstract 4-5 ABSTRACT 5-9 first chapter 9-14 1.1 significance 9-11 1.2 research status 11-13 1.3 This research 13 1.4 This organizational structure 13-14 second Zhang code Copy Detection Technology Overview 14-23 2.1 code Copy Detection Technology Overview 14-19 2.1.1 code plagiarism 14-15 < br /> 2.1.2 program code similarity 15-16 2.1.3 program code similarity detection technology 16-18 2.1.4 eigenvalue 18-19 2.2 Introduction existing plagiarism detection systems 19-23 2.2.1 plague system 19-20 2.2.2 MOSS 20 2.2.3 SIM 20-21 2.2.4 YAP series 21 2.2.5 Jplag 21-23 first chapters related technical presentations 23-33 3.1 normalized source code 23-24 3.2 XML description 24-25 3.3 common program analysis generate tools introduced 25-33 3.3.1 LEX lexical analyzer generation tool 26-28 3.3.2 YACC parser generator tool Introduction 28 -30 3.3.3 ANTLR parser generator tool Introduction 30-33 Chapter structure cascade formation and implementation 33-54 4.1 overall design scheme 33-34 4.1.1 design ideas 33-34 4.1.2 The choice of language 34 4.2 C language grammar rulemaking 34-45 4.2.1 Syntax Name Definition 35 4.2.2 option 35-36 4.2.3 Tokens defined 36 4.2.4 grammar rules describe 36-41 4.2.5 lexical rules describe 41-45 4.3 C language parser 45 - 48 4.3.1 parser construction 45-47 4.3.2 Analyzer application 47-48 4.4 program to convert 48 - 52 4.5 Results analysis 52-54 Chapter Summary and Outlook 54-56 5.1 paper summarizes 54 5.2 insufficient and further work 54-56 papers published during the study for a degree 56-57 References 57-61 Appendix 1 lexical part of the source code analyzer 61-69 Appendix 2 parser part of the source code 69-78 Thanks 78

Related dissertations

  1. Research on Knowledge Relevance Based on Knowledge Element Retrieval
    LuChengXiao ·Nanjing University ·2012 ·Master's thesis
  2. Study on the CBR Mechanism of DSS for Enterprises’’Integration of Itization and Industrialization’
    LiDanQing ·Beijing Jiaotong University ·2014 ·Master's thesis
  3. Analysis and Evaluation of the Trust Management Model in E-commerce
  4. The Text Similarity Study Base on Hownet
    LiPei ·Hebei University of Technology ·2012 ·Master's thesis
  5. Mobile Service Recommendation Based on User Consumption Behavior
  6. Design and Implementation of Personalized Documents Recommender System
  7. Research on Ontology-based Hypertension Knowledge Database and Its Intelligent Retrieval and Reasoning System
    YangQing ·Northeastern University ·2013 ·Master's thesis
  8. Research and Application of Chinese Food Recommender System Based on Semantic Reasoning
  9. Tree Segmentation-Based Ontology Mapping
  10. The Research and Implementation of Detection System on Cloaked Web Pages
    Deng ·Hunan University ·2013 ·Master's thesis
  11. The Research of Vertical Search Engine Based on Nutch for Food Safety
  12. The Topic Mining Based on the Web Comments
  13. Approaches to Chinese Metaphorical Mapping Based on Similarity
    WuZhiPing ·Xiamen University ·2014 ·Master's thesis
  14. Study on the Algorithms for Content-based Image Reverse Search Engine
    ChenZuo ·Chang'an University ·2013 ·Master's thesis
  15. Research on Products Vessel Retrieval and Fitting Based on Shape Spectrum
    TianJia ·Yanshan University ·2013 ·Master's thesis
  16. Stomach-Cloud:a Multi-target Trackin Framework for Gastroscodic Video Imag
    ChenShuangShuang ·Zhejiang University ·2014 ·Master's thesis
  17. Research of a Clustering Algorithm Based on Undirected Weighed Network
    JinMin ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  18. Research on Subspace Cluster Algorithms on Simil Arity and DBSCAN
    BaiYunYue ·Yanshan University ·2013 ·Master's thesis
  19. Design and Implementation of Automated Test Case Generator
  20. Blue and Pink: the Study of Color-gender Metaphor
    WangQun ·Ningbo University ·2013 ·Master's thesis