JDepend is a tool to generate design quality metrics for each Java package.
It has been initially created by Mike Clark. JDepend can be found at http://www.clarkware.com/software/JDepend.html.
The current implementation spawn a new Java VM.
Inner Class :public static class FormatAttribute extends EnumeratedAttribute
Create a new JVM argument. Ignored if no JVM is forked.
Parameters: commandline - the commandline to create the argument on create a new JVM argument so that any argument canbe passed to the JVM. See Also:JDependTask.setFork(boolean)
Execute the task by forking a new JVM. The command will block until
it finishes. To know if the process was destroyed or not, use the
killedProcess() method of the watchdog class.
Parameters: commandline - the commandline for forked jvm Parameters: watchdog - the watchdog in charge of cancelling the test if itexceeds a certain amount of time. Can be null. the result of running the jdepend throws: BuildException - in case of error
The directory to invoke the VM in. Ignored if no JVM is forked.
Parameters: dir - the directory to invoke the JVM from. See Also:JDependTask.setFork(boolean)
The command used to invoke a forked Java Virtual Machine.
Default is java. Ignored if no JVM is forked.
Parameters: value - the new VM to use instead of java See Also:JDependTask.setFork(boolean)