首页> 外文会议>International Workshop on Software Clones >Twin-Finder: Integrated Reasoning Engine for Pointer-Related Code Clone Detection
【24h】

Twin-Finder: Integrated Reasoning Engine for Pointer-Related Code Clone Detection

机译:Twin-Finder:用于指针相关代码克隆检测的集成推理引擎

获取原文

摘要

Detecting code clones is crucial in various software engineering tasks. In particular, code clone detection can have significant uses in the context of analyzing and fixing bugs in large scale applications. However, prior works, such as machine learning-based clone detection, may cause a considerable amount of false positives. In this paper, we propose Twin-Finder, a novel, closed-loop approach for pointer-related code clone detection that integrates machine learning and symbolic execution techniques to achieve precision. Twin-Finder introduces a clone verification mechanism to formally verify if two clone samples are indeed clones and a feedback loop to automatically generated formal rules to tune machine learning algorithm and further reduce the false positives. Our experimental results show that Twin-Finder can swiftly identify up 9× more code clones comparing to a tree-based clone detector, Deckard and remove an average 91.69% false nositives.
机译:在各种软件工程任务中,检测代码克隆至关重要。特别是,代码克隆检测在分析和修复大型应用程序中的错误的上下文中可以有重要的用途。但是,先前的工作,例如基于机器学习的克隆检测,可能会导致相当多的误报。在本文中,我们提出了Twin-Finder,这是一种新颖的闭环方法,用于与指针相关的代码克隆检测,该方法将机器学习和符号执行技术集成在一起以实现精度。 Twin-Finder引入了一个克隆验证机制来正式验证两个克隆样本是否确实是克隆,以及一个反馈环来自动生成形式规则以调整机器学习算法并进一步减少误报。我们的实验结果表明,与基于树的克隆检测器Deckard相比,Twin-Finder可以迅速识别出多达9倍的代码克隆,并且可以平均去除91.69%的伪错误。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号