JSizer
 
General
About
Screenshots
ChangeLog
License

Webstart
Try jsizer

Download
Current version: 1.7
released: Jan 06 2010
Source
jsizer-1.7-src.tar.gz

Binary
jsizer-1.7-bin.tar.gz

Contacts
Robert Olofsson
robo@khelekore.org

  About

JSizer is a tool that shows java code size.
rabbit proxy code size

JSizer reads in a set of jar files and then draws a graph of the current state of the code. The graph has nodes in it and the nodes get their color and size depending on a few things.

  • Green nodes are packages
  • Grey nodes are classes
The class nodes get their size and color from some metrics, the default metrics are:
  • Width represents the number of fields in the class
  • Height represents the number of methods in the class
  • Color represents the number of lines of code in the class, a dark node has more lines of code than a light node.

What you want to do is to look at the graph, find the big dark boxes and possibly refactor them.

JSizer is based upon this article.