Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Code detection method, device, equipment and storage medium

A code detection and code technology, which is applied in the computer field, can solve problems such as difficulty in unifying source code styles, poor code readability, and high maintenance costs, and achieve the effects of reducing workload, improving security, and reducing maintenance costs

Active Publication Date: 2020-02-07
BEIKE TECH CO LTD
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of writing software source code, due to the large number of team developers with different abilities and backgrounds, it is difficult to unify the source code style, poor readability, and difficult to maintain later; for example, in the process of writing software source code, js code Random writing of event functions in etc. will lead to problems such as poor code readability and high maintenance costs

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 detection method, device, equipment and storage medium
  • Code detection method, device, equipment and storage medium
  • Code detection method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] Example embodiments according to the present disclosure will be described in detail below with reference to the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited by the exemplary embodiments described here.

[0032]It should be noted that relative arrangements of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.

[0033] Those skilled in the art can understand that terms such as "first" and "second" in the embodiments of the present disclosure are only used to distinguish different steps, devices or modules, etc. necessary logical sequence.

[0034] It should also be understood that in the embodiments of the present disclosure, "plurality"...

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 detection method, a device, electronic equipment and a storage medium, and relates to the technical field of computers, and the method comprises the steps: analyzing a to-be-detected source code, and obtaining function name information in the source code; judging whether the source code contains a specified event namespace function name based on the function name information; if not, determining that a first code defect exists in the source code, and generating first defect report information corresponding to the first code defect; according to the method and device, the electronic equipment and the storage medium, automatic detection of the source code can be achieved, the triggering scene of the current function can be clearly determined and detected, the code style is unified outwards, and risks and problems existing in codes are effectively prevented; the source code quality is improved, the system operation safety is improved, and the subsequent maintenance cost is reduced; the detection efficiency of the source code is improved, and the workload of manual auditing of the source code is reduced.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a code detection method, device, electronic equipment, and storage medium. Background technique [0002] Software source code refers to the code of the most original program written, such as js code, etc. In the process of writing software source code, due to the large number of team developers with different abilities and backgrounds, it is difficult to unify the source code style, poor readability, and difficult to maintain later; for example, in the process of writing software source code, js code Random writing of event functions in etc. will lead to problems such as poor code readability and high maintenance costs. Therefore, there is a need for a code detection technical solution for detecting event functions and the like in the source code. Contents of the invention [0003] In order to solve the above-mentioned technical problems, the present disclosure...

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/36G06F8/30
CPCG06F11/3604G06F8/30
Inventor 林静
Owner BEIKE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products