| Package | Description |
|---|---|
| net.sourceforge.pmd.lang.java.oom |
Object-Oriented Metrics module (Metrics framework).
|
| net.sourceforge.pmd.lang.java.oom.api |
| Modifier and Type | Method and Description |
|---|---|
static double |
Metrics.get(ClassMetricKey key,
ASTClassOrInterfaceDeclaration node)
Computes the standard value of the metric identified by its code on a class AST node.
|
static double |
Metrics.get(ClassMetricKey key,
ASTClassOrInterfaceDeclaration node,
MetricVersion version)
Computes a metric identified by its code on a class AST node, possibly selecting a variant with the
MetricVersion parameter. |
| Modifier and Type | Method and Description |
|---|---|
static ClassMetricKey |
ClassMetricKey.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassMetricKey[] |
ClassMetricKey.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2002–2017 PMD. All rights reserved.