Refactoring Practice: How it is and How it Should be Supported - An Eclipse Case Study

  • Authors:
  • Zhenchang Xing;Eleni Stroulia

  • Affiliations:
  • University of Alberta, Canada;University of Alberta, Canada

  • Venue:
  • ICSM '06 Proceedings of the 22nd IEEE International Conference on Software Maintenance
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

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) stateof- 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 refactoringbased development environment.