Class DryDescriptor

java.lang.Object
edu.hm.hafner.analysis.registry.ParserDescriptor
edu.hm.hafner.analysis.registry.DryDescriptor

public abstract class DryDescriptor extends ParserDescriptor
A descriptor for duplicate code parsers.
Author:
Ullrich Hafner
  • Field Details

    • HIGH_OPTION_KEY

      public static final String HIGH_OPTION_KEY
      Key to define minimum number of duplicate lines for high priority warnings.
      See Also:
    • NORMAL_OPTION_KEY

      public static final String NORMAL_OPTION_KEY
      Key to define minimum number of duplicate lines for normal priority warnings.
      See Also:
  • Method Details

    • getDescription

      public String getDescription(Issue issue)
      Description copied from class: ParserDescriptor
      Returns a detailed description of the specified issue. If there is no additional description is available, then an empty String is returned.
      Overrides:
      getDescription in class ParserDescriptor
      Parameters:
      issue - the issue to get the description for
      Returns:
      the description