2015 IEEE 9th International Workshop on Software Clones (IWSC)最新文献

筛选
英文 中文
An execution-semantic and content-and-context-based code-clone detection and analysis 执行语义和基于内容和上下文的代码克隆检测和分析
2015 IEEE 9th International Workshop on Software Clones (IWSC) Pub Date : 2015-03-06 DOI: 10.1109/IWSC.2015.7069882
Toshihiro Kamiya
{"title":"An execution-semantic and content-and-context-based code-clone detection and analysis","authors":"Toshihiro Kamiya","doi":"10.1109/IWSC.2015.7069882","DOIUrl":"https://doi.org/10.1109/IWSC.2015.7069882","url":null,"abstract":"This paper presents a code-clone detection and its analysis method, based on an execution-semantic and arbitrary-granularity model[8] of code fragments. The principal goal of introducing the proposed detection method is to provide a code-clone detection method suitable for programming languages, where software developers can define their own “control sentences” with such as lambda or lazy evaluation. Code clones detected with the proposed method are a kind of type-3 clone, where code fragments exist across boundaries of procedures or modules. The model also seems useful as clone metrics (for a clone triage) based on the contents and contexts of code fragments in a clone class and extensible to a unified method of code-clone detection and code search. This paper introduces an execution-semantic and content-and-context based code clone, describes its definition, a detection method, an analysis method, and a prototype implementation of a tool chain, which was applied to two open-source products as an preliminary empirical evaluation.","PeriodicalId":144483,"journal":{"name":"2015 IEEE 9th International Workshop on Software Clones (IWSC)","volume":"29 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2015-03-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116456221","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 11
What do practitioners ask about code clone? a preliminary investigation of stack overflow 对于代码克隆,从业者会问些什么?栈溢出的初步研究
2015 IEEE 9th International Workshop on Software Clones (IWSC) Pub Date : 2015-03-06 DOI: 10.1109/IWSC.2015.7069890
Eunjong Choi, Norihiro Yoshida, R. Kula, Katsuro Inoue
{"title":"What do practitioners ask about code clone? a preliminary investigation of stack overflow","authors":"Eunjong Choi, Norihiro Yoshida, R. Kula, Katsuro Inoue","doi":"10.1109/IWSC.2015.7069890","DOIUrl":"https://doi.org/10.1109/IWSC.2015.7069890","url":null,"abstract":"We present a preliminary investigation of Stack Overflow to reveal practitioner's interests about code clones. We then discuss possible future directions of research on code clones.","PeriodicalId":144483,"journal":{"name":"2015 IEEE 9th International Workshop on Software Clones (IWSC)","volume":"55 34 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2015-03-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124759972","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 8
Performance impact of lazy deletion in metric trees for incremental clone analysis 增量克隆分析中度量树延迟删除对性能的影响
2015 IEEE 9th International Workshop on Software Clones (IWSC) Pub Date : 2015-03-06 DOI: 10.1109/IWSC.2015.7069884
T. Lavoie, E. Merlo
{"title":"Performance impact of lazy deletion in metric trees for incremental clone analysis","authors":"T. Lavoie, E. Merlo","doi":"10.1109/IWSC.2015.7069884","DOIUrl":"https://doi.org/10.1109/IWSC.2015.7069884","url":null,"abstract":"Doing clone detection in multiple versions of a software can be expensive. Incremental clone detection is acknowledged to be a good method to make this process better. We extend existing ideas in incremental clone detection to metric trees using lazy deletion. We measured the execution time of the non-incremental and the incremental version of the clone detector and discovered that incremental clone detection can save a sizable amount of time even for versions separated by large variations. We discuss the results and propose some future research.","PeriodicalId":144483,"journal":{"name":"2015 IEEE 9th International Workshop on Software Clones (IWSC)","volume":"38 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2015-03-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125256853","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
An empirical study of identical function clones in CRAN CRAN中相同功能克隆的实证研究
2015 IEEE 9th International Workshop on Software Clones (IWSC) Pub Date : 2015-03-06 DOI: 10.1109/IWSC.2015.7069885
Maëlick Claes, T. Mens, Narjisse Tabout, P. Grosjean
{"title":"An empirical study of identical function clones in CRAN","authors":"Maëlick Claes, T. Mens, Narjisse Tabout, P. Grosjean","doi":"10.1109/IWSC.2015.7069885","DOIUrl":"https://doi.org/10.1109/IWSC.2015.7069885","url":null,"abstract":"Code clone analysis is a very active subject of study, and research on inter-project code clones is starting to emerge. In the context of software package repositories specifically, developers are confronted with the choice between depending on code implemented in other packages, or cloning this code in their own package. This article presents an empirical study of identical function clones in the CRAN package archive network, in order to understand the extent of this practice in the R community. Depending on too many packages may hamper maintainability as unexpected conflicts may arise during package updates. Duplicating functions from other packages may reduce maintainability since bug fixes or code changes are not propagated automatically to its clones. We study how the characteristics of cloned functions in CRAN snapshots evolve over time, and classify these clones depending on what has prevented package developers to rely on dependencies instead.","PeriodicalId":144483,"journal":{"name":"2015 IEEE 9th International Workshop on Software Clones (IWSC)","volume":"20 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2015-03-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122404617","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 8
Source code reuse evaluation by using real/potential copy and paste 源代码重用评估使用真实/潜在的复制和粘贴
2015 IEEE 9th International Workshop on Software Clones (IWSC) Pub Date : 2015-03-06 DOI: 10.1109/IWSC.2015.7069887
T. Ohta, Hiroaki Murakami, H. Igaki, Yoshiki Higo, S. Kusumoto
{"title":"Source code reuse evaluation by using real/potential copy and paste","authors":"T. Ohta, Hiroaki Murakami, H. Igaki, Yoshiki Higo, S. Kusumoto","doi":"10.1109/IWSC.2015.7069887","DOIUrl":"https://doi.org/10.1109/IWSC.2015.7069887","url":null,"abstract":"Developers often reuse existing software by copy and paste. Source code reuse improves productivity and software quality. On the other hand, source code reuse requires several professional skills to developers. In source code reuse, developers must locate reusable code fragments, and judge whether such reusable code is adequate to copy and paste into the source file under development. This paper presents extraction and analysis methods for developers' source code reuse behavior (copy and paste). Our method extracts developers' actual source code reuse (real copy and paste). Then, by using a code clone detection tool, the method extracts code fragments for (potential reuse). Our study of real and potential copy and paste provides a quantitative assessment for source code reuse by developers.","PeriodicalId":144483,"journal":{"name":"2015 IEEE 9th International Workshop on Software Clones (IWSC)","volume":"5 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2015-03-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127090673","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 6
Tool support for managing method clones 管理方法克隆的工具支持
2015 IEEE 9th International Workshop on Software Clones (IWSC) Pub Date : 2015-03-06 DOI: 10.1109/IWSC.2015.7069888
H. Basit, Hassan Khan, Fahad Hamid, Irtza Suhail
{"title":"Tool support for managing method clones","authors":"H. Basit, Hassan Khan, Fahad Hamid, Irtza Suhail","doi":"10.1109/IWSC.2015.7069888","DOIUrl":"https://doi.org/10.1109/IWSC.2015.7069888","url":null,"abstract":"It is not always feasible to refactor or remove all clones in a system, either due to language limitations or other practical considerations. Meta-programming based reuse technique of VCL can effectively unify and manage clones at the meta-level for better maintenance, even in the presence of clones with differences that render them hard to unify using other language-based conventional techniques, or clones that are kept in the system for other purposes. In this paper, we present an automated tool that can unify method clones with VCL. We also discuss various patterns of cloned fragments contained in those methods, and how each pattern can be framed with VCL.","PeriodicalId":144483,"journal":{"name":"2015 IEEE 9th International Workshop on Software Clones (IWSC)","volume":"11 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2015-03-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114517315","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 4
Code clone detection using wavelets 代码克隆检测使用小波
2015 IEEE 9th International Workshop on Software Clones (IWSC) Pub Date : 2015-03-06 DOI: 10.1109/IWSC.2015.7069883
Siim Karus, Karl Kilgi
{"title":"Code clone detection using wavelets","authors":"Siim Karus, Karl Kilgi","doi":"10.1109/IWSC.2015.7069883","DOIUrl":"https://doi.org/10.1109/IWSC.2015.7069883","url":null,"abstract":"Code clones have an influence on the difficulty of maintaining code, which affects the cost in time and money. In order to effectively manage code clones, it is important to know where the clones are and how they relate to each-other. Wavelet analysis has been found to be extremely useful for clone detection in image processing and financial market analysis. Wavelets have the benefit of allowing comparisons than span different scales and strength. It also benefits a lot from parallelisation, which has become more affordable thanks to GPU computing and cloud computing advances. Thus, it makes sense to evaluate wavelet analysis for finding code clones as well. We hereby evaluate a set of wavelets-based language independent code clone detection approaches. The experimental evaluation shows that our approach is able to effectively identify more clones than alternative algorithms.","PeriodicalId":144483,"journal":{"name":"2015 IEEE 9th International Workshop on Software Clones (IWSC)","volume":"237 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2015-03-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115969941","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
What do we need to know about clones? deriving information needs from user goals 关于克隆人我们需要知道些什么?从用户目标中获取信息需求
2015 IEEE 9th International Workshop on Software Clones (IWSC) Pub Date : 2015-03-06 DOI: 10.1109/IWSC.2015.7069891
H. Basit, Muhammad Hammad, S. Jarzabek, R. Koschke
{"title":"What do we need to know about clones? deriving information needs from user goals","authors":"H. Basit, Muhammad Hammad, S. Jarzabek, R. Koschke","doi":"10.1109/IWSC.2015.7069891","DOIUrl":"https://doi.org/10.1109/IWSC.2015.7069891","url":null,"abstract":"Clone detection can be used to achieve diverse objectives such as refactoring, program understanding, bug localization, and plagiarism detection, etc. Each goal takes a different perspective on clone information needs. Different clone detection tools report different information about clones. To gauge the suitability of a given clone detector for a particular user objective, we need to determine which information needs implied by the objective a clone detector addresses. In this paper, we make a first step toward gathering clone information needs from the description of user goals. The results of our analysis are useful for various stakeholders such as programmers, managers, tool developers, and researchers.","PeriodicalId":144483,"journal":{"name":"2015 IEEE 9th International Workshop on Software Clones (IWSC)","volume":"8 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2015-03-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114207464","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 9
Analysis and visualization for clone refactoring 克隆重构的分析和可视化
2015 IEEE 9th International Workshop on Software Clones (IWSC) Pub Date : 2015-03-06 DOI: 10.1109/IWSC.2015.7069889
M. Zibran
{"title":"Analysis and visualization for clone refactoring","authors":"M. Zibran","doi":"10.1109/IWSC.2015.7069889","DOIUrl":"https://doi.org/10.1109/IWSC.2015.7069889","url":null,"abstract":"Clone analysis and visualization help in understanding characteristics of clones and indicate potential clones as cost-effective candidates for refactoring. Many studies have analyzed clones and their evolution while a number of techniques have also been proposed for visualizing clones for aiding clone analysis. However, clone analyses and visualizations with respect to inheritance hierarchy and call graphs have remained ignored so far. In this position paper, we argue that such analyses and visualizations are necessary to help in dealing with clones for refactoring.","PeriodicalId":144483,"journal":{"name":"2015 IEEE 9th International Workshop on Software Clones (IWSC)","volume":"40 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2015-03-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116260262","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 4
On the level of code suggestion for reuse 在重用的代码建议级别上
2015 IEEE 9th International Workshop on Software Clones (IWSC) Pub Date : 2015-03-06 DOI: 10.1109/IWSC.2015.7069886
Akio Ohtani, Yoshiki Higo, Tomoya Ishihara, S. Kusumoto
{"title":"On the level of code suggestion for reuse","authors":"Akio Ohtani, Yoshiki Higo, Tomoya Ishihara, S. Kusumoto","doi":"10.1109/IWSC.2015.7069886","DOIUrl":"https://doi.org/10.1109/IWSC.2015.7069886","url":null,"abstract":"Code search techniques are well-known as one of the techniques that helps code reuse. If developers input queries that represent functionality that they want, the techniques suggest code fragments that are related to the query. Generally, code search techniques suggest code at the component level of programming language such as class or file. Due to this, developers occasionally need to search necessary code in the suggested area. As a countermeasure, there is a code search technique where code is suggested based on the past reuse. The technique ignores structural code blocks, so that developers need to add some code to the pasted code or remove some code from it. That is, the advantages and disadvantages of the former technique are disadvantages and advantages of the latter one, respectively. In this research, we have conducted a comparative study to reveal which level of code suggestion is more useful for code reuse. In the study, we also compared a hybrid technique of the two techniques with them. As a result, we revealed that component-level suggestions were able to provide reusable code more precisely. On the other hand, reuse-level suggestions were more helpful to reuse larger code.","PeriodicalId":144483,"journal":{"name":"2015 IEEE 9th International Workshop on Software Clones (IWSC)","volume":"51 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2015-03-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116910966","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
相关产品
×
本文献相关产品
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书