Description
JarAnalyzer
JarAnalyzer is a handy tool designed to help you manage jar file dependencies. Its main job is to go through a directory, check out each jar file inside it, and figure out what dependencies exist between them. When it's done, you'll get an XML file that shows the PhysicalDependencies between those jar files.
How to Run JarAnalyzer
Getting started with JarAnalyzer is a breeze! All you need to do is download the binary version, unzip the file, and run either runxmlsummary.bat
or rundotsummary.bat
. Then, just type in the name of the folder where your jar files are stored. After that, specify what you want as the output – either an XML file or a .grph file.
Using Filters for Better Results
You can also set up filters to leave out certain packages when checking dependencies. This makes it easier to focus on what really matters and cuts down on unresolved dependencies from stuff you're not interested in. By default, Filter.properties will ignore packages that start with java.
and javax.
. You can also filter specific jar files if needed.
The Output Explained
The result of running JarAnalyzer is an XML file that details how your jar files depend on one another based on your specified directory. Here are some key elements that JarAnalyzer reports:
- JarName: The name of the analyzed jar file.
- Statistics: This shows how many packages and classes are included in the jar file (inner classes count too!). The Level indicates where in the hierarchy a jar sits: Level 1 components are at the bottom, Level 2 depend on Level 1, Level 3 depend on Level 2, and so forth.
- Metrics: These follow what's called "Martin Metrics".
- Packages: Names of all the packages inside the jar file.
- OutgoingDependencies: Lists other jar files that depend on this one based on your analysis.
- IncomingDependencies: Shows which jar files rely on this specific one.
- Cycles: Identifies any cyclic dependencies among your jars.
- UnresolvedDependencies: Names of packages that weren't found within any of the analyzed jars in your directory.
User Reviews for JarAnalyzer 7
-
JarAnalyzer provides a comprehensive dependency analysis for jar files. Easy execution and customizable filters make it a valuable tool for managing dependencies.
-
JarAnalyzer is a game changer for managing jar file dependencies! The user-friendly interface made it easy to analyze and filter outputs. Highly recommend!
-
I love JarAnalyzer! It quickly identifies dependencies and offers great filtering options. The XML output is very informative. A must-have tool for developers!
-
Fantastic app! JarAnalyzer simplified my dependency management process significantly. The ability to filter out unwanted packages is a lifesaver!
-
JarAnalyzer exceeded my expectations! It’s intuitive, efficient, and provides clear insights into jar file dependencies. Five stars without a doubt!
-
What an amazing tool! JarAnalyzer is incredibly effective at parsing jar files and generating detailed reports. I can't imagine working without it now.
-
Absolutely love using JarAnalyzer! It makes dependency management straightforward with its clean output and easy setup. Highly recommend to all developers!