2024-04-28 16:31:11 +08:00
|
|
|
<FindBugsFilter>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="DM_DEFAULT_ENCODING" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="EI_EXPOSE_REP2" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="DMI_RANDOM_USED_ONLY_ONCE" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="SF_SWITCH_NO_DEFAULT" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="DM_NEXTINT_VIA_NEXTDOUBLE" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="SIC_INNER_SHOULD_BE_STATIC" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="EI_EXPOSE_REP" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="EI_EXPOSE_REP" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="SBSC_USE_STRINGBUFFER_CONCATENATION" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="PA_PUBLIC_PRIMITIVE_ATTRIBUTE" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="MS_PKGPROTECT" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="INT_BAD_REM_BY_1" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="ICAST_IDIV_CAST_TO_DOUBLE" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="CT_CONSTRUCTOR_THROW" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="URF_UNREAD_FIELD" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="RC_REF_COMPARISON" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="MS_EXPOSE_REP" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="DM_BOXED_PRIMITIVE_FOR_PARSING" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="UWF_UNWRITTEN_FIELD" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="DLS_DEAD_LOCAL_STORE" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="UWF_NULL_FIELD" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="NP_UNWRITTEN_FIELD" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="NP_IMMEDIATE_DEREFERENCE_OF_READLINE" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="SA_FIELD_SELF_ASSIGNMENT" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="RV_ABSOLUTE_VALUE_OF_HASHCODE" />
|
|
|
|
</Match>
|
2024-05-04 23:57:59 +08:00
|
|
|
<!-- fb-contrib -->
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="OCP_OVERLY_CONCRETE_PARAMETER" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="LSC_LITERAL_STRING_COMPARISON" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="CE_CLASS_ENVY" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="PSC_PRESIZE_COLLECTIONS" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="SACM_STATIC_ARRAY_CREATED_IN_METHOD" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="LUI_USE_SINGLETON_LIST" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="CLI_CONSTANT_LIST_INDEX" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="CNC_COLLECTION_NAMING_CONFUSION" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="TR_TAIL_RECURSION" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="USBR_UNNECESSARY_STORE_BEFORE_RETURN" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="BL_BURYING_LOGIC" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="OI_OPTIONAL_ISSUES_USES_IMMEDIATE_EXECUTION" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="PCOA_PARTIALLY_CONSTRUCTED_OBJECT_ACCESS" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="UTWR_USE_TRY_WITH_RESOURCES" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="MUI_CONTAINSKEY_BEFORE_GET" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="IMC_IMMATURE_CLASS_PRINTSTACKTRACE" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="UCPM_USE_CHARACTER_PARAMETERIZED_METHOD" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="SUA_SUSPICIOUS_UNINITIALIZED_ARRAY" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="SPP_USE_MATH_CONSTANT" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="UJM_UNJITABLE_METHOD" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="SEC_SIDE_EFFECT_CONSTRUCTOR" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="MDM_STRING_BYTES_ENCODING" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="PMB_POSSIBLE_MEMORY_BLOAT" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="LSYC_LOCAL_SYNCHRONIZED_COLLECTION" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="IOI_USE_OF_FILE_STREAM_CONSTRUCTORS" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="UP_UNUSED_PARAMETER" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="DSOC_DUBIOUS_SET_OF_COLLECTIONS" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="NAB_NEEDLESS_BOX_TO_UNBOX" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="FPL_FLOATING_POINT_LOOPS" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="ITU_INAPPROPRIATE_TOSTRING_USE" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="SPP_PASSING_THIS_AS_PARM" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="FCBL_FIELD_COULD_BE_LOCAL" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="CFS_CONFUSING_FUNCTION_SEMANTICS" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="PRMC_POSSIBLY_REDUNDANT_METHOD_CALLS" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="PL_PARALLEL_LISTS" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="PCAIL_POSSIBLE_CONSTANT_ALLOCATION_IN_LOOP" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="STT_STRING_PARSING_A_FIELD" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="DRE_DECLARED_RUNTIME_EXCEPTION" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="SLS_SUSPICIOUS_LOOP_SEARCH" />
|
|
|
|
</Match>
|
2024-05-08 02:29:11 +08:00
|
|
|
<!-- find-sec-bugs -->
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="PREDICTABLE_RANDOM" />
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Bug pattern="HARD_CODE_KEY" />
|
|
|
|
</Match>
|
2024-04-28 16:31:11 +08:00
|
|
|
</FindBugsFilter>
|