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

Request the full text

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

  1. Visual Implementation of Operational Semantics of Procedural Programming Languages
    SunXuDong ·Jilin University ·2008 ·Master's thesis
  2. The Design and Implementation of the DSQL Based on the Domain Data Model
    XuJingRong ·Suzhou University ·2007 ·Master's thesis
  3. Implementation of the Parser of TTCN-3 by Parser Generator Based on the Windows System
    ZuoJianEn ·Inner Mongolia University ·2004 ·Master's thesis
  4. Research and Application of Formal Language in Report Systems
    GuoJianXing ·Shanghai Normal University ·2004 ·Master's thesis
  5. Research on spatial data manipulation language
    CuiJianJun ·Chang'an University ·2005 ·Master's thesis
  6. Research of VHDL Compiler’s Design Techniques
    QiXingGang ·Sichuan University ·2005 ·Master's thesis
  7. VHDL Compiling System Design Methods and Studies on the Key Techniques
    LiYuan ·Sichuan University ·2005 ·Master's thesis
  8. Protocol Auto-Adapted Communication Technology
  9. The Design and Implementation of LL(1) Action Grammar Compiler’s Automatic Constructor in Java Language
    ZhangHongTao ·Jilin University ·2005 ·Master's thesis
  10. Based on the entity 's non-circular curved surface grinding Research and Implementation of Simulation System
  11. OCCL Compiler for Linux
  12. Syntax Checking Methods of the Flight Scheduling Rules
  13. Reverse Demonstration of Algorithm in CAI
  14. Compiler technology -based automated data collection technology research
    LingHao ·Shanghai Jiaotong University ·2008 ·Master's thesis
  15. Based on DOM / AST technical design of the C language parser
    GuoBangCai ·Wuhan University of Technology ·2011 ·Master's thesis
  16. Finite Automata-based Technology in Flight Scheduling
  17. The Automatic Marking Method of Script
    LiuXia ·Donghua University ·2014 ·Master's thesis
  18. A Study on the Dififculties with Banked Cloze Test of College Students
    DuanYaJie ·Jiangxi Normal University ·2013 ·Master's thesis
  19. The Name of Shanxi Wheaten Food and Cultural
  20. Research and implementation of embedded browser multi-threaded mechanism