Despite the availability of refactoring as a feature in popular IDEs, recent studies revealed that developers are reluctant to use them, and still prefer the manual refactoring of their code. At JetBrains, our goal is to fully support refactoring features in IntelliJ-based IDEs and improve their adoption in practice. Therefore, we start by raising the following main questions. How exactly do people refactor code? What refactorings are the most popular? Why do some developers tend not to use convenient IDE refactoring tools? In this paper, we investigate the raised questions through the design and implementation of a survey targeting 1,183 users of IntelliJ-based IDEs. Our quantitative and qualitative analysis of the survey results shows that almost two-thirds of developers spend more than one hour in a single session refactoring their code; that refactoring types vary greatly in popularity; and that a lot of developers would like to know more about IDE refactoring features but lack the means to do so. These results serve us internally to support the next generation of refactoring features, as well as can help our research community to establish new directions in the refactoring usability research.
翻译:尽管在流行的 IDE 中可以找到重构要素,但最近的研究表明,开发商不愿意使用这些要素,并且仍然更倾向于使用其代码。在JetBrains 中,我们的目标是充分支持Intellij基于 Intellij 的 IDEs 中的重构特征,并改进其在实践中的采用。因此,我们首先提出以下主要问题:人们的重构代码究竟如何?什么重构要素最受欢迎?为什么一些开发商倾向于不使用方便的 IDE 重构工具?在本文件中,我们通过设计和实施针对 Intellij 以 Intellij 为基础的 IDEs 1,183 用户的调查来调查所提出的问题。我们对调查结果的定量和定性分析表明,几乎三分之二的开发商在一次会话中花费超过1小时的时间来重构其代码;再构要素类型在受欢迎程度上差异很大;许多开发商希望更多地了解 IDE 重构要素,但缺乏这样做的手段。这些结果有助于我们内部支持下一代的再构要素,作为我们的研究方向。