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

Code difference detection method and device

A difference detection and code technology, applied in error detection/correction, software testing/debugging, instrumentation, etc., can solve problems affecting the accuracy and efficiency of subsequent development or testing work, and achieve the effect of improving efficiency

Active Publication Date: 2022-03-18
GUANGZHOU YIFANG INFORMATION TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method can only reflect the differences in the code itself, and cannot reflect the deep representation of code differences, which will affect the accuracy and efficiency of subsequent development or testing.

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 difference detection method and device
  • Code difference detection method and device
  • Code difference detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to better understand the purpose, technical solution and technical effect of the present invention, the present invention will be further explained below in conjunction with the accompanying drawings and embodiments. At the same time, it is stated that the embodiments described below are only used to explain the present invention, and are not intended to limit the present invention.

[0046] An embodiment of the present invention provides a code difference detection method.

[0047] figure 1 It is a flowchart of a code difference detection method in an embodiment, such as figure 1 As shown, the code difference detection method of an embodiment includes step S100 to step S105:

[0048] S100, monitoring code updates;

[0049] S101, comparing codes before and after updating to obtain difference codes;

[0050] S102, find the API path related to the difference code, and determine the associated text information and method modification weight of the API path;

[...

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 difference detection method and device. After the update of the code is monitored, the code before and after the update is compared to obtain the difference code. Find the API path related to the difference code, and determine the associated text information and method modification weight of the API path, and search for the business description text information according to the pre-associated PM business order number of the difference code, and then according to the business description text information and associated text information , to select a specific functional label from the functional label database. Finally, based on the API path, method modification weight and specific function label, the code difference detection result information is determined. Based on this, relevant developers and testers of the code can intuitively understand the update and changes of the code according to the information of the code difference detection results, and establish associations with the relevant business functions of the code to determine the in-depth representation of the code changes and provide accurate information for development or testing. Reference for efficiency.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a code difference detection method and device. Background technique [0002] Software development is the process of building a software system or software part of the system according to user requirements. The realization of the software system or software part mainly relies on code. Therefore, when the software changes, such as function changes or interface changes, it is necessary to adjust or rewrite the code, resulting in code differences in different version iterations or requirements changes. In the case of collaborative development, at this time, the boundary of the functional scope of code changes will become blurred, and it is easy to affect the business beyond the test function; 2. There are often development self-tests in the code version iteration process, but For this part of the self-test function, it is easy to ignore the possible impact on other business...

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/3672
Inventor 李志康白剑黄海亮梁瑛玮张海林鲁和平李长杰陈焕然李乐王浩洪行健冷冬丁一
Owner GUANGZHOU YIFANG INFORMATION TECH CO LTD