Code coverage rate real-time acquisition method and device

A code coverage and real-time acquisition technology, applied in the field of real-time acquisition of code coverage, can solve the problems of indirect test adequacy, inability to know the coverage in real time, untimely feedback, etc., and achieve the direct effect of test adequacy Efficient, instant, and waste-free effects

Pending Publication Date: 2021-06-25
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problems existing in the prior art, this application provides a method and device for obtaining code coverage in real time, to at least solve the problem that the existing method of obtaining code coverage is not timely, and testers cannot know in real time that the coverage is not enough Supplementary testing is required to meet the standards, which has an indirect effect on the adequacy of the test, and the problem of low efficiency

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 coverage rate real-time acquisition method and device
  • Code coverage rate real-time acquisition method and device
  • Code coverage rate real-time acquisition method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0055] It should be noted that the method and device for real-time acquisition of code coverage disclosed in this application can be used in the field of financial technology, and can also be used in any field other than the field of financial technology. The application of the method and device for real-time acquisition of code coverage disclosed in this application The field is not limited.

[0056]At present, the code coverage is an important means to under...

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 coverage rate real-time acquisition method and device, which can be applied to the financial field. The method comprises the following steps: acquiring the original coverage rate and configuration information of a code through a preset acquisition plug-in; generating a change program list through a version control tool according to the original coverage rate and the configuration information; and cleaning the changed program list, and combining the cleaned changed program list with the original coverage rate to obtain an updated coverage rate. Only programs in the changed program list are subjected to key monitoring, and the coverage rate of the changed programs can also be subjected to key monitoring under the condition that the data volume of the programs stored in an application server terminal is relatively large, so that the waste of system resources is avoided in a targeted manner. Meanwhile, the coverage rate of the changed programs is integrated in real time, so that updating delay is avoided, a tester can know whether the coverage rate reaches the standard or not and whether the programs need to be subjected to supplementary testing or not in real time, and the effect on testing sufficiency is more direct and efficient.

Description

technical field [0001] The application belongs to the technical field of system testing, and in particular, relates to a method and device for acquiring code coverage in real time. Background technique [0002] Code coverage is an important means to understand the adequacy of the test. Through the code coverage, you can understand the results of the test and find the dead ends of the test. At this stage, the test coverage reports viewed by testers are calculated on a daily basis, that is, the coverage results and incremental code results obtained from the application server terminal are summarized daily to obtain the incremental code coverage. [0003] The result of the existing method of obtaining code coverage is that the feedback is not timely, and the testers cannot know in real time that the coverage rate does not meet the standard and need to be retested. The effect on the adequacy of the test is not direct and the efficiency is not high. However, an application There...

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/36
CPCG06F11/3676G06F11/368G06F11/3688
Inventor 陈巧燕黄震人熊小庆丁计来
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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