首页> 外文会议>Asia-Pacific Software Engineering Conference >CCSharp: An Efficient Three-Phase Code Clone Detector Using Modified PDGs
【24h】

CCSharp: An Efficient Three-Phase Code Clone Detector Using Modified PDGs

机译:CCSharp:使用修改过的PDG的高效三相代码克隆检测器

获取原文

摘要

Detecting code clones in software systems is becoming more and more important with the blossom of open source projects. In spite of numerous active researches, there is still a lack of detecting clones especially high-level clones efficiently and accurately. In this paper, we present CCSharp, a three-phase PDG-based clone detector which can detect much more clones besides high-level ones in software systems. To solve the problem of PDG-based tool's high time cost, we adopt two strategies to decrease the overall computing quantity of our tool: PDG's structure modification and characteristic vector filtering. In PDG's structure modification, we propose a novel technique to merge procedure invocation nodes which can make clone detection get rid of influence of procedure's parameters and disguise as well as downscale PDG's structure. We proceed clone detection on both real-world and artificial codebase by CCSharp along with other three state-of-the-art tools. Experiment results show that CCSharp has both high recall and precision, and can detect much more unique clones compared with the other three tools.
机译:随着开源项目的兴起,检测软件系统中的代码克隆变得越来越重要。尽管进行了大量积极的研究,但仍然缺乏有效且准确地检测克隆,尤其是高级克隆的方法。在本文中,我们介绍CCSharp,这是一种基于PDG的三相克隆检测器,除了软件系统中的高级克隆外,它还可以检测更多的克隆。为了解决基于PDG的工具的高时间成本的问题,我们采取了两种策略来减少工具的总体计算量:PDG的结构修改和特征向量滤波。在PDG的结构修改中,我们提出了一种合并过程调用节点的新技术,该技术可以使克隆检测摆脱过程参数的影响和伪装以及降低PDG的结构。我们将使用CCSharp以及其他三个最新工具在真实世界和人工代码库上进行克隆检测。实验结果表明,与其他三种工具相比,CCSharp具有很高的查全率和准确性,并且可以检测到更多独特的克隆。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号