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

Static code scanning optimization method and device, electronic equipment and storage medium

A technology of static codes and optimization methods, applied in computer security devices, electrical digital data processing, instruments, etc., can solve the problems of long time consumption, low system flexibility, low degree of automation, etc., to save scanning time and optimize the process. Effect

Pending Publication Date: 2021-05-11
BEIJING QIHOO TECH CO LTD
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing code scanning system requires the user to specify the task type, and then match a single scanning rule (that is, the scanning engine) according to the task type. The system is not flexible, the customization is serious, and the degree of automation is not high, and the existing system cannot realize it. Parallel jobs, such as a scan task that contains multiple code languages, require the user to initiate multiple scans, which takes a long time and the report cannot be displayed as a whole

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
  • Static code scanning optimization method and device, electronic equipment and storage medium
  • Static code scanning optimization method and device, electronic equipment and storage medium
  • Static code scanning optimization method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0049] figure 1 A schematic flow diagram of a static code scanning optimization method according to an embodiment of the present invention is shown; the method includes:

[0050] Step S110, if there is a preset scanning rule, scan the code file to be scanned according to the preset scanning rule.

[0051] In this embodiment, when performing a code scanning task, it is first judged whether the writer or manager of the code file to be scanned ha...

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 discloses a static code scanning optimization method and device, electronic equipment and a storage medium. The method comprises the following steps: if a preset scanning rule exists, scanning a to-be-scanned code file according to the preset scanning rule; if the preset scanning rule does not exist, acquiring the historical scanning preferences and scanning the to-be-scanned file according to the historical scanning preferences; and if the historical scanning preference does not exist, counting the type of the to-be-scanned code file, recommending a scanning rule according to the type, and scanning the to-be-scanned code file by utilizing the scanning rule. By means of the scheme, an automatic program for conducting static scanning on the code file is provided, the code scanning process is optimized, and the scanning time is saved.

Description

technical field [0001] The invention relates to the field of static code scanning, in particular to a static code scanning optimization method, device, electronic equipment and storage medium. Background technique [0002] After the software code is written, the code needs to be scanned, which is generally called static code scanning. After scanning, it is initially detected whether there are defects or irregularities in the code. [0003] The existing code scanning system requires the user to specify the task type, and then match a single scanning rule (that is, the scanning engine) according to the task type. The system is not flexible, the customization is serious, and the degree of automation is not high, and the existing system cannot realize it. Parallel jobs, such as a scan task that contains multiple code languages, require the user to initiate multiple scans, which takes a long time and the report cannot be displayed as a whole. Contents of the invention [0004]...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36G06F21/57
CPCG06F11/3604G06F11/366G06F21/577
Inventor 李雪张杰黄威张娜蔡学文
Owner BEIJING QIHOO TECH CO LTD