Class NcssMethodCountRule

  • All Implemented Interfaces:
    PLSQLParserVisitor, net.sourceforge.pmd.lang.rule.ImmutableLanguage, net.sourceforge.pmd.lang.rule.stat.StatisticalRule, net.sourceforge.pmd.properties.PropertySource, net.sourceforge.pmd.Rule

    public class NcssMethodCountRule
    extends AbstractNcssCountRule
    Non-commented source statement counter for methods.

    Analogous to and cribbed from Java version of the rule.

    • Constructor Detail

      • NcssMethodCountRule

        public NcssMethodCountRule()
        Count the size of all non-constructor methods.
    • Method Detail

      • getViolationParameters

        public java.lang.Object[] getViolationParameters​(net.sourceforge.pmd.stat.DataPoint point)
        Specified by:
        getViolationParameters in interface net.sourceforge.pmd.lang.rule.stat.StatisticalRule
        Overrides:
        getViolationParameters in class AbstractNcssCountRule