Class NcssMethodCountRule

    • Constructor Detail

      • NcssMethodCountRule

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

      • defaultReportLevel

        protected int defaultReportLevel()
        Specified by:
        defaultReportLevel in class net.sourceforge.pmd.lang.apex.rule.internal.AbstractCounterCheckRule<ASTMethod>
      • isIgnored

        protected boolean isIgnored​(ASTMethod node)
        Description copied from class: net.sourceforge.pmd.lang.apex.rule.internal.AbstractCounterCheckRule
        Return true if the node should be ignored.
        Overrides:
        isIgnored in class net.sourceforge.pmd.lang.apex.rule.internal.AbstractCounterCheckRule<ASTMethod>
      • getViolationParameters

        protected Object[] getViolationParameters​(ASTMethod node,
                                                  int metric,
                                                  int limit)
        Overrides:
        getViolationParameters in class net.sourceforge.pmd.lang.apex.rule.internal.AbstractCounterCheckRule<ASTMethod>