发明名称 |
IDENTIFYING SEMANTIC DIFFERENCES BETWEEN SOURCE CODE VERSIONS |
摘要 |
The present disclosure relates to a method and system for identifying a semantic difference between source code versions. In one embodiment of the present disclosure, there is provided a method for identifying a semantic difference between source code versions, comprising: obtaining first debugging information of a first source code version and second debugging information of a second source code version respectively; determining, by comparing the first debugging information with the second debugging information, whether in the second source code version there exists a second function matching a first function in the first source code version; and identifying the semantic difference on the basis of a result of the determining. In one embodiment of the present disclosure, there is provided a system for identifying a semantic difference between source code versions. By means of the present disclosure, a semantic difference between various source code versions can be identified rapidly and accurately. |
申请公布号 |
US2016062765(A1) |
申请公布日期 |
2016.03.03 |
申请号 |
US201514838445 |
申请日期 |
2015.08.28 |
申请人 |
International Business Machines Corporation |
发明人 |
Ji Jin Song;Lin Ke Wen;Zhang Qing Shan;Zhang Yuheng |
分类号 |
G06F9/44;G06F11/36 |
主分类号 |
G06F9/44 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for identifying a semantic difference between source code versions, comprising:
obtaining first debugging information of a first source code version and second debugging information of a second source code version respectively; determining, by comparing the first debugging information with the second debugging information, that a second function of the second source code version does not match a first function of the first source code version; and identifying the semantic difference based on the determining, wherein the semantic difference is a difference that changes an operating result. |
地址 |
Armonk NY US |