Name
jdepend
Synopsis
Executes the JDepend tool. JDepend analyzes Java source files, producing design quality metrics for each package. This task requires JDepend Version 1.2 or later, which is available at http://www.clarkware.com/software/JDepend.html.
Attributes
-
classpath(1.4, Path, N) The classpath to use.
-
classpathref(1.4, Reference, N) A reference to a classpath defined elsewhere in the buildfile.
-
dir(1.4, File, N) The working directory for the JVM.
-
fork(1.4, boolean, N) If
true, the task forks a new JVM instance. Defaults tofalse.-
haltonerror(1.4, boolean, N) If
true, the task halts the build when errors occur. Defaults tofalse.-
jvm(1.4, String, N) The command used to invoke the JVM. Ignored if
fork=false. Defaults tojava.-
outputfile(1.4, File, N) The task sends output to this file, or to the current output stream if omitted.
Content
- 0,1 nested
<classpath>elements (1.4) A
pathelement used in place of theclasspathorclasspathrefattributes.- 0..n nested
<jvmarg>elements (1.4) Command-line arguments as described in Chapter 4. Only valid when
fork=true.- 1..n nested
<sourcespath>elements (1.4) The
pathelements defining where Java source files are located.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access