Class DupFinderParser

    • Constructor Detail

      • DupFinderParser

        public DupFinderParser​(int highThreshold,
                               int normalThreshold)
        Creates a new instance of DupFinderParser.
        Parameters:
        highThreshold - minimum number of duplicate lines for high priority warnings
        normalThreshold - minimum number of duplicate lines for normal priority warnings
      • DupFinderParser

        public DupFinderParser()
        Creates a new instance of DupFinderParser. The highThreshold is set to 50, the normalThreshold is set to 25.
    • Method Detail

      • configureParser

        protected void configureParser​(org.apache.commons.digester3.Digester digester)
        Description copied from class: AbstractDryParser
        Configures the Digester parser. Register all rules that are required to parse the file.
        Specified by:
        configureParser in class AbstractDryParser<Duplicate>
        Parameters:
        digester - the parser to configure