Package | Description |
---|---|
edu.umd.cs.findbugs.detect |
Modifier and Type | Class and Description |
---|---|
class |
CloneIdiom |
class |
EmptyZipFileEntry |
class |
EqStringTest |
class |
FindBadCast
Deprecated.
|
class |
FindBadForLoop |
class |
FindFieldSelfAssignment |
class |
FindFinalizeInvocations |
class |
FindFloatEquality |
class |
FindFloatMath |
class |
FindHEmismatch |
class |
FindJSR166LockMonitorenter
Find places where ordinary (balanced) synchronization is performed
on JSR166 Lock objects.
|
class |
FindLocalSelfAssignment2 |
class |
FindMismatchedWaitOrNotify |
class |
FindNakedNotify |
class |
FindNonShortCircuit |
class |
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.
|
class |
FindRunInvocations |
class |
FindSpinLoop |
class |
FindTwoLockWait |
class |
FindUncalledPrivateMethods
Detector to find private methods that are never called.
|
class |
FindUnconditionalWait |
class |
FindUninitializedGet |
class |
FindUselessControlFlow
A Detector to look for useless control flow.
|
class |
IncompatMask
Find comparisons involving values computed with bitwise
operations whose outcomes are fixed at compile time.
|
class |
InefficientMemberAccess |
class |
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()] );
|
class |
InfiniteRecursiveLoop |
class |
InheritanceUnsafeGetResource |
class |
IteratorIdioms |
class |
LazyInit |
class |
MutableLock |
class |
PreferZeroLengthArrays |
class |
PublicSemaphores
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.
|
class |
QuestionableBooleanAssignment |
class |
ReadReturnShouldBeChecked |
class |
RedundantInterfaces |
class |
RuntimeExceptionCapture
RuntimeExceptionCapture
|
class |
StartInConstructor |
class |
StringConcatenation
Find occurrences of using the String "+" or "+=" operators
within a loop.
|
class |
SuperfluousInstanceOf
Find occurrences of a instanceof b where it can be determined
statically whether this is true or false.
|
class |
SuspiciousThreadInterrupted
looks for calls to Thread.interrupted from a non static context, especially when that context is
not 'currentThread()'.
|
class |
SwitchFallthrough |
class |
UnnecessaryMath
Find occurrences of Math using constants, where the result of the
calculation can be determined statically.
|
class |
UselessSubclassMethod |
class |
UseObjectEquals |
class |
VarArgsProblems |
class |
WaitInLoop |
class |
WrongMapIterator |
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.