public interface CodeClimateRule extends Rule
Modifier and Type | Interface and Description |
---|---|
static class |
CodeClimateRule.CodeClimateCategory
Represent a CodeClimate category.
|
Modifier and Type | Field and Description |
---|---|
static BooleanProperty |
CODECLIMATE_BLOCK_HIGHLIGHTING
Defines if the whole related block or just the first line of the issue
should be highlighted at the Code Climate Platform.
|
static EnumeratedMultiProperty<java.lang.String> |
CODECLIMATE_CATEGORIES
Defines the code climate categories for which this rule will find
violations.
|
static IntegerProperty |
CODECLIMATE_REMEDIATION_MULTIPLIER
Defines the remediation points for this rule.
|
VIOLATION_SUPPRESS_REGEX_DESCRIPTOR, VIOLATION_SUPPRESS_XPATH_DESCRIPTOR
addExample, addRuleChainVisit, addRuleChainVisit, apply, deepCopy, end, getDescription, getExamples, getExternalInfoUrl, getLanguage, getMaximumLanguageVersion, getMessage, getMinimumLanguageVersion, getName, getParserOptions, getPriority, getRuleChainVisits, getRuleClass, getRuleSetName, getSince, isDeprecated, isDfa, isMultifile, isRuleChain, isTypeResolution, setDeprecated, setDescription, setDfa, setExternalInfoUrl, setLanguage, setMaximumLanguageVersion, setMessage, setMinimumLanguageVersion, setMultifile, setName, setPriority, setRuleClass, setRuleSetName, setSince, setTypeResolution, setUsesDFA, setUsesMultifile, setUsesTypeResolution, start, usesDFA, usesMultifile, usesRuleChain, usesTypeResolution
definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, setProperty, useDefaultValueFor, usesDefaultValues
static final EnumeratedMultiProperty<java.lang.String> CODECLIMATE_CATEGORIES
static final IntegerProperty CODECLIMATE_REMEDIATION_MULTIPLIER
CodeClimateRenderer
takes this and multiplies it with
CodeClimateRenderer.REMEDIATION_POINTS_DEFAULT
, which is the
baseline points for a trivial fix (value is 50000).static final BooleanProperty CODECLIMATE_BLOCK_HIGHLIGHTING
Copyright © 2002–2017 PMD. All rights reserved.