Class AtfdMetric.AtfdOperationMetric

    • Constructor Detail

      • AtfdOperationMetric

        public AtfdOperationMetric()
    • Method Detail

      • supports

        public boolean supports​(MethodLikeNode node)
        Description copied from class: AbstractJavaOperationMetric
        Returns true if the metric can be computed on this operation. By default, abstract operations are filtered out.
        Specified by:
        supports in interface net.sourceforge.pmd.lang.metrics.Metric<MethodLikeNode>
        Overrides:
        supports in class AbstractJavaOperationMetric
        Parameters:
        node - The operation
        Returns:
        True if the metric can be computed on this operation
      • computeFor

        public double computeFor​(MethodLikeNode node,
                                 net.sourceforge.pmd.lang.metrics.MetricOptions options)