JDepend

Information

JDepend traverses Java class 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.

Homepage: http://www.clarkware.com/software/JDepend.html

Example

To use the jdepend target, you need to set the properties described in the Common Build Targets document.

<target name="jdepend"> <ant antfile="$" target="jdepend"> <property name="report.dir" value="C:\temp\myproject"/> <property name="source.dir" value="$\src"/> <property name="classes.dir" value="$\bin"/> </ant> </target> The common target will add the directory jdepend to the report dir you provided and create a report with the name jdepend-report.html.


DeadEd.com
http://www.deaded.com/staticpages/index.php/jdepend