Modifier and Type | Method and Description |
---|---|
java.lang.Object |
ApexParserVisitorAdapter.visit(ASTMethod node,
java.lang.Object data) |
java.lang.Object |
ApexParserVisitor.visit(ASTMethod node,
java.lang.Object data) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<ASTMethod> |
ApexMetricsComputer.findOperations(ASTUserClassOrInterface<?> node) |
protected MetricsComputer<ASTUserClassOrInterface<?>,ASTMethod> |
ApexMetricsFacade.getLanguageSpecificComputer() |
Modifier and Type | Method and Description |
---|---|
static double |
ApexMetrics.get(MetricKey<ASTMethod> key,
ASTMethod node)
Computes the standard version of the metric identified by the key on a operation AST node.
|
static double |
ApexMetrics.get(MetricKey<ASTMethod> key,
ASTMethod node,
MetricOptions options)
Computes a metric identified by its key on a operation AST node, possibly selecting metric options with the
options parameter. |
Modifier and Type | Method and Description |
---|---|
static double |
ApexMetrics.get(MetricKey<ASTMethod> key,
ASTMethod node)
Computes the standard version of the metric identified by the key on a operation AST node.
|
static double |
ApexMetrics.get(MetricKey<ASTMethod> key,
ASTMethod node,
MetricOptions options)
Computes a metric identified by its key on a operation AST node, possibly selecting metric options with the
options parameter. |
static double |
ApexMetrics.get(MetricKey<ASTMethod> key,
ASTUserClassOrInterface<?> 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 |
ApexMetrics.get(MetricKey<ASTMethod> key,
ASTUserClassOrInterface<?> 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 |
---|---|
boolean |
ApexOperationMetricKey.supports(ASTMethod node) |
Modifier and Type | Method and Description |
---|---|
double |
CycloMetric.computeFor(ASTMethod node,
MetricOptions options) |
boolean |
AbstractApexOperationMetric.supports(ASTMethod node)
Checks if the metric can be computed on the node.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
StandardCycloVisitor.visit(ASTMethod node,
java.lang.Object data) |
Modifier and Type | Method and Description |
---|---|
static ApexSignature.Visibility |
ApexSignature.Visibility.get(ASTMethod method)
Finds out the visibility of a method node.
|
static ApexOperationSignature |
ApexOperationSignature.of(ASTMethod node)
Builds the signature of this node.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
ApexMultifileVisitor.visit(ASTMethod node,
java.lang.Object data) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
AbstractApexRule.visit(ASTMethod node,
java.lang.Object data) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
ApexUnitTestShouldNotUseSeeAllDataTrueRule.visit(ASTMethod node,
java.lang.Object data) |
java.lang.Object |
ApexUnitTestClassShouldHaveAssertsRule.visit(ASTMethod node,
java.lang.Object data) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
MethodNamingConventionsRule.visit(ASTMethod node,
java.lang.Object data) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
StdCyclomaticComplexityRule.visit(ASTMethod node,
java.lang.Object data) |
java.lang.Object |
NcssTypeCountRule.visit(ASTMethod node,
java.lang.Object data) |
java.lang.Object |
NcssMethodCountRule.visit(ASTMethod node,
java.lang.Object data) |
java.lang.Object |
NcssConstructorCountRule.visit(ASTMethod node,
java.lang.Object data) |
java.lang.Object |
ExcessivePublicCountRule.visit(ASTMethod node,
java.lang.Object data) |
java.lang.Object |
CyclomaticComplexityRule.visit(ASTMethod node,
java.lang.Object data) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
ApexCSRFRule.visit(ASTMethod node,
java.lang.Object data) |
Copyright © 2002–2017 PMD. All rights reserved.