Method, device and electronic equipment for determining code change information

A technology for changing information and determining methods, applied in the field of code processing, can solve problems such as non-existence, and achieve the effect of determining convenience

Active Publication Date: 2020-04-07
深圳市雅阅科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The inventor of the present invention found in the research process that the current SVN log only contains code change location information such as the changed file path and changed line in the two comparison versions, and there is no code change such as function and class name. Change function information; as the basic unit for executing code functions, functions are of great significance for analyzing code quality problems, so how to improve the existing method of determining the code change information of the two comparison versions, and realize the code change function of the two comparison versions The determination of information becomes a problem that those skilled in the art need to consider

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
  • Method, device and electronic equipment for determining code change information
  • Method, device and electronic equipment for determining code change information
  • Method, device and electronic equipment for determining code change information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0035] figure 1 It is a flow chart of a method for determining code change information provided by an embodiment of the present invention. This method can be applied to electronic devices with data processing capabilities, electronic devices such as user-side devices such as computers, and network-side devices such as servers;

[0036] refer to figure 1 , the method can include:

[0037] Step S100, acquiring the code change position information of the first ...

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 change information determination method and device and electronic equipment. The method comprises the following steps of: obtaining code change position information of a first version and a second version, wherein the code change position information records a code change position of the first version and a code change position of the second version; extracting first function information which undergoes code change in a first code project file corresponding to the first version from the first code project file according to the code change position of the first version; extracting second function information which undergoes code change in a second code project file corresponding to the second version from the second code project file according to the code change position of the second version; and comparing the function change conditions of same file paths in the first code project file and the second code project file, and determining code change function information of the first version and the second version. According to the method, the determination of the code change function information of two comparison versions is realized.

Description

technical field [0001] The invention relates to the technical field of code processing, in particular to a method, device and electronic equipment for determining code change information. Background technique [0002] In code development, there are code changes in different versions of the code. Knowing the code change information between different versions is of great reference significance for finding code quality problems during code development and testing. [0003] There are currently many tools with code management functions. As an open source version control system, SVN (Subversion) is one of the commonly used tools for code management; SVN provides the function of obtaining code change information of two comparison versions. The specific method is: through the SVN log provided by SVN, the code change information of the two comparison versions managed by SVN (such as the code change information between the new and old versions) can be obtained, and the SVN log can be ...

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): G06F8/71
Inventor 王琳霍举振程春林张锦铭
Owner 深圳市雅阅科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products