A Meta-analysis Approach to Refactoring and XP

Steve Counsell, Robert M. Hierons, George Loizou
2007 2007 IEEE/ACS International Conference on Computer Systems and Applications  
The mechanics of seventy-two different Java refactorings are describedfully in Fowler's text [13] . In the same text, Fowler describes seven categories of refactoring, into which each of the seventy-two refactorings can be placed. A current research problem in the refactoring and XP community is assessing the likely time and testing effort for each refactoring, since any single refactoring may use any number of other refactorings as part of its mechanics and, in turn, can be used by many other
more » ... used by many other refactorings. In this paper, we draw on a dependency analysis carried out as part of our research in which we identify the 'Use' and 'Used By' relationships of refactorings in all seven categories. We offer reasons why refactorings in the 'Dealing with Generalisation' category seem to embrace two distinct refactoring sub-categories and how refactorings in the 'Moving Features between Objects' category also exhibit specific characteristics. In a wider sense, our meta-analysis provides a developer with concrete guidelines on which refactorings, due to their explicit dependencies, will prove problematic from an effort and testing perspective.
doi:10.1109/aiccsa.2007.370866 dblp:conf/aiccsa/CounsellHL07 fatcat:7d2e66v4sngstfec3jsnsuvnc4