Happy !

GustavoSantos / Refactoring2

Project infos

License MIT
Tags refactoring, code transformation
Creation date 2016-05-18
Website

Monticello registration

About Refactoring2

This project aims to rearchitecture the Refactoring project. Such effort is divided in four parts:

1) Implement transformation composition, e.g., Extract Method and Generate Accessors (for an instance variable) reuse the Add Method transformation;

2) Separate behavior-preserving analysis from the transformation itself. *Refactoring classes are responsible for behavior-preserving checking, and reuse *Transformation classes, which are used just to transform code;

3) Introduce post-transformation analysis, e.g., after performing Extract Method, analyze other code locations which could invoke the method instead, and perform these transformations automatically; and

4) In collaboration with Pablo Tesone, atomic transformation analyses when they break instances.