Method and device for evaluating program codes
A program code and programming language technology, applied in the computer field, can solve problems such as time-consuming, limited, and inability to detect problems, and achieve the effect of automatic auditing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] The present invention will be further described in detail below through specific implementation examples in conjunction with the accompanying drawings.
[0022] figure 1 It is a flowchart showing a method for evaluating program code according to an exemplary embodiment, and the method includes:
[0023] In step S10, the program code is converted into a syntax tree;
[0024] In step S20, the syntax tree is compared with a pre-created preset evaluation sample model;
[0025] In step S30, the result of the comparison is output.
[0026] This method uses the pre-created evaluation sample model to evaluate the program code, thereby realizing the automatic review of the program code.
[0027] figure 2 It is a flowchart showing a method for evaluating program code according to another exemplary embodiment. Such as figure 2 As shown, step S10 includes:
[0028] In step S110, the program code is analyzed using the lexical analysis rules defined in advance according to the program languag...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com