首页> 外文会议>International Joint Conference on Artificial Intelligence >Supervised Deep Features for Software Functional Clone Detection by Exploiting Lexical and Syntactical Information in Source Code
【24h】

Supervised Deep Features for Software Functional Clone Detection by Exploiting Lexical and Syntactical Information in Source Code

机译:通过在源代码中利用词法和语法信息来监督软件功能克隆检测的深度功能

获取原文

摘要

Software clone detection, aiming at identifying out code fragments with similar functionalities, has played an important role in software maintenance and evolution. Many clone detection approaches have been proposed. However, most of them represent source codes with hand-crafted features using lexical or syntactical information, or unsupervised deep features, which makes it difficult to detect the functional clone pairs, i.e., pieces of codes with similar functionality but differing in both syntactical and lexical level. In this paper, we address the software functional clone detection problem by learning supervised deep features. We formulate the clone detection as a supervised learning to hash problem and propose an end-to-end deep feature learning framework called CDLH for functional clone detection. Such framework learns hash codes by exploiting the lexical and syntactical information for fast computation of functional similarity between code fragments. Experiments on software clone detection benchmarks indicate that the CDLH approach is effective and outperforms the state-of-the-art approaches in software functional clone detection.
机译:克隆检测软件克隆检测,旨在识别具有类似功能的代码片段,在软件维护和进化中发挥了重要作用。已经提出了许多克隆检测方法。然而,它们中的大多数代表了使用词法或语法信息的手工制作功能或无监督的深度特征,这使得难以检测功能克隆对,即具有相似功能的代码,但在语法和词法中不同等级。在本文中,我们通过学习监督的深度功能来解决软件功能克隆检测问题。我们将克隆检测作为哈希问题的监督学习,提出一个名为CDLH的端到端深度特征学习框架,用于功能克隆检测。此类框架通过利用用于快速计算代码片段之间的功能相似性的词汇和语法信息来了解哈希码。软件克隆检测基准测试表明,CDLH方法是有效的,优于软件功能克隆检测中的最先进方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号