Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for identifying semantic difference between source code versions

A semantic distinction and source code technology, applied in version control, program control devices, instruments, etc., can solve manual and other problems

Active Publication Date: 2016-03-30
IBM CORP
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These technical solutions will mark the text modification that would not have any impact on the running results of the program as differences, causing developers to manually find the semantic difference that really affects the running results among the large number of identified differences

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 and device for identifying semantic difference between source code versions
  • Method and device for identifying semantic difference between source code versions
  • Method and device for identifying semantic difference between source code versions

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0021] figure 1 A block diagram of an exemplary computer system / server 12 suitable for use in implementing embodiments of the invention is shown. figure 1 The computer system / server 12 shown is only an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.

[0022] Such as figure 1 As shown, computer system / server 12 takes the form of a general purpose computing device. ...

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 method and a device for identifying semantic difference between source code versions. In one embodiment of the invention, a method for identifying the semantic difference between the source code versions is provided, comprising: respectively obtaining first debugging information of a first source code version and second debugging information of a second source code version; comparing the first debugging information with the second debugging information, and determining whether a second function matched with a first function in the first source code version exists in the second source code version; and identifying the semantic difference based on the determined result. In one embodiment of the invention, a device for identifying the semantic difference between the source code versions is provided. By adopting the method and the device provided by the invention, the semantic difference between the source code versions can be identified quickly and accurately.

Description

technical field [0001] Embodiments of the invention relate to software development, and more particularly, to methods and apparatus for identifying semantic differences between source code versions during software development. Background technique [0002] With the increase of user needs, the functions of computer software are also becoming more and more complex. During the software development cycle, different source code versions in various development stages need to be tested frequently. Regression testing refers to re-testing after modifying the old code to confirm that the modification does not introduce new errors or cause errors in other codes. As an important part of software development, regression testing occupies a large proportion of workload in the whole software development process. Generally speaking, developers step through each function in the software design and ensure the correctness of the source code based on regression testing. [0003] For example, ...

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
IPC IPC(8): G06F9/44
CPCG06F8/71G06F8/75G06F11/3624
Inventor 林科文纪金松张青山张玉珩
Owner IBM CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products