开发者

Analyze JAR dependencies in a Java project [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

I'm looking for a tool that will show me a graph of JAR dependencies in my Java project based on static analysis of the compiled byte code. Specifically, I'm trying to figure out if there are unused JARs that I can eliminate, but I'd also just like to get a better understanding of the dependencies that exist. I'm not using Maven.

Dependency Finder comes close, but it deals in packages rather than JARs and there doesn't seem to be any way to query it for JARs th开发者_如何学运维at have no dependents. Any recommendations? Free and open source preferred. Thanks!


See also JarAnalyzer which claims to:

... traverse through a directory, parse each of the jar files in that directory, and identify the dependencies between the jar files.


JBoss Tattletale does exactly what I need.


Take a look on JDepend.

JDepend traverses Java class 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 manage package dependencies effectively.


You can try this tool that displays the public resources of a library and calculates a ratio of usage between two Jars: http://trimatek.org/deep


Or Maven. Elcipse plugin shows it very nicely. Even shows dependencies on the dependencies.


You can use JArchitect is a static analysis tool to improve java code quality and it's free for opensource contributors and universities

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