You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Generated Content

This page is automatically generated from the "Automated Detection" sections in the individual guidelines. Do not modify this page directly.

Version number:

Checker

Guideline

FB.BAD_PRACTICE.DE_MIGHT_IGNOREERR00-J. Do not suppress or ignore checked exceptions
FB.BAD_PRACTICE.DM_EXITERR09-J. Do not allow untrusted code to terminate the JVM
FB.BAD_PRACTICE.EQ_GETCLASS_AND_CLASS_CMET08-J. Preserve the equality contract when overriding the equals() method
FB.CORRECTNESS.BOA_BADLY_OVERRIDDEN_ADAPTERMET07-J. Never declare a class method that hides a method declared in a superclass or superinterface
FB.CORRECTNESS.EC_BAD_ARRAY_COMPAREEXP02-J. Do not use the Object.equals() method to compare two arrays
FB.CORRECTNESS.EQ_COMPARING_CLASS_NAMESOBJ09-J. Compare classes and not class names
FB.CORRECTNESS.FE_TEST_IF_EQUAL_TO_NOT_A_NUMBERNUM07-J. Do not attempt comparisons with NaN
FB.CORRECTNESS.OVERRIDING_EQUALS_NOT_SYMMETRICMET08-J. Preserve the equality contract when overriding the equals() method
FB.I18N.DM_CONVERT_CASESTR02-J. Specify an appropriate locale when comparing locale-dependent data
FB.I18N.DM_DEFAULT_ENCODINGSTR02-J. Specify an appropriate locale when comparing locale-dependent data
FB.MALICIOUS_CODE.EI_EXPOSE_STATIC_REP2OBJ06-J. Defensively copy mutable inputs and mutable internal components
FB.MT_CORRECTNESS.DL_SYNCHRONIZATION_ON_BOOLEANLCK01-J. Do not synchronize on objects that may be reused
FB.MT_CORRECTNESS.DL_SYNCHRONIZATION_ON_BOXED_PRIMITIVELCK01-J. Do not synchronize on objects that may be reused
FB.MT_CORRECTNESS.DL_SYNCHRONIZATION_ON_SHARED_CONSTANTLCK01-J. Do not synchronize on objects that may be reused
FB.MT_CORRECTNESS.NO_NOTIFY_NOT_NOTIFYALLTHI02-J. Notify all waiting threads rather than a single thread
FB.MT_CORRECTNESS.SC_START_IN_CTORTSM02-J. Do not use background threads during class initialization
FB.MT_CORRECTNESS.SWL_SLEEP_WITH_LOCK_HELDLCK09-J. Do not perform operations that can block while holding a lock
FB.MT_CORRECTNESS.WA_AWAIT_NOT_IN_LOOPTHI03-J. Always invoke wait() and await() methods inside a loop
FB.MT_CORRECTNESS.WA_NOT_IN_LOOPTHI03-J. Always invoke wait() and await() methods inside a loop
FB.SECURITY.SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTEIDS00-J. Prevent SQL injection
FB.SECURITY.SQL_PREPARED_STATEMENT_GENERATED_IDS00-J. Prevent SQL injection
FB.STYLE.IC_INIT_CIRCULARITYDCL00-J. Prevent class initialization cycles
ONSTANTMET08-J. Preserve the equality contract when overriding the equals() method
PMD.Basic.AvoidThreadGroupTHI01-J. Do not invoke ThreadGroup methods
PMD.Basic.DontUseFloatTypeForLoopIndicesNUM09-J. Do not use floating-point variables as loop counters
PMD.Design.BadComparisonNUM07-J. Do not attempt comparisons with NaN
PMD.Design.SimpleDateFormatNeedsLocaleSTR02-J. Specify an appropriate locale when comparing locale-dependent data
PMD.Design.UseLocaleWithCaseConversionsSTR02-J. Specify an appropriate locale when comparing locale-dependent data
PMD.Design.UseNotifyAllInsteadOfNotifyTHI02-J. Notify all waiting threads rather than a single thread
PMD.J2EE.DoNotCallSystemExitERR09-J. Do not allow untrusted code to terminate the JVM
PMD.Security-Code-Guidelines.ArrayIsStoredDirectlyOBJ06-J. Defensively copy mutable inputs and mutable internal components
PMD.Strict-Exceptions.AvoidCatchingThrowableERR08-J. Do not catch NullPointerException or any of its ancestors
PMD.Strict-Exceptions.DoNotThrowExceptionInFinallyERR04-J. Do not complete abruptly from a finally block
  • No labels