How can I visualize jar (not plugin) dependencies?

后端 未结 9 662
情深已故
情深已故 2020-12-08 17:40

I am currently refactoring a large Java application. I have split up one of the central (Eclipse) projects into about 30 individual \"components\", however they are still he

9条回答
  •  南笙
    南笙 (楼主)
    2020-12-08 18:08

    Sounds like a use case for Degraph. It analyzes a bunch of class files and jar's, and visualizes the dependencies.

    What makes it suitable for your usecase (I think) is the possibility to define arbitrary groups of classes to be bundled together. So you can reproduce your jar structure, seeing dependencies, especially cyclic dependencies.

    You can unfold the groups to see their contained classes or collapse them to simplify the view.

    For a quick impression what is possible, take a look at the Degraph Examples.

    Example for Log4j:

    Log4J dependencies

提交回复
热议问题