AutoRefactor

About

AutoRefactor project delivers free software that automatically refactor code bases.

The aim is to fix language/API usage in order to deliver smaller, more maintainable and more expressive code bases.

The first software will be an Eclipse plugin to automatically refactor Java code bases. License will be dual licensed under EPLv1.0 and GPLv3+.

Why?

After years working in different large code bases, I (Jean-Noël Rouvignac) got tired of spending too much time applying the same code cleanups again and again. In addition, tools like Sonar (aggregating FindBugs™, Checkstyle and PMD) are fantastic, but they do not not help fix the thousand warnings you can find in legacy code bases.

I decided I had spent too much time on manually doing these changes, so I tried using regular expressions. They work great for some code transforms, but can only do so much: they do not understand the language semantics, reapplying them again and again consumes time, they sometimes fail to execute due to too much complexity. I then sought for better and libre solutions, but found none. This is when I started AutoRefactor.

Software rots, particularly if the developers in charge do not care enough. Software has to be nurtured like a garden. Other causes for software rot are:

Goals

Features

TODO explain the different refactorings offered

How to use it

Open a Java file you want to automatically refactor in Eclipse and type Shift+Alt+Y. In the package explorer, you can also select one or several Java files, packages or Java projects and type Shift+Alt+Y. The AutoRefactor plugin will apply the refactorings to all the selected Java files, or to the Java files located under the selected packages or under the Java projects.

News

TODO Publish first version

Install

Contribute

How to Contribute

Donate

Community

Developers corner

Easy hacks

Ideas

Links

Tools

Library

Find here several books inspiring everyday how and why this plugin is written:
Trademarks
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Creative Commons Attribution-ShareAlike 3.0 logo This website is (C) 2013 The AutoRefactor project and is licensed under the terms of the Creative Commons Attribution-ShareAlike 3.0