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

Target code generation method and device

An object code and code technology, which are applied in the field of object code generation methods and devices, can solve problems such as low efficiency, and achieve the effects of improving accuracy and writing efficiency.

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

AI Technical Summary

Problems solved by technology

[0004] This application provides a method and device for generating target codes to solve the problem that test case codes in related technologies need to be written manually and have 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
  • Target code generation method and device
  • Target code generation method and device
  • Target code generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.

[0024] In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only The embodiments are part of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the scope of protection of the present application.

[0025] It s...

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 target code generation method and device. The method comprises the steps that code labeling information of a tested object is determined; the code labeling information is input into a trained generation model, corresponding output code information is output by the generation model, the generation model is obtained by pre-training through a first data set and adjusting training through a second data set in sequence, the first data set comprises partial codes and corresponding complete codes, and the second data set comprises partial codes and corresponding complete codes. The second data set comprises input code labeling information and corresponding output code information; target codes of the tested object are determined according to the output code information, and the target codes are used for testing the tested object. Through the method and the device, the problem of low efficiency due to the fact that test case codes need to be written manually in related technologies is solved.

Description

technical field [0001] The present application relates to the field of artificial intelligence, and in particular, to a method and device for generating target codes. Background technique [0002] Unit test-driven development is a core practice and technology in agile development. The principle is to write unit test case code before developing functional code, and the test code determines the product code that needs to be written. At present, unit test code mainly relies on developers to write manually, but the code topology of unit test code is usually relatively simple in the most common scenarios such as branch coverage and error coverage, and developers still need to waste too much practice and energy on redundant The writing of the remaining code has severely squeezed the time to focus on the writing of business code and investment in product innovation, research and development, and exploration, which is not conducive to business promotion and product innovation. [0...

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/30
CPCG06F11/3684G06F8/30
Inventor 林文杰陆杨芳霍华仔张健雯
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA