Impact Analysis using Eclipse for Java application with framework code
Asked Answered
F

5

9

Can impact analysis be done in Eclipse? If there are a few classes and methods that need to be changed, finding the impact of that change on rest of the application code (other classes and methods) The core issue is when there is code apart from core java that is XML, JSP, framework code etc

Ferneferneau answered 1/12, 2009 at 4:3 Comment(0)
C
6

One of the most advanced project on this topic might be XRay.
You can try it and check if that does provide some of the answer you are looking for (note: I have not yet tested it)

X-Ray is an open-source software visualization plug-in for the Eclipse framework. It provides System Complexity View, Class and Package Dependency View for a given Java project.

xray


Other advanced tools exists (but are not free) for exploring code dependencies:


The most simple way (and still free) to make a quick dependency analysis remains for me:
CDA - Class Dependency Analyzer
(not directly integrated to eclipse, but very simple to use)

dependency-analyzer

Classify answered 1/12, 2009 at 4:56 Comment(0)
G
2

Simplest method is: right-click the class or method you would like to change, select "refactor" (or press alt-shift-T) and then the refactoring you propose to do (rename, move, change method signature, etc ). Then select "preview" (or next as the case may be). You'll then see the impact of the proposed change. For rename and move class, you'll also get the option to apply the changes to non-java files. Next to that, you can use the search function.

Glairy answered 1/12, 2009 at 9:20 Comment(0)
B
0

Try JRipple eclipse plugin. Its good one.

Beet answered 23/5, 2014 at 6:48 Comment(1)
Can you more explain your answer to explain why it's a good one and give some example/links?Complot
P
0

There is a plugin for jQAssisant available, which brings Test Impact Analysis to the Java world. The plugin is called jQAssistat Test Impact Analysis and available via https://github.com/jqassistant-contrib/jqassistant-test-impact-analysis-plugin.

Paolo answered 17/10, 2017 at 21:48 Comment(0)
Q
0

Skippy is a Test Impact Analysis & Predictive Test Selection framework for the JVM that supports Eclipse if your project uses Maven or Gradle as underlying build tool:

Quadrennium answered 24/2, 2024 at 16:28 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.