...
首页> 外文期刊>The international arab journal of information technology >Method-level Code Clone Detection for Java through Hybrid Approach
【24h】

Method-level Code Clone Detection for Java through Hybrid Approach

机译:通过混合方法进行Java的方法级代码克隆检测

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

获取外文期刊封面封底 >>

       

摘要

A software clone is an active research area where several researchers have investigated techniques to automatically detect duplicated code in programs. However their researches have limitations either in finding the structural or functional clones. Moreover, all these techniques detected only the first three types of clones. In this paper, we propose a hybrid approach combining metric-based approach with textual analysis of the source code for the detection of both syntactical and functional clones in a given Java source code. This proposal is also used to detect all four types of clones. The detection process makes use of a set of metrics calculated for each type of clones. A tool named CloneManager is developed based on this method in Java for high portability and platform-independency. The various types of clones detected by the tool are classified and clustered as clone clusters. The tool is also tested with seven existing open source projects developed in Java and compared with the existing approaches.
机译:软件克隆是一个活跃的研究领域,一些研究人员研究了自动检测程序中重复代码的技术。然而,他们的研究在寻找结构或功能克隆方面都有局限性。而且,所有这些技术仅检测到前三种类型的克隆。在本文中,我们提出了一种混合方法,将基于度量的方法与源代码的文本分析相结合,以检测给定Java源代码中的语法和功能克隆。该建议还用于检测所有四种类型的克隆。检测过程利用为每种类型的克隆计算的一组度量。基于Java的此方法开发了一种名为CloneManager的工具,以实现高度的可移植性和平台独立性。该工具检测到的各种类型的克隆被分类并聚类为克隆簇。该工具还用Java开发的七个现有开源项目进行了测试,并与现有方法进行了比较。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号