FindBugs 2
FindBugs is a defect detection tool for Java that uses static analysis to look for more than 200 bug patterns, such as null pointer dereferences, infinite recursive loops, bad uses of the Java libraries and deadlocks. FindBugs can identify hundreds of serious defects in large applications (typically about 1 defect per 1000-2000 lines of non-commenting source statements). FindBugs is open source, and has been downloaded more than 230,000 times, and is used by many major companies and financial institutions. Findbugs can be used from the command line or within ant, eclipse, maven, netbeans and emacs.
Change Log, Version 2.0.1-rc4 :
New bug patterns; in some cases, bugs previous reported as other bug patterns are reported as instances of these new bug patterns in order to make it easier for developers to understand the bug reports
PT_ABSOLUTE_PATH_TRAVERSAL
PT_RELATIVE_PATH_TRAVERSAL
NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR
MS_SHOULD_BE_REFACTORED_TO_BE_FINAL
BC_UNCONFIRMED_CAST_OF_RETURN_VALUE
PT_ABSOLUTE_PATH_TRAVERSAL
TQ_COMPARING_VALUES_WITH_INCOMPATIBLE_TYPE_QUALIFIERS
Changes to fix false negatives for the following bug patterns: BC_UNCONFIRMED_CAST, EC_BAD_ARRAY_COMPARE, EQ_UNUSUAL, GC_UNRELATED_TYPES, and NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE.
Changes to fix false positions for the following bug patterns: DMI_DOH, EC_UNRELATED_TYPES, and SE_BAD_FIELD.
Download : findbugs-2.0.1-rc4.zip (8.3 MB)
For more information :-
http://findbugs.sourceforge.net/index.html
http://sourceforge.net/projects/findbugs/
New bug patterns; in some cases, bugs previous reported as other bug patterns are reported as instances of these new bug patterns in order to make it easier for developers to understand the bug reports
PT_ABSOLUTE_PATH_TRAVERSAL
PT_RELATIVE_PATH_TRAVERSAL
NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR
MS_SHOULD_BE_REFACTORED_TO_BE_FINAL
BC_UNCONFIRMED_CAST_OF_RETURN_VALUE
PT_ABSOLUTE_PATH_TRAVERSAL
TQ_COMPARING_VALUES_WITH_INCOMPATIBLE_TYPE_QUALIFIERS
Changes to fix false negatives for the following bug patterns: BC_UNCONFIRMED_CAST, EC_BAD_ARRAY_COMPARE, EQ_UNUSUAL, GC_UNRELATED_TYPES, and NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE.
Changes to fix false positions for the following bug patterns: DMI_DOH, EC_UNRELATED_TYPES, and SE_BAD_FIELD.
For more information :-
http://findbugs.sourceforge.net/index.html
http://sourceforge.net/projects/findbugs/