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

Code test processing method and device, electronic equipment and medium

A technology of code testing and processing methods, which is applied in the field of electronic equipment and media, code testing processing methods, and devices, and can solve problems such as code coverage cannot be effectively improved

Active Publication Date: 2020-05-29
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present application provides a code test processing method, device, electronic equipment and medium to solve the technical problem in the prior art that the code coverage rate cannot be effectively improved in the code test

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 test processing method and device, electronic equipment and medium
  • Code test processing method and device, electronic equipment and medium
  • Code test processing method and device, electronic equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0057] Explanation of terms involved in this application:

[0058] Code coverage: The extent to which code can be covered during code testing, specifically the ratio of executed statements to total statements during code testing.

[0059] Correlation coefficient: used to characterize the degree of linear correlation between different variables.

[0...

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 test processing method and device, equipment and a storage medium, and the method comprises the steps: determining whether the code coverage rate after a code test is lower than a first preset threshold value or not, and repeatedly executing the following steps if the code coverage rate after the code test is lower than the first preset threshold value until the codecoverage rate is not lower than the first preset threshold value; determining at least one first keyword corresponding to the code; determining at least one test task corresponding to the at least onekeyword according to the at least one first keyword corresponding to the code; and according to each test task in the at least one test task, testing the code, and determining a code coverage rate after the code is tested. And testing the code according to the determined at least one test task, so that more optimized code testing can be realized, the testing effect is good, the testing efficiencyis high, the code coverage rate of the code can be increased, and the code quality of the code can be improved.

Description

technical field [0001] The present application relates to the technical field of games, and in particular to a code test processing method, device, electronic equipment and media. Background technique [0002] In the process of game project development and testing, code testing is an important part of the work. The code coverage rate reflects the degree of coverage during the code testing process, and specifically reflects the ratio of the executed statements to the total statements during the code testing process. [0003] In the prior art, the code coverage rate after code testing is often lower than 100%, and even inexperienced testers can only reach about 50%. In the case that the code coverage rate is lower than expected, testers do not know how to retest to improve the code coverage rate of code testing. Instead, testers often conduct code testing again based on their own testing experience and fixed testing process. [0004] However, testers conduct code testing base...

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/3684G06F11/3676G06F11/3688Y02D10/00
Inventor 温中凯
Owner NETEASE (HANGZHOU) NETWORK CO LTD