| Package | Description |
|---|---|
| net.sourceforge.pmd.lang.java.ast | |
| net.sourceforge.pmd.lang.java.oom |
Object-Oriented Metrics module (Metrics framework).
|
| net.sourceforge.pmd.lang.java.oom.api | |
| net.sourceforge.pmd.lang.java.oom.metrics | |
| net.sourceforge.pmd.lang.java.oom.signature |
| Modifier and Type | Class and Description |
|---|---|
class |
ASTConstructorDeclaration |
class |
ASTMethodDeclaration |
| Modifier and Type | Method and Description |
|---|---|
static List<ASTMethodOrConstructorDeclaration> |
AbstractMetric.findOperations(ASTClassOrInterfaceDeclaration node,
boolean includeNested)
Finds the declaration nodes of all methods or constructors that are declared inside a class.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<QualifiedName> |
AbstractMetric.findAllCalls(ASTMethodOrConstructorDeclaration node) |
static double |
Metrics.get(OperationMetricKey key,
ASTMethodOrConstructorDeclaration node)
Computes the standard version of the metric identified by the key on a operation AST node.
|
static double |
Metrics.get(OperationMetricKey key,
ASTMethodOrConstructorDeclaration node,
MetricVersion version)
Computes a metric identified by its key on a operation AST node.
|
| Modifier and Type | Method and Description |
|---|---|
double |
OperationMetric.computeFor(ASTMethodOrConstructorDeclaration node,
MetricVersion version)
Actually computes the value of a metric for an AST node.
|
| Modifier and Type | Method and Description |
|---|---|
double |
NcssMetric.computeFor(ASTMethodOrConstructorDeclaration node,
MetricVersion version) |
double |
LocMetric.computeFor(ASTMethodOrConstructorDeclaration node,
MetricVersion version) |
double |
CycloMetric.computeFor(ASTMethodOrConstructorDeclaration node,
MetricVersion version) |
double |
AtfdMetric.computeFor(ASTMethodOrConstructorDeclaration node,
MetricVersion version) |
| Modifier and Type | Method and Description |
|---|---|
static OperationSignature |
OperationSignature.buildFor(ASTMethodOrConstructorDeclaration node)
Builds an operation signature from a method or constructor declaration.
|
static OperationSignature.Role |
OperationSignature.Role.get(ASTMethodOrConstructorDeclaration node) |
Copyright © 2002–2017 PMD. All rights reserved.