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

Code coverage statistical method, device, storage medium, processor and terminal

A technology of code coverage and statistical methods, applied in code coverage statistical methods, processors and terminals, storage media, and devices, can solve problems such as low test efficiency and complicated operation process

Active Publication Date: 2020-10-30
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0017] One embodiment of the present invention provides a code coverage statistics method, device, storage medium, processor, and terminal to at least solve the problem that manual participation is required for the task establishment and update of the code coverage test scheme provided in the related art, and the operation process Complex technical issues with low testing 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 statistical method, device, storage medium, processor and terminal
  • Code coverage statistical method, device, storage medium, processor and terminal
  • Code coverage statistical method, device, storage medium, processor and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0052] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate ...

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 discloses a statistical method and device of the code coverage rate, a storage medium, a processor and a terminal. The method comprises the steps that a first server is triggered to send notification messages to a second server, the first server is used for conducting version management on modified code files, the second server is used for establishing and updating a coverage rate statistical task set which is related to the modified code files, and the notification messages are used for informing the second server to determine the coverage rate statistical task set; coverage rate statistical tasks to be tested are acquired from the coverage rate statistical task set; according to the coverage rate statistical tasks to be tested, modified codes or files after code compiling are subjected to code coverage rate counting, and a code coverage rate statistical result is uploaded to the second server. According to the statistical method, the technical problems are solved that in the prior art, artificial participation is needed for establishing and updating a code coverage rate testing scheme task, the operation process is complex, and the testing efficiency is relatively low.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a code coverage statistical method, device, storage medium, processor and terminal. Background technique [0002] Coverage testing is an important indicator to measure the quality of testing. After many tests such as unit test, assembly test, integration test and interface test have been carried out on a software product, it is necessary to inspect the test quality. If the testing process only covers a small part of the code of the software product, no matter how many test cases are written, it is difficult to ensure the quality of testing. On the contrary, if the testing process has covered most of the codes of the software product, then the quality of the software product can be measured according to the test results. [0003] The currently widely used code coverage methods mainly include: statement coverage and judgment coverage. [0004] Method 1. Statement Coverage, also ...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3676
Inventor 冯佳
Owner NETEASE (HANGZHOU) NETWORK CO LTD