kirancodes.me
To Proof Maintenance & Beyond!

A two-step technique for extract class refactoring

Gabriele Bavota, Andrea De Lucia, Andrian Marcus, Rocco Oliveto

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.

BibTeX
@inproceedings{Bavota-al:ASE10,
  author    = {Gabriele Bavota and
               Andrea De Lucia and
               Andrian Marcus and
               Rocco Oliveto},
  title     = {A two-step technique for extract class refactoring},
  booktitle = {ASE},
  pages     = {151--154},
  publisher = {{ACM}},
  year      = {2010},
}

Related papers