Interface CodeClimateRule

  • All Superinterfaces:
    PropertySource, Rule

    @Deprecated
    public interface CodeClimateRule
    extends Rule
    Deprecated.
    This interface tags a Rule specifying properties required for the Code Climate output format. Each rule implementing this interface must define the two code climate properties "categories" and "remediation multiplier".
    • Field Detail

      • CODECLIMATE_CATEGORIES

        static final EnumeratedMultiProperty<String> CODECLIMATE_CATEGORIES
        Deprecated.
        Defines the code climate categories for which this rule will find violations. Possible categories are: Bug Risk, Clarity, Compatibility, Complexity, Duplication, Performance, Security, Style.
        See Also:
        Code Climate Spec
      • CODECLIMATE_BLOCK_HIGHLIGHTING

        static final BooleanProperty CODECLIMATE_BLOCK_HIGHLIGHTING
        Deprecated.
        Defines if the whole related block or just the first line of the issue should be highlighted at the Code Climate Platform. By default the block highlighting is disabled for reasons of clarity.