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
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
- Research on Knowledge Relevance Based on Knowledge Element Retrieval
- Study on the CBR Mechanism of DSS for Enterprises’’Integration of Itization and Industrialization’
- Analysis and Evaluation of the Trust Management Model in E-commerce
- The Text Similarity Study Base on Hownet
- Mobile Service Recommendation Based on User Consumption Behavior
- Design and Implementation of Personalized Documents Recommender System
- Research on Ontology-based Hypertension Knowledge Database and Its Intelligent Retrieval and Reasoning System
- Research and Application of Chinese Food Recommender System Based on Semantic Reasoning
- Tree Segmentation-Based Ontology Mapping
- The Research and Implementation of Detection System on Cloaked Web Pages
- The Research of Vertical Search Engine Based on Nutch for Food Safety
- The Topic Mining Based on the Web Comments
- Approaches to Chinese Metaphorical Mapping Based on Similarity
- Study on the Algorithms for Content-based Image Reverse Search Engine
- Research on Products Vessel Retrieval and Fitting Based on Shape Spectrum
- Stomach-Cloud:a Multi-target Trackin Framework for Gastroscodic Video Imag
- Research of a Clustering Algorithm Based on Undirected Weighed Network
- Research on Subspace Cluster Algorithms on Simil Arity and DBSCAN
- Design and Implementation of Automated Test Case Generator
- Blue and Pink: the Study of Color-gender Metaphor