JavaOperationMetric, net.sourceforge.pmd.lang.metrics.Metric<ASTMethodOrConstructorDeclaration>public static final class NcssMetric.NcssOperationMetric extends AbstractJavaOperationMetric
| Constructor | Description |
|---|---|
NcssOperationMetric() |
| Modifier and Type | Method | Description |
|---|---|---|
double |
computeFor(ASTMethodOrConstructorDeclaration node,
net.sourceforge.pmd.lang.metrics.MetricOptions version) |
|
boolean |
supports(ASTMethodOrConstructorDeclaration node) |
Returns true if the metric can be computed on this operation.
|
equals, hashCodepublic boolean supports(ASTMethodOrConstructorDeclaration node)
AbstractJavaOperationMetricsupports in interface net.sourceforge.pmd.lang.metrics.Metric<ASTMethodOrConstructorDeclaration>supports in class AbstractJavaOperationMetricnode - The operationpublic double computeFor(ASTMethodOrConstructorDeclaration node, net.sourceforge.pmd.lang.metrics.MetricOptions version)
Copyright © 2002–2018 PMD. All rights reserved.