Refactoring Practice: How it is and How it Should be Supported - An Eclipse Case Study
Authors:
- 1 September 2006
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE) in 2007 IEEE International Conference on Software Maintenance
- No. 10636773,p. 458-468
Abstract
Refactoring is an important activity in the evolutionary development of object-oriented software systems. Yet, several questions about the practice of refactoring remain unanswered, such as what fraction of code modifications are refactorings and what are the most frequent types of refactorings. To gain some insight in this matter, we conducted a detailed case study on the structural evolution of Eclipse, an integrated-development environment (IDE) and a plugin-based framework. Our study indicates that: 1) about 70% of structural changes may be due to refactorings; 2) for about 60% of these changes, the references to the affected entities in a component-based application can be automatically updated by a refactoring-migration tool if the relevant information of refactored components can be gathered through the refactoring engine; and 3) state-of-the-art IDEs, such as Eclipse, support only a subset of commonly applied low-level refactorings and lack support for more complex ones, which are also frequent. Based on our findings, we draw some conclusions on high-level design requirements for a refactoring-based development environmentKeywords
This publication has 15 references indexed in Scilit:
- Eliciting design requirements for maintenance-oriented ides: a detailed study of corrective and perfective maintenance tasks2005
- Refactoring support for class library migration2005
- Using origin analysis to detect merging and splitting of source code entitiesIEEE Transactions on Software Engineering, 2005
- The role of refactorings in API evolution2005
- Reconstruction of successful software evolution using clone detection2003
- Finding refactorings via change metricsACM SIGPLAN Notices, 2000
- Escape analysis for Java1999
- A refactoring tool for smalltalkTheory and Practice of Object Systems, 1997
- The 4+1 View Model of architectureIEEE Software, 1995
- Formulations and benefits of the law of demeterACM SIGPLAN Notices, 1989