edu.umd.cs.findbugs.detect |
|
Java Source File Name | Type | Comment |
AnyMethodReturnValueStreamFactory.java | Class | Factory for stream objects of a particular
base class type returned by any method. |
AppendingToAnObjectOutputStream.java | Class | |
AtomicityProblem.java | Class | if we get from a ConcurrentHashMap and assign to a variable...
and don't do anything else
and perform a null check on it...
and then do a set on it... |
BadAppletConstructor.java | Class | |
BadlyOverriddenAdapter.java | Class | |
BadResultSetAccess.java | Class | |
BadSyntaxForRegularExpression.java | Class | |
BadUseOfReturnValue.java | Class | |
BCPMethodReturnCheck.java | Class | This detector looks for places where the return value of a method
is suspiciously ignored. |
BooleanReturnNull.java | Class | |
BuildCheckReturnAnnotationDatabase.java | Class | Scan application classes for
CheckReturnValue annotations. |
BuildNonNullAnnotationDatabase.java | Class | Scan application classes for
NonNull annotations. |
BuildNonnullReturnDatabase.java | Class | |
BuildUnconditionalParamDerefDatabase.java | Class | Build database of unconditionally dereferenced parameters. |
CalledMethods.java | Class | Detector to find private methods that are never called. |
CheckCalls.java | Class | This is just for debugging method call resolution. |
CheckImmutableAnnotation.java | Class | |
CheckTypeQualifiers.java | Class | Check JSR-305 type qualifiers. |
CloneIdiom.java | Class | |
ComparatorIdiom.java | Class | |
ConfusedInheritance.java | Class | |
ConfusionBetweenInheritedAndOuterMethod.java | Class | |
CrossSiteScripting.java | Class | |
DeadLocalStoreProperty.java | Class | Warning property for FindDeadLocalStores. |
DoInsideDoPrivileged.java | Class | |
DontCatchIllegalMonitorStateException.java | Class | |
DontUseEnum.java | Class | |
DoomedCodeWarningProperty.java | Class | A WarningProperty for warnings that are reported at a "doomed" Location;
one that cannot return normally. |
DroppedException.java | Class | |
DumbMethodInvocations.java | Class | |
DumbMethods.java | Class | |
DuplicateBranches.java | Class | |
EmptyZipFileEntry.java | Class | |
EqStringTest.java | Class | |
FinalizerNullsFields.java | Class | |
FindBadCast.java | Class | |
FindBadCast2.java | Class | |
FindBadEqualsImplementation.java | Class | Find equals(Object) methods that unconditionally dereference the parameter,
rather than returning false if it's null. |
FindBadForLoop.java | Class | |
FindBugsSummaryStats.java | Class | |
FindCircularDependencies.java | Class | |
FindDeadLocalStores.java | Class | Find dead stores to local variables. |
FindDoubleCheck.java | Class | |
FindEmptySynchronizedBlock.java | Class | |
FindFieldSelfAssignment.java | Class | |
FindFinalizeInvocations.java | Class | |
FindFloatEquality.java | Class | |
FindFloatMath.java | Class | |
FindHEmismatch.java | Class | |
FindInconsistentSync2.java | Class | Find instance fields which are sometimes accessed (read or written)
with the receiver lock held and sometimes without. |
FindJSR166LockMonitorenter.java | Class | Find places where ordinary (balanced) synchronization is performed
on JSR166 Lock objects. |
FindLocalSelfAssignment2.java | Class | |
FindMaskedFields.java | Class | |
FindMismatchedWaitOrNotify.java | Class | |
FindNakedNotify.java | Class | |
FindNonSerializableStoreIntoSession.java | Class | |
FindNonSerializableValuePassedToWriteObject.java | Class | |
FindNonShortCircuit.java | Class | |
FindNullDeref.java | Class | A Detector to find instructions where a NullPointerException might be raised. |
FindOpenStream.java | Class | A Detector to look for streams that are opened in a method,
do not escape the method, and are not closed on all paths
out of the method. |
FindPuzzlers.java | Class | |
FindRefComparison.java | Class | Find suspicious reference comparisons. |
FindReturnRef.java | Class | |
FindRunInvocations.java | Class | |
FindSelfComparison.java | Class | |
FindSelfComparison2.java | Class | |
FindSleepWithLockHeld.java | Class | Find calls to Thread.sleep() made with a lock held. |
FindSpinLoop.java | Class | |
FindSqlInjection.java | Class | Find potential SQL injection vulnerabilities. |
FindSqlInjectionTest.java | Class | |
FindTwoLockWait.java | Class | |
FindUncalledPrivateMethods.java | Class | Detector to find private methods that are never called. |
FindUnconditionalWait.java | Class | |
FindUninitializedGet.java | Class | |
FindUnrelatedTypesInGenericContainer.java | Class | |
FindUnreleasedLock.java | Class | |
FindUnsatisfiedObligation.java | Class | Find unsatisfied obligations in Java methods. |
FindUnsyncGet.java | Class | |
FindUselessControlFlow.java | Class | A Detector to look for useless control flow. |
HugeSharedStringConstants.java | Class | |
IDivResultCastToDouble.java | Class | |
IncompatMask.java | Class | Find comparisons involving values computed with bitwise
operations whose outcomes are fixed at compile time. |
InconsistentSyncWarningProperty.java | Class | Warning properties for inconsistent synchronization detector. |
InefficientMemberAccess.java | Class | |
InefficientToArray.java | Class | |
InfiniteLoop.java | Class | |
InfiniteRecursiveLoop.java | Class | |
InfiniteRecursiveLoop2.java | Class | Signal an infinite loop if either:
we see a call to the same method with the same parameters, or
we see a call to the same (dynamically dispatched method), and there
has been no transfer of control. |
InheritanceUnsafeGetResource.java | Class | |
InitializationChain.java | Class | |
InstanceFieldLoadStreamFactory.java | Class | StreamFactory for stream objects loaded from instance fields. |
InstantiateStaticClass.java | Class | |
InvalidJUnitTest.java | Class | |
IOStreamFactory.java | Class | A StreamFactory for normal java.io streams that
are created using NEW instructions. |
IteratorIdioms.java | Class | |
LazyInit.java | Class | |
LoadOfKnownNullValue.java | Class | |
LockedFields.java | Class | |
MethodReturnCheck.java | Class | Look for calls to methods where the return value is erroneously ignored. |
MethodReturnValueStreamFactory.java | Class | StreamFactory for streams that are created as the result
of calling a method on an object. |
Methods.java | Class | |
MultithreadedInstanceAccess.java | Class | |
MutableLock.java | Class | |
MutableStaticFields.java | Class | |
Naming.java | Class | |
NonNullReturnProperty.java | Class | |
NoteAnnotationRetention.java | Class | |
NoteCheckReturnValue.java | Class | |
NoteCheckReturnValueAnnotations.java | Class | |
NoteDirectlyRelevantTypeQualifiers.java | Class | Scan classes for @NonNull, @PossiblyNull and @CheckForNull annotations,
and convey them to FindNullDeref. |
NoteJCIPAnnotation.java | Class | |
NoteNonNullAnnotations.java | Class | Scan classes for @NonNull, @PossiblyNull and @CheckForNull annotations,
and convey them to FindNullDeref. |
NoteNonnullReturnValues.java | Class | As a first scanning pass, make a note of unconditionally dereferenced
parameters for later use by FindNullDerefs. |
NoteSuppressedWarnings.java | Class | |
NoteUnconditionalParamDerefs.java | Class | Make a note of unconditionally dereferenced
parameters for later use by FindNullDerefs. |
NullArgumentWarningProperty.java | Class | Warning property for a null argument being passed to a
method which might dereference it. |
NullDerefProperty.java | Class | Warning properties for null pointer dereference and redundant null
comparison warnings. |
NumberConstructor.java | Class | Detector to find calls to Number constructors with base type argument in
Java 5 or newer bytecode.
Using new Integer(int) is guaranteed to always result in a
new object whereas Integer.valueOf(int) allows caching of
values to be done by the javac, JVM class library or JIT.
Currently only the JVM class library seems to do caching in the range of
-128 to 127. |
OverridingEqualsNotSymmetrical.java | Class | |
PreferZeroLengthArrays.java | Class | |
PublicSemaphores.java | Class | finds public classes that use 'this' as a semaphore, which can cause conflicts if clients of this
class use an instance of this class as their own synchronization point. |
QuestionableBooleanAssignment.java | Class | |
ReadReturnShouldBeChecked.java | Class | |
RedundantInterfaces.java | Class | |
RefComparisonWarningProperty.java | Class | Warning properties for FindRefComparison detector. |
ReflectiveClasses.java | Class | Detector to find private methods that are never called. |
ResolveAllReferences.java | Class | |
RuntimeExceptionCapture.java | Class | |
SerializableIdiom.java | Class | |
StartInConstructor.java | Class | |
StaticCalendarDetector.java | Class | Detector for static fields of type
java.util.Calendar or
java.text.DateFormat and their subclasses. |
StaticFieldLoadStreamFactory.java | Class | Stream factory for streams created by loading a value
from a static field. |
Stream.java | Class | A Stream object marks the location in the code where a
stream is created. |
StreamEquivalenceClass.java | Class | Set of streams that are in an equivalence class. |
StreamEscape.java | Class | A StreamEscape is an object representing the escape of a Stream
to a called method. |
StreamFactory.java | Interface | An object that examines a Location and determines
if a Stream is created there. |
StreamFrameModelingVisitor.java | Class | A visitor to model the effect of instructions on the status
of the resource (in this case, Streams). |
StreamResourceTracker.java | Class | Resource tracker which determines where streams are created,
and how they are used within the method. |
StringConcatenation.java | Class | Find occurrences of using the String "+" or "+=" operators
within a loop. |
SuperfluousInstanceOf.java | Class | Find occurrences of a instanceof b where it can be determined
statically whether this is true or false. |
SuspiciousThreadInterrupted.java | Class | looks for calls to Thread.interrupted from a non static context, especially when that context is
not 'currentThread()'. |
SwitchFallthrough.java | Class | |
SynchronizationOnSharedBuiltinConstant.java | Class | |
SynchronizeAndNullCheckField.java | Class | |
TestASM.java | Class | |
TestDataflowAnalysis.java | Class | This detector is just a test harness to test a dataflow
analysis class specified by the dataflow.classname property. |
TestingGround.java | Class | |
TrainFieldStoreTypes.java | Class | Build a database of reference types stored into fields. |
TrainNonNullAnnotations.java | Class | Training detector to
store NonNull, PossiblyNull and CheckForNull annotations to database files. |
TrainUnconditionalDerefParams.java | Class | Training pass to find method parameters which are
unconditionally dereferenced. |
UncallableMethodOfAnonymousClass.java | Class | |
UnnecessaryMath.java | Class | Find occurrences of Math using constants, where the result of the
calculation can be determined statically. |
UnreadFields.java | Class | |
URLProblems.java | Class | equals and hashCode are blocking methods on URL's. |
UselessSubclassMethod.java | Class | |
UseObjectEquals.java | Class | |
VarArgsProblems.java | Class | |
VolatileUsage.java | Class | |
WaitInLoop.java | Class | |
WrongMapIterator.java | Class | |
XMLFactoryBypass.java | Class | |