Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
ApexParserVisitor.visit(ASTMethod node,
java.lang.Object data) |
|
java.lang.Object |
ApexParserVisitorAdapter.visit(ASTMethod node,
java.lang.Object data) |
Modifier and Type | Method | Description |
---|---|---|
protected java.util.List<ASTMethod> |
ApexMetricsComputer.findOperations(ASTUserClassOrInterface<?> node) |
|
protected net.sourceforge.pmd.lang.metrics.MetricsComputer<ASTUserClassOrInterface<?>,ASTMethod> |
ApexMetricsFacade.getLanguageSpecificComputer() |
Modifier and Type | Method | Description |
---|---|---|
static double |
ApexMetrics.get(net.sourceforge.pmd.lang.metrics.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(net.sourceforge.pmd.lang.metrics.MetricKey<ASTMethod> key,
ASTMethod node,
net.sourceforge.pmd.lang.metrics.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 | Description |
---|---|---|
static double |
ApexMetrics.get(net.sourceforge.pmd.lang.metrics.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(net.sourceforge.pmd.lang.metrics.MetricKey<ASTMethod> key,
ASTMethod node,
net.sourceforge.pmd.lang.metrics.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(net.sourceforge.pmd.lang.metrics.MetricKey<ASTMethod> key,
ASTUserClassOrInterface<?> 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 |
ApexMetrics.get(net.sourceforge.pmd.lang.metrics.MetricKey<ASTMethod> key,
ASTUserClassOrInterface<?> 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 |
---|---|---|
boolean |
ApexOperationMetricKey.supports(ASTMethod node) |
Modifier and Type | Method | Description |
---|---|---|
double |
CycloMetric.computeFor(ASTMethod node,
net.sourceforge.pmd.lang.metrics.MetricOptions options) |
|
boolean |
AbstractApexOperationMetric.supports(ASTMethod node) |
Checks if the metric can be computed on the node.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
StandardCycloVisitor.visit(ASTMethod node,
java.lang.Object data) |
Modifier and Type | Method | 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 | Description |
---|---|---|
java.lang.Object |
ApexMultifileVisitor.visit(ASTMethod node,
java.lang.Object data) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
AbstractApexRule.visit(ASTMethod node,
java.lang.Object data) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
ApexUnitTestClassShouldHaveAssertsRule.visit(ASTMethod node,
java.lang.Object data) |
|
java.lang.Object |
ApexUnitTestShouldNotUseSeeAllDataTrueRule.visit(ASTMethod node,
java.lang.Object data) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
MethodNamingConventionsRule.visit(ASTMethod node,
java.lang.Object data) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
CyclomaticComplexityRule.visit(ASTMethod node,
java.lang.Object data) |
|
java.lang.Object |
ExcessivePublicCountRule.visit(ASTMethod node,
java.lang.Object data) |
|
java.lang.Object |
NcssConstructorCountRule.visit(ASTMethod node,
java.lang.Object data) |
|
java.lang.Object |
NcssMethodCountRule.visit(ASTMethod node,
java.lang.Object data) |
|
java.lang.Object |
NcssTypeCountRule.visit(ASTMethod node,
java.lang.Object data) |
|
java.lang.Object |
StdCyclomaticComplexityRule.visit(ASTMethod node,
java.lang.Object data) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
ApexCSRFRule.visit(ASTMethod node,
java.lang.Object data) |
Copyright © 2002–2018 PMD. All rights reserved.