首页> 外文期刊>International journal of software engineering and knowledge engineering >Structural Code Clone Detection Methodology Using Software Metrics
【24h】

Structural Code Clone Detection Methodology Using Software Metrics

机译:使用软件度量标准的结构代码克隆检测方法

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

摘要

Unnecessary repeated codes, also known as code clones, have not been well documented and are difficult to maintain.Code clones may become an important problem in the software development cycle, since any detected error must be fixed in all occurrences.This condition significantly increases software maintenance costs and requires effort/duration for understanding the code.This research introduces a novel methodology to minimize or prevent the code cloning problem in software projects.In particular, this manuscript is focused on the detection of structural code clones, which are defined as similarity in software structure such as design patterns.Our proposed methodology provides a solution to the class-level structural code clone detection problem.We introduce a novel software architecture that provides unification of different software quality analysis tools that take measurements for software metrics for structural code clone detection.We present an empirical evaluation of our approach and investigate its practical usefulness.We conduct a user study using human judges to detect structural code clones in three different open-source software projects.We apply our methodology to the same projects and compare results.The results show that our proposed solution is able to show high consistency compared with the results reached by the human judges.The outcome of this study also indicates that a uniform structural code clone detection system can be built on top of different software quality tools, where each tool takes measurements of different object-oriented software metrics.
机译:不必要的重复代码(也称为代码克隆)尚未得到充分的文档记录,并且难以维护。代码克隆可能成为软件开发周期中的重要问题,因为必须始终修复所有检测到的错误,这种情况大大增加了软件数量维护成本,需要花费时间/精力来理解代码。这项研究引入了一种新的方法来最大程度地减少或防止软件项目中的代码克隆问题。特别是,本文着重于结构化克隆的检测,定义为相似性我们提出的方法论为类级别的结构代码克隆检测问题提供了解决方案。我们介绍了一种新颖的软件体系结构,该软件体系结构统一了用于对结构代码克隆的软件指标进行测量的不同软件质量分析工具。检测。我们对我们的方法进行了实证评估我们使用人工判断进行了用户研究,以检测三个不同的开源软件项目中的结构代码克隆,并将我们的方法应用于相同的项目并比较结果,结果表明我们提出的解决方案能够与人类法官得出的结果相比具有较高的一致性。这项研究的结果还表明,可以在不同的软件质量工具之上构建统一的结构代码克隆检测系统,其中每个工具都可以测量不同的面向对象软件指标。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号