Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

The table below can be re-ordered, by clicking column headers.

...

Include Page
java:SpotBugs_Vjava:
SpotBugs_V

Checker

Guideline

DCN_NULLPOINTER_EXCEPTION ERR08-J. Do not catch NullPointerException or any of its ancestors
EI_EXPOSE_BUF FIO05-J. Do not expose buffers or their backing arrays methods to untrusted code
EI_EXPOSE_BUF2 FIO05-J. Do not expose buffers or their backing arrays methods to untrusted code
EI_EXPOSE_REP OBJ13-J. Ensure that references to mutable objects are not exposed
EI_EXPOSE_STATIC_BUF2 FIO05-J. Do not expose buffers or their backing arrays methods to untrusted code
EI_EXPOSE_STATIC_REP2 OBJ13-J. Ensure that references to mutable objects are not exposed
EI_EXPOSE_STATIC_REP2 OBJ13-J. Ensure that references to mutable objects are not exposed
EOS_BAD_END_OF_STREAM_CHECK FIO08-J. Distinguish between characters or bytes read from a stream and -1
MC_OVERRIDABLE_METHOD_CALL_IN_CLONE MET06-J. Do not invoke overridable methods in clone()
MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR MET05-J. Ensure that constructors do not call overridable methods
MS_EXPOSE_BUF FIO05-J. Do not expose buffers or their backing arrays methods to untrusted code
MS_EXPOSE_REP OBJ13-J. Ensure that references to mutable objects are not exposed
MS_SHOULD_BE_FINAL OBJ10-J. Do not use public static nonfinal fields
NP_ALWAYS_NULL EXP01-J. Do not use a null in a case where an object is required
NP_DEREFERENCE_OF_READLINE_VALUE EXP01-J. Do not use a null in a case where an object is required
NP_IMMEDIATE_DEREFERENCE_OF_READLINE EXP01-J. Do not use a null in a case where an object is required
NP_NULL_ON_SOME_PATH EXP01-J. Do not use a null in a case where an object is required
NP_NULL_ON_SOME_PATH_EXCEPTION EXP01-J. Do not use a null in a case where an object is required
NP_NULL_PARAM_DEREF EXP01-J. Do not use a null in a case where an object is required
NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS EXP01-J. Do not use a null in a case where an object is required
NP_NULL_PARAM_DEREF_NONVIRTUAL EXP01-J. Do not use a null in a case where an object is required
NP_TOSTRING_COULD_RETURN_NULL EXP01-J. Do not use a null in a case where an object is required
REFL_REFLECTION_INCREASES_ACCESSIBILITY_OF_CLASS SEC05-J. Do not use reflection to increase accessibility of classes, methods, or fields
RR_NOT_CHECKED EXP00-J. Do not ignore values returned by methods
RV_RETURN_VALUE_IGNORED EXP00-J. Do not ignore values returned by methods
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE EXP00-J. Do not ignore values returned by methods
RV_RETURN_VALUE_IGNORED_INFERRED EXP00-J. Do not ignore values returned by methods
RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT EXP00-J. Do not ignore values returned by methods
RV_RETURN_VALUE_OF_PUTIFABSENT_IGNORED EXP00-J. Do not ignore values returned by methods
SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE IDS00-J. Prevent SQL injection
SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING IDS00-J. Prevent SQL injection
SR_NOT_CHECKED EXP00-J. Do not ignore values returned by methods
SSD_DO_NOT_USE_INSTANCE_LOCK_ON_SHARED_STATIC_DATA LCK06-J. Do not use an instance lock to protect shared static data