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.
5 Answers
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.

- 133,303
- 56
- 317
- 449
-
1Ha! Thanks. Not sure how that's worked though, as I hit my daily points limit 10 minutes ago :-P – oxbow_lakes Sep 08 '09 at 07:23
CDA - Class Dependency Analyzer is incredibly simple to use, and can help you visualize those dependencies between packages and classes.

- 1,262,500
- 529
- 4,410
- 5,250
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.

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

- 77,657
- 34
- 181
- 348
You can test JavaDepend, it provides many useful features for dependency needs.

- 5,634
- 1
- 26
- 47

- 1,365
- 8
- 9