Proactive Clone Recommendation System for Extract Method Refactoring

Norihiro Yoshida, Seiya Numata, Eunjong Choi, Katsuro Inoue
{"title":"Proactive Clone Recommendation System for Extract Method Refactoring","authors":"Norihiro Yoshida, Seiya Numata, Eunjong Choi, Katsuro Inoue","doi":"10.1109/IWoR.2019.00020","DOIUrl":null,"url":null,"abstract":"Extract Method refactoring is commonly used for merging code clones into a single new method. In this position paper, we propose a proactive clone recommendation system for \"Extract Method\" refactoring. The proposed system that has been implemented as Eclipse plug-in monitors code modifications on the fly. Once the proposed system detects an \"Extract Method\" refactoring instance based on the analysis of code modifications, it recommends code clones of the refactored code as refactoring candidates. The preliminary user study shows that the users are able to refactor a greater number of clones in less time compared to a code clone analysis environment GemX.","PeriodicalId":393051,"journal":{"name":"2019 IEEE/ACM 3rd International Workshop on Refactoring (IWoR)","volume":"2016 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-05-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE/ACM 3rd International Workshop on Refactoring (IWoR)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IWoR.2019.00020","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

Extract Method refactoring is commonly used for merging code clones into a single new method. In this position paper, we propose a proactive clone recommendation system for "Extract Method" refactoring. The proposed system that has been implemented as Eclipse plug-in monitors code modifications on the fly. Once the proposed system detects an "Extract Method" refactoring instance based on the analysis of code modifications, it recommends code clones of the refactored code as refactoring candidates. The preliminary user study shows that the users are able to refactor a greater number of clones in less time compared to a code clone analysis environment GemX.
用于提取方法重构的主动克隆推荐系统
提取方法重构通常用于将代码克隆合并到单个新方法中。在这篇意见书中,我们提出了一个针对“提取方法”重构的主动克隆推荐系统。所建议的系统已经作为Eclipse插件实现,实时监视代码修改。一旦系统检测到基于代码修改分析的“提取方法”重构实例,它就会推荐重构代码的代码克隆作为重构候选。初步的用户研究表明,与代码克隆分析环境GemX相比,用户能够在更短的时间内重构更多的克隆。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信