Clone Swarm: A Cloud Based Code-Clone Analysis Tool

V. Bandi, C. Roy, C. Gutwin
{"title":"Clone Swarm: A Cloud Based Code-Clone Analysis Tool","authors":"V. Bandi, C. Roy, C. Gutwin","doi":"10.1109/IWSC50091.2020.9047642","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":127830,"journal":{"name":"2020 IEEE 14th International Workshop on Software Clones (IWSC)","volume":"195 16","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 IEEE 14th International Workshop on Software Clones (IWSC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IWSC50091.2020.9047642","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
克隆群:基于云的代码克隆分析工具
代码克隆被定义为软件系统中一对相似的代码片段。虽然代码克隆并不总是有害的,但由于bug的传播和其他维护问题,它们可能对软件系统的整体质量产生有害的影响。因此,软件开发人员需要分析软件系统中存在的代码克隆。然而,尽管有几种克隆检测系统的可用性,克隆社区之外对这些工具的采用仍然很低。造成这种情况的一个可能原因是设置和使用这些工具所涉及的难度和复杂性。在本文中,我们介绍了Clone Swarm,这是一个代码克隆分析工具,可以识别项目中的克隆,并以易于访问的方式呈现信息。Clone Swarm是公开可用的,可以挖掘任何开源的GIT存储库。Clone Swarm内部使用NiCad,一个流行的云克隆检测工具,允许用户使用基于web的界面在多个粒度级别(函数和块级别)交互式地探索代码克隆。克隆结果显示在多个概览中,从高级图一直到克隆片段的逐行比较视图。此外,为了方便将来在克隆检测和分析领域的研究,用户可以直接下载克隆检测结果用于他们的项目。Clone Swarm可以在Clone - Swarm .usask.ca上获得。Clone Swarm的源代码在MIT许可下可以在GitHub上免费获得。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Clone Swarm: A Cloud Based Code-Clone Analysis Tool Blanker: A Refactor-Oriented Cloned Source Code Normalizer Improving Syntactical Clone Detection Methods through the Use of an Intermediate Representation Clone Detection on Large Scala Codebases Comparison and Visualization of Code Clone Detection Results
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1