Skip to: Site menu | Main content

A Grails-like Rich Internet Framework

Jdepend Plugin Print

Description

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

Installation

The current version of griffon-jdepend-plugin is 0.2

To install just issue the following command

griffon install-plugin jdepend

Usage

Jdepend provides a single script, run-jdepend, that will output a JDepend report in both XMl and HTML formats, just issue the following command

griffon run-jdepend

You can later inspect the generated reports located at $basedir/test/reports/jdepend-report.xml and $basedir/test/reports/jdepend-report.html

JDepend will automatically exclude the following packages ["java.lang", "java.util", "java.net", "java.io", "java.math", "groovy.lang", "groovy.util", "org.codehaus.groovy.*"]. You can specify additional exclusions by defining the following property on Config.groovy:

griffon.jdepend.exlcudes = [/*list of packages*/]

History

Version Date Notes
0.2 09-09-09 Exclusion list is now configurable
0.1.1 03-09-09 Bumped version to be compatible with Griffon 0.1.0
0.1