What is JarAnalyzer?


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.


How Download Works

Go to the Softpas website, press the 'Downloads' button, and pick the app you want to download and install—easy and fast!

SoftPas Safety Info
SoftPas

SoftPas is your platform for the latest software and technology news, reviews, and guides. Stay up to date with cutting-edge trends in tech and software development.

Recent

Help

Subscribe to newsletter


© Copyright 2024, SoftPas, All Rights Reserved.