Name
mmetrics
Synopsis
Executes the WebGain Quality Analyzer on a set of Java files,
reporting on code complexity and other metrics. See the
maudit task for background information on the
WebGain Quality Analyzer, formerly known as Metamata Quality
Analyzer.
Attributes
-
granularity(1.4, String, Y) Specifies the metrics granularity. Legal values are
files,types, andmethods.-
maxmemory(1.4, String, N) The maximum memory available to the JVM.
-
metamatahome(1.4, File, Y) The directory containing the WebGain Quality Analyzer distribution.
-
tofile(1.4, File, Y) The destination XML file for the metrics report.
Content
- 0,1 nested
<classpath>elements (1.4) The
pathelement specifying the classpath.- 0..n nested
<fileset>elements (1.4) The
filesetelements specifying source files to analyze.- 0..n nested
<jvmarg>elements (1.4) The command-line JVM arguments as described in Chapter 4.
- 0,1 nested
<path>elements (1.4) The
pathelement specifying directories scanned for source code.- 0,1 nested
<sourcepath>elements (1.4) The
pathelement overriding theSOURCEPATHenvironment variable.
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