Code analysis method and system

A code analysis and code technology, applied in the field of code analysis methods and systems, can solve problems such as incompatibility with enterprise-level code analysis, low code analysis efficiency, poor flexibility, etc., to achieve the effect of improving efficiency and flexibility

Active Publication Date: 2011-09-21
SHENZHEN SHI JI GUANG SU INFORMATION TECH
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The purpose of the embodiments of the present invention is to provide a code analysis method, aiming at solving the

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code analysis method and system
  • Code analysis method and system
  • Code analysis method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0023] The embodiment of the present invention collects and processes codes, establishes an index database, uses a high-speed query interface to query, and performs code analysis on the query results, which can greatly improve the efficiency and flexibility of code analysis, and realize enterprise-level code analysis and management.

[0024] figure 2 The implementation flow of the code analysis method provided by the embodiment of the present invention is shown, and the details are as follows:

[0025] In step S101, code information is collected, and an index library is established;

[0026] As ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention is suitable for the field of computer software and provides a code analysis method and system. The method comprises the following steps of: collecting code information and establishing an index database; according to a configured checking rule, querying the index database, thereby acquiring a query result; and performing code analysis on the query result and outputting a code analysis result. According to the method, the code is collected, the index is established and the code query result is analyzed, so that code reading is separated from code analysis, the efficiency and flexibility of code analysis are greatly increased, the enterprise-level codes are analyzed and managed, and code collection and the index can be realized by utilizing a search engine.

Description

technical field [0001] The invention belongs to the field of computer software, in particular to a code analysis method and system. Background technique [0002] Code analysis, also known as code scanning or code inspection, mainly checks the degree of compliance of the source code to the standard, the level of readability, the correctness of the code logic expression, and the rationality of the code structure. Through code analysis, you can find problems that violate the programming standards in the program, as well as unsafe, ambiguous and vague parts in the program, and find out the repetitive or non-portable parts in the program. Code analysis includes variable inspection, naming and type inspection, program logic inspection, program syntax inspection, and program structure inspection. [0003] At present, there are many tools for implementing code analysis, and the technical methods adopted are similar, such as figure 1 As shown, it is generally divided into three par...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36
Inventor 白广元
Owner SHENZHEN SHI JI GUANG SU INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products