Package edu.umd.cs.findbugs.detect

Interface Summary
StreamFactory An object that examines a Location and determines if a Stream is created there.
 

Class Summary
AnyMethodReturnValueStreamFactory Factory for stream objects of a particular base class type returned by any method.
BadAppletConstructor  
BadlyOverriddenAdapter  
BadResultSetAccess  
BCPDoubleCheck A bug detector that uses a ByteCodePattern to find instances of the double check idiom.
BCPMethodReturnCheck This detector looks for places where the return value of a method is suspiciously ignored.
CloneIdiom  
DontCatchIllegalMonitorStateException  
DroppedException  
DumbMethods  
EmptyZipFileEntry  
EqStringTest  
FindBugsSummaryStats  
FindDeadLocalStores  
FindDoubleCheck  
FindFieldSelfAssignment  
FindFinalizeInvocations  
FindFloatMath  
FindHEmismatch  
FindInconsistentSync2  
FindInconsistentSync2.FieldStats The access statistics for a field.
FindJSR166LockMonitorenter Find places where ordinary (balanced) synchronization is performed on JSR166 Lock objects.
FindLocalSelfAssignment Find places where a local variable is assigned to itself.
FindMaskedFields  
FindMismatchedWaitOrNotify  
FindNakedNotify  
FindNonShortCircuit  
FindNullDeref A Detector to find instructions where a NullPointerException might be raised.
FindNullDeref.RedundantBranch An instruction recorded as a redundant reference comparison.
FindOpenStream 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.
FindOpenStream.PotentialOpenStream  
FindRefComparison  
FindRefComparison.DynamicStringType Type representing a dynamically created String.
FindRefComparison.RefComparisonTypeFrameModelingVisitor  
FindRefComparison.RefComparisonTypeMerger Type merger to use the extended String types.
FindRefComparison.StaticStringType Type representing a static String.
FindReturnRef  
FindRunInvocations  
FindSpinLoop  
FindTwoLockWait  
FindUncalledPrivateMethods Detector to find private methods that are never called.
FindUnconditionalWait  
FindUninitializedGet  
FindUnreleasedLock  
FindUnreleasedLock.LockFrameModelingVisitor  
FindUnreleasedLock.LockResourceTracker  
FindUnsyncGet  
FindUselessControlFlow A Detector to look for useless control flow.
IncompatMask Find comparisons involving values computed with bitwise operations whose outcomes are fixed at compile time.
InefficientToArray Find occurrences of collection.toArray( new Foo[0] ); This causes another memory allocation through reflection Much better to do collection.toArray( new Foo[collection.size()] );
InfiniteRecursiveLoop  
InheritanceUnsafeGetResource  
InitializationChain  
InstanceFieldLoadStreamFactory StreamFactory for stream objects loaded from instance fields.
InstantiateStaticClass  
InvalidJUnitTest  
IOStreamFactory A StreamFactory for normal java.io streams that are created using NEW instructions.
IteratorIdioms  
LazyInit  
Lock  
LockedFields  
MethodReturnValueStreamFactory StreamFactory for streams that are created as the result of calling a method on an object.
MutableLock  
MutableStaticFields  
MutableStaticFields.FieldRecord  
Naming  
Naming.MyMethod  
NoteCheckReturnValue  
NoteSuppressedWarnings  
PreferZeroLengthArrays  
ReadReturnShouldBeChecked  
RuntimeExceptionCapture RuntimeExceptionCapture
RuntimeExceptionCapture.CaughtException  
RuntimeExceptionCapture.ThrownException  
SerializableIdiom  
StartInConstructor  
StaticFieldLoadStreamFactory Stream factory for streams created by loading a value from a static field.
Stream A Stream object marks the location in the code where a stream is created.
StreamEquivalenceClass Set of streams that are in an equivalence class.
StreamEscape A StreamEscape is an object representing the escape of a Stream to a called method.
StreamFrameModelingVisitor A visitor to model the effect of instructions on the status of the resource (in this case, Streams).
StreamResourceTracker Resource tracker which determines where streams are created, and how they are used within the method.
StringConcatenation Find occurrences of using the String "+" or "+=" operators within a loop.
SuperfluousInstanceOf Find occurrences of a instanceof b where it can be determined statically whether this is true or false.
SuspiciousThreadInterrupted looks for calls to Thread.interrupted from a non static context, especially when that context is not 'currentThread()'.
SwitchFallthrough  
TestingGround  
UnreadFields  
UseObjectEquals  
VolatileUsage  
VolatileUsage.FieldRecord  
WaitInLoop  
WrongMapIterator