JDeodorant

JDeodorant is an Eclipse plug-in that detects design problems in Java software, known as code smells, and recommends appropriate refactorings to resolve them.

For the moment, the tool supports five code smells, namely Feature Envy, Type/State Checking, Long Method, God Class and Duplicated Code.

JDeodorant is the outcome of research conducted in the Software Refactoring Lab at the Department of Computer Science and Software Engineering, Concordia University, Canada and the Software Engineering Group at the Department of Applied Informatics, University of Macedonia, Thessaloniki, Greece.

Installation & Configuration

Please follow the steps described in this guide.

JDeodorant can be easily installed in your Eclipse IDE using the Eclipse Marketplace Client.

To enable the analysis of large Java projects, edit the eclipse.ini file inside the Eclipse installation folder and increase the value for the Xmx option (maximum size of the memory allocation pool).

-vmargs
-Xms128m
-Xmx4096m
-XX:PermSize=128m

Tutorials

Duplicated Code
Code Smell Visualization
God Class

Research

If you are interested to learn how exactly JDeodorant works, please have a look at the following papers:

Duplicated Code
Long Method
God Class
Type/State Checking
Feature Envy

If you are using JDeodorant in your research, please cite at least one of the aforementioned papers.