jsizer
is a small swing based application, that reads the jar file and shows the
complexity of the jar file in a graph.
The
graph has nodes in it and the nodes get their color, size depends on few
things.
a. Green nodes are
packages
b. Grey nodes are
classes
The
class nodes get their size and color from some metrics.
The
default metrics are:
a. Width represents the
number of fields in the class
b. Height represents the
number of methods in the class
c. Color represents the
number of lines of code in the class, a dark node has more lines of code than a
light node.
You can find the big dark boxes and possibly
refactor them.
You
can download the jsizer from below url.
Extract
the binary zip file that you downloaded. You can able to see ‘jsizer.jar’.
Open
command prompt (or) terminal and run ‘java -jar jsizer.jar’.
File
-> Add Jar
After
adding the jar, you can able to see below kind of user interface.
You may like
No comments:
Post a Comment