From 11d421035cbd2c61e466be8158ca75def5ae7ef1 Mon Sep 17 00:00:00 2001
From: Peter Donald Invokes the JDepend parser. This parser "traverses a set of Java source file directories and generates design quality metrics for each Java package".
-It allows to "automatically measure the quality of a design in terms of its extensibility, reusability, and maintainability to
+It allows to "automatically measure the quality of a design in terms of its extensibility, reusability, and maintainability to
effectively manage and control package dependencies." Source file directories are defined by nested Optionally, you can also set the The task requires at least the JDepend 1.2 version. The task requires at least the JDepend 1.2 version. Note: whereas the JDepend tool can be customized to exclude some packages, the current jdepend And Task does not have parameters to allow these exclusions. Read JDepend specific documentation for that purpose.<sourcespath>
, see nested elements.outputfile
name where the output is stored. By default the task writes its report to the standard output.
jdepend
supports two nested elements <classpath>
and <sourcespath>
,
-that represent PATH like structures.
jdepend
supports two nested elements <classpath>
and <sourcespath>
,
+that represent PATH like structures.
<sourcespath>
is used to define the paths of the source code to analyze.
+ -This invokes JDepend in a separate VM on the-<jdepend outputfile="docs/jdepend.txt" fork="yes"> +<jdepend outputfile="docs/jdepend.xml" fork="yes" format="xml"> <sourcespath> <pathelement location="src" /> </sourcespath> @@ -106,10 +111,10 @@ The classpath is defined using a classpath reference. </classpath> </jdepend>-
src
and testsrc
directories, writing the output in the <docs/jdepend.txt>
file.
-The classpath is defined using nested elements.
+This invokes JDepend in a separate VM on the src
and testsrc
directories, writing the output to the <docs/jdepend.xml>
file in xml format.
+The classpath is defined using nested elements.