JStyle
Automated Java Source Code Metrics Analysis
JStyle Order JStyle Request Info
JStyle™ analyzes Java source to offer comments on the code and to generate useful metrics.
Comments
Some categories of comments are:
  • Class naming conventions.
  • Class member naming conventions.
  • Class section ordering.
  • Coding practices that affect reusability.
  • Unsafe exception handling practices.
  • Design deficiencies
JStyle Comments
Metrics
Some of the important metrics generated are:
  • Depth of Inheritance.
  • Class fan-in/fan-out.
  • RFC.
  • LCOM.
  • Cyclomatic Number.
  • Halstead Measures.
  • Weighted Methods Complexity.
  • etc.
Metrics such as these can help in understanding and managing code complexity.
JStyle Metrics
Other product highlights:
  • Two scripting languages JMScriptTM and VBScriptTM are built-in. This means you can write add-ins in these two languages to extend the functionality of JStyle.
  • Parsed and analyzed information is available to the script in the form of several COM objects. This feature can be exploited to add custom comments in particular. Interesting examples of script programs are included in the distributable.
  • Supports a syntax-aware text editor. More interestingly, the editor functionality is exposed via COM objects for use within scripts.
  • A code browser that is tightly integrated with editor for easier navigation. Right mouse button brings up a context sensitive menu.
  • Supports compressed jar files.
  • A class browser that supports Javadoc comments is also included.