| Modifier and Type | Class and Description |
|---|---|
class |
ASTAnnotationTypeDeclaration |
class |
ASTClassOrInterfaceDeclaration |
class |
ASTEnumDeclaration |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
JavaParserVisitorReducedAdapter.visit(ASTAnyTypeDeclaration node,
java.lang.Object data) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<ASTMethodOrConstructorDeclaration> |
JavaMetricsComputer.findOperations(ASTAnyTypeDeclaration node) |
static double |
JavaMetrics.get(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(MetricKey<ASTAnyTypeDeclaration> key,
ASTAnyTypeDeclaration node,
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(MetricKey<ASTMethodOrConstructorDeclaration> key,
ASTAnyTypeDeclaration node,
MetricOptions options,
ResultOption resultOption)
Compute the sum, average, or highest value of the operation metric on all operations of the class node.
|
static double |
JavaMetrics.get(MetricKey<ASTMethodOrConstructorDeclaration> key,
ASTAnyTypeDeclaration node,
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 and Description |
|---|---|
static double |
JavaMetrics.get(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(MetricKey<ASTAnyTypeDeclaration> key,
ASTAnyTypeDeclaration node,
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 and Description |
|---|---|
boolean |
JavaClassMetricKey.supports(ASTAnyTypeDeclaration node) |
| Modifier and Type | Method and Description |
|---|---|
double |
WocMetric.computeFor(ASTAnyTypeDeclaration node,
MetricOptions options) |
double |
WmcMetric.computeFor(ASTAnyTypeDeclaration node,
MetricOptions options) |
double |
TccMetric.computeFor(ASTAnyTypeDeclaration node,
MetricOptions options) |
double |
NopaMetric.computeFor(ASTAnyTypeDeclaration node,
MetricOptions options) |
double |
NoamMetric.computeFor(ASTAnyTypeDeclaration node,
MetricOptions options) |
double |
NcssMetric.NcssClassMetric.computeFor(ASTAnyTypeDeclaration node,
MetricOptions version) |
double |
LocMetric.LocClassMetric.computeFor(ASTAnyTypeDeclaration node,
MetricOptions options) |
double |
AtfdMetric.AtfdClassMetric.computeFor(ASTAnyTypeDeclaration node,
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 |
WocMetric.supports(ASTAnyTypeDeclaration node) |
boolean |
NopaMetric.supports(ASTAnyTypeDeclaration node) |
boolean |
NoamMetric.supports(ASTAnyTypeDeclaration node) |
boolean |
NcssMetric.NcssClassMetric.supports(ASTAnyTypeDeclaration node) |
boolean |
LocMetric.LocClassMetric.supports(ASTAnyTypeDeclaration node) |
boolean |
AbstractJavaClassMetric.supports(ASTAnyTypeDeclaration node)
Returns true if the metric can be computed on this type declaration.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
TccMethodPairVisitor.visit(ASTAnyTypeDeclaration node,
java.lang.Object data) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
MultifileVisitor.visit(ASTAnyTypeDeclaration node,
java.lang.Object data) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
AbstractJavaMetricsRule.visit(ASTAnyTypeDeclaration node,
java.lang.Object data) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
NcssCountRule.visit(ASTAnyTypeDeclaration node,
java.lang.Object data) |
java.lang.Object |
DataClassRule.visit(ASTAnyTypeDeclaration node,
java.lang.Object data) |
java.lang.Object |
CyclomaticComplexityRule.visit(ASTAnyTypeDeclaration node,
java.lang.Object data) |
Copyright © 2002–2017 PMD. All rights reserved.