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

Code labeling method and device, computer equipment, medium and system

A technology of code and object code, which is applied in the computer field, can solve the problem of low efficiency of code labeling and achieve the effect of improving efficiency

Pending Publication Date: 2021-04-23
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the efficiency of code annotation is not high by adopting the methods of the prior art

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 labeling method and device, computer equipment, medium and system
  • Code labeling method and device, computer equipment, medium and system
  • Code labeling method and device, computer equipment, medium and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that, in the case of no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.

[0070] In the following description, many specific details are set forth in order to fully understand the present disclosure, but the present disclosure can also be implemented in other ways than described here; obviously, the embodiments in the specification are only some of the embodiments of the present disclosure, and Not all examples.

[0071] figure 1 A schematic diagram of a system architecture provided by the present disclosure, the system architecture includes: a code management platform 101, a code annotation server 102, and an annotation access server 103, wherein the code management platform 101, the code annotation se...

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 labeling method, device, computer equipment, medium and system, and the method comprises the steps: transmitting a snapshot change notification message to a code labeling server through a code management platform, and enabling the code labeling server to obtain a first labeling data file corresponding to a reference code snapshot from a database according to the identification of the reference code snapshot, determining a corresponding relation between a reference line number of the reference code file and a target line number of the target code file according to the code modification information, determining the marking data of the reference line number as the marking data of the corresponding target line number according to the corresponding relation, and generating a second sub-marking data file corresponding to the target code file, and according to the second sub-annotation data file, generating the second annotation data file corresponding to the target code snapshot, so that the target code file does not need to be annotated based on a scanning tool or a manual mode, and the code annotation efficiency is improved.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a code labeling method, device, computer equipment, medium and system. Background technique [0002] With the rapid development of computer technology, the business volume of software projects has also increased rapidly. During the code development process, software developers usually mark the code to facilitate code quality review. For example, coverage status labeling, sensitive word status labeling, static code scanning labeling or comment labeling, etc. [0003] When the original code is modified, the annotation data file corresponding to the original code will become invalid. For example, the 10th line of the original code records the obsolete code in the annotation data file corresponding to the original code. If the 9th and 10th lines of the original code are modified Delete, the 10th line is actually the original 12th line, therefore, the annotation data ...

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): G06F8/30G06F16/11G06F40/117
CPCG06F8/31G06F40/117G06F16/128
Inventor 刘杰
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD