Class NpathMetric
- java.lang.Object
-
- net.sourceforge.pmd.lang.metrics.AbstractMetric<N>
-
- net.sourceforge.pmd.lang.java.metrics.AbstractJavaMetric<MethodLikeNode>
-
- net.sourceforge.pmd.lang.java.metrics.impl.AbstractJavaOperationMetric
-
- net.sourceforge.pmd.lang.java.metrics.impl.NpathMetric
-
- All Implemented Interfaces:
JavaOperationMetric
,Metric<MethodLikeNode>
public class NpathMetric extends AbstractJavaOperationMetric
NPath complexity. See the documentation site.- Since:
- 6.0.0
- Author:
- Clément Fournier
-
-
Constructor Summary
Constructors Constructor Description NpathMetric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
computeFor(MethodLikeNode node, MetricOptions options)
-
Methods inherited from class net.sourceforge.pmd.lang.java.metrics.impl.AbstractJavaOperationMetric
supports, supports
-
Methods inherited from class net.sourceforge.pmd.lang.metrics.AbstractMetric
equals, hashCode
-
-
-
-
Method Detail
-
computeFor
public double computeFor(MethodLikeNode node, MetricOptions options)
-
-