JReceiver: Code Metrics

Various statistics on the JReceiver code base.


JDepend traverses a set of Java class and source file directories and generates design quality metrics for each Java package. JDepend allows you to automatically measure the quality of a design in terms of its extensibility, reusability, and maintainability to effectively manage and control package dependencies.

REPORT: JDepend Analysis of JReceiver

For more info on JDepend, check out http://www.clarkware.com/software/JDepend.html


Provides measures of code size and complexity:
  1. Non Commenting Source Statements (NCSS) - lets you know how much source code is involved.
  2. Cyclomatic Complexity Number (McCabe metric) - CCN is also know as McCabe Metric. There exists a much hyped theory behind it based on graph theory, but it all comes down to simply counting 'if', 'for', 'while' statements etc. in a method. Whenever the control flow of a method splits, the "CCN counter" gets incremented by one.

REPORT: JavaNCSS Analysis of JReceiver

For more info on the utility that generates these metrics, check out http://www.kclee.com/clemens/java/javancss/.

Copyright © 2001-2002, Reed Esau & the JReceiver Project (http://jreceiver.sourceforge.net), All Rights Reserved