Package net.sourceforge.pmd.lang.metrics
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.
-
ClassDescriptionLanguage-specific provider for metrics.A named computation that can be carried out on some nodes.Option to pass to a metric.Bundles a set of options to pass to a metric.Utilities to use
Metricinstances.