Code quality early warning method and device, electronic equipment and storage medium

A code quality and code technology, applied in the field of code quality management, can solve problems such as affecting system operation, cheating continuous integration, and indeterminate code quality, so as to reduce operational risks and improve code quality.

Pending Publication Date: 2021-02-26
CHINA LIFE INSURANCE COMPANY
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the existing continuous integration system, there is a type of configuration switch to verify whether the submitted incremental code has passed the unit test, and the unit test class corresponding to the generation fragment will be executed. Only after the unit test class test is passed can the submitted code Deployed to the integration environm

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 quality early warning method and device, electronic equipment and storage medium
  • Code quality early warning method and device, electronic equipment and storage medium
  • Code quality early warning method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0040]In order to make the objectives, technical solutions, and advantages of the present disclosure clearer, the following further describes the present disclosure in detail with reference to specific embodiments and drawings.

[0041]It should be noted that, unless otherwise defined, the technical terms or scientific terms used in one or more of the embodiments in this application should be the ordinary meanings understood by those with ordinary skills in the field to which this disclosure belongs. The "first", "second" and similar words used in one or more embodiments of this application do not denote any order, quantity or importance, but are only used to distinguish different components. "Include" or "include" and other similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Similar words such as "connected" or "connected" are not limited t...

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

One or more embodiments of the invention provide a code quality early warning method and device, electronic equipment and a storage medium. The method comprises the steps of obtaining code historicaldata of a target code; analyzing the code historical data to determine a high-risk code set; and determining a code quality prediction result of the target code according to the high-risk code set. The code historical data of the target code is analyzed to realize early warning of the code quality of the target code, and the high-risk code set is established and analyzed, so that the overall codequality of the system is improved and the operation risk of the system is reduced while the code quality early warning of the target code is performed based on the high-risk code set.

Description

technical field [0001] One or more embodiments of the present application relate to the technical field of code quality management, and in particular, to a code quality early warning method, device, electronic equipment, and storage medium. Background technique [0002] In the existing continuous integration system, there is a type of configuration switch to verify whether the submitted incremental code has passed the unit test, and the unit test class corresponding to the generation fragment will be executed. Only after the unit test class test is passed can the submitted code Deployed to the integration environment, but the configuration switch in continuous integration only verifies whether the test class is executed, and cannot verify whether the actor test class is a real code test class. The unit test class can simply return the correct result to deceive continuous integration. The code quality cannot be determined, which affects the operation of the system. Contents...

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
CPCG06F11/3628G06F11/3688
Inventor 马德浩郭锦如卢焱
Owner CHINA LIFE INSURANCE COMPANY
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