Domanda

I'm using eclipse Kepler and I need a plugin to determine for a project which methods of other projects of the workspace/working set are being used. Much like the "Call Hierarchy", but automatically for all classes and methods.

Is there an existing plugin that can do that? A visualization isn't necessarily needed, a result table suffices.

È stato utile?

Soluzione

Try JDepend4Eclipse plugin.

JDepend traverses a set of Java class and source file directories and generates design quality metrics for each Java package. JDepend allows you to automatically measure the quality of a design in terms of its extensibility, reusability, and maintainability to effectively manage and control package dependencies. Package dependency cycles are reported along with the hierarchical paths of packages participating in package dependency cycles.

The tool helps greatly by refactoring old & huge source code repositories with cyclic package dependencies between packages.

JDepend4Eclipse screenshot

Shishir

Altri suggerimenti

You should be able to get what you want with a reverse-engineering tool. They are many out there of various qualities and maturities, I would recommend Architexa. From my experience it still works reasonably well with big code bases, has nice and interactive visualizations.

Eclipse UML plugin may help u... Try it out. Thanks

The Eclipse plugin "creole", with it's advanced call-hierarchy feature, worked great for me, on this type of large scale Java software analysis.

http://www.ucdetector.org/

UCDetector (Unnecessary Code Detector - pronounced "You See Detector") is a eclipse PlugIn tool to find unnecessary (dead) public java code. For example public classes, methods or fields which have no references. UCDetector creates markers for the following problems, which appear in the eclipse problem view: Unnecessary (dead) code Code where the visibility could be changed to protected, default or private Methods or fields, which can be final

Works with multiple projects, too

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top