首页> 外文会议>European conference on object-oriented programming >A Compositional Paradigm of Automating Refactorings
【24h】

A Compositional Paradigm of Automating Refactorings

机译:自动化重构的组合范例

获取原文

摘要

Recent studies suggest that programmers greatly underuse refactoring tools, especially for complex refactorings. Complex refactorings tend to be tedious and error-prone to perform by hand. To promote the use of refactoring tools for complex changes, we propose a new paradigm for automating refactorings called compositional refactoring. The key idea is to perform small, predictable changes using a tool and manually compose them into complex changes. This paradigm trades off some level of automation by higher predictability and control. We show that this paradigm is natural, because our analysis of programmers' use of the Eclipse refactoring tool in the wild shows that they frequently batch and compose automated refactorings. We then show that programmers are receptive to this new paradigm through a survey of 100 respondents. Finally, we show that the compositional paradigm is effective through a controlled study of 13 professional programmers, comparing this paradigm to the existing wizard-based one.
机译:最近的研究表明,程序员极大地未充分利用重构工具,尤其是对于复杂的重构。复杂的重构往往很繁琐,并且容易手工执行。为了促进重构工具对复杂变化的使用,我们提出了一种自动重构的新范例,称为组合重构。关键思想是使用工具执行小的可预测的更改,然后将其手动组合为复杂的更改。这种范例通过更高的可预测性和控制权在某种程度的自动化之间进行权衡。我们证明了这种范例是自然的,因为我们对程序员在野外使用Eclipse重构工具的分析表明,他们经常批处理和编写自动化重构。然后,我们通过对100位受访者的调查表明,程序员会接受这种新的范例。最后,我们通过对13位专业程序员的对照研究,将这种范式与现有的基于向导的范式进行比较,表明组合范式是有效的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号