A two-step technique for extract class refactoring

  • Authors:
  • Gabriele Bavota;Andrea De Lucia;Andrian Marcus;Rocco Oliveto

  • Affiliations:
  • University of Salerno, Fisciano (SA), Italy;University of Salerno, Fisciano (SA), Italy;Wayne State University, Detroit, MI, USA;University of Salerno, Fisciano (SA), Italy

  • Venue:
  • Proceedings of the IEEE/ACM international conference on Automated software engineering
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

We propose a novel approach supporting the Extract Class refactoring. The proposed approach analyzes the (structural and semantic) similarity of the methods in a class in order to identify chains of strongly related methods. The identified method chains are used to define new classes with higher cohesion than the original class. A preliminary evaluation reveals that the approach is able to identify meaningful refactoring operations.