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, hashCode
public boolean supports(ASTMethodOrConstructorDeclaration node)
AbstractJavaOperationMetric
supports
in interface net.sourceforge.pmd.lang.metrics.Metric<ASTMethodOrConstructorDeclaration>
supports
in class AbstractJavaOperationMetric
node
- The operationpublic double computeFor(ASTMethodOrConstructorDeclaration node, net.sourceforge.pmd.lang.metrics.MetricOptions version)
Copyright © 2002–2018 PMD. All rights reserved.