...
首页> 外文期刊>Electronic Communications of the EASST >Toward a Code-Clone Search through the Entire Lifecycle of a Software Product
【24h】

Toward a Code-Clone Search through the Entire Lifecycle of a Software Product

机译:在软件产品的整个生命周期内进行代码克隆搜索

获取原文
           

摘要

This paper presents a clone-detection method/tool currently under devel-opment. This tool is useful as a code-clone search through the entire lifecycle ofa software product; The tool searches code examples and analyzes of code clonesin both preventive and postmortem ways[LRHK10]. The approach is based on asequence equivalence on execution paths[Kam13] and extends the equivalence toinclude gaps, thus type-3[BKA + 07] clone detection. Each of the detected clones isa sub-sequence of an execution path of a given program, in other words, a set of codefragments of multiple procedures (methods) which can be executed in a run of theprogram. The approach is relaxed in terms of adaptability to incomplete (not-yet-finished) code, but also makes use of concrete information such as types (includinghierarchy) and dynamic dispatch when such information is available.
机译:本文提出了一种目前正在开发中的克隆检测方法/工具。该工具在整个软件产品的整个生命周期中都可用作代码克隆搜索。该工具以预防和事后搜索的方式搜索代码示例并分析代码克隆[LRHK10]。该方法基于执行路径上的等价性[Kam13],并将等价性扩展到包括缺口,从而进行类型3 [BKA + 07]克隆检测。每个检测到的克隆是给定程序的执行路径的子序列,换句话说,就是可以在程序运行时执行的多个过程(方法)的代码片段集。从对不完整(尚未完成)代码的适应性方面考虑,该方法是宽松的,但是在此类信息可用时,也使用了诸如类型(包括层次结构)之类的具体信息和动态分配。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号