首页> 外文会议>International conference on computational science and its applications >On the Structural Code Clone Detection Problem: A Survey and Software Metric Based Approach
【24h】

On the Structural Code Clone Detection Problem: A Survey and Software Metric Based Approach

机译:关于结构代码克隆检测问题:一种基于调查和软件度量的方法

获取原文

摘要

Unnecessary repeated codes (clones) have not been well documented and are difficult to maintain. Code clones may become an important problem in software development cycle and they must be fixed in all occurrences. This condition increases significantly software maintenance costs and required effort/duration for understanding the code. Over the years, many techniques have been proposed in order to minimize or prevent the code cloning problems. The main focus of these techniques is on the detection of clones. In such studies, code cloning is studied under two main categories: simple and structural. Simple clone is defined as the similarity that arises from the repetition of the code snippet in the software. Structural clone is defined as the similarity in software structure (i.e. design patterns and object oriented programming class relations). Simple clone detection techniques fail to determine the reasons of code repetition whether it is due to design or not, as they do not look at the code from a wider perspective for repetitive code snippets. In this study, we survey the existing structural clones approaches. We also introduce an approach that utilizes software quality metrics for detecting the structural code clones.
机译:不必要的重复代码(克隆)没有得到很好的记录,并且难以维护。代码克隆可能成为软件开发周期中的重要问题,必须在所有情况下都将其修复。这种情况会大大增加软件维护成本,并增加理解代码的工作量/持续时间。多年来,为了最小化或防止代码克隆问题,已经提出了许多技术。这些技术的主要重点是克隆的检测。在此类研究中,代码克隆的研究主要分为两类:简单和结构化。简单克隆定义为由于软件中代码片段的重复而产生的相似性。结构克隆被定义为软件结构的相似性(即设计模式和面向对象的编程类关系)。简单的克隆检测技术无法确定代码重复的原因(无论是由于设计造成的),因为它们没有从更广泛的角度查看代码以获取重复的代码片段。在这项研究中,我们调查了现有的结构克隆方法。我们还介绍了一种利用软件质量度量来检测结构代码克隆的方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号