Font Size: a A A

Source Code Assessment System Research And Development

Posted on:2009-08-26Degree:MasterType:Thesis
Country:ChinaCandidate:J Q LiFull Text:PDF
GTID:2178360245974730Subject:Metal material and heat treatment
Abstract/Summary:PDF Full Text Request
As the level of development of computer software and universities raising the level of computer teaching, the students' ability to code are required getting higher and higher. In teaching, the traditional manual assessment methods have become outdated. Source code assessment System is designed for the shortcomings of traditional assessment methods through the static analysis of code assessment. The main work is as follows:1. Design the overall structure of system which to use B/S (Browser / Server) three-tier structure and MVC software design pattern. According to the characteristics of code assessment (each assessment algorithm requires the corresponding data of code analysis); the lexical grammar analysis module is designed as a core module. The lexical grammar analysis module analyzes the code grammar structure and stores the data in the database. Various independent algorithms read the corresponding data from the database, thus simplifying the structure of the code analysis; 2. Achieve the analysis of code grammar structure through lexical analysis and syntax analysis; Analyze top-down and bottom-up analysis methods; Achieve syntax analysis with LR and error recovery through transformation of the ACTION table;3. Analyze the three important characteristics of the code quality; According to the characteristics of the assessment code, achieve a rough assessment of the quality of coding;4. Analyze code similarity measure technology; achieve similar code of discrimination.
Keywords/Search Tags:lexical analysis, syntax analysis, code quality, code similarity
PDF Full Text Request
Related items