Updated Find Bugs configuration
This commit is contained in:
parent
3a8b92929e
commit
bca4c3abb2
37
.fbfilter.xml
Normal file
37
.fbfilter.xml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<FindBugsFilter>
|
||||||
|
<!-- Tests -->
|
||||||
|
<Match>
|
||||||
|
<Class name="~.*Test(\$[^\$]+)*"/>
|
||||||
|
</Match>
|
||||||
|
<!-- Generated code -->
|
||||||
|
<Match>
|
||||||
|
<Class name="~.*\.LocalTimeProtocol(\$[^\$]+)*"/>
|
||||||
|
</Match>
|
||||||
|
<!-- Noise -->
|
||||||
|
<Match>
|
||||||
|
<Bug code="Co,SF"
|
||||||
|
category="I18N"
|
||||||
|
pattern="REC_CATCH_EXCEPTION,UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR,DB_DUPLICATE_SWITCH_CLAUSES,VO_VOLATILE_REFERENCE_TO_ARRAY" />
|
||||||
|
</Match>
|
||||||
|
<!-- Known false positives -->
|
||||||
|
<Match>
|
||||||
|
<Class name="~.*Channel(Group)?Future"/>
|
||||||
|
<Method name="~await.*"/>
|
||||||
|
<Bug pattern="PS_PUBLIC_SEMAPHORES"/>
|
||||||
|
</Match>
|
||||||
|
<Match>
|
||||||
|
<Class name="~.*SelectorLoop"/>
|
||||||
|
<Method name="run"/>
|
||||||
|
<Bug code="ESync"/>
|
||||||
|
</Match>
|
||||||
|
<!-- Known issues that don't matter -->
|
||||||
|
<Match>
|
||||||
|
<Or>
|
||||||
|
<Class name="~.*\.util\.Concurrent[A-Za-z]*HashMap(\$[^\$]+)*"/>
|
||||||
|
<Class name="~.*\.util\..*TransferQueue(\$[^\$]+)*"/>
|
||||||
|
<Class name="~.*\.util\.MapBackedSet"/>
|
||||||
|
</Or>
|
||||||
|
<Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED,SE_BAD_FIELD"/>
|
||||||
|
</Match>
|
||||||
|
</FindBugsFilter>
|
27
.fbprefs
27
.fbprefs
@ -1,14 +1,14 @@
|
|||||||
#FindBugs User Preferences
|
#FindBugs User Preferences
|
||||||
#Fri Feb 13 19:51:40 KST 2009
|
#Wed Mar 04 19:28:55 KST 2009
|
||||||
detectorAppendingToAnObjectOutputStream=AppendingToAnObjectOutputStream|true
|
detectorAppendingToAnObjectOutputStream=AppendingToAnObjectOutputStream|true
|
||||||
detectorBCPMethodReturnCheck=BCPMethodReturnCheck|false
|
detectorBCPMethodReturnCheck=BCPMethodReturnCheck|true
|
||||||
detectorBadAppletConstructor=BadAppletConstructor|true
|
detectorBadAppletConstructor=BadAppletConstructor|true
|
||||||
detectorBadResultSetAccess=BadResultSetAccess|true
|
detectorBadResultSetAccess=BadResultSetAccess|true
|
||||||
detectorBadSyntaxForRegularExpression=BadSyntaxForRegularExpression|true
|
detectorBadSyntaxForRegularExpression=BadSyntaxForRegularExpression|true
|
||||||
detectorBadUseOfReturnValue=BadUseOfReturnValue|true
|
detectorBadUseOfReturnValue=BadUseOfReturnValue|true
|
||||||
detectorBadlyOverriddenAdapter=BadlyOverriddenAdapter|true
|
detectorBadlyOverriddenAdapter=BadlyOverriddenAdapter|true
|
||||||
detectorBooleanReturnNull=BooleanReturnNull|true
|
detectorBooleanReturnNull=BooleanReturnNull|true
|
||||||
detectorBuildInterproceduralCallGraph=BuildInterproceduralCallGraph|false
|
detectorBuildInterproceduralCallGraph=BuildInterproceduralCallGraph|true
|
||||||
detectorBuildObligationPolicyDatabase=BuildObligationPolicyDatabase|true
|
detectorBuildObligationPolicyDatabase=BuildObligationPolicyDatabase|true
|
||||||
detectorCallToUnsupportedMethod=CallToUnsupportedMethod|true
|
detectorCallToUnsupportedMethod=CallToUnsupportedMethod|true
|
||||||
detectorCalledMethods=CalledMethods|true
|
detectorCalledMethods=CalledMethods|true
|
||||||
@ -29,13 +29,13 @@ detectorDumbMethodInvocations=DumbMethodInvocations|true
|
|||||||
detectorDumbMethods=DumbMethods|true
|
detectorDumbMethods=DumbMethods|true
|
||||||
detectorDuplicateBranches=DuplicateBranches|true
|
detectorDuplicateBranches=DuplicateBranches|true
|
||||||
detectorEmptyZipFileEntry=EmptyZipFileEntry|true
|
detectorEmptyZipFileEntry=EmptyZipFileEntry|true
|
||||||
detectorEqStringTest=EqStringTest|false
|
detectorEqStringTest=EqStringTest|true
|
||||||
detectorEqualsOperandShouldHaveClassCompatibleWithThis=EqualsOperandShouldHaveClassCompatibleWithThis|true
|
detectorEqualsOperandShouldHaveClassCompatibleWithThis=EqualsOperandShouldHaveClassCompatibleWithThis|true
|
||||||
detectorFieldItemSummary=FieldItemSummary|true
|
detectorFieldItemSummary=FieldItemSummary|true
|
||||||
detectorFinalizerNullsFields=FinalizerNullsFields|true
|
detectorFinalizerNullsFields=FinalizerNullsFields|true
|
||||||
detectorFindBadCast=FindBadCast|false
|
detectorFindBadCast=FindBadCast|true
|
||||||
detectorFindBadCast2=FindBadCast2|true
|
detectorFindBadCast2=FindBadCast2|true
|
||||||
detectorFindBadEqualsImplementation=FindBadEqualsImplementation|false
|
detectorFindBadEqualsImplementation=FindBadEqualsImplementation|true
|
||||||
detectorFindBadForLoop=FindBadForLoop|true
|
detectorFindBadForLoop=FindBadForLoop|true
|
||||||
detectorFindBugsSummaryStats=FindBugsSummaryStats|true
|
detectorFindBugsSummaryStats=FindBugsSummaryStats|true
|
||||||
detectorFindCircularDependencies=FindCircularDependencies|false
|
detectorFindCircularDependencies=FindCircularDependencies|false
|
||||||
@ -94,13 +94,15 @@ detectorInvalidJUnitTest=InvalidJUnitTest|true
|
|||||||
detectorIteratorIdioms=IteratorIdioms|true
|
detectorIteratorIdioms=IteratorIdioms|true
|
||||||
detectorLazyInit=LazyInit|true
|
detectorLazyInit=LazyInit|true
|
||||||
detectorLoadOfKnownNullValue=LoadOfKnownNullValue|true
|
detectorLoadOfKnownNullValue=LoadOfKnownNullValue|true
|
||||||
detectorLockedFields=LockedFields|false
|
detectorLockedFields=LockedFields|true
|
||||||
detectorMethodReturnCheck=MethodReturnCheck|true
|
detectorMethodReturnCheck=MethodReturnCheck|true
|
||||||
detectorMethods=Methods|true
|
detectorMethods=Methods|true
|
||||||
detectorMultithreadedInstanceAccess=MultithreadedInstanceAccess|true
|
detectorMultithreadedInstanceAccess=MultithreadedInstanceAccess|true
|
||||||
detectorMutableLock=MutableLock|true
|
detectorMutableLock=MutableLock|true
|
||||||
detectorMutableStaticFields=MutableStaticFields|true
|
detectorMutableStaticFields=MutableStaticFields|true
|
||||||
detectorNaming=Naming|true
|
detectorNaming=Naming|true
|
||||||
|
detectorNoise=Noise|false
|
||||||
|
detectorNoiseNullDeref=NoiseNullDeref|false
|
||||||
detectorNoteAnnotationRetention=NoteAnnotationRetention|true
|
detectorNoteAnnotationRetention=NoteAnnotationRetention|true
|
||||||
detectorNoteCheckReturnValue=NoteCheckReturnValue|true
|
detectorNoteCheckReturnValue=NoteCheckReturnValue|true
|
||||||
detectorNoteCheckReturnValueAnnotations=NoteCheckReturnValueAnnotations|true
|
detectorNoteCheckReturnValueAnnotations=NoteCheckReturnValueAnnotations|true
|
||||||
@ -113,13 +115,13 @@ detectorNoteUnconditionalParamDerefs=NoteUnconditionalParamDerefs|true
|
|||||||
detectorNumberConstructor=NumberConstructor|true
|
detectorNumberConstructor=NumberConstructor|true
|
||||||
detectorOverridingEqualsNotSymmetrical=OverridingEqualsNotSymmetrical|true
|
detectorOverridingEqualsNotSymmetrical=OverridingEqualsNotSymmetrical|true
|
||||||
detectorPreferZeroLengthArrays=PreferZeroLengthArrays|true
|
detectorPreferZeroLengthArrays=PreferZeroLengthArrays|true
|
||||||
detectorPublicSemaphores=PublicSemaphores|false
|
detectorPublicSemaphores=PublicSemaphores|true
|
||||||
detectorQuestionableBooleanAssignment=QuestionableBooleanAssignment|true
|
detectorQuestionableBooleanAssignment=QuestionableBooleanAssignment|true
|
||||||
detectorReadReturnShouldBeChecked=ReadReturnShouldBeChecked|true
|
detectorReadReturnShouldBeChecked=ReadReturnShouldBeChecked|true
|
||||||
detectorRedundantInterfaces=RedundantInterfaces|true
|
detectorRedundantInterfaces=RedundantInterfaces|true
|
||||||
detectorReflectiveClasses=ReflectiveClasses|true
|
detectorReflectiveClasses=ReflectiveClasses|true
|
||||||
detectorRepeatedConditionals=RepeatedConditionals|true
|
detectorRepeatedConditionals=RepeatedConditionals|true
|
||||||
detectorResolveAllReferences=ResolveAllReferences|false
|
detectorResolveAllReferences=ResolveAllReferences|true
|
||||||
detectorRuntimeExceptionCapture=RuntimeExceptionCapture|true
|
detectorRuntimeExceptionCapture=RuntimeExceptionCapture|true
|
||||||
detectorSerializableIdiom=SerializableIdiom|true
|
detectorSerializableIdiom=SerializableIdiom|true
|
||||||
detectorStartInConstructor=StartInConstructor|true
|
detectorStartInConstructor=StartInConstructor|true
|
||||||
@ -149,8 +151,9 @@ detectorVolatileUsage=VolatileUsage|true
|
|||||||
detectorWaitInLoop=WaitInLoop|true
|
detectorWaitInLoop=WaitInLoop|true
|
||||||
detectorWrongMapIterator=WrongMapIterator|true
|
detectorWrongMapIterator=WrongMapIterator|true
|
||||||
detectorXMLFactoryBypass=XMLFactoryBypass|true
|
detectorXMLFactoryBypass=XMLFactoryBypass|true
|
||||||
detector_threshold=2
|
detector_threshold=3
|
||||||
effort=max
|
effort=max
|
||||||
filter_settings=Medium|BAD_PRACTICE,CORRECTNESS,EXPERIMENTAL,I18N,MALICIOUS_CODE,MT_CORRECTNESS,PERFORMANCE,SECURITY,STYLE|false
|
excludefilter0=.fbfilter.xml
|
||||||
filter_settings_neg=|
|
filter_settings=Low|BAD_PRACTICE,CORRECTNESS,EXPERIMENTAL,I18N,MALICIOUS_CODE,MT_CORRECTNESS,PERFORMANCE,SECURITY,STYLE|false
|
||||||
|
filter_settings_neg=NOISE|
|
||||||
run_at_full_build=true
|
run_at_full_build=true
|
||||||
|
Loading…
Reference in New Issue
Block a user