2012 · 77 citations · 16 references
ComputingComputer ScienceKnowledge ReuseRequirements EngineeringSoftware EngineeringSoftware DesignSoftware MaintenanceSoftware RefactoringAutomated RefactoringPatternsRefactoringRefactoring DetectionRefactoring PatternsRefactoring Strategy
Refactoring tools are useful and widely available yet underused, partly because developers often fail to recognize the need to refactor before starting manual refactoring. The study aimed to investigate developers' manual refactoring process and design a tool that reduces refactoring tool underuse. We designed BeneFactor, a tool that detects manual refactoring, reminds developers of available automatic refactoring, and can perform the refactoring automatically. The study identified manual refactoring workflow patterns and showed that BeneFactor can alleviate the burden of recognizing manual refactoring, thereby addressing tool underuse.
Although useful and widely available, refactoring tools are underused. One cause of this underuse is that a developer sometimes fails to recognize that she is going to refactor before she begins manually refactoring. To address this issue, we conducted a formative study of developers' manual refactoring process, suggesting that developers' reliance on "chasing error messages" when manually refactoring is an error-prone manual refactoring strategy. Additionally, our study distilled a set of manual refactoring workflow patterns. Using these patterns, we designed a novel refactoring tool called BeneFactor. BeneFactor detects a developer's manual refactoring, reminds her that automatic refactoring is available, and can complete her refactoring automatically. By alleviating the burden of recognizing manual refactoring, BeneFactor is designed to help solve the refactoring tool underuse problem.
16
Refactoring improving the design of existing code
Mauricio A. Saca · 2017 · 2.1K citations
Java quality assurance by detecting code smells
Eva van Emden, Leon Moonen · 2003 · 380 citations
Mauro Cherubini, Gina Venolia, Rob DeLine et al. · 2007 · 251 citations
Computing, Design, Visualization +8
Automated testing of refactoring engines
Brett Daniel, Danny Dig, Kely Garcia et al. · 2007 · 226 citations · Full text