Class ClassCognitiveComplexityMetric
- java.lang.Object
-
- net.sourceforge.pmd.lang.metrics.AbstractMetric<N>
-
- net.sourceforge.pmd.lang.apex.metrics.AbstractApexMetric<ASTUserClassOrInterface<?>>
-
- net.sourceforge.pmd.lang.apex.metrics.impl.AbstractApexClassMetric
-
- net.sourceforge.pmd.lang.apex.metrics.impl.ClassCognitiveComplexityMetric
-
- All Implemented Interfaces:
ApexClassMetric
,net.sourceforge.pmd.lang.metrics.Metric<ASTUserClassOrInterface<?>>
public class ClassCognitiveComplexityMetric extends AbstractApexClassMetric
The sum of the cognitive complexities of all the methods within a class.- Author:
- Gwilym Kuiper
-
-
Constructor Summary
Constructors Constructor Description ClassCognitiveComplexityMetric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
computeFor(ASTUserClassOrInterface<?> node, net.sourceforge.pmd.lang.metrics.MetricOptions options)
-
Methods inherited from class net.sourceforge.pmd.lang.apex.metrics.impl.AbstractApexClassMetric
supports
-
-
-
-
Method Detail
-
computeFor
public double computeFor(ASTUserClassOrInterface<?> node, net.sourceforge.pmd.lang.metrics.MetricOptions options)
-
-