首页> 外国专利> SOURCE CODE EVALUATION DEVICE, SOURCE CODE EVALUATION METHOD, AND SOURCE CODE EVALUATION PROGRAM

SOURCE CODE EVALUATION DEVICE, SOURCE CODE EVALUATION METHOD, AND SOURCE CODE EVALUATION PROGRAM

机译:源代码评估设备,源代码评估方法和源代码评估程序

摘要

An association scope extraction unit (300) extracts, from post-change source code (102), as a second association scope, a code block which is the same as any code block of pre-change source code (101) and which corresponds to a portion which is changed from the pre-change source code, and extracts, from the pre—change source code, as a first association scope, the same code block as the second association scope. A symbolic execution unit (402) carries out a symbolic execution of the first association scope and the second association scope. When an operation appears in the symbolic execution of the first association scope which is upon an element which is outside the first association scope, a recording unit (404) records an identification value of the operation upon the element which is outside the first association scope, and when an operation appears in the symbolic execution of the second association scope which is upon an element which is outside the second association scope, records an identification value of the operation upon the element which is outside the second association scope. A comparison unit (403) compares the recorded sequence of the identification values in the symbolic execution of the first association scope and the recorded sequence of the identification values in the symbolic execution of the second association scope.
机译:关联范围提取单元(300)从变更后的源代码(102)中提取与变更前的源代码(101)的任意代码块相同的代码块作为第二关联范围。从预变更源代码改变的部分,并且从预变更源代码中提取与第二关联范围相同的代码块作为第一关联范围。符号执行单元(402)执行第一关联范围和第二关联范围的符号执行。当在第一关联范围之外的元素上的第一关联范围的符号执行中出现操作时,记录单元(404)在第一关联范围之外的元素上记录操作的识别值,当在第二关联范围之外的元素上的第二关联范围的符号执行中出现操作时,将操作的标识值记录在第二关联范围之外的元素上。比较单元(403)比较在第一关联范围的符号执行中的识别值的记录顺序和在第二关联范围的符号执行中的识别值的记录顺序。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号