|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Detector | |
---|---|
edu.umd.cs.findbugs | Main package for the FindBugs application - contains the engine class (FindBugs), the object model classes for bug instances (BugInstance, BugAnnotation), and other miscellany. |
edu.umd.cs.findbugs.detect | |
edu.umd.cs.findbugs.plan |
Uses of Detector in edu.umd.cs.findbugs |
---|
Subinterfaces of Detector in edu.umd.cs.findbugs | |
---|---|
interface |
InterproceduralFirstPassDetector
Detector implementing a slow first pass to collect interprocedural properties for a later detector pass. |
interface |
NonReportingDetector
A Detector which does not report warnings. |
interface |
TrainingDetector
Interface to mark Detector classes which are used only as a training pass. |
Classes in edu.umd.cs.findbugs that implement Detector | |
---|---|
class |
ByteCodePatternDetector
A base class for bug detectors that are based on a ByteCodePattern. |
class |
BytecodeScanningDetector
Base class for Detectors which want to extend DismantleBytecode. |
class |
ResourceTrackingDetector<Resource,ResourceTrackerType extends ResourceTracker<Resource>>
Abstract implementation of a Detector to find methods where a particular kind of created resource is not cleaned up or closed properly. |
Methods in edu.umd.cs.findbugs that return Detector | |
---|---|
Detector |
DetectorFactory.create(BugReporter bugReporter)
Create a Detector instance. |
Constructors in edu.umd.cs.findbugs with parameters of type Detector | |
---|---|
BugInstance(Detector detector,
java.lang.String type,
int priority)
Create a new BugInstance. |
Constructor parameters in edu.umd.cs.findbugs with type arguments of type Detector | |
---|---|
DetectorFactory(Plugin plugin,
java.lang.Class<? extends Detector> detectorClass,
boolean enabled,
java.lang.String speed,
java.lang.String reports,
java.lang.String requireJRE)
Constructor. |
Uses of Detector in edu.umd.cs.findbugs.detect |
---|
Classes in edu.umd.cs.findbugs.detect that implement Detector | |
---|---|
class |
BadAppletConstructor
|
class |
BadlyOverriddenAdapter
|
class |
BadResultSetAccess
|
class |
BadSyntaxForRegularExpression
|
class |
BadUseOfReturnValue
|
class |
BCPMethodReturnCheck
This detector looks for places where the return value of a method is suspiciously ignored. |
class |
CheckCalls
This is just for debugging method call resolution. |
class |
CloneIdiom
|
class |
ComparatorIdiom
|
class |
ConfusedInheritance
|
class |
ConfusionBetweenInheritedAndOuterMethod
|
class |
DoInsideDoPriviledged
|
class |
DontCatchIllegalMonitorStateException
|
class |
DroppedException
|
class |
DumbMethodInvocations
|
class |
DumbMethods
|
class |
DuplicateBranches
|
class |
EmptyZipFileEntry
|
class |
EqStringTest
|
class |
FindBadCast
|
class |
FindBadCast2
|
class |
FindBadEqualsImplementation
Find equals(Object) methods that unconditionally dereference the parameter, rather than returning false if it's null. |
class |
FindBadForLoop
|
class |
FindBugsSummaryStats
|
class |
FindCircularDependencies
|
class |
FindDeadLocalStores
Find dead stores to local variables. |
class |
FindDoubleCheck
|
class |
FindEmptySynchronizedBlock
|
class |
FindFieldSelfAssignment
|
class |
FindFinalizeInvocations
|
class |
FindFloatEquality
|
class |
FindFloatMath
|
class |
FindHEmismatch
|
class |
FindInconsistentSync2
Find instance fields which are sometimes accessed (read or written) with the receiver lock held and sometimes without. |
class |
FindJSR166LockMonitorenter
Find places where ordinary (balanced) synchronization is performed on JSR166 Lock objects. |
class |
FindLocalSelfAssignment2
|
class |
FindMaskedFields
|
class |
FindMismatchedWaitOrNotify
|
class |
FindNakedNotify
|
class |
FindNonSerializableStoreIntoSession
|
class |
FindNonSerializableValuePassedToWriteObject
|
class |
FindNonShortCircuit
|
class |
FindNullDeref
A Detector to find instructions where a NullPointerException might be raised. |
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 |
FindPuzzlers
|
class |
FindRefComparison
Find suspicious reference comparisons. |
class |
FindReturnRef
|
class |
FindRunInvocations
|
class |
FindSleepWithLockHeld
Find calls to Thread.sleep() made with a lock held. |
class |
FindSpinLoop
|
class |
FindSqlInjection
Find potential SQL injection vulnerabilities. |
class |
FindTwoLockWait
|
class |
FindUncalledPrivateMethods
Detector to find private methods that are never called. |
class |
FindUnconditionalWait
|
class |
FindUninitializedGet
|
class |
FindUnreleasedLock
|
class |
FindUnsatisfiedObligation
Find unsatisfied obligations in Java methods. |
class |
FindUnsyncGet
|
class |
FindUselessControlFlow
A Detector to look for useless control flow. |
class |
IDivResultCastToDouble
|
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 |
InfiniteLoop
|
class |
InfiniteRecursiveLoop
|
class |
InfiniteRecursiveLoop2
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. |
class |
InheritanceUnsafeGetResource
|
class |
InitializationChain
|
class |
InstantiateStaticClass
|
class |
InvalidJUnitTest
|
class |
IteratorIdioms
|
class |
LazyInit
|
class |
LoadOfKnownNullValue
|
class |
LockedFields
|
class |
MethodReturnCheck
Look for calls to methods where the return value is erroneously ignored. |
class |
Methods
|
class |
MultithreadedInstanceAccess
|
class |
MutableLock
|
class |
MutableStaticFields
|
class |
Naming
|
class |
NoteCheckReturnValue
|
class |
NoteCheckReturnValueAnnotations
Scan classes for @CheckReturnValue annotations |
class |
NoteNonNullAnnotations
Scan classes for @NonNull, @PossiblyNull and @CheckForNull annotations, and convey them to FindNullDeref. |
class |
NoteSuppressedWarnings
|
class |
NoteUnconditionalParamDerefs
As a first scanning pass, make a note of unconditionally dereferenced parameters for later use by FindNullDerefs. |
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 |
ResolveAllReferences
|
class |
RuntimeExceptionCapture
RuntimeExceptionCapture |
class |
SerializableIdiom
|
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 |
TestingGround
|
class |
TrainFieldStoreTypes
Build a database of reference types stored into fields. |
class |
TrainNonNullAnnotations
Training detector to store NonNull, PossiblyNull and CheckForNull annotations to database files. |
class |
TrainUnconditionalDerefParams
Training pass to find method parameters which are unconditionally dereferenced. |
class |
UnnecessaryMath
Find occurrences of Math using constants, where the result of the calculation can be determined statically. |
class |
UnreadFields
|
class |
UselessSubclassMethod
|
class |
UseObjectEquals
|
class |
VarArgsProblems
|
class |
VolatileUsage
|
class |
WaitInLoop
|
class |
WrongMapIterator
|
class |
XMLFactoryBypass
|
Uses of Detector in edu.umd.cs.findbugs.plan |
---|
Methods in edu.umd.cs.findbugs.plan that return Detector | |
---|---|
Detector[] |
AnalysisPass.getDetectorList()
Get list of all Detectors. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |