首页> 外文会议>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:使用修改的PDGS有效的三相代码克隆探测器

获取原文

摘要

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与其他三种最先进的工具一起对现实世界和人造码Base进行克隆检测。实验结果表明,CCSharp具有高召回和精度,与其他三个工具相比,可以检测更具独特的克隆。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号