edu.umd.cs.findbugs

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Code Analyzer » findbugs » edu.umd.cs.findbugs 
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.

Java Source File NameTypeComment
AbstractBugReporter.javaClass An abstract class which provides much of the functionality required of all BugReporter objects.
AddAnnotation.javaClass Add an annotation string to every BugInstance in a BugCollection.
AddMessages.javaClass Add human-readable messages to a dom4j tree containing FindBugs XML output.
AnalysisCacheToRepositoryAdapter.javaClass An implementation of org.apache.bcel.util.Repository that uses the AnalysisCache as its backing store.
AnalysisError.javaClass Object recording a recoverable error that occurred during analysis.
AnalysisLocal.javaClass
Analyze.javaClass
AppVersion.javaClass A version of an analyzed application.
BugAccumulator.javaClass Accumulate warnings that may occur at multiple source locations, consolidating them into a single warning.
BugAnnotation.javaInterface An object providing context information about a particular BugInstance.
BugAnnotationUtil.javaClass Utility methods for BugAnnotation classes.
BugAnnotationVisitor.javaInterface
BugCategory.javaClass A BugCategory object collects all of the metadata for a category of bugs.
BugCode.javaClass A BugCode is an abbreviation that is shared among some number of BugPatterns.
BugCollection.javaInterface
BugCollectionBugReporter.javaClass
BugDesignation.javaClass
BugInstance.javaClass An instance of a bug pattern. A BugInstance consists of several parts:

  • the type, which is a string indicating what kind of bug it is; used as a key for the FindBugsMessages resource bundle
  • the priority; how likely this instance is to actually be a bug
  • a list of annotations

The annotations describe classes, methods, fields, source locations, and other relevant context information about the bug instance. Every BugInstance must have at least one ClassAnnotation, which describes the class in which the instance was found.

BugInstanceTest.javaClass
BugPattern.javaClass A BugPattern object collects all of the metadata for a particular species of BugInstance.
BugProperty.javaClass Name/value metadata pair that may be attached to a BugInstance.
BugReporter.javaInterface Generic interface for bug reporter objects.
BugReporterObserver.javaInterface Observer to determine when a BugReporter reports a bug.
ByteCodePatternDetector.javaClass A base class for bug detectors that are based on a ByteCodePattern.
BytecodeScanningDetector.javaClass Base class for Detectors which want to extend DismantleBytecode.
CallGraph.javaClass
CallGraphEdge.javaClass
CallGraphNode.javaClass
CallSite.javaClass The site of a method call.
CategoryFilteringBugReporter.javaClass Filter reported warnings by category.
ClassAnnotation.javaClass A BugAnnotation object specifying a Java class involved in the bug.
ClassScreener.javaClass Class to pre-screen class files, so that only a subset are analyzed.
ClassScreenerTest.javaClass
ClassWarningSuppressor.javaClass
DeepSubtypeAnalysis.javaClass
DelegatingBugReporter.javaClass A BugReporter which delegates all method calls to another BugReporter.
Detector.javaInterface The interface which all bug pattern detectors must implement.
Detector2.javaInterface Detector interface for new bytecode-framework-neutral architecture.
DetectorFactory.javaClass A DetectorFactory is responsible for creating instances of Detector objects and for maintaining meta-information about the detector class.
DetectorFactoryChooser.javaInterface Predicate for choosing DetectorFactory objects.
DetectorFactoryCollection.javaClass The DetectorFactoryCollection stores all of the DetectorFactory objects used to create the Detectors which implement the various analyses.
DetectorToDetector2Adapter.javaClass An adapter allowing classes implementing the Detector interface to support the new Detector2 interface.
EmacsBugReporter.javaClass BugReporter to output warnings in Emacs format.
ErrorCountingBugReporter.javaClass A delegating bug reporter which counts reported bug instances, missing classes, and serious analysis errors.
ExcludingHashesBugReporter.javaClass
ExitCodes.javaInterface Flags returned in the process exit code returned when the FindBugs text UI is invoked with the -exitcode command line argument.
FatalException.javaClass A fatal exception which should completely halt the FindBugs analysis.
FieldAnnotation.javaClass A BugAnnotation specifying a particular field in particular class.
FieldWarningSuppressor.javaClass
FilterBugReporter.javaClass
FindBugs.javaClass An instance of this class is used to apply the selected set of analyses on some collection of Java classes.
FindBugs2.javaClass FindBugs driver class.
FindBugsAnalysisFeatures.javaClass Boolean-valued analysis properties for FindBugs.
FindBugsCommandLine.javaClass Base class for FindBugs command line classes.
FindBugsDisplayFeatures.javaClass
FindBugsMessageFormat.javaClass Format the message for a BugInstance. This class works in much the same way as java.text.MessageFormat; however, each placeholder may have an optional "key" which specifies how the object at that position should be formatted.

Example:

 new FindBugsMessageFormat("BUG: {1} does something bad to field {2.fullField}")
 
