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.