首页> 外文会议>Software Clones (IWSC), 2012 6th International Workshop on >Semantic clone detection using method IOE-behavior
【24h】

Semantic clone detection using method IOE-behavior

机译:使用IOE行为的语义克隆检测

获取原文
获取原文并翻译 | 示例

摘要

This paper presents an algorithm for the detection of semantic clones in Java methods. Semantic clones are defined as functionally-identical code fragments. Our detection process operates on the premise that if two code fragments are semantic clones, then their input-output behavior would be identical. We adopt a wholistic approach to the definition of input-output behavior by including not only the parameters and return values of methods; but also their effects, as reflected in the pre- and post-states of the heap. We refer to this as a method's IOE-behavior (input, output and effects).
机译:本文提出了一种用于检测Java方法中的语义克隆的算法。语义克隆定义为功能相同的代码片段。我们的检测过程的前提是,如果两个代码片段是语义克隆,则它们的输入-输出行为将是相同的。我们不仅采用方法的参数和返回值,还采用了全面的方法来定义输入输出行为。以及它们的影响,如堆的前和后状态所反映。我们将此称为方法的IOE行为(输入,输出和效果)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号