Source Code Assessment System Research and Development
- Author
- LiJunQiang
- Advisor
- PengSiWei
- School
- Beijing University of Chemical Technology
- Major
- Metal material and heat treatment
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 88
- Citations
- 1
Abstract
With the development of computer software level , as well as major college computer teaching level , the requirements are also increasing students ' coding ability . Evaluate this part of the code in the teaching , the traditional manual assessment methods obsolete . Source code assessment system designed for the shortcomings of the traditional assessment methods , assessment of the static analysis of code . The main work is as follows : 1 , the use of the three-tier structure of B / S (Browser / Server) , the use of the MVC software design pattern , the overall architecture of the system design . Assess the characteristics of the code ( each assessment algorithm requires code analysis data ) , and the syntax analysis module as a core module . Lexical syntax of the code structure analysis , and the analysis of data stored in the database the various independent algorithm only read data from the database . Thus simplify the analysis and processing of the code structure . 2 , through lexical analysis, parsing code structure analysis ; analysis of top-down and bottom-up two analytical methods ; parsed using LR analysis , and error recovery ACTION table to transform . 3, analysis of the three important features of the encoding quality ; rough achieve coding quality assessment in accordance with the characteristics of the evaluation code . 4 , the analysis of the similarity measure technology to achieve similar code discriminant .
Table of contents
Abstract 4-6
ABSTRACT 6-14
Symbol Description 14-15
The first chapter 15-19
1.1 topics sources 15
1.2 This topic related fields of history, current situation 15-18
1.2.1 History 15-16
1.2.2 Status 16-18
1.3 research significance 18-19
Chapter II system implementation environment and development tools 19-23
2.1 system implementation environment 19-20
2.2 development tools 20
2.3 MVC development model 20-23
Chapter overall design 23-29
3.1 System Architecture 23-24
3.2 evaluation algorithm call interface 24-25
3.3 database design 25-26
3.4 database access implemented 26-29
Chapter IV code structure analysis 29-41
4.1 lexical analysis 29-32
4.1.1 symbol table 29-30
4.1.2 lexical analysis process 30-31
4.1.3 related data structures and function 31-32
4.2 parser 32-38
4.2.1 Top-down analysis 32-34
4.2.2 Bottom-up analysis 34-38
4.3 features 38-41
4.3.1 syntax error was found 38-39
4.3.2 Assessment System of the source code from the underlying supporting role 39-41
CHAPTER code similarity analysis 41-49
5.1 code similarity measurement techniques 42-45
5.1.1 Attribute counting technique 42-43
5.1.2 Structure measurement techniques 43-44
5.1.3 eigenvectors 44
5.1.4 similarity value is calculated 44-45
5.2 code analysis and processing 45
5.3 Test Data 45-49
Chapter VI code quality assessment 49-63
6.1 clarity 49-53
6.1.1 Name 49-51
6.1.2 format specification 51-53
6.2 correctness, simplicity 53-58
6.2.1 Basic statements and expressions 53-55
6.2.2 Function 55-58
6.3 Quality Assessment 58-63
Chapter VII of the user module 63-67
7.1 user structure 63
7.2 user login 63-64
7.3 modify personal information 64
7.4 administrator module 64-65
7.4.1 manage user information 64-65
7.4.2 Management Algorithm 65
7.5 teacher module 65
7.5.1 add, modify and delete questions 65
7.5.2 assessment inspection 65
7.6 student module 65-67
Chapter Summary and Outlook 67-69
References 69-71
Thanks 71-73
papers published catalog 73-75
Authors and Instructors 75-76
Annex 76-77
Related dissertations
- Visual Implementation of Operational Semantics of Procedural Programming Languages
- The Design and Implementation of the DSQL Based on the Domain Data Model
- Implementation of the Parser of TTCN-3 by Parser Generator Based on the Windows System
- Research and Application of Formal Language in Report Systems
- Research on spatial data manipulation language
- Research of VHDL Compiler’s Design Techniques
- VHDL Compiling System Design Methods and Studies on the Key Techniques
- Protocol Auto-Adapted Communication Technology
- The Design and Implementation of LL(1) Action Grammar Compiler’s Automatic Constructor in Java Language
- Based on the entity 's non-circular curved surface grinding Research and Implementation of Simulation System
- OCCL Compiler for Linux
- Syntax Checking Methods of the Flight Scheduling Rules
- Reverse Demonstration of Algorithm in CAI
- Compiler technology -based automated data collection technology research
- Based on DOM / AST technical design of the C language parser
- Finite Automata-based Technology in Flight Scheduling
- The Automatic Marking Method of Script
- A Study on the Dififculties with Banked Cloze Test of College Students
- The Name of Shanxi Wheaten Food and Cultural
- Research and implementation of embedded browser multi-threaded mechanism