On the Customization of Batch Refactoring

Daniel Oliveira, Ana Carla Bibiano, Alessandro F. Garcia
{"title":"On the Customization of Batch Refactoring","authors":"Daniel Oliveira, Ana Carla Bibiano, Alessandro F. Garcia","doi":"10.1109/IWoR.2019.00010","DOIUrl":null,"url":null,"abstract":"Refactorings are program transformations to improve code structure quality. Developers often apply these transformations in a batch, i.e., transformations in a sequence on a certain program location in order to achieve a specific goal. Either individual or batch refactorings often need to be customized to a particular program context. Otherwise, the developer may not be able to achieve his goal. Existing tools provide limited support for refactoring customization. IDE features do not allow developers to properly create their own custom refactoring. As a consequence, developers often feel reluctant to use these tools, and end up applying their refactorings manually. This position paper proposes an approach for developers to customize program transformations for their refactorings. The approach allows a developer to: (i) compose an individual or batch refactoring according to his context's needs, and (ii) reuse the custom refactorings in similar contexts. This novel approach has the potential to increase the use of automated refactoring, while allowing software companies to better tailor the IDE to their specific refactoring practices. From a research perspective, our approach motivates researchers to investigate better practices for refactoring customization.","PeriodicalId":393051,"journal":{"name":"2019 IEEE/ACM 3rd International Workshop on Refactoring (IWoR)","volume":"154 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-05-01","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.00010","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

Refactorings are program transformations to improve code structure quality. Developers often apply these transformations in a batch, i.e., transformations in a sequence on a certain program location in order to achieve a specific goal. Either individual or batch refactorings often need to be customized to a particular program context. Otherwise, the developer may not be able to achieve his goal. Existing tools provide limited support for refactoring customization. IDE features do not allow developers to properly create their own custom refactoring. As a consequence, developers often feel reluctant to use these tools, and end up applying their refactorings manually. This position paper proposes an approach for developers to customize program transformations for their refactorings. The approach allows a developer to: (i) compose an individual or batch refactoring according to his context's needs, and (ii) reuse the custom refactorings in similar contexts. This novel approach has the potential to increase the use of automated refactoring, while allowing software companies to better tailor the IDE to their specific refactoring practices. From a research perspective, our approach motivates researchers to investigate better practices for refactoring customization.
批重构的自定义
重构是提高代码结构质量的程序转换。开发人员经常在批处理中应用这些转换,也就是说,为了实现特定的目标,在特定的程序位置上按顺序进行转换。无论是单个重构还是批量重构,通常都需要针对特定的程序上下文进行定制。否则,开发人员可能无法实现他的目标。现有的工具对重构定制提供了有限的支持。IDE特性不允许开发人员正确地创建自己的自定义重构。因此,开发人员通常不愿意使用这些工具,并最终手动应用他们的重构。这份意见书为开发人员提供了一种方法,可以为他们的重构定制程序转换。该方法允许开发人员:(i)根据上下文的需要组成单个或批量重构,(ii)在类似的上下文中重用自定义重构。这种新颖的方法有可能增加自动化重构的使用,同时允许软件公司更好地为其特定的重构实践定制IDE。从研究的角度来看,我们的方法激励研究人员研究重构定制的更好实践。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:604180095
Book学术官方微信