Unlock instant, AI-driven research and patent intelligence for your innovation.

Code processing method and related equipment

A processing method and code technology are applied in the fields of compilers, code processing systems and computer-readable storage media, computer program products, and code processing methods, and can solve problems such as spending a lot of time, affecting user experience, and reducing static analysis efficiency.

Pending Publication Date: 2022-06-21
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the differences in the architectural design of various static analysis tools cause developers to spend a lot of time and energy learning to use these different types of static analysis tools, which reduces the efficiency of static analysis and affects the user experience.

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 processing method and related equipment
  • Code processing method and related equipment
  • Code processing method and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] The terms "first" and "second" in the embodiments of the present application are only used for the purpose of description, and cannot be understood as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as "first" or "second" may expressly or implicitly include one or more of that feature.

[0055] First, some technical terms involved in the embodiments of this application are introduced.

[0056] Software development is the process of building a software system or software part of a software system according to user requirements. Software development is a systematic project that includes requirements capture, requirements analysis, design, implementation and testing. Software is generally implemented by software developers using one or more computer languages ​​(also called programming languages) to write codes based on software development tools such as an integrated development environment (IDE)....

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 provides a code processing method, which is applied to a code processing system, the system comprises a compiler, and the method comprises the following steps: the compiler obtains a code, obtains a static analysis rule corresponding to the code from a far-end static analysis rule library, and obtains an analysis result of the code according to the static analysis rule. According to the method, the compiler is used for calling the static analysis rules in the far-end static analysis rule base for static analysis, software developers do not need to spend a large amount of time and energy to learn and use different types of static analysis tools, the static analysis efficiency is improved, and the user experience is improved.

Description

technical field [0001] The present application relates to the technical field of software development, and in particular, to a code processing method, a compiler, a code processing system, a computer-readable storage medium, and a computer program product. Background technique [0002] During software development, developers often need to use static analysis tools to perform program static analysis on program code. The so-called program static analysis refers to the method of program analysis without running the computer program. Static analysis tools can help developers find code errors (such as lexical errors, syntax errors), improve code readability and consistency of code style within the development team. [0003] At present, various languages ​​in the industry provide a wealth of static analysis tools to provide differentiated static analysis services. However, the differences in the architectural design of various static analysis tools cause developers to spend a lo...

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): G06F8/41G06F11/36
CPCG06F8/41G06F11/3604G06F11/36
Inventor 史海
Owner HUAWEI CLOUD COMPUTING TECH CO LTD