Alle implementierten Schnittstellen:
Serializable

public class SimianParser extends AbstractDryParser<Set>
A parser for Simian XML files.
Autor:
Ullrich Hafner
Siehe auch:
  • Konstruktordetails

    • SimianParser

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

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

    • configureParser

      protected void configureParser(org.apache.commons.digester3.Digester digester)
      Beschreibung aus Klasse kopiert: AbstractDryParser
      Configures the Digester parser. Register all rules that are required to parse the file.
      Angegeben von:
      configureParser in Klasse AbstractDryParser<Set>
      Parameter:
      digester - the parser to configure
    • convertDuplicationsToIssues

      protected Report convertDuplicationsToIssues(List<Set> duplications, IssueBuilder issueBuilder)
      Beschreibung aus Klasse kopiert: AbstractDryParser
      Converts the parsed duplications from the original format to an Report instance.
      Angegeben von:
      convertDuplicationsToIssues in Klasse AbstractDryParser<Set>
      Parameter:
      duplications - the parsed warnings
      issueBuilder - the issue builder to use
      Gibt zurück:
      the converted warnings