Rule name | Classification | Redefinable |
---|---|---|
AbbreviationAsWordInName | Naming Conventions | Yes |
AbstractClassName | Naming Conventions | Yes |
AnnotationLocation | Documentation Conventions | Yes |
AnnotationUseStyle | Documentation Conventions | Yes |
AnonInnerLength | Metric | Yes |
ArrayTrailingComma | Best Practices | No |
ArrayTypeStyle | Style Conventions | Yes |
AtclauseOrder | Documentation Conventions | Yes |
AvoidEscapedUnicodeCharacters | Best Practices | Yes |
AvoidInlineConditionals | Best Practices | No |
AvoidNestedBlocks | Refactorings - Redundancies | Yes |
AvoidStarImport | Code Structure | Yes |
AvoidStaticImport | Code Structure | Yes |
BooleanExpressionComplexity | Metric | Yes |
ClassDataAbstractionCoupling | Metric | Yes |
ClassFanOutComplexity | Metric | Yes |
ClassTypeParameterName | Naming Conventions | Yes |
ConstantName | Naming Conventions | Yes |
CovariantEquals | Interface | No |
CustomImportOrder | Best Practices | Yes |
CyclomaticComplexity | Metric | Yes |
DeclarationOrder | Best Practices | Yes |
DefaultComesLast | Best Practices | No |
DescendantToken | Regular Expressions | Yes |
DesignForExtension | Object Oriented Design | No |
DoubleCheckedLocking | Concurrency | Yes |
EmptyBlock | Refactorings - Redundancies | Yes |
EmptyCatchBlock | Error Handling | Yes |
EmptyForInitializerPad | Style Conventions | Yes |
EmptyForIteratorPad | Style Conventions | Yes |
EmptyLineSeparator | Style Conventions | Yes |
EmptyStatement | Refactorings - Redundancies | No |
EntityBean | Best Practices | No |
EqualsAvoidNull | Logic | Yes |
EqualsHashCode | Interface | No |
ExecutableStatementCount | Metric | Yes |
ExplicitInitialization | Refactorings - Redundancies | No |
FallThrough | Logic | Yes |
FileContentsHolder | Tool Specific | No |
FileLength | Metric | Yes |
FileTabCharacter | Style Conventions | Yes |
FinalClass | Object Oriented Design | No |
FinalLocalVariable | Best Practices | Yes |
FinalParameters | Best Practices | Yes |
FinalStatic | Concurrency | No |
GenericIllegalRegexp | Regular Expressions | No |
GenericWhitespace | Style Conventions | No |
Header | Documentation Conventions | Yes |
HiddenField | Logic | Yes |
HideUtilityClassConstructor | Object Oriented Design | No |
IllegalCatch | Error Handling | Yes |
IllegalImport | Interface | Yes |
IllegalInstantiation | Best Practices | Yes |
IllegalThrows | Error Handling | Yes |
IllegalToken | Best Practices | Yes |
IllegalTokenText | Best Practices | Yes |
IllegalType | Object Oriented Design | Yes |
ImportControl | Code Structure | Yes |
ImportOrder | Best Practices | Yes |
Indentation | Style Conventions | Yes |
InnerAssignment | Best Practices | Yes |
InnerTypeLast | Best Practices | No |
InterfaceIsType | Object Oriented Design | Yes |
InterfaceTypeParameterName | Naming Conventions | Yes |
JavadocMethod | Documentation Conventions | Yes |
JavadocPackage | Documentation Conventions | Yes |
JavadocParagraph | Documentation Conventions | No |
JavadocStyle | Documentation Conventions | Yes |
JavadocTagContinuationIndentation | Documentation Conventions | Yes |
JavadocType | Documentation Conventions | Yes |
JavadocVariable | Documentation Conventions | Yes |
JavaNCSS | Metric | Yes |
JUnitTestCase | Interface | No |
LeftCurly | Style Conventions | Yes |
LineLength | Metric | Yes |
LocalFinalVariableName | Naming Conventions | Yes |
LocalHomeInterface | Best Practices | No |
LocalInterface | Best Practices | No |
LocalVariableName | Naming Conventions | Yes |
MagicNumber | Best Practices | Yes |
MemberName | Naming Conventions | Yes |
MessageBean | Best Practices | No |
MethodCount | Metric | Yes |
MethodLength | Metric | Yes |
MethodName | Naming Conventions | Yes |
MethodParamPad | Style Conventions | Yes |
MethodTypeParameterName | Naming Conventions | Yes |
MissingCtor | Interface | No |
MissingDeprecated | Migration | No |
MissingOverride | Object Oriented Design | Yes |
MissingSwitchDefault | Logic | No |
ModifiedControlVariable | Logic | No |
ModifierOrder | Best Practices | No |
MultipleStringLiterals | Refactorings - Redundancies | Yes |
MultipleVariableDeclarations | Best Practices | No |
MutableException | Error Handling | Yes |
NeedBraces | Style Conventions | Yes |
NestedForDepth | Metric | Yes |
NestedIfDepth | Metric | Yes |
NestedTryDepth | Metric | Yes |
NewlineAtEndOfFile | Style Conventions | Yes |
NoClone | Object Oriented Design | No |
NoFinalizer | Object Oriented Design | No |
NoLineWrap | Best Practices | Yes |
NonEmptyAtclauseDescription | Documentation Conventions | No |
NoWhitespaceAfter | Refactorings - Redundancies | Yes |
NoWhitespaceBefore | Style Conventions | Yes |
NPathComplexity | Metric | Yes |
OneMethodPrivateField | Object Oriented Design | No |
OneStatementPerLine | Best Practices | No |
OneTopLevelClass | Best Practices | No |
OperatorWrap | Style Conventions | Yes |
OuterTypeFilename | Code Structure | No |
OuterTypeNumber | Metric | Yes |
OverloadMethodsDeclarationOrder | Best Practices | No |
PackageAnnotation | Documentation Conventions | No |
PackageDeclaration | Code Structure | No |
PackageHtml | Documentation Conventions | No |
PackageName | Naming Conventions | Yes |
ParameterAssignment | Best Practices | No |
ParameterName | Naming Conventions | Yes |
ParameterNumber | Metric | Yes |
ParenPad | Style Conventions | Yes |
RedundantImport | Refactorings - Redundancies | No |
RedundantModifier | Refactorings - Redundancies | Yes |
RedundantThrows | Refactorings - Redundancies | No |
Regexp | Regular Expressions | Yes |
RegexpHeader | Documentation Conventions | Yes |
RegexpMultiline | Regular Expressions | Yes |
RegexpSingleline | Regular Expressions | Yes |
RegexpSinglelineJava | Regular Expressions | Yes |
RemoteHomeInterface | Best Practices | No |
RemoteInterface | Best Practices | No |
RequiredRegexp | Regular Expressions | No |
RequireThis | Best Practices | Yes |
ReturnCount | Best Practices | Yes |
RightCurly | Style Conventions | Yes |
SeparatorWrap | Style Conventions | Yes |
SessionBean | Best Practices | No |
SeverityMatchFilter | Tool Specific | No |
SimplifyBooleanExpression | Refactorings - Simplifications | No |
SimplifyBooleanReturn | Refactorings - Simplifications | No |
SingleLineJavadoc | Documentation Conventions | No |
StaticVariableName | Naming Conventions | Yes |
StrictDuplicateCode | Refactorings - Redundancies | No |
StringLiteralEquality | Logic | No |
SummaryJavadoc | Documentation Conventions | Yes |
SuperClone | Interface | No |
SuperFinalize | Interface | No |
SuppressionCommentFilter | Tool Specific | No |
SuppressionFilter | Tool Specific | No |
SuppressWarnings | Tool Specific | Yes |
SuppressWarningsFilter | Tool Specific | No |
SuppressWarningsHolder | Tool Specific | Yes |
SuppressWithNearbyCommentFilter | Tool Specific | No |
TabCharacter | Style Conventions | No |
ThisParameter | Best Practices | No |
ThisReturn | Best Practices | No |
ThrowsCount | Error Handling | Yes |
TodoComment | Documentation Conventions | Yes |
TrailingComment | Documentation Conventions | Yes |
Translation | Logic | Yes |
TreeWalker | Tool Specific | No |
TypecastParenPad | Style Conventions | Yes |
TypeName | Naming Conventions | Yes |
UncommentedMain | Best Practices | Yes |
UniqueProperties | Refactorings - Redundancies | Yes |
UnnecessaryParentheses | Refactorings - Redundancies | No |
UnusedImports | Refactorings - Redundancies | Yes |
UnusedLocalVariable | Refactorings - Redundancies | Yes |
UnusedParameter | Refactorings - Redundancies | No |
UnusedPrivateField | Refactorings - Redundancies | Yes |
UnusedPrivateMethod | Refactorings - Redundancies | Yes |
UpperEll | Naming Conventions | No |
VariableDeclarationUsageDistance | Metric | Yes |
VisibilityModifier | Object Oriented Design | Yes |
WhitespaceAfter | Style Conventions | Yes |
WhitespaceAround | Style Conventions | Yes |
WriteTag | Tool Specific | Yes |
XPath | Regular Expressions | No |
Rule name | Classification | Redefinable |
---|---|---|
block-scoped-var | Best Practices | No |
brace-style | Style Conventions | Yes |
camelcase | Naming Conventions | Yes |
comma-dangle | Style Conventions | No |
comma-spacing | Style Conventions | Yes |
comma-style | Style Conventions | Yes |
complexity | Metric | Yes |
consistent-return | Logic | No |
consistent-this | Naming Conventions | Yes |
curly | Style Conventions | Yes |
default-case | Logic | No |
dot-notation | Best Practices | Yes |
eol-last | Style Conventions | No |
eqeqeq | Logic | Yes |
func-names | Best Practices | No |
func-style | Best Practices | Yes |
generator-star | Style Conventions | Yes |
generator-star-spacing | Style Conventions | No |
global-strict | Best Practices | Yes |
guard-for-in | Logic | No |
handle-callback-err | Error Handling | Yes |
indent | Style Conventions | Yes |
key-spacing | Style Conventions | Yes |
max-depth | Metric | Yes |
max-len | Metric | Yes |
max-nested-callbacks | Metric | Yes |
max-params | Metric | Yes |
max-statements | Metric | Yes |
new-cap | Naming Conventions | Yes |
newline-after-var | Style Conventions | No |
new-parens | Style Conventions | No |
no-alert | Best Practices | No |
no-array-constructor | Best Practices | No |
no-bitwise | Logic | No |
no-caller | Best Practices | No |
no-catch-shadow | Best Practices | No |
no-comma-dangle | Style Conventions | No |
no-cond-assign | Best Practices | Yes |
no-console | Best Practices | No |
no-constant-condition | Best Practices | No |
no-continue | Best Practices | No |
no-control-regex | Best Practices | No |
no-debugger | Best Practices | No |
no-delete-var | Resource | No |
no-div-regex | Best Practices | No |
no-dupe-args | Interface | No |
no-dupe-keys | Interface | No |
no-duplicate-case | Logic | No |
no-else-return | Refactorings - Redundancies | No |
no-empty | Refactorings - Redundancies | No |
no-empty-class | Logic | No |
no-empty-label | Best Practices | No |
no-eq-null | Logic | No |
no-eval | Interface | No |
no-ex-assign | Error Handling | No |
no-extend-native | Interface | No |
no-extra-bind | Refactorings - Redundancies | No |
no-extra-boolean-cast | Refactorings - Redundancies | No |
no-extra-parens | Refactorings - Redundancies | No |
no-extra-semi | Refactorings - Redundancies | No |
no-extra-strict | Refactorings - Redundancies | No |
no-fallthrough | Logic | No |
no-floating-decimal | Style Conventions | No |
no-func-assign | Logic | No |
no-implied-eval | Interface | No |
no-inline-comments | Documentation Conventions | No |
no-inner-declarations | Best Practices | No |
no-invalid-regexp | Logic | No |
no-irregular-whitespace | Refactorings - Redundancies | No |
no-iterator | Logic | No |
no-labels | Best Practices | No |
no-label-var | Best Practices | No |
no-lone-blocks | Refactorings - Redundancies | No |
no-lonely-if | Refactorings - Simplifications | No |
no-loop-func | Logic | No |
no-mixed-requires | Style Conventions | Yes |
no-mixed-spaces-and-tabs | Style Conventions | Yes |
no-multiple-empty-lines | Refactorings - Redundancies | Yes |
no-multi-spaces | Refactorings - Redundancies | Yes |
no-multi-str | Best Practices | No |
no-native-reassign | Interface | No |
no-negated-in-lhs | Logic | No |
no-nested-ternary | Best Practices | No |
no-new | Resource | No |
no-new-func | Best Practices | No |
no-new-object | Best Practices | No |
no-new-require | Interface | No |
no-new-wrappers | Best Practices | No |
no-obj-calls | Interface | No |
no-octal | Resource | No |
no-octal-escape | Best Practices | No |
no-param-reassign | Best Practices | No |
no-path-concat | Interface | No |
no-plusplus | Best Practices | No |
no-process-env | Interface | No |
no-process-exit | Best Practices | No |
no-proto | Best Practices | No |
no-redeclare | Logic | No |
no-regex-spaces | Logic | No |
no-reserved-keys | Interface | No |
no-restricted-modules | Best Practices | Yes |
no-return-assign | Logic | No |
no-script-url | Interface | No |
no-self-compare | Refactorings - Redundancies | No |
no-sequences | Logic | No |
no-shadow | Best Practices | No |
no-shadow-restricted-names | Best Practices | No |
no-space-before-semi | Style Conventions | No |
no-spaced-func | Style Conventions | No |
no-sparse-arrays | Resource | No |
no-sync | Concurrency | No |
no-ternary | Best Practices | No |
no-throw-literal | Error Handling | No |
no-trailing-spaces | Refactorings - Redundancies | No |
no-undef | Resource | No |
no-undefined | Best Practices | No |
no-undef-init | Refactorings - Redundancies | No |
no-underscore-dangle | Naming Conventions | No |
no-unreachable | Refactorings - Redundancies | No |
no-unused-expressions | Refactorings - Redundancies | No |
no-unused-vars | Refactorings - Redundancies | Yes |
no-use-before-define | Best Practices | No |
no-var | Best Practices | No |
no-void | Best Practices | No |
no-warning-comments | Documentation Conventions | Yes |
no-with | Best Practices | No |
no-wrap-func | Best Practices | No |
one-var | Best Practices | Yes |
operator-assignment | Best Practices | Yes |
operator-linebreak | Style Conventions | No |
padded-blocks | Style Conventions | Yes |
quote-props | Best Practices | Yes |
quotes | Style Conventions | Yes |
radix | Best Practices | No |
semi | Style Conventions | Yes |
semi-spacing | Style Conventions | No |
sort-vars | Best Practices | Yes |
space-after-function-name | Style Conventions | Yes |
space-after-keywords | Style Conventions | Yes |
space-before-blocks | Style Conventions | Yes |
space-before-function-paren | Style Conventions | No |
space-before-function-parentheses | Style Conventions | Yes |
spaced-line-comment | Style Conventions | Yes |
space-in-brackets | Style Conventions | Yes |
space-infix-ops | Style Conventions | Yes |
space-in-parens | Style Conventions | Yes |
space-return-throw-case | Style Conventions | No |
space-unary-ops | Style Conventions | Yes |
space-unary-word-ops | Style Conventions | No |
strict | Best Practices | Yes |
use-isnan | Logic | No |
valid-jsdoc | Documentation Conventions | Yes |
valid-typeof | Interface | No |
vars-on-top | Best Practices | No |
wrap-iife | Resource | Yes |
wrap-regex | Best Practices | No |
yoda | Best Practices | Yes |
Rule name | Classification | Redefinable |
---|---|---|
AM_CREATES_EMPTY_JAR_FILE_ENTRY | Interface | No |
AM_CREATES_EMPTY_ZIP_FILE_ENTRY | Interface | No |
AT_OPERATION_SEQUENCE_ON_CONCURRENT_ABSTRACTION | Concurrency | No |
BAC | Logic | No |
BAC_BAD_APPLET_CONSTRUCTOR | Logic | No |
BC | Multiple | No |
BC_BAD_CAST_TO_ABSTRACT_COLLECTION | Best Practices | No |
BC_BAD_CAST_TO_CONCRETE_COLLECTION | Best Practices | No |
BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS | Logic | No |
BC_IMPOSSIBLE_CAST | Resource | No |
BC_IMPOSSIBLE_DOWNCAST | Resource | No |
BC_IMPOSSIBLE_DOWNCAST_OF_TOARRAY | Resource | No |
BC_IMPOSSIBLE_INSTANCEOF | Logic | No |
BC_UNCONFIRMED_CAST | Check | No |
BC_UNCONFIRMED_CAST_OF_RETURN_VALUE | Check | No |
BC_VACUOUS_INSTANCEOF | Refactorings - Redundancies | No |
BIT_ADD_OF_SIGNED_BYTE | Logic | No |
BIT_AND | Logic | No |
BIT_AND_ZZ | Logic | No |
BIT_IOR | Logic | No |
BIT_IOR_OF_SIGNED_BYTE | Logic | No |
BIT_SIGNED_CHECK | Logic | No |
BIT_SIGNED_CHECK_HIGH_BIT | Logic | No |
BOA_BADLY_OVERRIDDEN_ADAPTER | Interface | No |
Bx | Best Practices | No |
BX_BOXING_IMMEDIATELY_UNBOXED | Best Practices | No |
BX_BOXING_IMMEDIATELY_UNBOXED_TO_PERFORM_COERCION | Best Practices | No |
BX_UNBOXED_AND_COERCED_FOR_TERNARY_OPERATOR | Best Practices | No |
BX_UNBOXING_IMMEDIATELY_REBOXED | Best Practices | No |
CD | Code Structure | No |
CD_CIRCULAR_DEPENDENCY | Code Structure | No |
CI_CONFUSED_INHERITANCE | Object Oriented Design | No |
CN | Interface | No |
CN_IDIOM | Interface | No |
CN_IDIOM_NO_SUPER_CALL | Interface | No |
CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE | Interface | No |
CNT_ROUGH_CONSTANT_VALUE | Best Practices | No |
Co | Multiple | No |
CO_ABSTRACT_SELF | Interface | No |
CO_COMPARETO_RESULTS_MIN_VALUE | Logic | No |
CO_SELF_NO_OBJECT | Interface | No |
DB_DUPLICATE_BRANCHES | Logic | No |
DB_DUPLICATE_SWITCH_CLAUSES | Logic | No |
DC | Concurrency | No |
DC_DOUBLECHECK | Concurrency | No |
DE | Error Handling | No |
DE_MIGHT_DROP | Error Handling | No |
DE_MIGHT_IGNORE | Error Handling | No |
DL | Concurrency | No |
DL_SYNCHRONIZATION_ON_BOOLEAN | Concurrency | No |
DL_SYNCHRONIZATION_ON_BOXED_PRIMITIVE | Concurrency | No |
DL_SYNCHRONIZATION_ON_SHARED_CONSTANT | Concurrency | No |
DL_SYNCHRONIZATION_ON_UNSHARED_BOXED_PRIMITIVE | Concurrency | No |
DLS | Multiple | No |
DLS_DEAD_LOCAL_INCREMENT_IN_RETURN | Logic | No |
DLS_DEAD_LOCAL_STORE | Refactorings - Redundancies | No |
DLS_DEAD_LOCAL_STORE_IN_RETURN | Logic | No |
DLS_DEAD_LOCAL_STORE_OF_NULL | Refactorings - Redundancies | No |
DLS_DEAD_LOCAL_STORE_SHADOWS_FIELD | Logic | No |
DLS_DEAD_STORE_OF_CLASS_LITERAL | Migration | No |
DLS_OVERWRITTEN_INCREMENT | Logic | No |
Dm | Multiple | No |
DM_BOOLEAN_CTOR | Best Practices | No |
DM_BOXED_PRIMITIVE_FOR_PARSING | Best Practices | No |
DM_BOXED_PRIMITIVE_TOSTRING | Best Practices | No |
DM_CONVERT_CASE | Logic | No |
DM_DEFAULT_ENCODING | Interface | No |
DM_EXIT | Best Practices | No |
DM_FP_NUMBER_CTOR | Best Practices | No |
DM_GC | Best Practices | No |
DM_MONITOR_WAIT_ON_CONDITION | Concurrency | No |
DM_NEW_FOR_GETCLASS | Best Practices | No |
DM_NEXTINT_VIA_NEXTDOUBLE | Best Practices | No |
DM_NUMBER_CTOR | Best Practices | No |
DM_RUN_FINALIZERS_ON_EXIT | Resource | No |
DM_STRING_CTOR | Best Practices | No |
DM_STRING_TOSTRING | Refactorings - Redundancies | No |
DM_STRING_VOID_CTOR | Best Practices | No |
DM_USELESS_THREAD | Concurrency | No |
DMI_ANNOTATION_IS_NOT_VISIBLE_TO_REFLECTION | Best Practices | No |
DMI_ARGUMENTS_WRONG_ORDER | Interface | No |
DMI_BAD_MONTH | Logic | No |
DMI_BIGDECIMAL_CONSTRUCTED_FROM_DOUBLE | Resource | No |
DMI_BLOCKING_METHODS_ON_URL | Best Practices | No |
DMI_CALLING_NEXT_FROM_HASNEXT | Logic | No |
DMI_COLLECTION_OF_URLS | Best Practices | No |
DMI_COLLECTIONS_SHOULD_NOT_CONTAIN_THEMSELVES | Interface | No |
DMI_CONSTANT_DB_PASSWORD | Best Practices | No |
DMI_DOH | Logic | No |
DMI_EMPTY_DB_PASSWORD | Best Practices | No |
DMI_ENTRY_SETS_MAY_REUSE_ENTRY_OBJECTS | Resource | No |
DMI_FUTILE_ATTEMPT_TO_CHANGE_MAXPOOL_SIZE_OF_SCHEDULED_THREAD_POOL_EXECUTOR | Concurrency | No |
DMI_HARDCODED_ABSOLUTE_FILENAME | Best Practices | No |
DMI_INVOKING_HASHCODE_ON_ARRAY | Interface | No |
DMI_INVOKING_TOSTRING_ON_ANONYMOUS_ARRAY | Interface | No |
DMI_INVOKING_TOSTRING_ON_ARRAY | Interface | No |
DMI_LONG_BITS_TO_DOUBLE_INVOKED_ON_INT | Interface | No |
DMI_NONSERIALIZABLE_OBJECT_WRITTEN | Interface | No |
DMI_RANDOM_USED_ONLY_ONCE | Interface | No |
DMI_SCHEDULED_THREAD_POOL_EXECUTOR_WITH_ZERO_CORE_THREADS | Concurrency | No |
DMI_THREAD_PASSED_WHERE_RUNNABLE_EXPECTED | Concurrency | No |
DMI_UNSUPPORTED_METHOD | Interface | No |
DMI_USELESS_SUBSTRING | Refactorings - Redundancies | No |
DMI_USING_REMOVEALL_TO_CLEAR_COLLECTION | Best Practices | No |
DMI_VACUOUS_CALL_TO_EASYMOCK_METHOD | Interface | No |
DMI_VACUOUS_SELF_COLLECTION_CALL | Refactorings - Redundancies | No |
DP | Interface | No |
DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | Interface | No |
DP_DO_INSIDE_DO_PRIVILEGED | Interface | No |
EC | Logic | No |
EC_ARRAY_AND_NONARRAY | Logic | No |
EC_BAD_ARRAY_COMPARE | Logic | No |
EC_INCOMPATIBLE_ARRAY_COMPARE | Logic | No |
EC_NULL_ARG | Logic | No |
EC_UNRELATED_CLASS_AND_INTERFACE | Logic | No |
EC_UNRELATED_INTERFACES | Logic | No |
EC_UNRELATED_TYPES | Logic | No |
EC_UNRELATED_TYPES_USING_POINTER_EQUALITY | Logic | No |
EI | Interface | No |
EI_EXPOSE_REP | Interface | No |
EI_EXPOSE_REP2 | Interface | No |
EI_EXPOSE_STATIC_REP2 | Interface | No |
EI2 | Interface | No |
Eq | Multiple | No |
EQ_ABSTRACT_SELF | Interface | No |
EQ_ALWAYS_FALSE | Logic | No |
EQ_ALWAYS_TRUE | Logic | No |
EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS | Logic | No |
EQ_COMPARETO_USE_OBJECT_EQUALS | Interface | No |
EQ_COMPARING_CLASS_NAMES | Logic | No |
EQ_DOESNT_OVERRIDE_EQUALS | Interface | No |
EQ_DONT_DEFINE_EQUALS_FOR_ENUM | Interface | No |
EQ_GETCLASS_AND_CLASS_CONSTANT | Logic | No |
EQ_OTHER_NO_OBJECT | Interface | No |
EQ_OTHER_USE_OBJECT | Interface | No |
EQ_OVERRIDING_EQUALS_NOT_SYMMETRIC | Logic | No |
EQ_SELF_NO_OBJECT | Interface | No |
EQ_SELF_USE_OBJECT | Interface | No |
EQ_UNUSUAL | Logic | No |
ES | Logic | No |
ES_COMPARING_PARAMETER_STRING_WITH_EQ | Logic | No |
ES_COMPARING_STRINGS_WITH_EQ | Logic | No |
ESync | Concurrency | No |
ESync_EMPTY_SYNC | Concurrency | No |
FB | Tool Specific | No |
FB_MISSING_EXPECTED_WARNING | Tool Specific | No |
FB_UNEXPECTED_WARNING | Tool Specific | No |
FE | Logic | No |
FE_FLOATING_POINT_EQUALITY | Logic | No |
FE_TEST_IF_EQUAL_TO_NOT_A_NUMBER | Logic | No |
FI_EMPTY | Refactorings - Redundancies | No |
FI_EXPLICIT_INVOCATION | Resource | No |
FI_FINALIZER_NULLS_FIELDS | Refactorings - Redundancies | No |
FI_FINALIZER_ONLY_NULLS_FIELDS | Refactorings - Redundancies | No |
FI_MISSING_SUPER_CALL | Interface | No |
FI_NULLIFY_SUPER | Resource | No |
FI_PUBLIC_SHOULD_BE_PROTECTED | Interface | No |
FI_USELESS | Refactorings - Redundancies | No |
FL_MATH_USING_FLOAT_PRECISION | Logic | No |
GC_UNCHECKED_TYPE_IN_GENERIC_CALL | Best Practices | No |
GC_UNRELATED_TYPES | Interface | No |
HE_EQUALS_NO_HASHCODE | Interface | No |
HE_EQUALS_USE_HASHCODE | Interface | No |
HE_HASHCODE_NO_EQUALS | Interface | No |
HE_HASHCODE_USE_OBJECT_EQUALS | Interface | No |
HE_INHERITS_EQUALS_USE_HASHCODE | Interface | No |
HE_SIGNATURE_DECLARES_HASHING_OF_UNHASHABLE_CLASS | Interface | No |
HE_USE_OF_UNHASHABLE_CLASS | Interface | No |
HRS | Interface | No |
HRS_REQUEST_PARAMETER_TO_COOKIE | Interface | No |
HRS_REQUEST_PARAMETER_TO_HTTP_HEADER | Interface | No |
HSC | Best Practices | No |
HSC_HUGE_SHARED_STRING_CONSTANT | Best Practices | No |
IA | Best Practices | No |
IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD | Best Practices | No |
IC | Interface | No |
IC_INIT_CIRCULARITY | Interface | No |
IC_SUPERCLASS_USES_SUBCLASS_DURING_INITIALIZATION | Interface | No |
ICAST | Logic | No |
ICAST_BAD_SHIFT_AMOUNT | Logic | No |
ICAST_IDIV_CAST_TO_DOUBLE | Logic | No |
ICAST_INT_2_LONG_AS_INSTANT | Logic | No |
ICAST_INT_CAST_TO_DOUBLE_PASSED_TO_CEIL | Logic | No |
ICAST_INT_CAST_TO_FLOAT_PASSED_TO_ROUND | Logic | No |
ICAST_INTEGER_MULTIPLY_CAST_TO_LONG | Logic | No |
ICAST_QUESTIONABLE_UNSIGNED_RIGHT_SHIFT | Logic | No |
IIO_INEFFICIENT_INDEX_OF | Best Practices | No |
IIO_INEFFICIENT_LAST_INDEX_OF | Best Practices | No |
IJU | Multiple | No |
IJU_ASSERT_METHOD_INVOKED_FROM_RUN_METHOD | Logic | No |
IJU_BAD_SUITE_METHOD | Interface | No |
IJU_NO_TESTS | Refactorings - Redundancies | No |
IJU_SETUP_NO_SUPER | Interface | No |
IJU_SUITE_NOT_STATIC | Interface | No |
IJU_TEARDOWN_NO_SUPER | Interface | No |
IL | Logic | No |
IL_CONTAINER_ADDED_TO_ITSELF | Logic | No |
IL_INFINITE_LOOP | Logic | No |
IL_INFINITE_RECURSIVE_LOOP | Logic | No |
IM | Multiple | No |
IM_AVERAGE_COMPUTATION_COULD_OVERFLOW | Best Practices | No |
IM_BAD_CHECK_FOR_ODD | Logic | No |
IM_MULTIPLYING_RESULT_OF_IREM | Logic | No |
IMA | Best Practices | No |
IMA_INEFFICIENT_MEMBER_ACCESS | Best Practices | No |
IMSE_DONT_CATCH_IMSE | Error Handling | No |
INT | Multiple | No |
INT_BAD_COMPARISON_WITH_INT_VALUE | Logic | No |
INT_BAD_COMPARISON_WITH_NONNEGATIVE_VALUE | Logic | No |
INT_BAD_COMPARISON_WITH_SIGNED_BYTE | Logic | No |
INT_BAD_REM_BY_1 | Logic | No |
INT_VACUOUS_BIT_OPERATION | Refactorings - Redundancies | No |
INT_VACUOUS_COMPARISON | Refactorings - Redundancies | No |
IO_APPENDING_TO_OBJECT_OUTPUT_STREAM | Interface | No |
IP | Resource | No |
IP_PARAMETER_IS_DEAD_BUT_OVERWRITTEN | Resource | No |
IS | Concurrency | No |
IS_FIELD_NOT_GUARDED | Concurrency | No |
IS_INCONSISTENT_SYNC | Concurrency | No |
IS2_INCONSISTENT_SYNC | Concurrency | No |
ISC | Refactorings - Redundancies | No |
ISC_INSTANTIATE_STATIC_CLASS | Refactorings - Redundancies | No |
IT_NO_SUCH_ELEMENT | Best Practices | No |
ITA_INEFFICIENT_TO_ARRAY | Best Practices | No |
J2EE | Interface | No |
J2EE_STORE_OF_NON_SERIALIZABLE_OBJECT_INTO_SESSION | Interface | No |
JCIP_FIELD_ISNT_FINAL_IN_IMMUTABLE_CLASS | Interface | No |
JLM | Concurrency | No |
JLM_JSR166_LOCK_MONITORENTER | Concurrency | No |
JLM_JSR166_UTILCONCURRENT_MONITORENTER | Concurrency | No |
JML_JSR166_CALLING_WAIT_RATHER_THAN_AWAIT | Concurrency | No |
LG | Interface | No |
LG_LOST_LOGGER_DUE_TO_WEAK_REFERENCE | Interface | No |
LI | Concurrency | No |
LI_LAZY_INIT_STATIC | Concurrency | No |
LI_LAZY_INIT_UPDATE_STATIC | Concurrency | No |
MF | Logic | No |
MF_CLASS_MASKS_FIELD | Logic | No |
MF_METHOD_MASKS_FIELD | Logic | No |
ML | Concurrency | No |
ML_SYNC_ON_FIELD_TO_GUARD_CHANGING_THAT_FIELD | Concurrency | No |
ML_SYNC_ON_UPDATED_FIELD | Concurrency | No |
MS | Interface | No |
MS_CANNOT_BE_FINAL | Interface | No |
MS_EXPOSE_REP | Interface | No |
MS_FINAL_PKGPROTECT | Interface | No |
MS_MUTABLE_ARRAY | Interface | No |
MS_MUTABLE_HASHTABLE | Interface | No |
MS_OOI_PKGPROTECT | Interface | No |
MS_PKGPROTECT | Interface | No |
MS_SHOULD_BE_FINAL | Interface | No |
MS_SHOULD_BE_REFACTORED_TO_BE_FINAL | Interface | No |
MSF | Concurrency | No |
MSF_MUTABLE_SERVLET_FIELD | Concurrency | No |
MTIA | Concurrency | No |
MTIA_SUSPECT_SERVLET_INSTANCE_FIELD | Concurrency | No |
MTIA_SUSPECT_STRUTS_INSTANCE_FIELD | Concurrency | No |
MWN | Concurrency | No |
MWN_MISMATCHED_NOTIFY | Concurrency | No |
MWN_MISMATCHED_WAIT | Concurrency | No |
Nm | Multiple | No |
NM_BAD_EQUAL | Interface | No |
NM_CLASS_NAMING_CONVENTION | Naming Conventions | No |
NM_CLASS_NOT_EXCEPTION | Naming Conventions | No |
NM_CONFUSING | Best Practices | No |
NM_FIELD_NAMING_CONVENTION | Naming Conventions | No |
NM_FUTURE_KEYWORD_USED_AS_IDENTIFIER | Migration | No |
NM_FUTURE_KEYWORD_USED_AS_MEMBER_IDENTIFIER | Migration | No |
NM_LCASE_HASHCODE | Interface | No |
NM_LCASE_TOSTRING | Interface | No |
NM_METHOD_CONSTRUCTOR_CONFUSION | Interface | No |
NM_METHOD_NAMING_CONVENTION | Naming Conventions | No |
NM_SAME_SIMPLE_NAME_AS_INTERFACE | Interface | No |
NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | Interface | No |
NM_VERY_CONFUSING | Best Practices | No |
NM_VERY_CONFUSING_INTENTIONAL | Best Practices | No |
NM_WRONG_PACKAGE | Interface | No |
NM_WRONG_PACKAGE_INTENTIONAL | Best Practices | No |
NN | Concurrency | No |
NN_NAKED_NOTIFY | Concurrency | No |
NO_NOTIFY_NOT_NOTIFYALL | Concurrency | No |
NOISE_FIELD_REFERENCE | Tool Specific | No |
NOISE_METHOD_CALL | Tool Specific | No |
NOISE_NULL_DEREFERENCE | Tool Specific | No |
NOISE_OPERATION | Tool Specific | No |
NP | Multiple | No |
NP_ALWAYS_NULL | Check | No |
NP_ALWAYS_NULL_EXCEPTION | Check | No |
NP_ARGUMENT_MIGHT_BE_NULL | Check | No |
NP_BOOLEAN_RETURN_NULL | Interface | No |
NP_CLONE_COULD_RETURN_NULL | Interface | No |
NP_CLOSING_NULL | Check | No |
NP_DEREFERENCE_OF_READLINE_VALUE | Check | No |
NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT | Check | No |
NP_GUARANTEED_DEREF | Check | No |
NP_GUARANTEED_DEREF_ON_EXCEPTION_PATH | Check | No |
NP_IMMEDIATE_DEREFERENCE_OF_READLINE | Check | No |
NP_LOAD_OF_KNOWN_NULL_VALUE | Logic | No |
NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION | Interface | No |
NP_METHOD_RETURN_RELAXING_ANNOTATION | Interface | No |
NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Resource | No |
NP_NONNULL_PARAM_VIOLATION | Interface | No |
NP_NONNULL_RETURN_VIOLATION | Interface | No |
NP_NULL_INSTANCEOF | Logic | No |
NP_NULL_ON_SOME_PATH | Check | No |
NP_NULL_ON_SOME_PATH_EXCEPTION | Check | No |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | Check | No |
NP_NULL_ON_SOME_PATH_MIGHT_BE_INFEASIBLE | Check | No |
NP_NULL_PARAM_DEREF | Interface | No |
NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS | Interface | No |
NP_NULL_PARAM_DEREF_NONVIRTUAL | Interface | No |
NP_OPTIONAL_RETURN_NULL | Interface | No |
NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE | Interface | No |
NP_STORE_INTO_NONNULL_FIELD | Resource | No |
NP_SYNC_AND_NULL_CHECK_FIELD | Concurrency | No |
NP_TOSTRING_COULD_RETURN_NULL | Best Practices | No |
NP_UNWRITTEN_FIELD | Resource | No |
NP_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | Resource | No |
NS | Best Practices | No |
NS_DANGEROUS_NON_SHORT_CIRCUIT | Best Practices | No |
NS_NON_SHORT_CIRCUIT | Best Practices | No |
OBL | Resource | No |
OBL_UNSATISFIED_OBLIGATION | Resource | No |
OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | Resource | No |
ODR | Resource | No |
ODR_OPEN_DATABASE_RESOURCE | Resource | No |
ODR_OPEN_DATABASE_RESOURCE_EXCEPTION_PATH | Resource | No |
OS_OPEN_STREAM | Resource | No |
OS_OPEN_STREAM_EXCEPTION_PATH | Resource | No |
PS | Concurrency | No |
PS_PUBLIC_SEMAPHORES | Concurrency | No |
PT | Interface | No |
PT_ABSOLUTE_PATH_TRAVERSAL | Interface | No |
PT_RELATIVE_PATH_TRAVERSAL | Interface | No |
PZ_DONT_REUSE_ENTRY_OBJECTS_IN_ITERATORS | Resource | No |
PZLA | Best Practices | No |
PZLA_PREFER_ZERO_LENGTH_ARRAYS | Best Practices | No |
QBA_QUESTIONABLE_BOOLEAN_ASSIGNMENT | Logic | No |
QF_QUESTIONABLE_FOR_LOOP | Check | No |
RC | Logic | No |
RC_REF_COMPARISON | Logic | No |
RC_REF_COMPARISON_BAD_PRACTICE | Logic | No |
RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN | Logic | No |
RCN | Refactorings - Redundancies | No |
RCN_REDUNDANT_COMPARISON_OF_NULL_AND_NONNULL_VALUE | Refactorings - Redundancies | No |
RCN_REDUNDANT_COMPARISON_TWO_NULL_VALUES | Refactorings - Redundancies | No |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | Refactorings - Redundancies | No |
RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE | Refactorings - Redundancies | No |
RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | Refactorings - Redundancies | No |
RE_BAD_SYNTAX_FOR_REGULAR_EXPRESSION | Logic | No |
RE_CANT_USE_FILE_SEPARATOR_AS_REGULAR_EXPRESSION | Logic | No |
RE_POSSIBLE_UNINTENDED_PATTERN | Logic | No |
REC | Error Handling | No |
REC_CATCH_EXCEPTION | Error Handling | No |
RI_REDUNDANT_INTERFACES | Refactorings - Redundancies | No |
RpC_REPEATED_CONDITIONAL_TEST | Logic | No |
RR | Check | No |
RR_NOT_CHECKED | Check | No |
RS | Concurrency | No |
RS_READOBJECT_SYNC | Concurrency | No |
RU_INVOKE_RUN | Concurrency | No |
RV | Multiple | No |
RV_01_TO_INT | Logic | No |
RV_ABSOLUTE_VALUE_OF_HASHCODE | Logic | No |
RV_ABSOLUTE_VALUE_OF_RANDOM_INT | Logic | No |
RV_CHECK_COMPARETO_FOR_SPECIFIC_RETURN_VALUE | Best Practices | No |
RV_CHECK_FOR_POSITIVE_INDEXOF | Best Practices | No |
RV_DONT_JUST_NULL_CHECK_READLINE | Logic | No |
RV_EXCEPTION_NOT_THROWN | Error Handling | No |
RV_NEGATING_RESULT_OF_COMPARETO | Best Practices | No |
RV_REM_OF_HASHCODE | Best Practices | No |
RV_REM_OF_RANDOM_INT | Best Practices | No |
RV_RETURN_VALUE_IGNORED | Resource | No |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | Check | No |
RV_RETURN_VALUE_IGNORED_INFERRED | Resource | No |
RV_RETURN_VALUE_OF_PUTIFABSENT_IGNORED | Concurrency | No |
SA_FIELD_DOUBLE_ASSIGNMENT | Logic | No |
SA_FIELD_SELF_ASSIGNMENT | Logic | No |
SA_FIELD_SELF_COMPARISON | Logic | No |
SA_FIELD_SELF_COMPUTATION | Logic | No |
SA_LOCAL_DOUBLE_ASSIGNMENT | Logic | No |
SA_LOCAL_SELF_ASSIGNMENT | Logic | No |
SA_LOCAL_SELF_ASSIGNMENT_INSTEAD_OF_FIELD | Logic | No |
SA_LOCAL_SELF_COMPARISON | Logic | No |
SA_LOCAL_SELF_COMPUTATION | Logic | No |
SBSC | Best Practices | No |
SBSC_USE_STRINGBUFFER_CONCATENATION | Best Practices | No |
SC_START_IN_CTOR | Concurrency | No |
Se | Multiple | No |
SE_BAD_FIELD | Interface | No |
SE_BAD_FIELD_INNER_CLASS | Interface | No |
SE_BAD_FIELD_STORE | Interface | No |
SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | Best Practices | No |
SE_INNER_CLASS | Best Practices | No |
SE_METHOD_MUST_BE_PRIVATE | Interface | No |
SE_NO_SERIALVERSIONID | Interface | No |
SE_NO_SUITABLE_CONSTRUCTOR | Interface | No |
SE_NO_SUITABLE_CONSTRUCTOR_FOR_EXTERNALIZATION | Interface | No |
SE_NONFINAL_SERIALVERSIONID | Best Practices | No |
SE_NONLONG_SERIALVERSIONID | Best Practices | No |
SE_NONSTATIC_SERIALVERSIONID | Best Practices | No |
SE_PRIVATE_READ_RESOLVE_NOT_INHERITED | Interface | No |
SE_READ_RESOLVE_IS_STATIC | Interface | No |
SE_READ_RESOLVE_MUST_RETURN_OBJECT | Interface | No |
SE_TRANSIENT_FIELD_NOT_RESTORED | Interface | No |
SE_TRANSIENT_FIELD_OF_NONSERIALIZABLE_CLASS | Refactorings - Redundancies | No |
SF | Logic | No |
SF_DEAD_STORE_DUE_TO_SWITCH_FALLTHROUGH | Logic | No |
SF_DEAD_STORE_DUE_TO_SWITCH_FALLTHROUGH_TO_THROW | Logic | No |
SF_SWITCH_FALLTHROUGH | Logic | No |
SF_SWITCH_NO_DEFAULT | Logic | No |
SI_INSTANCE_BEFORE_FINALS_ASSIGNED | Logic | No |
SIC | Multiple | No |
SIC_INNER_SHOULD_BE_STATIC | Best Practices | No |
SIC_INNER_SHOULD_BE_STATIC_ANON | Best Practices | No |
SIC_INNER_SHOULD_BE_STATIC_NEEDS_THIS | Best Practices | No |
SIC_THREADLOCAL_DEADLY_EMBRACE | Resource | No |
SIO_SUPERFLUOUS_INSTANCEOF | Refactorings - Simplifications | No |
SKIPPED_CLASS_TOO_BIG | Tool Specific | No |
SnVI | Interface | No |
SP_SPIN_ON_FIELD | Concurrency | No |
SQL | Interface | No |
SQL_BAD_PREPARED_STATEMENT_ACCESS | Interface | No |
SQL_BAD_RESULTSET_ACCESS | Interface | No |
SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE | Interface | No |
SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING | Check | No |
SR_NOT_CHECKED | Check | No |
SS | Best Practices | No |
SS_SHOULD_BE_STATIC | Best Practices | No |
ST | Best Practices | No |
ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | Best Practices | No |
STCAL | Concurrency | No |
STCAL_INVOKE_ON_STATIC_CALENDAR_INSTANCE | Concurrency | No |
STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE | Concurrency | No |
STCAL_STATIC_CALENDAR_INSTANCE | Concurrency | No |
STCAL_STATIC_SIMPLE_DATE_FORMAT_INSTANCE | Concurrency | No |
STI | Concurrency | No |
STI_INTERRUPTED_ON_CURRENTTHREAD | Concurrency | No |
STI_INTERRUPTED_ON_UNKNOWNTHREAD | Concurrency | No |
SW | Concurrency | No |
SW_SWING_METHODS_INVOKED_IN_SWING_THREAD | Concurrency | No |
SWL | Concurrency | No |
SWL_SLEEP_WITH_LOCK_HELD | Concurrency | No |
TESTING | Tool Specific | No |
TLW_TWO_LOCK_WAIT | Concurrency | No |
TQ_ALWAYS_VALUE_USED_WHERE_NEVER_REQUIRED | Logic | No |
TQ_COMPARING_VALUES_WITH_INCOMPATIBLE_TYPE_QUALIFIERS | Logic | No |
TQ_EXPLICIT_UNKNOWN_SOURCE_VALUE_REACHES_ALWAYS_SINK | Logic | No |
TQ_EXPLICIT_UNKNOWN_SOURCE_VALUE_REACHES_NEVER_SINK | Logic | No |
TQ_MAYBE_SOURCE_VALUE_REACHES_ALWAYS_SINK | Check | No |
TQ_MAYBE_SOURCE_VALUE_REACHES_NEVER_SINK | Check | No |
TQ_NEVER_VALUE_USED_WHERE_ALWAYS_REQUIRED | Logic | No |
TQ_UNKNOWN_VALUE_USED_WHERE_ALWAYS_STRICTLY_REQUIRED | Logic | No |
UCF_USELESS_CONTROL_FLOW | Refactorings - Redundancies | No |
UCF_USELESS_CONTROL_FLOW_NEXT_LINE | Logic | No |
UG | Concurrency | No |
UG_SYNC_SET_UNSYNC_GET | Concurrency | No |
UI | Interface | No |
UI_INHERITANCE_UNSAFE_GETRESOURCE | Interface | No |
UL | Concurrency | No |
UL_UNRELEASED_LOCK | Concurrency | No |
UL_UNRELEASED_LOCK_EXCEPTION_PATH | Concurrency | No |
UM_UNNECESSARY_MATH | Refactorings - Redundancies | No |
UMAC | Interface | No |
UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS | Interface | No |
UNKNOWN | Tool Specific | No |
UPM | Refactorings - Redundancies | No |
UPM_UNCALLED_PRIVATE_METHOD | Refactorings - Redundancies | No |
UR_UNINIT_READ | Resource | No |
UR_UNINIT_READ_CALLED_FROM_SUPER_CONSTRUCTOR | Logic | No |
UrF | Refactorings - Redundancies | No |
URF_UNREAD_FIELD | Refactorings - Redundancies | No |
URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | Refactorings - Redundancies | No |
USM | Refactorings - Redundancies | No |
USM_USELESS_ABSTRACT_METHOD | Refactorings - Redundancies | No |
USM_USELESS_SUBCLASS_METHOD | Refactorings - Redundancies | No |
UuF | Refactorings - Redundancies | No |
UUF_UNUSED_FIELD | Refactorings - Redundancies | No |
UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Refactorings - Redundancies | No |
UW | Concurrency | No |
UW_UNCOND_WAIT | Concurrency | No |
UwF | Multiple | No |
UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Resource | No |
UWF_NULL_FIELD | Refactorings - Redundancies | No |
UWF_UNWRITTEN_FIELD | Refactorings - Redundancies | No |
UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | Refactorings - Redundancies | No |
VA_FORMAT_STRING_ARG_MISMATCH | Interface | No |
VA_FORMAT_STRING_BAD_ARGUMENT | Interface | No |
VA_FORMAT_STRING_BAD_CONVERSION | Interface | No |
VA_FORMAT_STRING_BAD_CONVERSION_FROM_ARRAY | Interface | No |
VA_FORMAT_STRING_BAD_CONVERSION_TO_BOOLEAN | Interface | No |
VA_FORMAT_STRING_EXPECTED_MESSAGE_FORMAT_SUPPLIED | Interface | No |
VA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED | Interface | No |
VA_FORMAT_STRING_ILLEGAL | Logic | No |
VA_FORMAT_STRING_MISSING_ARGUMENT | Interface | No |
VA_FORMAT_STRING_NO_PREVIOUS_ARGUMENT | Interface | No |
VA_FORMAT_STRING_USES_NEWLINE | Best Practices | No |
VA_PRIMITIVE_ARRAY_PASSED_TO_OBJECT_VARARG | Interface | No |
VO | Concurrency | No |
VO_VOLATILE_INCREMENT | Concurrency | No |
VO_VOLATILE_REFERENCE_TO_ARRAY | Concurrency | No |
VR_UNRESOLVABLE_REFERENCE | Interface | No |
Wa | Concurrency | No |
WA_AWAIT_NOT_IN_LOOP | Concurrency | No |
WA_NOT_IN_LOOP | Concurrency | No |
WL_USING_GETCLASS_RATHER_THAN_CLASS_LITERAL | Concurrency | No |
WMI_WRONG_MAP_ITERATOR | Best Practices | No |
WS_WRITEOBJECT_SYNC | Concurrency | No |
XFB | Best Practices | No |
XFB_XML_FACTORY_BYPASS | Best Practices | No |
XSS | Interface | No |
XSS_REQUEST_PARAMETER_TO_JSP_WRITER | Interface | No |
XSS_REQUEST_PARAMETER_TO_SEND_ERROR | Interface | No |
XSS_REQUEST_PARAMETER_TO_SERVLET_WRITER | Interface | No |
Rule name | Classification | Redefinable |
---|---|---|
AppendingToAnObjectOutputStream | Interface | No |
AtomicityProblem | Concurrency | No |
BadAppletConstructor | Logic | No |
BadlyOverriddenAdapter | Interface | No |
BadResultSetAccess | Interface | No |
BadSyntaxForRegularExpression | Logic | No |
BadUseOfReturnValue | Multiple | No |
BooleanReturnNull | Interface | No |
BuildInterproceduralCallGraph | Tool Specific | No |
BuildObligationPolicyDatabase | Tool Specific | No |
CalledMethods | Tool Specific | No |
CallToUnsupportedMethod | Interface | No |
CheckCalls | Tool Specific | No |
CheckExpectedWarnings | Tool Specific | No |
CheckImmutableAnnotation | Interface | No |
CheckRelaxingNullnessAnnotation | Interface | No |
CheckTypeQualifiers | Multiple | No |
CloneIdiom | Interface | No |
ComparatorIdiom | Best Practices | No |
ConfusedInheritance | Object Oriented Design | No |
ConfusionBetweenInheritedAndOuterMethod | Best Practices | No |
CrossSiteScripting | Interface | No |
DefaultEncodingDetector | Interface | No |
DoInsideDoPrivileged | Interface | No |
DontCatchIllegalMonitorStateException | Error Handling | No |
DontIgnoreResultOfPutIfAbsent | Concurrency | No |
DontUseEnum | Migration | No |
DroppedException | Error Handling | No |
DumbMethodInvocations | Multiple | No |
DumbMethods | Multiple | No |
DuplicateBranches | Logic | No |
EmptyZipFileEntry | Interface | No |
EqualsOperandShouldHaveClassCompatibleWithThis | Logic | No |
ExplicitSerialization | Tool Specific | No |
FieldItemSummary | Tool Specific | No |
FinalizerNullsFields | Refactorings - Redundancies | No |
FindBadCast2 | Multiple | No |
FindBadForLoop | Check | No |
FindBugsSummaryStats | Tool Specific | No |
FindCircularDependencies | Code Structure | No |
FindDeadLocalStores | Multiple | No |
FindDoubleCheck | Concurrency | No |
FindEmptySynchronizedBlock | Concurrency | No |
FindFieldSelfAssignment | Logic | No |
FindFinalizeInvocations | Multiple | No |
FindFloatEquality | Logic | No |
FindFloatMath | Logic | No |
FindHEmismatch | Interface | No |
FindInconsistentSync2 | Concurrency | No |
FindJSR166LockMonitorenter | Concurrency | No |
FindLocalSelfAssignment2 | Logic | No |
FindMaskedFields | Logic | No |
FindMismatchedWaitOrNotify | Concurrency | No |
FindNakedNotify | Concurrency | No |
FindNonSerializableStoreIntoSession | Interface | No |
FindNonSerializableValuePassedToWriteObject | Interface | No |
FindNonShortCircuit | Best Practices | No |
FindNullDeref | Multiple | No |
FindNullDerefsInvolvingNonShortCircuitEvaluation | Check | No |
FindOpenStream | Resource | No |
FindPuzzlers | Multiple | No |
FindRefComparison | Logic | No |
FindReturnRef | Interface | No |
FindRoughConstants | Best Practices | No |
FindRunInvocations | Concurrency | No |
FindSelfComparison | Logic | No |
FindSelfComparison2 | Logic | No |
FindSleepWithLockHeld | Concurrency | No |
FindSpinLoop | Concurrency | No |
FindSqlInjection | Interface | No |
FindTwoLockWait | Concurrency | No |
FindUncalledPrivateMethods | Refactorings - Redundancies | No |
FindUnconditionalWait | Concurrency | No |
FindUninitializedGet | Resource | No |
FindUnrelatedTypesInGenericContainer | Multiple | No |
FindUnreleasedLock | Concurrency | No |
FindUnsatisfiedObligation | Resource | No |
FindUnsyncGet | Concurrency | No |
FindUselessControlFlow | Multiple | No |
FindUseOfNonSerializableValue | Interface | No |
FormatStringChecker | Multiple | No |
FunctionsThatMightBeMistakenForProcedures | Tool Specific | No |
HugeSharedStringConstants | Best Practices | No |
IDivResultCastToDouble | Logic | No |
IncompatMask | Logic | No |
InconsistentAnnotations | Interface | No |
InefficientIndexOf | Best Practices | No |
InefficientMemberAccess | Best Practices | No |
InefficientToArray | Best Practices | No |
InfiniteLoop | Logic | No |
InfiniteRecursiveLoop | Logic | No |
InheritanceUnsafeGetResource | Interface | No |
InitializationChain | Multiple | No |
InitializeNonnullFieldsInConstructor | Resource | No |
InstantiateStaticClass | Refactorings - Redundancies | No |
IntCast2LongAsInstant | Logic | No |
InvalidJUnitTest | Multiple | No |
IteratorIdioms | Best Practices | No |
LazyInit | Concurrency | No |
LoadOfKnownNullValue | Logic | No |
LostLoggerDueToWeakReference | Interface | No |
MethodReturnCheck | Multiple | No |
Methods | Tool Specific | No |
MultithreadedInstanceAccess | Concurrency | No |
MutableLock | Concurrency | No |
MutableStaticFields | Interface | No |
Naming | Multiple | No |
Noise | Tool Specific | No |
NoiseNullDeref | Tool Specific | No |
NoteAnnotationRetention | Tool Specific | No |
NoteCheckReturnValue | Tool Specific | No |
NoteCheckReturnValueAnnotations | Tool Specific | No |
NoteDirectlyRelevantTypeQualifiers | Tool Specific | No |
NoteJCIPAnnotation | Tool Specific | No |
NoteNonNullAnnotations | Tool Specific | No |
NoteNonnullReturnValues | Tool Specific | No |
NoteSuppressedWarnings | Tool Specific | No |
NoteUnconditionalParamDerefs | Multiple | No |
NumberConstructor | Best Practices | No |
OptionalReturnNull | Interface | No |
OverridingEqualsNotSymmetrical | Logic | No |
PreferZeroLengthArrays | Best Practices | No |
PublicSemaphores | Concurrency | No |
QuestionableBooleanAssignment | Logic | No |
ReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass | Logic | No |
ReadReturnShouldBeChecked | Check | No |
RedundantInterfaces | Refactorings - Redundancies | No |
ReflectiveClasses | Tool Specific | No |
RepeatedConditionals | Logic | No |
ResolveAllReferences | Interface | No |
RuntimeExceptionCapture | Error Handling | No |
SerializableIdiom | Multiple | No |
StartInConstructor | Concurrency | No |
StaticCalendarDetector | Concurrency | No |
StringConcatenation | Best Practices | No |
SuperfluousInstanceOf | Refactorings - Simplifications | No |
SuspiciousThreadInterrupted | Concurrency | No |
SwitchFallthrough | Logic | No |
SynchronizationOnSharedBuiltinConstant | Concurrency | No |
SynchronizeAndNullCheckField | Concurrency | No |
SynchronizeOnClassLiteralNotGetClass | Concurrency | No |
SynchronizingOnContentsOfFieldToProtectField | Concurrency | No |
TestASM | Tool Specific | No |
TestDataflowAnalysis | Tool Specific | No |
TestingGround | Tool Specific | No |
TestingGround2 | Tool Specific | No |
TrainFieldStoreTypes | Tool Specific | No |
TrainLongInstantfParams | Tool Specific | No |
TrainNonNullAnnotations | Tool Specific | No |
TrainUnconditionalDerefParams | Tool Specific | No |
UncallableMethodOfAnonymousClass | Interface | No |
UnnecessaryMath | Refactorings - Redundancies | No |
UnreadFields | Multiple | No |
URLProblems | Best Practices | No |
UselessSubclassMethod | Refactorings - Redundancies | No |
VarArgsProblems | Interface | No |
VolatileUsage | Concurrency | No |
WaitInLoop | Concurrency | No |
WrongMapIterator | Best Practices | No |
XMLFactoryBypass | Best Practices | No |
Rule name | Classification | Redefinable |
---|---|---|
disallowAnonymousFunctions | Best Practices | No |
disallowCapitalizedComments | Documentation Conventions | No |
disallowCommaBeforeLineBreak | Style Conventions | No |
disallowCurlyBraces | Style Conventions | No |
disallowDanglingUnderscores | Naming Conventions | Yes |
disallowEmptyBlocks | Refactorings - Redundancies | No |
disallowFunctionDeclarations | Best Practices | No |
disallowIdentifierNames | Naming Conventions | No |
disallowImplicitTypeConversion | Best Practices | Yes |
disallowKeywords | Best Practices | Yes |
disallowKeywordsInComments | Documentation Conventions | Yes |
disallowKeywordsOnNewLine | Style Conventions | Yes |
disallowLeftStickedOperators | Style Conventions | No |
disallowMixedSpacesAndTabs | Style Conventions | Yes |
disallowMultipleLineBreaks | Refactorings - Redundancies | No |
disallowMultipleLineStrings | Best Practices | No |
disallowMultipleSpaces | Refactorings - Redundancies | No |
disallowMultipleVarDecl | Best Practices | Yes |
disallowNewlineBeforeBlockStatements | Style Conventions | No |
disallowOperatorBeforeLineBreak | Style Conventions | Yes |
disallowPaddingNewLinesAfterBlocks | Style Conventions | No |
disallowPaddingNewlinesBeforeKeywords | Style Conventions | Yes |
disallowPaddingNewLinesBeforeLineComments | Style Conventions | No |
disallowPaddingNewlinesInBlock | Style Conventions | No |
disallowPaddingNewlinesInBlocks | Style Conventions | No |
disallowPaddingNewLinesInObjects | Style Conventions | No |
disallowQuotedKeysInObjects | Best Practices | Yes |
disallowRightStickedOperators | Style Conventions | No |
disallowSemicolons | Style Conventions | No |
disallowSpaceAfterBinaryOperators | Style Conventions | Yes |
disallowSpaceAfterKeywords | Style Conventions | Yes |
disallowSpaceAfterLineComment | Documentation Conventions | No |
disallowSpaceAfterObjectKeys | Style Conventions | Yes |
disallowSpaceAfterPrefixUnaryOperators | Style Conventions | Yes |
disallowSpaceBeforeBinaryOperators | Style Conventions | Yes |
disallowSpaceBeforeBlockStatements | Style Conventions | No |
disallowSpaceBeforeKeywords | Style Conventions | Yes |
disallowSpaceBeforeObjectValues | Style Conventions | No |
disallowSpaceBeforePostfixUnaryOperators | Style Conventions | Yes |
disallowSpaceBetweenArguments | Style Conventions | No |
disallowSpacesInAnonymousFunctionExpression | Style Conventions | No |
disallowSpacesInCallExpression | Style Conventions | No |
disallowSpacesInConditionalExpression | Style Conventions | Yes |
disallowSpacesInForStatement | Style Conventions | No |
disallowSpacesInFunction | Style Conventions | Yes |
disallowSpacesInFunctionDeclaration | Style Conventions | Yes |
disallowSpacesInFunctionExpression | Style Conventions | Yes |
disallowSpacesInNamedFunctionExpression | Style Conventions | Yes |
disallowSpacesInsideArrayBrackets | Style Conventions | Yes |
disallowSpacesInsideBrackets | Style Conventions | Yes |
disallowSpacesInsideObjectBrackets | Style Conventions | Yes |
disallowSpacesInsideParentheses | Style Conventions | Yes |
disallowTrailingComma | Style Conventions | No |
disallowTrailingWhitespace | Refactorings - Redundancies | Yes |
disallowYodaConditions | Best Practices | No |
maximumLineLength | Metric | Yes |
requireAlignedObjectValues | Style Conventions | Yes |
requireAnonymousFunctions | Best Practices | No |
requireBlocksOnNewline | Style Conventions | Yes |
requireCamelCaseOrUpperCaseIdentifiers | Naming Conventions | Yes |
requireCapitalizedComments | Documentation Conventions | Yes |
requireCapitalizedConstructors | Naming Conventions | Yes |
requireCommaBeforeLineBreak | Style Conventions | No |
requireCurlyBraces | Style Conventions | Yes |
requireDollarBeforejQueryAssignment | Naming Conventions | No |
requireDotNotation | Style Conventions | Yes |
requireFunctionDeclarations | Best Practices | No |
requireKeywordsOnNewLine | Style Conventions | Yes |
requireLeftStickedOperators | Style Conventions | No |
requireLineBreakAfterVariableAssignment | Style Conventions | No |
requireLineFeedAtFileEnd | Style Conventions | No |
requireMultipleVarDecl | Best Practices | Yes |
requireNewlineBeforeBlockStatements | Style Conventions | No |
requireOperatorBeforeLineBreak | Style Conventions | Yes |
requirePaddingNewlineAfterVariableDeclaration | Style Conventions | No |
requirePaddingNewlinesAfterBlocks | Style Conventions | No |
requirePaddingNewlinesBeforeKeywords | Style Conventions | Yes |
requirePaddingNewlinesBeforeLineComments | Style Conventions | No |
requirePaddingNewlinesInBlocks | Style Conventions | Yes |
requirePaddingNewLinesInObjects | Style Conventions | No |
requireParenthesesAroundIIFE | Resource | No |
requireQuotedKeysInObjects | Best Practices | No |
requireRightStickedOperators | Style Conventions | No |
requireSemicolon | Style Conventions | No |
requireSemicolons | Style Conventions | No |
requireSpaceAfterBinaryOperators | Style Conventions | Yes |
requireSpaceAfterKeywords | Style Conventions | Yes |
requireSpaceAfterLineComment | Style Conventions | No |
requireSpaceAfterObjectKeys | Style Conventions | No |
requireSpaceAfterPrefixUnaryOperators | Style Conventions | Yes |
requireSpaceBeforeBinaryOperators | Style Conventions | Yes |
requireSpaceBeforeBlockStatements | Style Conventions | No |
requireSpaceBeforeKeywords | Style Conventions | Yes |
requireSpaceBeforeObjectValues | Style Conventions | No |
requireSpaceBeforePostfixUnaryOperators | Style Conventions | Yes |
requireSpaceBetweenArguments | Style Conventions | No |
requireSpacesInAnonymousFunctionExpression | Style Conventions | No |
requireSpacesInCallExpression | Style Conventions | No |
requireSpacesInConditionalExpression | Style Conventions | Yes |
requireSpacesInForStatement | Style Conventions | No |
requireSpacesInFunction | Style Conventions | Yes |
requireSpacesInFunctionDeclaration | Style Conventions | Yes |
requireSpacesInFunctionExpression | Style Conventions | Yes |
requireSpacesInNamedFunctionExpression | Style Conventions | Yes |
requireSpacesInsideArrayBrackets | Style Conventions | Yes |
requireSpacesInsideBrackets | Style Conventions | Yes |
requireSpacesInsideObjectBrackets | Style Conventions | Yes |
requireSpacesInsideParentheses | Style Conventions | Yes |
requireTrailingComma | Style Conventions | Yes |
requireYodaConditions | Best Practices | No |
safeContextKeyword | Naming Conventions | Yes |
validateIndentation | Style Conventions | Yes |
validateJSDoc | Documentation Conventions | No |
validateLineBreaks | Style Conventions | Yes |
validateParameterSeparator | Style Conventions | Yes |
validateQuoteMarks | Style Conventions | Yes |
Rule name | Classification | Redefinable |
---|---|---|
asi | Style Conventions | No |
bitwise | Logic | No |
boss | Logic | No |
browser | Tool Specific | No |
browserify | Tool Specific | No |
camelcase | Naming Conventions | Yes |
couch | Tool Specific | No |
curly | Style Conventions | Yes |
debug | Best Practices | No |
devel | Tool Specific | No |
dojo | Tool Specific | No |
E001: Bad option: '{a}' | Tool Specific | No |
E002: Bad option value | Tool Specific | No |
E003: Expected a JSON value | Tool Specific | No |
E004: Input is neither a string nor an array of strings | Tool Specific | No |
E005: Input is empty | Tool Specific | No |
E006: Unexpected early end of program | Tool Specific | No |
E007: Missing strictĀ statement | Best Practices | No |
E008: Strict violation | Interface | No |
E009: Option 'validthis' can't be used in a global scope | Interface | No |
E010: 'with' is not allowed in strict mode | Interface | No |
E011: const '{a}' has already been declared | Resource | No |
E012: const '{a}' is initialized to 'undefined' | Resource | No |
E013: Attempting to override '{a}' which is a constant | Resource | No |
E014: A regular expression literal can be confused with '/=' | Best Practices | No |
E015: Unclosed regular expression | Logic | No |
E016: Invalid regular expression | Logic | No |
E017: Unclosed comment | Logic | No |
E018: Unbegun comment | Logic | No |
E019: Unmatched '{a}' | Logic | No |
E020: Expected '{a}' to match '{b}' from line {c} and instead saw '{d}' | Logic | No |
E021: Expected '{a}' and instead saw '{b}' | Logic | No |
E022: Line breaking error '{a}' | Logic | No |
E023: Missing '{a}' | Logic | No |
E024: Unexpected '{a}' | Logic | No |
E025: Missing ':' on a case clause | Logic | No |
E026: Missing '}' to match '{' from line {a} | Logic | No |
E027: Missing ']' to match '[' form line {a} | Logic | No |
E028: Illegal comma | Logic | No |
E029: Unclosed string | Logic | No |
E030: Expected an identifier and instead saw '{a}' | Logic | No |
E031: Bad assignment | Logic | No |
E032: Expected a small integer or 'false' and instead saw '{a}' | Logic | No |
E033: Expected an operator and instead saw '{a}' | Logic | No |
E034: get/set are ES5 features | Migration | No |
E035: Missing property name | Interface | No |
E036: Expected to see a statement and instead saw a block | Logic | No |
E037: Constant {a} was not declared correctly | Resource | No |
E038: Variable {a} was not declared correctly | Resource | No |
E039: Function declarations are not invocable. Wrap the whole function invocation in parens | Resource | No |
E040: Each value should have its own case label | Logic | No |
E041: Unrecoverable syntax error | Logic | No |
E042: Stopping | Tool Specific | No |
E043: Too many errors | Tool Specific | No |
E044: '{a}' is already defined and can't be redefined | Resource | No |
E045: Invalid for each loop | Logic | No |
E046: A yield statement shall be within a generator function (with syntax: function* ) |
Interface | No |
E047: A generator function shall contain a yield statement | Interface | No |
E048: Let declaration not directly within block | Logic | No |
E049: A {a} cannot be named '{b}' | Naming Conventions | No |
enforceall | Tool Specific | No |
eqeqeq | Logic | Yes |
eqnull | Logic | No |
es3 | Tool Specific | No |
es5 | Tool Specific | No |
esnext | Tool Specific | No |
evil | Interface | No |
expr | Logic | No |
extends | Tool Specific | No |
files | Tool Specific | No |
forin | Logic | No |
freeze | Best Practices | No |
funcscope | Best Practices | No |
gcl | Tool Specific | No |
globals | Tool Specific | No |
globalstrict | Best Practices | No |
I001: Comma warnings can be turned off with 'laxcomma' | Tool Specific | No |
I002: Reserved words as properties can be used under the 'es5' option | Tool Specific | No |
I003: ES5 option is now set per default | Tool Specific | No |
immed | Best Practices | No |
indent | Style Conventions | Yes |
iterator | Logic | No |
jasmine | Tool Specific | No |
jquery | Tool Specific | No |
lastsemic | Style Conventions | No |
latedef | Best Practices | Yes |
laxbreak | Style Conventions | No |
laxcomma | Style Conventions | No |
loopfunc | Logic | No |
maxcomplexity | Metric | Yes |
maxdepth | Metric | Yes |
maxerr | Tool Specific | Yes |
maxlen | Metric | No |
maxparams | Metric | Yes |
maxstatements | Metric | Yes |
mocha | Tool Specific | No |
mootools | Tool Specific | No |
moz | Tool Specific | No |
multistr | Best Practices | No |
newcap | Naming Conventions | No |
noarg | Best Practices | No |
node | Tool Specific | No |
noempty | Refactorings - Redundancies | No |
nomen | Naming Conventions | No |
nonbsp | Interface | No |
nonew | Best Practices | No |
nonstandard | Tool Specific | No |
notypeof | Interface | No |
noyield | Interface | No |
onecase | Best Practices | No |
onevar | Best Practices | No |
phantom | Tool Specific | No |
plusplus | Best Practices | No |
proto | Best Practices | No |
prototypejs | Tool Specific | No |
qunit | Tool Specific | No |
quotmark | Style Conventions | Yes |
regexdash | Logic | No |
regexp | Logic | No |
rhino | Tool Specific | No |
scripturl | Interface | No |
shadow | Best Practices | No |
shelljs | Tool Specific | No |
smarttabs | Style Conventions | No |
strict | Best Practices | Yes |
sub | Style Conventions | No |
supernew | Best Practices | No |
trailing | Refactorings - Redundancies | No |
typed | Tool Specific | No |
undef | Resource | No |
unused | Refactorings - Redundancies | Yes |
validthis | Best Practices | No |
W001: 'hasOwnProperty' is a really bad name | Naming Conventions | No |
W002: Value of '{a}' may be overwritten in IE 8 and earlier | Best Practices | No |
W003: '{a}' was used before it was defined | Resource | No |
W004: '{a}' is already defined | Logic | No |
W005: A dot following a number can be confused with a decimal point | Best Practices | No |
W006: Confusing minuses | Best Practices | No |
W007: Confusing pluses | Best Practices | No |
W008: A leading decimal point can be confused with a dot: '{a}' | Best Practices | No |
W009: The array literal notation [] is preferrable | Best Practices | No |
W010: The object literal notation {} is preferrable | Best Practices | No |
W011: Unexpected space after '{a}' | Style Conventions | No |
W012: Unexpected space before '{a}' | Style Conventions | No |
W013: Missing space after '{a}' | Style Conventions | No |
W014: Bad line breaking before '{a}' | Best Practices | No |
W015: Expected '{a}' to have an indentation at {b} instead at {c} | Style Conventions | No |
W016: Unexpected use of '{a}' | Logic | No |
W017: Bad operand | Best Practices | No |
W018: Confusing use of '{a}' | Best Practices | No |
W019: Use the isNaN function to compare with NaN | Logic | No |
W020: Read only | Interface | No |
W021: '{a}' is a function | Interface | No |
W022: Do not assign to the exception parameter | Error Handling | No |
W023: Expected an identifier in an assignment and instead saw a function invocation | Logic | No |
W024: Expected an identifier and instead saw '{a}' (a reserved word) | Logic | No |
W025: Missing name in function declaration | Logic | No |
W026: Inner functions should be listed at the top of the outer function | Best Practices | No |
W027: Unreachable '{a}' after '{b}' | Refactorings - Redundancies | No |
W028: Label '{a}' on {b} statement | Best Practices | No |
W030: Expected an assignment or function call and instead saw an expression | Logic | No |
W031: Do not use 'new' for side effects | Best Practices | No |
W032: Unnecessary semicolon | Style Conventions | No |
W033: Missing semicolon | Style Conventions | No |
W034: Unnecessary directive {a}|Refactorings - Redundancies | No | |
W035: Empty block | Refactorings - Redundancies | No |
W036: Unexpected /*member '{a}' | Logic | No |
W037: '{a}' is a statement label | Best Practices | No |
W038: '{a}' used out of scope | Best Practices | No |
W039: '{a}' is not allowed | Logic | No |
W040: Possible strict violation | Best Practices | No |
W041: Use '{a}' to compare with '{b}' | Logic | No |
W042: Avoid EOL escaping | Best Practices | No |
W043: Bad escaping of EOL. Use option multistr if needed | Best Practices | No |
W044: Bad or unnecessary escaping | Best Practices | No |
W045: Bad number '{a}' | Best Practices | No |
W046: Don't use extra leading zeros '{a}' | Best Practices | No |
W047: A trailing decimal point can be confused with a dot: '{a}' | Best Practices | No |
W048: Unexpected control character in regular expression | Logic | No |
W049: Unexpected escaped character '{a}' in regular expression | Logic | No |
W050: JavaScript URL | Interface | No |
W051: Variables should not be deleted | Best Practices | No |
W052: Unexpected '{a}' | Logic | No |
W053: Do not use {a} as a constructor | Best Practices | No |
W054: The Function constructor is a form of eval | Interface | No |
W055: A constructor name should start with an uppercase letter | Naming Conventions | No |
W056: Bad constructor | Interface | No |
W057: Weird construction. Is 'new' unnecessary | Best Practices | No |
W058: Missing '()' invoking a constructor | Best Practices | No |
W059: Avoid arguments.{a} | Best Practices | No |
W060: document.write can be a form of eval | Interface | No |
W061: eval can be harmful | Interface | No |
W062: Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function and not the function itself | Best Practices | No |
W063: Math is not a function | Interface | No |
W064: Missing 'new' prefix when invoking a constructor | Logic | No |
W065: Missing radix parameter | Best Practices | No |
W066: Implied eval. Consider passing a function instead of a string | Interface | No |
W067: Bad invocation | Interface | No |
W068: Wrapping non-IIFE function literals in parens is unnecessary | Best Practices | No |
W069: ['{a}'] is better written in dot notation | Best Practices | No |
W070: Extra comma. (it breaks older versions of IE | Style Conventions | No |
W071: This function has too many statements. ({a} | Metric | No |
W072: This function has too many parameters. ({a} | Metric | No |
W073: Blocks are nested too deeply. ({a}) | Metric | No |
W074: This function's cyclomatic complexity is too high. ({a} | Metric | No |
W075: Duplicate key '{a}' | Interface | No |
W076: Unexpected parameter '{a}' in get {b} function | Interface | No |
W077: Expected a single parameter in set {a} function | Interface | No |
W078: Setter is defined without getter | Interface | No |
W079: Redefinition of '{a}' | Logic | No |
W080: It's not necessary to initialize '{a}' to 'undefined' | Refactorings - Redundancies | No |
W081: Too many var statements | Best Practices | No |
W082: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function | Best Practices | No |
W083: Don't make functions within a loop | Logic | No |
W084: Expected a conditional expression and instead saw an assignment | Logic | No |
W085: Don't use 'with' | Best Practices | No |
W086: Expected a 'break' statement before '{a}' | Logic | No |
W087: Forgotten 'debugger' statement | Best Practices | No |
W088: Creating global 'for' variable. Should be 'for (var {a} ...' | Logic | No |
W089: The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype | Logic | No |
W090: '{a}' is not a statement label | Logic | No |
W091: '{a}' is out of scope | Resource | No |
W092: Wrap the /regexp/ literal in parens to disambiguate the slash operator | Best Practices | No |
W093: Did you mean to return a conditional instead of an assignment | Logic | No |
W094: Unexpected comma | Logic | No |
W095: Expected a string and instead saw {a} | Logic | No |
W096: The '{a}' key may produce unexpected results | Best Practices | No |
W097: Use the function form of strict|Best Practices | No | |
W098: '{a}' is defined but never used | Refactorings - Redundancies | No |
W099: Mixed spaces and tabs | Style Conventions | No |
W100: This character may get silently deleted by one or more browsers | Resource | No |
W101: Line is too long | Metric | No |
W102: Trailing whitespace | Style Conventions | No |
W103: The '{a}' property is deprecated | Migration | No |
W104: '{a}' is only available in JavaScript 1.7 | Migration | No |
W105: Unexpected {a} in '{b}' | Logic | No |
W106: Identifier '{a}' is not in camel case | Naming Conventions | No |
W107: Script URL | Interface | No |
W108: Strings must use doublequote | Style Conventions | No |
W109: Strings must use singlequote | Style Conventions | No |
W110: Mixed double and single quotes | Style Conventions | No |
W112: Unclosed string | Logic | No |
W113: Control character in string: {a} | Logic | No |
W114: Avoid {a} | Best Practices | No |
W115: Octal literals are not allowed in strict mode | Resource | No |
W116: Expected '{a}' and instead saw '{b}' | Best Practices | No |
W117: '{a}' is not defined | Resource | No |
W118: '{a}' is only available in Mozilla JavaScript extensions (use moz option) | Interface | No |
W119: '{a}' is only available in ES6 (use esnext option) | Migration | No |
white | Style Conventions | No |
worker | Tool Specific | No |
wsh | Tool Specific | No |
yui | Tool Specific | No |
Rule name | Classification | Redefinable |
---|---|---|
always_use_option_explicit | Tool Specific | No |
ambiguous_else_stmt | Logic | No |
ambiguous_nested_stmt | Logic | No |
ambiguous_newline | Best Practices | No |
anon_no_return_value | Logic | No |
assign_to_function_call | Logic | No |
block_without_braces | Style Conventions | No |
comma_separated_stmts | Best Practices | No |
comparison_type_conv | Logic | No |
context | Tool Specific | No |
default_not_at_end | Best Practices | No |
define | Tool Specific | No |
dup_option_explicit | Tool Specific | No |
duplicate_case_in_switch | Logic | No |
duplicate_formal | Refactorings - Redundancies | No |
empty_statement | Refactorings - Redundancies | No |
equal_as_assign | Logic | No |
identifier_hides_another | Best Practices | No |
inc_dec_within_stmt | Logic | No |
incorrect_version | Tool Specific | No |
invalid_fallthru | Tool Specific | No |
invalid_pass | Tool Specific | No |
jscript_function_extensions | Tool Specific | No |
jsl_cc_not_understood | Tool Specific | No |
lambda_assign_requires_semicolon | Style Conventions | No |
leading_decimal_point | Style Conventions | No |
legacy_cc_not_understood | Tool Specific | No |
legacy_control_comments | Tool Specific | No |
meaningless_block | Refactorings - Redundancies | No |
mismatch_ctrl_comments | Tool Specific | No |
misplaced_regex | Best Practices | No |
missing_break | Logic | No |
missing_break_for_last_case | Logic | No |
missing_default_case | Logic | No |
missing_option_explicit | Tool Specific | No |
missing_semicolon | Style Conventions | No |
missing_semicolon_for_lambda | Style Conventions | No |
multiple_plus_minus | Logic | No |
nested_comment | Documentation Conventions | No |
no_return_value | Logic | No |
octal_number | Resource | No |
output-format __FILE__(__LINE__) | Tool Specific | No |
parseint_missing_radix | Best Practices | No |
partial_option_explicit | Tool Specific | No |
pauseatend | Tool Specific | No |
process | Tool Specific | No |
redeclared_var | Refactorings - Redundancies | No |
trailing_comma_in_array | Refactorings - Redundancies | No |
trailing_decimal_point | Style Conventions | No |
undeclared_identifier | Resource | No |
unreachable_code | Refactorings - Redundancies | No |
unreferenced_argument | Refactorings - Redundancies | No |
unreferenced_function | Refactorings - Redundancies | No |
unreferenced_variable | Refactorings - Redundancies | No |
unsupported_version | Tool Specific | No |
use_of_label | Best Practices | No |
useless_assign | Refactorings - Redundancies | No |
useless_comparison | Refactorings - Redundancies | No |
useless_quotes | Refactorings - Redundancies | No |
useless_void | Refactorings - Redundancies | No |
var_hides_arg | Logic | No |
want_assign_or_call | Refactorings - Simplifications | No |
with_statement | Best Practices | No |
Rule name | Classification | Redefinable |
---|---|---|
android.xml | Best Practices | No |
android.xml/CallSuperFirst | Best Practices | No |
android.xml/CallSuperLast | Best Practices | No |
android.xml/DoNotHardCodeSDCard | Best Practices | No |
basic.xml | Multiple | No |
basic.xml/AvoidBranchingStatementAsLastInLoop | Logic | No |
basic.xml/AvoidDecimalLiteralsInBigDecimalConstructor | Resource | No |
basic.xml/AvoidMultipleUnaryOperators | Logic | No |
basic.xml/AvoidThreadGroup | Concurrency | No |
basic.xml/AvoidUsingHardCodedIP | Best Practices | No |
basic.xml/AvoidUsingOctalValues | Resource | No |
basic.xml/BigIntegerInstantiation | Best Practices | No |
basic.xml/BooleanInstantiation | Refactorings - Simplifications | No |
basic.xml/BrokenNullCheck | Logic | No |
basic.xml/CheckResultSet | Check | No |
basic.xml/CheckSkipResult | Check | No |
basic.xml/ClassCastExceptionWithToArray | Interface | No |
basic.xml/CollapsibleIfStatements | Refactorings - Simplifications | No |
basic.xml/DontCallThreadRun | Concurrency | No |
basic.xml/DontUseFloatTypeForLoopIndices | Resource | No |
basic.xml/DoubleCheckedLocking | Concurrency | No |
basic.xml/EmptyCatchBlock | Refactorings - Redundancies | No |
basic.xml/EmptyFinallyBlock | Refactorings - Redundancies | No |
basic.xml/EmptyIfStmt | Refactorings - Redundancies | No |
basic.xml/EmptyInitializer | Refactorings - Redundancies | No |
basic.xml/EmptyStatementBlock | Refactorings - Redundancies | No |
basic.xml/EmptyStatementNotInLoop | Refactorings - Redundancies | No |
basic.xml/EmptyStaticInitializer | Refactorings - Redundancies | No |
basic.xml/EmptySwitchStatements | Refactorings - Redundancies | No |
basic.xml/EmptySynchronizedBlock | Refactorings - Redundancies | No |
basic.xml/EmptyTryBlock | Refactorings - Redundancies | No |
basic.xml/EmptyWhileStmt | Refactorings - Redundancies | No |
basic.xml/ExtendsObject | Object Oriented Design | No |
basic.xml/ForLoopShouldBeWhileLoop | Refactorings - Simplifications | No |
basic.xml/JumbledIncrementer | Logic | No |
basic.xml/MisplacedNullCheck | Logic | No |
basic.xml/OverrideBothEqualsAndHashcode | Interface | No |
basic.xml/ReturnFromFinallyBlock | Error Handling | No |
basic.xml/UnconditionalIfStatement | Refactorings - Redundancies | No |
basic.xml/UnnecessaryConversionTemporary | Refactorings - Redundancies | No |
basic.xml/UnnecessaryFinalModifier | Refactorings - Redundancies | No |
basic.xml/UnnecessaryReturn | Refactorings - Redundancies | No |
basic.xml/UnusedNullCheckInEquals | Logic | No |
basic.xml/UselessOperationOnImmutable | Refactorings - Redundancies | No |
basic.xml/UselessOverridingMethod | Refactorings - Redundancies | No |
basic.xml/UselessParentheses | Refactorings - Redundancies | No |
braces.xml | Style Conventions | No |
braces.xml/ForLoopsMustUseBraces | Style Conventions | No |
braces.xml/IfElseStmtsMustUseBraces | Style Conventions | No |
braces.xml/IfStmtsMustUseBraces | Style Conventions | No |
braces.xml/WhileLoopsMustUseBraces | Style Conventions | No |
clone.xml | Interface | No |
clone.xml/CloneMethodMustImplementCloneable | Interface | No |
clone.xml/CloneThrowsCloneNotSupportedException | Interface | No |
clone.xml/ProperCloneImplementation | Interface | No |
codesize.xml | Metric | No |
codesize.xml/CyclomaticComplexity | Metric | No |
codesize.xml/ExcessiveClassLength | Metric | No |
codesize.xml/ExcessiveMethodLength | Metric | No |
codesize.xml/ExcessiveParameterList | Metric | No |
codesize.xml/ExcessivePublicCount | Metric | No |
codesize.xml/ModifiedCyclomaticComplexity | Metric | No |
codesize.xml/NcssConstructorCount | Metric | No |
codesize.xml/NcssMethodCount | Metric | No |
codesize.xml/NcssTypeCount | Metric | No |
codesize.xml/NPathComplexity | Metric | No |
codesize.xml/StdCyclomaticComplexity | Metric | No |
codesize.xml/TooManyFields | Metric | No |
codesize.xml/TooManyMethods | Metric | No |
comments.xml | Documentation Conventions | No |
comments.xml/CommentContent | Documentation Conventions | No |
comments.xml/CommentRequired | Documentation Conventions | No |
comments.xml/CommentSize | Metric | No |
controversial.xml | Multiple | No |
controversial.xml/AssignmentInOperand | Best Practices | No |
controversial.xml/AtLeastOneConstructor | Interface | No |
controversial.xml/AvoidAccessibilityAlteration | Object Oriented Design | No |
controversial.xml/AvoidFinalLocalVariable | Best Practices | No |
controversial.xml/AvoidLiteralsInIfCondition | Best Practices | No |
controversial.xml/AvoidPrefixingMethodParameters | Naming Conventions | No |
controversial.xml/AvoidUsingNativeCode | Best Practices | No |
controversial.xml/AvoidUsingShortType | Best Practices | No |
controversial.xml/AvoidUsingVolatile | Best Practices | No |
controversial.xml/BooleanInversion | Best Practices | No |
controversial.xml/CallSuperInConstructor | Object Oriented Design | No |
controversial.xml/DataflowAnomalyAnalysis | Resource | No |
controversial.xml/DefaultPackage | Object Oriented Design | No |
controversial.xml/DoNotCallGarbageCollectionExplicitly | Best Practices | No |
controversial.xml/DontImportSun | Code Structure | No |
controversial.xml/NullAssignment | Refactorings - Redundancies | No |
controversial.xml/OneDeclarationPerLine | Best Practices | No |
controversial.xml/OnlyOneReturn | Best Practices | No |
controversial.xml/SuspiciousOctalEscape | Logic | No |
controversial.xml/UnnecessaryConstructor | Refactorings - Redundancies | No |
controversial.xml/UnnecessaryParentheses | Refactorings - Redundancies | No |
controversial.xml/UseConcurrentHashMap | Concurrency | No |
controversial.xml/UseObjectForClearerAPI | Object Oriented Design | No |
coupling.xml | Multiple | No |
coupling.xml/CouplingBetweenObjects | Metric | No |
coupling.xml/ExcessiveImports | Metric | No |
coupling.xml/LawOfDemeter | Object Oriented Design | No |
coupling.xml/LooseCoupling | Object Oriented Design | No |
coupling.xml/LoosePackageCoupling | Object Oriented Design | No |
design.xml | Multiple | No |
design.xml/AbstractClassWithoutAbstractMethod | Interface | No |
design.xml/AbstractClassWithoutAnyMethod | Interface | No |
design.xml/AccessorClassGeneration | Interface | No |
design.xml/AssignmentToNonFinalStatic | Resource | No |
design.xml/AvoidConstantsInterface | Object Oriented Design | No |
design.xml/AvoidDeeplyNestedIfStmts | Metric | No |
design.xml/AvoidInstanceofChecksInCatchClause | Error Handling | No |
design.xml/AvoidProtectedFieldInFinalClass | Object Oriented Design | No |
design.xml/AvoidProtectedMethodInFinalClassNotExtending | Object Oriented Design | No |
design.xml/AvoidReassigningParameters | Best Practices | No |
design.xml/AvoidSynchronizedAtMethodLevel | Concurrency | No |
design.xml/BadComparison | Logic | No |
design.xml/ClassWithOnlyPrivateConstructorsShouldBeFinal | Best Practices | No |
design.xml/CloseResource | Resource | No |
design.xml/CompareObjectsWithEquals | Logic | No |
design.xml/ConfusingTernary | Best Practices | No |
design.xml/ConstructorCallsOverridableMethod | Interface | No |
design.xml/DefaultLabelNotLastInSwitchStmt | Best Practices | No |
design.xml/EmptyMethodInAbstractClassShouldBeAbstract | Interface | No |
design.xml/EqualsNull | Logic | No |
design.xml/FieldDeclarationsShouldBeAtStartOfClass | Best Practices | No |
design.xml/FinalFieldCouldBeStatic | Best Practices | No |
design.xml/GodClass | Metric | No |
design.xml/IdempotentOperations | Refactorings - Redundancies | No |
design.xml/ImmutableField | Best Practices | No |
design.xml/InstantiationToGetClass | Object Oriented Design | No |
design.xml/LogicInversion | Refactorings - Simplifications | No |
design.xml/MissingBreakInSwitch | Logic | No |
design.xml/MissingStaticMethodInNonInstantiatableClass | Interface | No |
design.xml/NonCaseLabelInSwitchStatement | Logic | No |
design.xml/NonStaticInitializer | Interface | No |
design.xml/NonThreadSafeSingleton | Concurrency | No |
design.xml/OptimizableToArrayCall | Best Practices | No |
design.xml/PositionLiteralsFirstInCaseInsensitiveComparisons | Logic | No |
design.xml/PositionLiteralsFirstInComparisons | Logic | No |
design.xml/PreserveStackTrace | Error Handling | No |
design.xml/ReturnEmptyArrayRatherThanNull | Best Practices | No |
design.xml/SimpleDateFormatNeedsLocale | Interface | No |
design.xml/SimplifyBooleanExpressions | Refactorings - Simplifications | No |
design.xml/SimplifyBooleanReturns | Refactorings - Simplifications | No |
design.xml/SimplifyConditional | Refactorings - Simplifications | No |
design.xml/SingularField | Best Practices | No |
design.xml/SwitchDensity | Metric | No |
design.xml/SwitchStmtsShouldHaveDefault | Logic | No |
design.xml/TooFewBranchesForASwitchStatement | Metric | No |
design.xml/UncommentedEmptyConstructor | Refactorings - Redundancies | No |
design.xml/UncommentedEmptyMethod | Refactorings - Redundancies | No |
design.xml/UncommentedEmptyMethodBody | Refactorings - Redundancies | No |
design.xml/UnnecessaryLocalBeforeReturn | Refactorings - Redundancies | No |
design.xml/UnsynchronizedStaticDateFormatter | Concurrency | No |
design.xml/UseCollectionIsEmpty | Best Practices | No |
design.xml/UseLocaleWithCaseConversions | Interface | No |
design.xml/UseNotifyAllInsteadOfNotify | Concurrency | No |
design.xml/UseUtilityClass | Object Oriented Design | No |
design.xml/UseVarargs | Best Practices | No |
empty.xml | Refactorings - Redundancies | No |
empty.xml/EmptyCatchBlock | Refactorings - Redundancies | No |
empty.xml/EmptyFinallyBlock | Refactorings - Redundancies | No |
empty.xml/EmptyIfStmt | Refactorings - Redundancies | No |
empty.xml/EmptyInitializer | Refactorings - Redundancies | No |
empty.xml/EmptyStatementBlock | Refactorings - Redundancies | No |
empty.xml/EmptyStatementNotInLoop | Refactorings - Redundancies | No |
empty.xml/EmptyStaticInitializer | Refactorings - Redundancies | No |
empty.xml/EmptySwitchStatements | Refactorings - Redundancies | No |
empty.xml/EmptySynchronizedBlock | Refactorings - Redundancies | No |
empty.xml/EmptyTryBlock | Refactorings - Redundancies | No |
empty.xml/EmptyWhileStmt | Refactorings - Redundancies | No |
finalizers.xml | Multiple | No |
finalizers.xml/AvoidCallingFinalize | Resource | No |
finalizers.xml/EmptyFinalizer | Refactorings - Redundancies | No |
finalizers.xml/FinalizeDoesNotCallSuperFinalize | Interface | No |
finalizers.xml/FinalizeOnlyCallsSuperFinalize | Refactorings - Redundancies | No |
finalizers.xml/FinalizeOverloaded | Interface | No |
finalizers.xml/FinalizeShouldBeProtected | Interface | No |
imports.xml | Multiple | No |
imports.xml/DontImportJavaLang | Code Structure | No |
imports.xml/DuplicateImports | Refactorings - Redundancies | No |
imports.xml/ImportFromSamePackage | Refactorings - Redundancies | No |
imports.xml/TooManyStaticImports | Code Structure | No |
imports.xml/UnnecessaryFullyQualifiedName | Best Practices | No |
imports.xml/UnusedImports | Refactorings - Redundancies | No |
j2ee.xml | Multiple | No |
j2ee.xml/DoNotCallSystemExit | Best Practices | No |
j2ee.xml/DoNotUseThreads | Concurrency | No |
j2ee.xml/LocalHomeNamingConvention | Naming Conventions | No |
j2ee.xml/LocalInterfaceSessionNamingConvention | Naming Conventions | No |
j2ee.xml/MDBAndSessionBeanNamingConvention | Naming Conventions | No |
j2ee.xml/RemoteInterfaceNamingConvention | Naming Conventions | No |
j2ee.xml/RemoteSessionInterfaceNamingConvention | Naming Conventions | No |
j2ee.xml/StaticEJBFieldShouldBeFinal | Best Practices | No |
j2ee.xml/UseProperClassLoader | Concurrency | No |
javabeans.xml | Best Practices | No |
javabeans.xml/BeanMembersShouldSerialize | Best Practices | No |
javabeans.xml/MissingSerialVersionUID | Best Practices | No |
junit.xml | Multiple | No |
junit.xml/JUnitAssertionsShouldIncludeMessage | Best Practices | No |
junit.xml/JUnitSpelling | Naming Conventions | No |
junit.xml/JUnitStaticSuite | Best Practices | No |
junit.xml/JUnitTestContainsTooManyAsserts | Best Practices | No |
junit.xml/JUnitTestsShouldIncludeAssert | Best Practices | No |
junit.xml/SimplifyBooleanAssertion | Refactorings - Simplifications | No |
junit.xml/TestClassWithoutTestCases | Naming Conventions | No |
junit.xml/UnnecessaryBooleanAssertion | Refactorings - Redundancies | No |
junit.xml/UseAssertEqualsInsteadOfAssertTrue | Best Practices | No |
junit.xml/UseAssertNullInsteadOfAssertTrue | Best Practices | No |
junit.xml/UseAssertSameInsteadOfAssertTrue | Best Practices | No |
junit.xml/UseAssertTrueInsteadOfAssertEquals | Best Practices | No |
logging-jakarta-commons.xml | Multiple | No |
logging-jakarta-commons.xml/GuardDebugLogging | Best Practices | No |
logging-jakarta-commons.xml/GuardLogStatement | Best Practices | No |
logging-jakarta-commons.xml/ProperLogger | Best Practices | No |
logging-jakarta-commons.xml/UseCorrectExceptionLogging | Error Handling | No |
logging-java.xml | Multiple | No |
logging-java.xml/AvoidPrintStackTrace | Error Handling | No |
logging-java.xml/GuardLogStatementJavaUtil | Best Practices | No |
logging-java.xml/LoggerIsNotStaticFinal | Best Practices | No |
logging-java.xml/MoreThanOneLogger | Best Practices | No |
logging-java.xml/SystemPrintln | Best Practices | No |
migrating.xml | Migration | No |
migrating.xml/AvoidAssertAsIdentifier | Migration | No |
migrating.xml/AvoidEnumAsIdentifier | Migration | No |
migrating.xml/ByteInstantiation | Migration | No |
migrating.xml/IntegerInstantiation | Migration | No |
migrating.xml/JUnit4SuitesShouldUseSuiteAnnotation | Migration | No |
migrating.xml/JUnit4TestShouldUseAfterAnnotation | Migration | No |
migrating.xml/JUnit4TestShouldUseBeforeAnnotation | Migration | No |
migrating.xml/JUnit4TestShouldUseTestAnnotation | Migration | No |
migrating.xml/JUnitUseExpected | Migration | No |
migrating.xml/LongInstantiation | Migration | No |
migrating.xml/ReplaceEnumerationWithIterator | Migration | No |
migrating.xml/ReplaceHashtableWithMap | Migration | No |
migrating.xml/ReplaceVectorWithList | Migration | No |
migrating.xml/ShortInstantiation | Migration | No |
migrating_to_13.xml | Migration | No |
migrating_to_14.xml | Migration | No |
migrating_to_15.xml | Migration | No |
migrating_to_junit4.xml | Migration | No |
naming.xml | Naming Conventions | No |
naming.xml/AbstractNaming | Naming Conventions | No |
naming.xml/AvoidDollarSigns | Naming Conventions | No |
naming.xml/AvoidFieldNameMatchingMethodName | Naming Conventions | No |
naming.xml/AvoidFieldNameMatchingTypeName | Naming Conventions | No |
naming.xml/AvoidNonConstructorMethodsWithClassName | Naming Conventions | No |
naming.xml/BooleanGetMethodName | Naming Conventions | No |
naming.xml/ClassNamingConventions | Naming Conventions | No |
naming.xml/ConstantNamingConventions | Naming Conventions | No |
naming.xml/ConstructorWithNameAsEnclosingClass | Naming Conventions | No |
naming.xml/GenericsNaming | Naming Conventions | No |
naming.xml/LongVariable | Naming Conventions | No |
naming.xml/MethodNamingConventions | Naming Conventions | No |
naming.xml/MethodWithSameNameAsEnclosingClass | Naming Conventions | No |
naming.xml/MisleadingVariableName | Naming Conventions | No |
naming.xml/NoPackage | Naming Conventions | No |
naming.xml/PackageCase | Naming Conventions | No |
naming.xml/ShortClassName | Naming Conventions | No |
naming.xml/ShortMethodName | Naming Conventions | No |
naming.xml/ShortVariable | Naming Conventions | No |
naming.xml/SuspiciousConstantFieldName | Naming Conventions | No |
naming.xml/SuspiciousEqualsMethodName | Naming Conventions | No |
naming.xml/SuspiciousHashcodeMethodName | Naming Conventions | No |
naming.xml/VariableNamingConventions | Naming Conventions | No |
optimizations.xml | Multiple | No |
optimizations.xml/AddEmptyString | Best Practices | No |
optimizations.xml/AvoidArrayLoops | Best Practices | No |
optimizations.xml/AvoidInstantiatingObjectsInLoops | Best Practices | No |
optimizations.xml/LocalVariableCouldBeFinal | Best Practices | No |
optimizations.xml/MethodArgumentCouldBeFinal | Best Practices | No |
optimizations.xml/PrematureDeclaration | Refactorings - Redundancies | No |
optimizations.xml/RedundantFieldInitializer | Refactorings - Redundancies | No |
optimizations.xml/SimplifyStartsWith | Best Practices | No |
optimizations.xml/UnnecessaryWrapperObjectCreation | Refactorings - Redundancies | No |
optimizations.xml/UseArrayListInsteadOfVector | Best Practices | No |
optimizations.xml/UseArraysAsList | Best Practices | No |
optimizations.xml/UseStringBufferForStringAppends | Best Practices | No |
strictexception.xml | Error Handling | No |
strictexception.xml/AvoidCatchingGenericException | Error Handling | No |
strictexception.xml/AvoidCatchingNPE | Error Handling | No |
strictexception.xml/AvoidCatchingThrowable | Error Handling | No |
strictexception.xml/AvoidLosingExceptionInformation | Error Handling | No |
strictexception.xml/AvoidRethrowingException | Error Handling | No |
strictexception.xml/AvoidThrowingNewInstanceOfSameException | Error Handling | No |
strictexception.xml/AvoidThrowingNullPointerException | Error Handling | No |
strictexception.xml/AvoidThrowingRawExceptionTypes | Error Handling | No |
strictexception.xml/DoNotExtendJavaLangError | Error Handling | No |
strictexception.xml/DoNotThrowExceptionInFinally | Error Handling | No |
strictexception.xml/ExceptionAsFlowControl | Error Handling | No |
strictexception.xml/SignatureDeclareThrowsException | Error Handling | No |
strings.xml | Multiple | No |
strings.xml/AppendCharacterWithChar | Best Practices | No |
strings.xml/AvoidDuplicateLiterals | Refactorings - Redundancies | No |
strings.xml/AvoidStringBufferField | Best Practices | No |
strings.xml/ConsecutiveAppendsShouldReuse | Best Practices | No |
strings.xml/ConsecutiveLiteralAppends | Best Practices | No |
strings.xml/InefficientEmptyStringCheck | Best Practices | No |
strings.xml/InefficientStringBuffering | Best Practices | No |
strings.xml/InsufficientStringBufferDeclaration | Best Practices | No |
strings.xml/StringBufferInstantiationWithChar | Best Practices | No |
strings.xml/StringInstantiation | Best Practices | No |
strings.xml/StringToString | Refactorings - Redundancies | No |
strings.xml/UnnecessaryCaseChange | Best Practices | No |
strings.xml/UseEqualsToCompareStrings | Logic | No |
strings.xml/UseIndexOfChar | Best Practices | No |
strings.xml/UselessStringValueOf | Refactorings - Redundancies | No |
strings.xml/UseStringBufferLength | Best Practices | No |
sunsecure.xml | Multiple | No |
sunsecure.xml/ArrayIsStoredDirectly | Best Practices | No |
sunsecure.xml/MethodReturnsInternalArray | Interface | No |
typeresolution.xml | Multiple | No |
typeresolution.xml/CloneMethodMustImplementCloneable | Interface | No |
typeresolution.xml/LooseCoupling | Best Practices | No |
typeresolution.xml/SignatureDeclareThrowsException | Error Handling | No |
typeresolution.xml/UnusedImports | Code Structure | No |
unnecessary.xml | Refactorings - Redundancies | No |
unnecessary.xml/UnnecessaryConversionTemporary | Refactorings - Redundancies | No |
unnecessary.xml/UnnecessaryFinalModifier | Refactorings - Redundancies | No |
unnecessary.xml/UnnecessaryReturn | Refactorings - Redundancies | No |
unnecessary.xml/UnusedNullCheckInEquals | Refactorings - Redundancies | No |
unnecessary.xml/UselessOperationOnImmutable | Refactorings - Redundancies | No |
unnecessary.xml/UselessOverridingMethod | Refactorings - Redundancies | No |
unnecessary.xml/UselessParentheses | Refactorings - Redundancies | No |
unusedcode.xml | Refactorings - Redundancies | No |
unusedcode.xml/UnusedFormalParameter | Refactorings - Redundancies | No |
unusedcode.xml/UnusedLocalVariable | Refactorings - Redundancies | No |
unusedcode.xml/UnusedModifier | Refactorings - Redundancies | No |
unusedcode.xml/UnusedPrivateField | Refactorings - Redundancies | No |
unusedcode.xml/UnusedPrivateMethod | Refactorings - Redundancies | No |
Rule name | Classification | Redefinable |
---|---|---|
abstract-method | Interface | No |
acquired-members | Tool Specific | No |
additional-builtins | Naming Conventions | No |
argument-name-hint | Naming Conventions | No |
argument-rgx | Naming Conventions | No |
attribute-defined-outside-init | Best Practices | No |
attr-name-hint | Naming Conventions | No |
attr-rgx | Naming Conventions | No |
bad-continuation | Logic | No |
bad-functions | Best Practices | No |
bad-names | Naming Conventions | No |
bad-whitespace | Style Conventions | No |
broad-except | Error Handling | No |
C0102: Black listed name '%s' | Naming Conventions | No |
C0103: Invalid %s name '%s' | Naming Conventions | No |
C0111: Missing %s docstring | Documentation Conventions | No |
C0112: Empty %s docstring | Documentation Conventions | No |
C0121: Missing required attribute "%s" | Interface | No |
C0202: Class method %s should have cls as first argument | Naming Conventions | No |
C0203: Metaclass method %s should have mcs as first argument | Naming Conventions | No |
C0204: Metaclass class method %s should have %s as first argument | Naming Conventions | No |
C0301: Line too long (%s/%s) | Metric | No |
C0302: Too many lines in module (%s) | Metric | No |
C0303: Trailing whitespace | Refactorings - Redundancies | No |
C0304: Final newline missing | Style Conventions | No |
C0321: More than one statement on a single line | Best Practices | No |
C0322: Old: Operator not preceded by a space | Style Conventions | No |
C0323: Old: Operator not followed by a space | Style Conventions | No |
C0324: Old: Comma not followed by a space | Style Conventions | No |
C0325: Unnecessary parens after %r keyword | Style Conventions | No |
C0326: %s space %s %s %s%s | Style Conventions | No |
C0330: Wrong %s indentation%s | Logic | No |
C1001: Old-style class defined | Migration | No |
cache-size | Tool Specific | No |
callbacks | Naming Conventions | No |
class-attribute-name-hint | Naming Conventions | No |
class-attribute-rgx | Naming Conventions | No |
class-name-hint | Naming Conventions | No |
class-rgx | Naming Conventions | No |
color | Tool Specific | No |
comment | Tool Specific | No |
confidence | Tool Specific | No |
const-name-hint | Naming Conventions | No |
const-rgx | Naming Conventions | No |
defining-attr-methods | Naming Conventions | No |
deprecated-modules | Best Practices | No |
disable-msg | Tool Specific | No |
disable-msg-cat | Tool Specific | No |
docstring-min-length | Metric | No |
dummy-variables-rgx | Naming Conventions | No |
duplicate-code | Refactorings - Redundancies | No |
E0001: (syntax error raised for a module; message varies) | Logic | No |
E0011: Unrecognized file option %r | Tool Specific | No |
E0012: Bad option value %r | Tool Specific | No |
E0100: __init__ method is a generator | Interface | No |
E0101: Explicit return in __init__ | Interface | No |
E0102: %s already defined line %s | Logic | No |
E0103: %r not properly in loop | Logic | No |
E0104: Return outside function | Logic | No |
E0105: Yield outside function | Logic | No |
E0106: Return with argument inside generator | Logic | No |
E0107: Use of the non-existent %s operator | Logic | No |
E0108: Duplicate argument name %s in function definition | Resource | No |
E0202: An attribute affected in %s line %s hide this method | Logic | No |
E0203: Access to member %r before its definition line %s | Resource | No |
E0211: Method has no argument | Interface | No |
E0213: Method should have 'self' as first argument | Naming Conventions | No |
E0221: Interface resolved to %s is not a class | Interface | No |
E0222: Missing method %r from %s interface | Interface | No |
E0235: __exit__ must accept 3 arguments: type; value; traceback | Interface | No |
E0501: Old: Non ascii characters found but no encoding specified (PEP 263) | Interface | No |
E0502: Old: Wrong encoding specified (%s) | Interface | No |
E0503: Old: Unknown encoding specified (%s) | Interface | No |
E0601: Using variable %r before assignment | Interface | No |
E0602: Undefined variable %r | Interface | No |
E0603: Undefined variable name %r in __all__ | Interface | No |
E0604: Invalid object %r in __all__. Must contain only strings | Logic | No |
E0611: No name %r in module %r | Interface | No |
E0701: Bad except clauses order (%s) | Error Handling | No |
E0702: Raising %s while only classes or instances are allowed | Error Handling | No |
E0710: Raising a new style class which doesn't inherit from BaseException | Error Handling | No |
E0711: NotImplemented raised - should raise NotImplementedError | Error Handling | No |
E0712: Catching an exception which doesnāt inherit from BaseException: %s | Error Handling | No |
E1001: Use of __slots__ on an old style class | Interface | No |
E1002: Use of super on an old style class | Interface | No |
E1003: Bad first argument %r given to super() | Interface | No |
E1004: Missing argument to super() | Interface | No |
E1101: %s %r has no %r member | Interface | No |
E1102: %s is not callable | Interface | No |
E1103: %s %r has no %r member (but some types could not be inferred) | Interface | No |
E1111: Assigning to function call which doesnāt return | Interface | No |
E1120: No value passed for parameter %s in function call | Interface | No |
E1121: Too many positional arguments for function call | Interface | No |
E1122: Old: Duplicate keyword argument %r in function call | Interface | No |
E1123: Passing unexpected keyword argument %r in function call | Interface | No |
E1124: Argument %r passed by position and keyword in %s call | Interface | No |
E1125: Missing mandatory keyword argument %r in %s call | Interface | No |
E1200: Unsupported logging format character %r (%02x) at index %d | Interface | No |
E1201: Logging format string ends in middle of conversion specifier | Logic | No |
E1205: Too many arguments for logging format string | Interface | No |
E1206: Not enough arguments for logging format string | Interface | No |
E1300: Unsupported format character %r (%02x) at index %d | Interface | No |
E1301: Format string ends in middle of conversion specifier | Logic | No |
E1302: Mixing named and unnamed conversion specifiers in format string | Logic | No |
E1303: Expected mapping for format string. Not %s | Logic | No |
E1304: Missing key %r in format string dictionary | Logic | No |
E1305: Too many arguments for format string | Interface | No |
E1306: Not enough arguments for format string | Interface | No |
E1310: Suspicious argument in %s.%s call | Interface | No |
E1601: Print statement used | Migration | No |
E1602: Parameter unpacking specified | Migration | No |
E1603: Implicit unpacking of exceptions is not supported in Python 3 | Migration | No |
E1604: Use raise ErrorClass(args) instead of raise ErrorClass | Migration | No |
E1605: Use of the `` operator | Migration | No |
E1606: Use of long suffix | Migration | No |
E1607: Use of the <> operator | Migration | No |
E1608: Use of old octal literal | Migration | No |
errors-only | Tool Specific | No |
evaluation | Tool Specific | No |
exclude-protected | Tool Specific | No |
expected-line-ending-format | Style Conventions | No |
ext-import-graph | Tool Specific | No |
F0001: (error prevented analysis; message varies) | Tool Specific | No |
F0002: %s: %s (message varies) | Tool Specific | No |
F0003: ignored builtin module %s | Tool Specific | No |
F0004: unexpected inferred value %s | Tool Specific | No |
F0010: error while code parsing: %s | Tool Specific | No |
F0202: Unable to check methods signature (%s / %s) | Tool Specific | No |
F0220: Failed to resolve interfaces implemented by %s (%s) | Tool Specific | No |
F0321: Old: Format detection error in %r | Tool Specific | No |
F0401: Unable to import %s | Tool Specific | No |
files-output | Tool Specific | No |
fixme | Documentation Conventions | No |
function-name-hint | Naming Conventions | No |
function-rgx | Naming Conventions | No |
generated-members | Tool Specific | No |
global-statement | Best Practices | No |
good-names | Naming Conventions | No |
I | Tool Specific | No |
I0001: Unable to run raw checkers on built-in module %s | Tool Specific | No |
I0010: Unable to consider inline option %r | Tool Specific | No |
I0011: Locally disabling %s | Tool Specific | No |
I0012: Locally enabling %s | Tool Specific | No |
I0013: Ignoring entire file | Tool Specific | No |
I0014: Used deprecated directive 'pylint:disable-all' or 'pylint:disable=all' | Tool Specific | No |
I0020: Suppressed %s (from line %d) | Tool Specific | No |
I0021: Useless suppression of %s | Tool Specific | No |
I0022: Deprecated pragma 'pylint:disable-msg' or 'pylint:enable-msg' | Tool Specific | No |
ignore | Tool Specific | No |
ignore-comments | Tool Specific | No |
ignored-argument-names | Tool Specific | No |
ignored-classes | Tool Specific | No |
ignored-modules | Tool Specific | No |
ignore-docstrings | Tool Specific | No |
ignore-iface-methods | Tool Specific | No |
ignore-imports | Tool Specific | No |
ignore-long-lines | Style Conventions | No |
ignore-mixin-members | Interface | No |
import-error | Tool Specific | No |
import-graph | Tool Specific | No |
include-ids | Tool Specific | No |
include-naming-hint | Tool Specific | No |
indent-after-paren | Style Conventions | No |
indent-string | Style Conventions | No |
init-hook | Tool Specific | No |
init-import | Refactorings - Redundancies | No |
inlinevar-name-hint | Naming Conventions | No |
inlinevar-rgx | Naming Conventions | No |
int-import-graph | Tool Specific | No |
invalid-name | Naming Conventions | No |
jobs | Tool Specific | No |
line-too-long | Metric | No |
load-plugins | Tool Specific | No |
logging-modules | Tool Specific | No |
max-args | Metric | No |
max-attributes | Metric | No |
max-branches | Metric | No |
max-branchs | Metric | No |
max-line-length | Metric | No |
max-locals | Metric | No |
max-module-lines | Metric | No |
max-parents | Metric | No |
max-public-methods | Metric | No |
max-returns | Metric | No |
max-statements | Metric | Yes |
method-name-hint | Naming Conventions | No |
method-rgx | Naming Conventions | No |
min-name-length | Metric | No |
min-public-methods | Metric | No |
min-similarity-lines | Metric | No |
missing-docstring | Documentation Conventions | No |
module-name-hint | Naming Conventions | No |
module-rgx | Naming Conventions | No |
msg-template | Tool Specific | No |
name-group | Naming Conventions | No |
no-docstring-rgx | Documentation Conventions | No |
no-init | Interface | No |
no-member | Interface | No |
no-name-in-module | Interface | No |
no-self-use | Best Practices | No |
no-space-check | Style Conventions | No |
notes | Documentation Conventions | No |
old-style-class | Migration | No |
output-format | Tool Specific | No |
overgeneral-exceptions | Error Handling | No |
persistent | Tool Specific | No |
profile | Tool Specific | No |
protected-access | Interface | No |
py3k | Tool Specific | No |
R0201: Method could be a function | Best Practices | No |
R0401: Cyclic import (%s) | Code Structure | No |
R0801: Similar lines in %s files | Refactorings - Redundancies | No |
R0901: Too many ancestors (%s/%s) | Metric | No |
R0902: Too many instance attributes (%s/%s) | Metric | No |
R0903: Too few public methods (%s/%s) | Metric | No |
R0904: Too many public methods (%s/%s) | Metric | No |
R0911: Too many return statements (%s/%s) | Metric | No |
R0912: Too many branches (%s/%s) | Metric | No |
R0913: Too many arguments (%s/%s) | Metric | No |
R0914: Too many local variables (%s/%s) | Metric | No |
R0915: Too many statements (%s/%s) | Metric | No |
R0921: Abstract class not referenced | Refactorings - Redundancies | No |
R0922: Abstract class is only referenced %s times | Metric | No |
R0923: Interface not implemented | Refactorings - Redundancies | No |
R0924: Badly implemented Container | Best Practices | No |
rcfile | Tool Specific | No |
reports | Tool Specific | No |
required-attributes | Tool Specific | No |
RP0001: Messages by category | Tool Specific | No |
RP0002: % errors / warnings by module | Tool Specific | No |
RP0003: Messages | Tool Specific | No |
RP0004: Global evaluation | Tool Specific | No |
RP0101: Statistics by type | Tool Specific | No |
RP0401: External dependencies | Tool Specific | No |
"RP0402: Modules dependencies graph" | Tool Specific | No |
RP0701: Raw metrics | Tool Specific | No |
RP0801: Duplication | Tool Specific | No |
single-line-if-stmt | Style Conventions | No |
spelling-dict | Tool Specific | No |
spelling-ignore-words | Tool Specific | No |
spelling-private-dict-file | Tool Specific | No |
spelling-store-unknown-words | Tool Specific | No |
star-args | Code Structure | No |
superfluous-parens | Refactorings - Redundancies | No |
super-on-old-class | Interface | No |
symbols | Tool Specific | No |
too-few-public-methods | Metric | No |
too-many-ancestors | Metric | No |
too-many-arguments | Metric | No |
too-many-branches | Metric | No |
too-many-format-args | Metric | No |
too-many-function-args | Metric | No |
too-many-instance-attributes | Metric | No |
too-many-lines | Metric | No |
too-many-locals | Metric | No |
too-many-public-methods | Metric | No |
too-many-return-statements | Metric | No |
too-many-statements | Metric | No |
trailing-whitespace | Refactorings - Redundancies | No |
undefined-loop-variable | Logic | No |
unnecessary-lambda | Refactorings - Simplifications | No |
unnecessary-semicolon | Style Conventions | No |
unpacking-non-sequence | Interface | No |
unsafe-load-any-extension | Tool Specific | No |
unused-argument | Refactorings - Redundancies | No |
unused-import | Refactorings - Redundancies | No |
unused-variable | Refactorings - Redundancies | No |
unused-wildcard-import | Code Structure | No |
useless-else-on-loop | Logic | No |
valid-classmethod-first-arg | Naming Conventions | No |
valid-metaclass-classmethod-first-arg | Naming Conventions | No |
variable-name-hint | Naming Conventions | No |
variable-rgx | Naming Conventions | No |
W0101: Unreachable code | Refactorings - Redundancies | No |
W0102: Dangerous default value %s as argument | Interface | No |
W0104: Statement seems to have no effect | Logic | No |
W0105: String statement has no effect | Refactorings - Redundancies | No |
W0106: Expression '%s' is assigned to nothing | Resource | No |
W0107: Unnecessary pass statement | Refactorings - Redundancies | No |
W0108: Lambda may not be necessary | Refactorings - Simplifications | No |
W0109: Duplicate key %r in dictionary | Logic | No |
W0110: map/filter on lambda could be replaced by comprehension | Refactorings - Simplifications | No |
W0120: Else clause on loop without a break statement | Logic | No |
W0121: Use raise ErrorClass(args) instead of raise ErrorClass. Args | Error Handling | No |
W0122: Use of exec | Interface | No |
W0123: Use of eval | Interface | No |
W0141: Used builtin function %r | Best Practices | No |
W0142: Used * or ** magic | Best Practices | No |
W0150: %s statement in finally block may swallow exception | Error Handling | No |
W0199: Assert called on a 2-uple. Did you mean 'assert x;y'? | Logic | No |
W0201: Attribute %r defined outside __init__ | Best Practices | No |
W0211: Static method with %r as first argument | Best Practices | No |
W0212: Access to a protected member %s of a client class | Interface | No |
W0221: Arguments number differs from %s method | Interface | No |
W0222: Signature differs from %s method | Interface | No |
W0223: Method %r is abstract in class %r but is not overridden | Interface | No |
W0231: __init__ method from base class %r is not called | Interface | No |
W0232: Class has no __init__ method | Interface | No |
W0233: __init__ method from a non direct base class %r is called | Interface | No |
W0234: __iter__ returns non-iterator | Logic | No |
W0301: Unnecessary semicolon | Style Conventions | No |
W0311: Bad indentation. Found %s %s. Expected %s | Logic | No |
W0312: Found indentation with %ss instead of %ss | Logic | No |
W0331: Use of the <> operator | Best Practices | No |
W0332: Use of "l" as long integer identifier | Best Practices | No |
W0333: Use of the `` operator | Best Practices | No |
W0401: Wildcard import %s | Code Structure | No |
W0402: Uses of a deprecated module %r | Code Structure | No |
W0403: Relative import %r. Should be %r | Code Structure | No |
W0404: Reimport %r (imported line %s) | Refactorings - Redundancies | No |
W0406: Module import itself | Refactorings - Redundancies | No |
W0410: __future__ import is not the first non docstring statement | Interface | No |
W0511: (warning notes in code comments; message varies) | Documentation Conventions | No |
W0512: Cannot decode using encoding '%s'. Unexpected byte at position %d | Interface | No |
W0601: Global variable %r undefined at the module level | Best Practices | No |
W0602: Using global for %r but no assigment is done | Best Practices | No |
W0603: Using the global statement | Best Practices | No |
W0604: Using the global statement at the module level | Refactorings - Redundancies | No |
W0611: Unused import %s | Refactorings - Redundancies | No |
W0612: Unused variable %r | Refactorings - Redundancies | No |
W0613: Unused argument %r | Refactorings - Redundancies | No |
W0614: Unused import %s from wildcard import | Code Structure | No |
W0621: Redefining name %r from outer scope (line %s) | Best Practices | No |
W0622: Redefining built-in %r | Best Practices | No |
W0623: Redefining name %r from %s in exception handler | Error Handling | No |
W0631: Using possibly undefined loop variable %r | Resource | No |
W0632: Possible unbalanced tuple unpacking with sequence%s: ⦠| Interface | No |
W0633: Attempting to unpack a non-sequence%s | Interface | No |
W0640: Cell variable %s defined in loop | Logic | No |
W0701: Raising a string exception | Error Handling | No |
W0702: No exception type(s) specified | Error Handling | No |
W0703: Catching too general exception %s | Error Handling | No |
W0704: Except doesn't do anything | Error Handling | No |
W0710: Exception doesn't inherit from standard 'Exception' class | Error Handling | No |
W0711: Exception to catch is the result of a binary ā%sā operation | Error Handling | No |
W0712: Implicit unpacking of exceptions is not supported in Python 3 | Migration | No |
W1001: Use of 'property' on an old style class | Interface | No |
W1111: Assigning to function call which only returns None | Interface | No |
W1201: Specify string format arguments as logging function parameters | Best Practices | No |
W1202: Use % formatting in logging functions but pass the % parameters as arguments | Best Practices | No |
W1300: Format string dictionary key should be a string. Not %s | Interface | No |
W1301: Unused key %r in format string dictionary | Refactorings - Redundancies | No |
W1302: Invalid format string | Best Practices | No |
W1401: Anomalous backslash in string: '%s'. String constant might be missing an r prefix | Logic | No |
W1402: Anomalous Unicode escape in byte string: '%s'. String constant might be missing an r or u prefix | Logic | No |
W1501:'%s' is not a valid mode for open | Interface | No |
W1601: Apply built-in referenced | Migration | No |
W1602: Basestring built-in referenced | Migration | No |
W1603: Buffer built-in referenced | Migration | No |
W1604: Cmp built-in referenced | Migration | No |
W1605: Coerce built-in referenced | Migration | No |
W1606: Execfile built-in referenced | Migration | No |
W1607: File built-in referenced | Migration | No |
W1608: Long built-in referenced | Migration | No |
W1609: Raw_input built-in referenced | Migration | No |
W1610: Reduce built-in referenced | Migration | No |
W1611: StandardError built-in referenced | Migration | No |
W1612: Unicode built-in referenced | Migration | No |
W1613: Xrange built-in referenced | Migration | No |
W1614: __coerce__ method defined | Migration | No |
W1615: __delslice__ method defined | Migration | No |
W1616: __getslice__ method defined | Migration | No |
W1617: __setslice__ method defined | Migration | No |
W1618: import missing `from __future__ import absolute_import` | Migration | No |
W1619: division w/o __future__ statement | Migration | No |
W1620: Calling a dict.iter*() method | Migration | No |
W1621: Calling a dict.view*() method | Migration | No |
W1622: Called a next() method on an object | Migration | No |
W1623: Assigning to a class' __metaclass__ attribute | Migration | No |
W1624: Indexing exceptions will not work on Python 3 | Migration | No |
W1625: Raising a string exception | Migration | No |
W1626: reload built-in referenced | Migration | No |
W1627: __oct__ method defined | Migration | No |
W1628: __hex__ method defined | Migration | No |
W1629: __nonzero__ method defined | Migration | No |
W1630: __cmp__ method defined | Migration | No |
W1631: map is used as implicitly evaluated call | Migration | No |
W1632: input built-in referenced | Migration | No |
W1633: round built-in referenced | Migration | No |
W1634 | Migration | No |
W1635 | Migration | No |
W1636 | Migration | No |
W1637 | Migration | No |
W1638 | Migration | No |
W1639 | Migration | No |
W5101: Use of the %s builtin | Best Practices | No |
W5102 | Migration | No |
W5106 | Migration | No |
wildcard-import | Code Structure | No |
zope | Tool Specific | No |
Rule name | Classification | Redefinable |
---|---|---|
AbcSize | Metric | No |
AccessModifierIndentation | Style Conventions | No |
AccessorMethodName | Naming Conventions | No |
ActionFilter | Best Practices | No |
Alias | Best Practices | No |
AlignArray | Style Conventions | No |
AlignHash | Style Conventions | No |
AlignParameters | Style Conventions | No |
AmbiguousOperator | Logic | No |
AmbiguousRegexpLiteral | Logic | No |
AndOr | Best Practices | No |
ArrayJoin | Best Practices | No |
AsciiComments | Documentation Conventions | No |
AsciiIdentifiers | Naming Conventions | No |
AssignmentInCondition | Logic | No |
Attr | Best Practices | No |
AutoResourceCleanup | Best Practices | No |
BarePercentLiterals | Best Practices | No |
BeginBlock | Best Practices | No |
BlockAlignment | Style Conventions | No |
BlockComments | Documentation Conventions | No |
BlockDelimiters | Best Practices | No |
BlockEndNewline | Style Conventions | No |
BlockNesting | Metric | No |
Blocks | Best Practices | No |
BracesAroundHashParameters | Style Conventions | No |
CaseEquality | Best Practices | No |
CaseIndentation | Style Conventions | No |
CharacterLiteral | Best Practices | No |
ClassAndModuleCamelCase | Naming Conventions | No |
ClassAndModuleChildren | Style Conventions | No |
ClassCheck | Best Practices | No |
ClassLength | Metric | No |
ClassMethods | Best Practices | No |
ClassVars | Best Practices | No |
ClosingParenthesisIndentation | Style Conventions | No |
CollectionMethods | Best Practices | No |
ColonMethodCall | Style Conventions | No |
CommandLiteral | Best Practices | No |
CommentAnnotation | Documentation Conventions | No |
CommentIndentation | Documentation Conventions | No |
ConditionPosition | Style Conventions | No |
ConstantName | Naming Conventions | Yes |
Copyright | Best Practices | No |
CyclomaticComplexity | Metric | Yes |
Date | Interface | No |
Debugger | Best Practices | No |
DefaultScope | Best Practices | No |
DefEndAlignment | Style Conventions | No |
DefWithParentheses | Style Conventions | No |
Delegate | Best Practices | No |
DeprecatedClassMethods | Migration | No |
DeprecatedHashMethods | Migration | No |
Detect | Best Practices | No |
Documentation | Documentation Conventions | No |
DotPosition | Style Conventions | No |
DoubleNegation | Refactorings - Redundancies | No |
DuplicateMethods | Refactorings - Redundancies | No |
EachWithObject | Best Practices | No |
ElseAlignment | Style Conventions | No |
ElseLayout | Style Conventions | No |
EmptyElse | Refactorings - Redundancies | No |
EmptyEnsure | Refactorings - Redundancies | No |
EmptyInterpolation | Refactorings - Redundancies | No |
EmptyLineBetweenDefs | Style Conventions | No |
EmptyLines | Refactorings - Redundancies | No |
EmptyLinesAroundAccessModifier | Style Conventions | No |
EmptyLinesAroundBlockBody | Style Conventions | No |
EmptyLinesAroundBody | Style Conventions | No |
EmptyLinesAroundClassBody | Style Conventions | No |
EmptyLinesAroundMethodBody | Style Conventions | No |
EmptyLinesAroundModuleBody | Style Conventions | No |
EmptyLiteral | Best Practices | No |
Encoding | Best Practices | No |
EndAlignment | Style Conventions | No |
EndBlock | Best Practices | No |
EndInMethod | Best Practices | No |
EndOfLine | Style Conventions | No |
EnsureReturn | Error Handling | No |
Eval | Interface | No |
EvenOdd | Best Practices | No |
ExtraSpacing | Refactorings - Redundancies | No |
FileName | Naming Conventions | No |
FindBy | Best Practices | No |
FindEach | Best Practices | No |
FirstParameterIndentation | Style Conventions | No |
FlatMap | Best Practices | No |
FlipFlop | Best Practices | No |
For | Best Practices | No |
FormatString | Best Practices | No |
GlobalVars | Best Practices | No |
GuardClause | Refactorings - Simplifications | No |
HandleExceptions | Error Handling | No |
HasAndBelongsToMany | Best Practices | No |
HashSyntax | Migration | No |
IfUnlessModifier | Best Practices | No |
IfWithSemicolon | Best Practices | No |
IndentArray | Style Conventions | No |
IndentationConsistency | Style Conventions | No |
IndentationWidth | Style Conventions | No |
IndentHash | Style Conventions | No |
InfiniteLoop | Best Practices | No |
InlineComment | Documentation Conventions | No |
InvalidCharacterLiteral | Resource | No |
Lambda | Best Practices | No |
LambdaCall | Best Practices | No |
LeadingCommentSpace | Documentation Conventions | No |
LineEndConcatenation | Best Practices | No |
LineLength | Metric | Yes |
LiteralInCondition | Best Practices | No |
LiteralInInterpolation | Best Practices | No |
Loop | Best Practices | No |
MethodCalledOnDoEndBlock | Best Practices | No |
MethodCallParentheses | Style Conventions | No |
MethodDefParentheses | Style Conventions | No |
MethodLength | Metric | Yes |
MethodName | Naming Conventions | Yes |
MissingElse | Best Practices | No |
ModuleFunction | Best Practices | No |
MultilineBlockChain | Best Practices | No |
MultilineBlockLayout | Style Conventions | No |
MultilineIfThen | Best Practices | No |
MultilineOperationIndentation | Style Conventions | No |
MultilineTernaryOperator | Best Practices | No |
NegatedIf | Best Practices | No |
NegatedWhile | Best Practices | No |
NestedTernaryOperator | Best Practices | No |
Next | Best Practices | No |
NilComparison | Best Practices | No |
NonLocalExitFromIterator | Best Practices | No |
NonNilCheck | Refactorings - Redundancies | No |
Not | Best Practices | No |
NumericLiterals | Style Conventions | No |
OneLineConditional | Best Practices | No |
OpMethod | Naming Conventions | No |
Output | Best Practices | No |
ParameterLists | Metric | No |
ParenthesesAroundCondition | Style Conventions | No |
ParenthesesAsGroupedExpression | Style Conventions | No |
PerceivedComplexity | Metric | No |
PercentLiteralDelimiters | Best Practices | No |
PercentQLiterals | Best Practices | No |
PerlBackrefs | Best Practices | No |
PredicateName | Naming Conventions | No |
Proc | Best Practices | No |
RaiseArgs | Error Handling | No |
ReadWriteAttribute | Best Practices | No |
RedundantBegin | Best Practices | No |
RedundantException | Refactorings - Redundancies | No |
RedundantReturn | Refactorings - Redundancies | No |
RedundantSelf | Refactorings - Redundancies | No |
RegexpLiteral | Best Practices | No |
RequireParentheses | Style Conventions | No |
RescueException | Error Handling | No |
RescueModifier | Error Handling | No |
ReverseEach | Best Practices | No |
Sample | Best Practices | No |
ScopeArgs | Best Practices | No |
SelfAssignment | Best Practices | No |
Semicolon | Style Conventions | No |
ShadowingOuterLocalVariable | Best Practices | No |
SignalException | Error Handling | No |
SingleLineBlockParams | Naming Conventions | No |
SingleLineMethods | Best Practices | No |
SingleSpaceBeforeFirstArg | Style Conventions | No |
Size | Best Practices | No |
SpaceAfterColon | Style Conventions | No |
SpaceAfterComma | Style Conventions | No |
SpaceAfterControlKeyword | Style Conventions | No |
SpaceAfterMethodName | Style Conventions | No |
SpaceAfterNot | Style Conventions | No |
SpaceAfterSemicolon | Style Conventions | No |
SpaceAroundBlockParameters | Style Conventions | No |
SpaceAroundEqualsInParameterDefault | Style Conventions | No |
SpaceAroundOperators | Style Conventions | No |
SpaceBeforeBlockBraces | Style Conventions | No |
SpaceBeforeComma | Style Conventions | No |
SpaceBeforeComment | Style Conventions | No |
SpaceBeforeFirstArg | Style Conventions | No |
SpaceBeforeModifierKeyword | Style Conventions | No |
SpaceBeforeSemicolon | Style Conventions | No |
SpaceInsideBlockBraces | Style Conventions | No |
SpaceInsideBrackets | Style Conventions | No |
SpaceInsideHashLiteralBraces | Style Conventions | No |
SpaceInsideParens | Style Conventions | No |
SpaceInsideRangeLiteral | Style Conventions | No |
SpecialGlobalVars | Best Practices | No |
StringConversionInInterpolation | Refactorings - Redundancies | No |
StringLiterals | Style Conventions | No |
StringLiteralsInInterpolation | Style Conventions | No |
StructInheritance | Interface | No |
SymbolArray | Best Practices | No |
SymbolLiteral | Best Practices | No |
SymbolProc | Best Practices | No |
Tab | Style Conventions | No |
TimeZone | Interface | No |
TrailingBlankLines | Style Conventions | No |
TrailingComma | Style Conventions | No |
TrailingWhitespace | Refactorings - Redundancies | No |
TrivialAccessors | Best Practices | No |
UnderscorePrefixedVariableName | Naming Conventions | No |
UnlessElse | Best Practices | No |
UnneededCapitalW | Best Practices | No |
UnneededPercentQ | Best Practices | No |
UnneededPercentX | Best Practices | No |
UnreachableCode | Refactorings - Redundancies | No |
UnusedBlockArgument | Refactorings - Redundancies | No |
UnusedMethodArgument | Refactorings - Redundancies | No |
UselessAccessModifier | Refactorings - Redundancies | No |
UselessAssignment | Refactorings - Redundancies | No |
UselessComparison | Refactorings - Redundancies | No |
UselessElseWithoutRescue | Refactorings - Redundancies | No |
UselessSetterCall | Refactorings - Redundancies | No |
Validation | Best Practices | No |
VariableInterpolation | Best Practices | No |
VariableName | Naming Conventions | No |
Void | Check | No |
WhenThen | Best Practices | No |
WhileUntilDo | Best Practices | No |
WhileUntilModifier | Best Practices | No |
WordArray | Best Practices | No |