Using JDeodorant to refactor design flaws

Description:

In the previous assignments, you were able to locate several design flaws using InFusion, in this assignment, were interested in fixing some of them. You will choose at least 2 design flaws instances, from 3 different design flaws types (6 in total). You will use JDeodorant to come up with potential refactoring operations to fix them. Since JDeodorant sometimes gives you many recommendations on how to fix the same flaw, based on your understanding of the symptoms of design problems, choose the necessary refactorings that might solve these problems. Finally, you will check that the problems have been actually solved or not using InFusion.

Task:

For this exercise you will need to use JDeodorant. You will have JDeodorant analyze one version of a JAVA software of your choice (you can use your previous assignment project if it is feasible). You will then be asked to make some refactoring decisions and report them and their impact. Follow these steps:

Install the Eclipse plug-in for JDeodorant
Run JDeodorant on a project of your choice and select 2 instances of each of the following flaws types:
God Class
Feature Envy
Long Method
Now, you can look at the refactoring recommendations by JDeodorant, choose which ones to be executed, keep refactoring until you process all your chosen instances.
Now use InFusion. Input your refactored project and double check if the instances that you have just refactored are seen as infected with the flaws.
Report your findings: Chosen flaw instances, chosen refactoring operations, refactoring results. (Provide screenshots as well).