10

I have a huge Java Application with numerous packages. Some of the classes in these packages have dependency on classes in other packages. Given a class, I want to know all the dependent classes on it and vice-versa. A GUI tool should be really helpful.

GabrielOshiro
  • 7,986
  • 4
  • 45
  • 57
user170008
  • 1,046
  • 6
  • 17
  • 31

5 Answers5

13

There's some useful tools described here for the (free) Eclipse IDE. There's also more info on dependency tools with a comparison against depfinder here.

oxbow_lakes
  • 133,303
  • 56
  • 317
  • 449
8

CDA - Class Dependency Analyzer is incredibly simple to use, and can help you visualize those dependencies between packages and classes.

CDA Screenshot

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
1

I would also recommend Eclipse as there are various plugins for this task. For example ispace which can create a graphical representation of the package dependencies.

I general the Source code analyzer section of eclipse's market place has more plugins in that direction.

Wolfgang
  • 3,460
  • 3
  • 28
  • 38
0

Another option is Degraph: https://github.com/schauder/degraph (I'm the author, so this is obviously a shameless plug)

Jens Schauder
  • 77,657
  • 34
  • 181
  • 348
0

You can test JavaDepend, it provides many useful features for dependency needs.

TheEvilPenguin
  • 5,634
  • 1
  • 26
  • 47