In this example, the method annotation at position 1 is formatted using the empty (default) key.
FindBugsProgress.javaInterface A callback that may be installed in a FindBugs instance to asynchronously keep track of its progress.
FindBugsTestCase.javaClass Abstract base class for TestCase classes that need to run in the context of a FindBugs2 object doing a full execution.
Footprint.javaClass Class to maintain a snapshot of a processes's time and memory usage.
FuzzyBugComparator.javaClass A slightly more intellegent way of comparing BugInstances from two versions to see if they are the "same".
HTMLBugReporter.javaClass
I18N.javaClass Singleton responsible for returning localized strings for information returned to the user.
IClassScreener.javaInterface Screen class files to decide which subset of them to analyze.
IFindBugsEngine.javaInterface Interface for a FindBugs engine class.
InstructionScanner.javaInterface A scanner for implementing a state machine over a sequence of instructions and control edges.
InstructionScannerDriver.javaClass Drive an InstructionScannerGenerator over the instructions of a simple path.
InstructionScannerGenerator.javaInterface Class for generating InstructionScanners at particular instructions of a path.
IntAnnotation.javaClass Bug annotation class for integer values.
InterproceduralFirstPassDetector.javaInterface Detector implementing a slow first pass to collect interprocedural properties for a later detector pass. We assign these a special interface because they are probably too slow to be enabled by default.
JavaVersion.javaClass Support for finding out what version of Java we're running on.
JavaVersionException.javaClass Exception indicating that a Java version string couldn't be parsed.
JUnitDetectorAdapter.javaClass A special Detector2 class designed to run some JUnit test code.
L10N.javaClass
LaunchAppropriateUI.javaClass
LocalVariableAnnotation.javaClass
Lookup.javaClass
MethodAnnotation.javaClass A BugAnnotation specifying a particular method in a particular class.
MethodWarningSuppressor.javaClass
NewResults.javaClass
NoClassesFoundToAnalyzeException.javaClass Signals that FindBugs found no classes on the classpath it was invoked to analyze.
NonReportingDetector.javaInterface A Detector which does not report warnings.
NoOpFindBugsProgress.javaClass
OpcodeStack.javaClass tracks the types and numbers of objects that are currently on the operand stack throughout the execution of method.
OpcodeStackItemTest.javaClass
PackageMemberAnnotation.javaClass Abstract base class for BugAnnotations describing constructs which are contained in a Java package.
PackageStats.javaClass Class to store package bug statistics.
PackageWarningSuppressor.javaClass
Plugin.javaClass A FindBugs plugin.
PluginException.javaClass An exception to indicate that a plugin could not be loaded.
PluginLoader.javaClass Loader for a FindBugs plugin. A plugin is a jar file containing two metadata files, "findbugs.xml" and "messages.xml".
PrintingBugReporter.javaClass A simple BugReporter which simply prints the formatted message to the output stream.
Priorities.javaInterface
Project.javaClass A project in the GUI.
ProjectStats.javaClass Statistics resulting from analyzing a project.
QueryBugAnnotations.javaClass Search for bug instances whose text annotations contain one of a set of keywords.
RecursiveFileSearch.javaClass Recursively search a directory, its subdirectories, etc.
ResourceCollection.javaClass A ResourceCollection defines all of the resources created and used in a particular method.
ResourceCreationPoint.javaClass A resource creation point.
ResourceTrackingDetector.javaClass Abstract implementation of a Detector to find methods where a particular kind of created resource is not cleaned up or closed properly.
RunnableWithExceptions.javaInterface
SAXBugCollectionHandler.javaClass Build a BugCollection based on SAX events.
SelfCalls.javaClass Build a call graph of the self calls in a class.
ShowHelp.javaClass Show command line help.
SloppyBugComparator.javaClass Very sloppy bug comparator: if the warnings are of the same type, and in the same class/method/field, assume they are the same.
SortedBugCollection.javaClass An implementation of BugCollection that keeps the BugInstances sorted by class (using the native comparison ordering of BugInstance's compareTo() method as a tie-breaker).
SortingBugReporter.javaClass A BugReporter which stores all of the reported bug instances, and sorts them by class name before printing them.
SourceLineAnnotation.javaClass A BugAnnotation that records a range of source lines in a class.
StatelessDetector.javaInterface is a marker interface for detectors that don't save state from one class file to the next. If a detector implements this interface, a clone will be generated for each element it is applied to. The idea of using this interface is questionable.
StringAnnotation.javaClass Bug annotation class for integer values.
SuppressionMatcher.javaClass
SwitchHandler.javaClass
SystemProperties.javaClass
TextUIBugReporter.javaClass Base class for BugReporters which provides convenient formatting and reporting of warnings and analysis errors.
TextUICommandLine.javaClass Helper class to parse the command line and configure the IFindBugsEngine object.
TigerSubstitutes.javaClass This class provides substitutes for 1.5 methods that we don't want to depend upon in FindBugs.
TigerSubstitutesTest.javaClass
Token.javaClass Simple token class.
Tokenizer.javaClass A simple tokenizer for Java source text.
TrainingDetector.javaInterface Interface to mark Detector classes which are used only as a training pass.
TypeAnnotation.javaClass Bug annotation class for java types.
UseAnnotationDatabase.javaInterface A marker interface for detectors which use an AnnotationDatabase.
Version.javaClass Version number and release date information.
VersionInsensitiveBugComparator.javaClass Compare bug instances by only those criteria which we would expect to remain constant between versions.
WarningComparator.javaInterface
WarningSuppressor.javaClass
XDocsBugReporter.javaClass BugReporter to output warnings in xdocs format for Maven.
XMLBugReporter.javaClass Report warnings as an XML document.
XMLWriteableWithMessages.javaInterface Write an object to XMLOutput while optionally adding descriptive messages.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.