Class WmcMetric
- java.lang.Object
-
- net.sourceforge.pmd.lang.metrics.AbstractMetric<N>
-
- net.sourceforge.pmd.lang.java.metrics.AbstractJavaMetric<ASTAnyTypeDeclaration>
-
- net.sourceforge.pmd.lang.java.metrics.impl.AbstractJavaClassMetric
-
- net.sourceforge.pmd.lang.java.metrics.impl.WmcMetric
-
- All Implemented Interfaces:
JavaClassMetric
,Metric<ASTAnyTypeDeclaration>
public final class WmcMetric extends AbstractJavaClassMetric
Weighed Method count. See the documentation site.- Since:
- June 2017
- Author:
- Clément Fournier
-
-
Constructor Summary
Constructors Constructor Description WmcMetric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
computeFor(ASTAnyTypeDeclaration node, MetricOptions options)
-
Methods inherited from class net.sourceforge.pmd.lang.java.metrics.impl.AbstractJavaClassMetric
countMatchingFieldSigs, countMatchingOpSigs, getFields, getMethodsAndConstructors, supports
-
Methods inherited from class net.sourceforge.pmd.lang.metrics.AbstractMetric
equals, hashCode
-
-
-
-
Method Detail
-
computeFor
public double computeFor(ASTAnyTypeDeclaration node, MetricOptions options)
-
-