| Modifier and Type | Class and Description |
|---|---|
class |
ASTConstructorDeclaration |
class |
ASTMethodDeclaration |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
JavaParserVisitorReducedAdapter.visit(ASTMethodOrConstructorDeclaration node,
java.lang.Object data) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<ASTMethodOrConstructorDeclaration> |
JavaMetricsComputer.findOperations(ASTAnyTypeDeclaration node) |
| Modifier and Type | Method and Description |
|---|---|
static double |
JavaMetrics.get(MetricKey<ASTMethodOrConstructorDeclaration> key,
ASTMethodOrConstructorDeclaration node)
Computes the standard version of the metric identified by the key on a operation AST node.
|
static double |
JavaMetrics.get(MetricKey<ASTMethodOrConstructorDeclaration> key,
ASTMethodOrConstructorDeclaration node,
MetricOptions options)
Computes a metric identified by its key on a operation AST node.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
static double |
JavaMetrics.get(MetricKey<ASTMethodOrConstructorDeclaration> key,
ASTMethodOrConstructorDeclaration node)
Computes the standard version of the metric identified by the key on a operation AST node.
|
static double |
JavaMetrics.get(MetricKey<ASTMethodOrConstructorDeclaration> key,
ASTMethodOrConstructorDeclaration node,
MetricOptions options)
Computes a metric identified by its key on a operation AST node.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
JavaOperationMetricKey.supports(ASTMethodOrConstructorDeclaration node) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<ASTMethodOrConstructorDeclaration> |
AbstractJavaClassMetric.getMethodsAndConstructors(ASTAnyTypeDeclaration node)
Gets a list of all methods and constructors declared in the class.
|
| Modifier and Type | Method and Description |
|---|---|
double |
NpathMetric.computeFor(ASTMethodOrConstructorDeclaration node,
MetricOptions options) |
double |
NcssMetric.NcssOperationMetric.computeFor(ASTMethodOrConstructorDeclaration node,
MetricOptions version) |
double |
LocMetric.LocOperationMetric.computeFor(ASTMethodOrConstructorDeclaration node,
MetricOptions options) |
double |
CycloMetric.computeFor(ASTMethodOrConstructorDeclaration node,
MetricOptions options) |
double |
AtfdMetric.AtfdOperationMetric.computeFor(ASTMethodOrConstructorDeclaration node,
MetricOptions options) |
boolean |
NcssMetric.NcssOperationMetric.supports(ASTMethodOrConstructorDeclaration node) |
boolean |
LocMetric.LocOperationMetric.supports(ASTMethodOrConstructorDeclaration node) |
boolean |
AtfdMetric.AtfdOperationMetric.supports(ASTMethodOrConstructorDeclaration node) |
boolean |
AbstractJavaOperationMetric.supports(ASTMethodOrConstructorDeclaration node)
Returns true if the metric can be computed on this operation.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
NpathBaseVisitor.visit(ASTMethodOrConstructorDeclaration node,
java.lang.Object data) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
MultifileVisitor.visit(ASTMethodOrConstructorDeclaration node,
java.lang.Object data) |
| Modifier and Type | Method and Description |
|---|---|
static JavaOperationSignature |
JavaOperationSignature.buildFor(ASTMethodOrConstructorDeclaration node)
Builds an operation signature from a method or constructor declaration.
|
static JavaOperationSignature.Role |
JavaOperationSignature.Role.get(ASTMethodOrConstructorDeclaration node) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
AbstractJavaMetricsRule.visit(ASTMethodOrConstructorDeclaration node,
java.lang.Object data) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
NcssCountRule.visit(ASTMethodOrConstructorDeclaration node,
java.lang.Object data) |
java.lang.Object |
NPathComplexityRule.visit(ASTMethodOrConstructorDeclaration node,
java.lang.Object data) |
java.lang.Object |
CyclomaticComplexityRule.visit(ASTMethodOrConstructorDeclaration node,
java.lang.Object data) |
Copyright © 2002–2017 PMD. All rights reserved.