首页> 外文会议>International Workshop on Software Clones >Clone Swarm: A Cloud Based Code-Clone Analysis Tool
【24h】

Clone Swarm: A Cloud Based Code-Clone Analysis Tool

机译:克隆群:基于云的代码克隆分析工具

获取原文

摘要

A code clone is defined as a pair of similar code fragments within a software system. While code clones are not always harmful, they can have a detrimental effect on the overall quality of a software system due to the propagation of bugs and other maintenance implications. Because of this, software developers need to analyse the code clones that exist in a software system. However, despite the availability of several clone detection systems, the adoption of such tools outside of the clone community remains low. A possible reason for this is the difficulty and complexity involved in setting up and using these tools. In this paper, we present Clone Swarm, a code clone analytics tool that identifies clones in a project and presents the information in an easily accessible manner. Clone Swarm is publicly available and can mine any open-sourced GIT repository. Clone Swarm internally uses NiCad, a popular clone detection tool in the cloud and lets users interactively explore code clones using a web-based interface at multiple granularity levels (Function and Block level). Clone results are visualized in multiple overviews, all the way from a high-level plot down to an individual line by line comparison view of cloned fragments. Also, to facilitate future research in the area of clone detection and analysis, users can directly download the clone detection results for their projects. Clone Swarm is available online at clone-swarm.usask.ca. The source code for Clone Swarm is freely available under the MIT license on GitHub.
机译:代码克隆被定义为软件系统中的一对相似的代码片段。尽管代码克隆并不总是有害的,但是由于错误的传播和其他维护问题,它们可能会对软件系统的整体质量产生不利影响。因此,软件开发人员需要分析软件系统中存在的代码克隆。但是,尽管有几个克隆检测系统可用,但克隆社区之外对此类工具的采用率仍然很低。造成这种情况的可能原因是设置和使用这些工具所涉及的困难和复杂性。在本文中,我们介绍了Clone Swarm,这是一种代码克隆分析工具,可识别项目中的克隆并以易于访问的方式显示信息。 Clone Swarm是公开可用的,可以挖掘任何开源的GIT存储库。 Clone Swarm在内部使用NiCad(一种在云中流行的克隆检测工具),使用户可以使用基于Web的界面以多个粒度级别(功能和块级别)交互式地浏览代码克隆。克隆结果在多个概览中可视化,从高级图解一直到单个片段的逐行比较视图,一路可见。另外,为便于将来在克隆检测和分析领域的研究,用户可以直接下载其项目的克隆检测结果。可在clone-swarm.usask.ca上在线获得“克隆群”。 GitHub上的MIT许可证免费提供了Clone Swarm的源代码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号