JarAnalyzer, How To Read XML Output?

Q

JarAnalyzer is a dependency management utility for JAR files. It's primary purpose is to traverse through a directory, parse each of the JAR files in that directory, and identify the dependencies between the JAR files. The output is an XML file representing the physical dependencies between the JAR files.

For more information, see Intrdocution of JarAnalyzer.

✍: FYIcenter.com

A

After running the "runxmlsummary" command, you should review the output.

The output is an xml file of the dependencies between the jar files in the directory specified when JarAnalyzer was run. Here's a listing of the primary elements that JarAnalyzer reports on.

  • JarName: The name of the JAR file analyzed.
  • Statistics: Number of packages and classes in the JAR file. Inner class are included in this count. The Level represents where in the hierarchy a JAR file resides. Level 1 components are at the bottom. Level 2 depend on at least one Level 1. Level 3 depend on at least one Level 2. And so on.
  • Metrics: These are based on the "Martin Metrics".
  • Packages: Names of the packages in the JAR file.
  • OutgoingDependencies: Dependent JAR files based on what was found in the directory being analyzed.
  • IncomingDependencies: JAR files dependent on this jar file.
  • Cycles: Lists the jar file's cyclic dependencies.
  • UnresolvedDependencies: Names of packages not found in the JAR files in the directory being analyzed.

Still have trouble using JarAnalyzer? See How To Use JarAnalyzer.

2015-06-05, 1468👍, 0💬