Package net.sourceforge.pmd.lang.metrics
Language-independent framework to represent code metrics. To find the build-in
metrics for a language, find the language-specific
utility class containing
Metric
constants, eg in java, JavaMetrics
.
See Metric
and MetricsUtil
for usage documentation. In some language modules, XPath rules may
use metrics through an XPath function, e.g. pmd-java:metric
function.
-
Interface Summary Interface Description LanguageMetricsProvider Language-specific provider for metrics.Metric<N extends Node,R extends Number> A named computation that can be carried out on some nodes.MetricOption Option to pass to a metric. -
Class Summary Class Description MetricOptions Bundles a set of options to pass to a metric.MetricsUtil Utilities to useMetric
instances.