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

Code coverage rate report generation method and device and computer equipment

A code coverage, computer program technology, applied in the field of software testing, can solve problems such as low accuracy of code coverage reports, code coverage reports that do not meet test requirements, etc., to meet the needs of software testing and improve accuracy.

Active Publication Date: 2020-05-01
GUANGZHOU PINWEI SOFTWARE
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current code coverage report generated after software testing is the coverage report of the entire software product
At this time, when a tester only executes a certain part of the code test of the software, the report content in the final generated code coverage report covers the entire software, resulting in the generated code coverage report not meeting the test requirements, and the generated code coverage rate Less accurate reporting

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 report generation method and device and computer equipment
  • Code coverage rate report generation method and device and computer equipment
  • Code coverage rate report generation method and device and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0021] This application provides a method for generating a code coverage report, which is applied to such as figure 1 shown in the application environment. The server cluster 100 includes various servers. Various servers work together to generate code coverage reports during software testing. Such as figure 1 As shown, server cluster 100 includes packaging server 102 , database server 108 , report generation server 104 , and code server 106 . Packing server 102 is used to preserve and execute the apk (Android application package, Android application program package) of...

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 relates to a code coverage rate report generation method and device, computer equipment and a storage medium, and the method comprises the steps: receiving a generation request of a codecoverage rate report of to-be-tested software, and the generation request comprises the identification information of a target virtual business corresponding to the to-be-tested software; obtaining mapping information of the target virtual service according to the identification information in the generation request, wherein the mapping information is used for representing a mapping relationshipbetween the target virtual service and a to-be-tested code file of the to-be-tested software; obtaining a target to-be-tested code file corresponding to the target virtual service according to the mapping relationship of the mapping information, and obtaining a compiled compiled product corresponding to the target to-be-tested code file; and generating a code coverage rate report of the to-be-tested software according to the compiling product. The method can improve the accuracy of the code coverage rate report.

Description

technical field [0001] The present application relates to the technical field of software testing, in particular to a method, device, computer equipment and storage medium for generating a code coverage report. Background technique [0002] In software testing, it is usually necessary to perform code coverage statistics on the software testing process. Code coverage refers to the ratio of executed statements to all statements after the test methods of all test items are run. Code coverage represents the extent to which code can be covered by tests. Generally, software testers decide whether software testing needs to be repeated based on the level of code coverage. [0003] After the software testing process is executed, the system will generate a code coverage report. The code covered by the software testing process is presented in the code coverage report. Through the code coverage report, you can intuitively understand the testing situation of software testing. Howeve...

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/41
CPCG06F11/3676G06F11/3692G06F8/41
Inventor 陈策
Owner GUANGZHOU PINWEI SOFTWARE