IEEE Transactions on Software Engineering · 2011 · 541 citations · 17 references
ComputingComputer ScienceExperimental DesignMethod ValidationSoftware EngineeringData AnalysisSoftware RefactoringVersion ControlCommitCurated Data SetsRefactoringRefactoring Effort
Refactoring is widely practiced and supported by many tools, yet empirical evidence on tool adoption is scarce and many prevailing assumptions lack empirical backing. This study investigates how often refactoring tools are used and tests the assumptions made by previous research. We sampled code changes from 12 developers, measured tool usage, analyzed data from over 39,000 developers and 240,000 refactorings, and conducted interviews to understand tool usage patterns. Tool usage is low—only 11 % among Eclipse developers and 9 % among Mylyn developers—and our analysis casts doubt on several prior assumptions while confirming others.
Refactoring is widely practiced by developers, and considerable research and development effort has been invested in refactoring tools. However, little has been reported about the adoption of refactoring tools, and many assumptions about refactoring practice have little empirical support. In this paper, we examine refactoring tool usage and evaluate some of the assumptions made by other researchers. To measure tool usage, we randomly sampled code changes from four Eclipse and eight Mylyn developers and ascertained, for each refactoring, if it was performed manually or with tool support. We found that refactoring tools are seldom used: 11 percent by Eclipse developers and 9 percent by Mylyn developers. To understand refactoring practice at large, we drew from a variety of data sets spanning more than 39,000 developers, 240,000 tool-assisted refactorings, 2,500 developer hours, and 12,000 version control commits. Using these data, we cast doubt on several previously stated assumptions about how programmers refactor, while validating others. Finally, we interviewed the Eclipse and Mylyn developers to help us understand why they did not use refactoring tools and to gather ideas for future research.
17
Preprocessing CVS data for fine-grained analysis
Thomas Zimmermann · 2004 · 212 citations
What do large commits tell us?
Abram Hindle, Daniel M. Germán, Ric Holt · 2008 · 208 citations
How we refactor, and how we know it
Emerson Murphy-Hill, Chris Parnin, Andrew P. Black · 2009 · 192 citations
Refactoring--Does It Improve Software Quality?
Konstantinos Stroggylos, Diomidis Spinellis · 2007 · 161 citations