| Modifier and Type | Class | Description |
|---|---|---|
class |
AbstractAnyTypeDeclaration |
Abstract class for type declarations nodes.
|
class |
ASTAnnotationTypeDeclaration |
|
class |
ASTClassOrInterfaceDeclaration |
Represents class and interface declarations.
|
class |
ASTEnumDeclaration |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
JavaParserVisitorReducedAdapter.visit(ASTAnyTypeDeclaration node,
java.lang.Object data) |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.List<MethodLikeNode> |
JavaMetricsComputer.findOperations(ASTAnyTypeDeclaration node) |
|
static double |
JavaMetrics.get(net.sourceforge.pmd.lang.metrics.MetricKey<ASTAnyTypeDeclaration> key,
ASTAnyTypeDeclaration node) |
Computes the standard value of the metric identified by its code on a class AST node.
|
static double |
JavaMetrics.get(net.sourceforge.pmd.lang.metrics.MetricKey<ASTAnyTypeDeclaration> key,
ASTAnyTypeDeclaration node,
net.sourceforge.pmd.lang.metrics.MetricOptions options) |
Computes a metric identified by its code on a class AST node, possibly selecting a variant with the
MetricOptions parameter. |
static double |
JavaMetrics.get(net.sourceforge.pmd.lang.metrics.MetricKey<MethodLikeNode> key,
ASTAnyTypeDeclaration node,
net.sourceforge.pmd.lang.metrics.MetricOptions options,
net.sourceforge.pmd.lang.metrics.ResultOption resultOption) |
Compute the sum, average, or highest value of the operation metric on all operations of the class node.
|
static double |
JavaMetrics.get(net.sourceforge.pmd.lang.metrics.MetricKey<MethodLikeNode> key,
ASTAnyTypeDeclaration node,
net.sourceforge.pmd.lang.metrics.ResultOption resultOption) |
Compute the sum, average, or highest value of the standard operation metric on all operations of the class node.
|
| Modifier and Type | Method | Description |
|---|---|---|
static double |
JavaMetrics.get(net.sourceforge.pmd.lang.metrics.MetricKey<ASTAnyTypeDeclaration> key,
ASTAnyTypeDeclaration node) |
Computes the standard value of the metric identified by its code on a class AST node.
|
static double |
JavaMetrics.get(net.sourceforge.pmd.lang.metrics.MetricKey<ASTAnyTypeDeclaration> key,
ASTAnyTypeDeclaration node,
net.sourceforge.pmd.lang.metrics.MetricOptions options) |
Computes a metric identified by its code on a class AST node, possibly selecting a variant with the
MetricOptions parameter. |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
JavaClassMetricKey.supports(ASTAnyTypeDeclaration node) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
AtfdMetric.AtfdClassMetric.computeFor(ASTAnyTypeDeclaration node,
net.sourceforge.pmd.lang.metrics.MetricOptions options) |
|
double |
LocMetric.LocClassMetric.computeFor(ASTAnyTypeDeclaration node,
net.sourceforge.pmd.lang.metrics.MetricOptions options) |
|
double |
NcssMetric.NcssClassMetric.computeFor(ASTAnyTypeDeclaration node,
net.sourceforge.pmd.lang.metrics.MetricOptions version) |
|
double |
NoamMetric.computeFor(ASTAnyTypeDeclaration node,
net.sourceforge.pmd.lang.metrics.MetricOptions options) |
|
double |
NopaMetric.computeFor(ASTAnyTypeDeclaration node,
net.sourceforge.pmd.lang.metrics.MetricOptions options) |
|
double |
TccMetric.computeFor(ASTAnyTypeDeclaration node,
net.sourceforge.pmd.lang.metrics.MetricOptions options) |
|
double |
WmcMetric.computeFor(ASTAnyTypeDeclaration node,
net.sourceforge.pmd.lang.metrics.MetricOptions options) |
|
double |
WocMetric.computeFor(ASTAnyTypeDeclaration node,
net.sourceforge.pmd.lang.metrics.MetricOptions options) |
|
protected int |
AbstractJavaClassMetric.countMatchingFieldSigs(ASTAnyTypeDeclaration classNode,
JavaFieldSigMask mask) |
Counts the fields matching the signature mask in this class.
|
protected int |
AbstractJavaClassMetric.countMatchingOpSigs(ASTAnyTypeDeclaration classNode,
JavaOperationSigMask mask) |
Counts the operations matching the signature mask in this class.
|
protected java.util.List<ASTFieldDeclaration> |
AbstractJavaClassMetric.getFields(ASTAnyTypeDeclaration node) |
Gets a list of all fields declared in the class.
|
protected java.util.List<ASTMethodOrConstructorDeclaration> |
AbstractJavaClassMetric.getMethodsAndConstructors(ASTAnyTypeDeclaration node) |
Gets a list of all methods and constructors declared in the class.
|
boolean |
AbstractJavaClassMetric.supports(ASTAnyTypeDeclaration node) |
Returns true if the metric can be computed on this type declaration.
|
boolean |
LocMetric.LocClassMetric.supports(ASTAnyTypeDeclaration node) |
|
boolean |
NcssMetric.NcssClassMetric.supports(ASTAnyTypeDeclaration node) |
|
boolean |
NoamMetric.supports(ASTAnyTypeDeclaration node) |
|
boolean |
NopaMetric.supports(ASTAnyTypeDeclaration node) |
|
boolean |
WocMetric.supports(ASTAnyTypeDeclaration node) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
TccAttributeAccessCollector.visit(ASTAnyTypeDeclaration node,
java.lang.Object data) |
| Constructor | Description |
|---|---|
TccAttributeAccessCollector(ASTAnyTypeDeclaration exploredClass) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
MultifileVisitor.visit(ASTAnyTypeDeclaration node,
java.lang.Object data) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
QualifiedNameResolver.visit(ASTAnyTypeDeclaration node,
java.lang.Object data) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
AbstractJavaMetricsRule.visit(ASTAnyTypeDeclaration node,
java.lang.Object data) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
CyclomaticComplexityRule.visit(ASTAnyTypeDeclaration node,
java.lang.Object data) |
|
java.lang.Object |
DataClassRule.visit(ASTAnyTypeDeclaration node,
java.lang.Object data) |
|
java.lang.Object |
NcssCountRule.visit(ASTAnyTypeDeclaration node,
java.lang.Object data) |
Copyright © 2002–2018 PMD. All rights reserved.