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

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 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. Problems that cause code quality to be uncertain and thus affect system operation

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

Embodiment Construction

[0040] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0041] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in one or more embodiments of the present application shall have common meanings understood by those skilled in the art to which the present disclosure belongs. "First", "second" and similar words used in one or more embodiments of the present application do not indicate any order, quantity or importance, but are only used to distinguish different components. "Comprising" or "comprising" and similar words mean that the elements or items appearing before the word include the elements or items listed after the word and their equivalents, without excluding other elements or items. Words such as "connected" or "connected...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products