【24h】

Tree-Pattern-based Duplicate Code Detection

机译:基于树模式的重复代码检测

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

摘要

This paper presents a tree-pattern-based method of automatically and accurately finding code clones in program files. Duplicate tree-patterns are first collected by anti-unification algorithm and redundancy-free exhaustive comparisons, and then finally clustered. The algorithm is designed in such a way that the same comparison is not repeated for speed, while thoroughly examining every possible pairs of tree patterns for accuracy. Our method maintains the syntax structure of code in tree-pattern clusters, which gives the flexibility of finding different types of clones while keeping the precision.
机译:本文提出了一种基于树模式的方法,可以自动,准确地在程序文件中查找代码克隆。首先通过反统一算法和无冗余的详尽比较来收集重复的树模式,然后将其聚类。该算法的设计方式是,不会重复相同的比较以提高速度,同时彻底检查每对可能的树模式对的准确性。我们的方法保持了树模式簇中代码的语法结构,这为查找不同类型的克隆提供了灵活性,同时保持了精度。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号