Exploring Large-Scale System Similarity Using Incremental Clone Detection and Live Scatterplots

J. Cordy
{"title":"Exploring Large-Scale System Similarity Using Incremental Clone Detection and Live Scatterplots","authors":"J. Cordy","doi":"10.1109/ICPC.2011.25","DOIUrl":null,"url":null,"abstract":"Incremental clone detection is designed to efficiently find only those clones that cross between a previous version of a system and a new version in order to update a previous clone analysis. If we instead use a different system as the new version, then it can be used to find only those clones that cross between two different systems. Live scatter plots are a visualization technique that helps localize clones quickly using pop-up information directly from points in the scatter plot. In this paper we explore how these two can be used together to rapidly expose and analyze similarities between two different systems at several levels of abstraction. Using the NiCad incremental clone detector, we find function clones between two recent versions of Linux and FreeBSD, analyze the nature and causes of some of these similarities in detail, and compare our observations with the earlier study of token-sequence clones between previous versions of these systems using CCFinder almost a decade ago.","PeriodicalId":345601,"journal":{"name":"2011 IEEE 19th International Conference on Program Comprehension","volume":"25 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"20","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 IEEE 19th International Conference on Program Comprehension","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICPC.2011.25","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 20

Abstract

Incremental clone detection is designed to efficiently find only those clones that cross between a previous version of a system and a new version in order to update a previous clone analysis. If we instead use a different system as the new version, then it can be used to find only those clones that cross between two different systems. Live scatter plots are a visualization technique that helps localize clones quickly using pop-up information directly from points in the scatter plot. In this paper we explore how these two can be used together to rapidly expose and analyze similarities between two different systems at several levels of abstraction. Using the NiCad incremental clone detector, we find function clones between two recent versions of Linux and FreeBSD, analyze the nature and causes of some of these similarities in detail, and compare our observations with the earlier study of token-sequence clones between previous versions of these systems using CCFinder almost a decade ago.
利用增量克隆检测和活散点图探索大规模系统相似性
增量克隆检测旨在有效地只查找那些在系统的旧版本和新版本之间交叉的克隆,以便更新以前的克隆分析。如果我们使用不同的系统作为新版本,那么它就可以用来查找那些在两个不同系统之间交叉的克隆。实时散点图是一种可视化技术,可以使用直接来自散点图中的点的弹出信息来帮助快速定位克隆。在本文中,我们探讨了如何将这两者一起使用,以便在几个抽象级别上快速暴露和分析两个不同系统之间的相似性。使用NiCad增量克隆检测器,我们发现了两个最新版本的Linux和FreeBSD之间的函数克隆,详细分析了这些相似性的性质和原因,并将我们的观察结果与近十年前使用CCFinder对这些系统的先前版本之间的令牌序列克隆的早期研究进行了比较。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信