Analyze one version of a java software of your choice


Homework: Software Engineering For Data Science

Using JDeodorant to refactor design flaws

Description:

You were able to locate several design flaws using InFusion, in this homework, 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 homework project if it is feasible). You will then be asked to make some refactoring decisions and report them and their impact. Follow these steps:

A. Install the Eclipse plug-in for JDeodorant

B. Run JDeodorant on a project of your choice and select 2 instances of each of the following flaws types:

a. God Class
b. Feature Envy
c. Long Method

C. 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.

D. 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.

E. Report your findings: Chosen flaw instances, chosen refactoring operations, refactoring results. (Provide screenshots as well).

F. Add to the report a concise comment about your experience with JDeodorant (positives, negatives and other comments).

Note: getters and toString() methods are only intended to be tested to get the desired coverage. One test method per each getter/toString() is sufficient.

Format your homework according to the following formatting requirements:

o The answer should be typed, using Times New Roman font (size 12), double spaced, with one-inch margins on all sides.

o The response also includes a cover page containing the title of the homework, the student's name, the course title, and the date. The cover page is not included in the required page length.

o Also include a reference page. The Citations and references must follow APA format. The reference page is not included in the required page length.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Analyze one version of a java software of your choice
Reference No:- TGS03148795

Expected delivery within 24 Hours