FindBugs
 
Docs and Info
FindBugs 2.0
Demo and data
Users and supporters
FindBugs blog
Fact sheet
Manual
Manual(ja/日本語)
FAQ
Bug descriptions
Mailing lists
Documents and Publications
Links
 
Downloads
 
FindBugs Swag
 
Development
Open bugs
Reporting bugs
Contributing
Dev team
API [no frames]
Change log
SF project page
Browse source
Latest code changes

FindBugs Optional System Properties

These system properties can be added to the command line to alter the way findbugs works. These options should be considered experimental. The description gives information if the field is set to true.

System PropertyDescription
findbugs.assertionmethods methods supplied by user that have assertions
findbugs.checkreturn.loadtraining
findbugs.checkreturn.savetraining
file name to read/write list of methods whose return values must be checked
findbugs.de.comment Don't report empty catch blocks if a source comment is found in the block.
findbugs.dls.exclusions local variables that will be excluded from Dead Local Store
findbugs.fis.unsyncFactor Default value is 2.0, which means that we report a bug if more than 1/3 of accesses are unsynchronized.
findbugs.fis.writeBias Default value is 2.0. The idea is that this should be above 1.0, because unsynchronized writes are more dangerous than unsynchronized reads.
fundbugs.gui.bugCount ?
findbugs.maskedfields.locals Report on local variables that mask fields.
findbugs.nullderef.assumensp sets value for IsNullValueAnalysisFeatures.UNKNOWN_VALUES_ARE_NSP, but is not used by FindBugs
findbugs.refcomp.reportAll ?
findbugs.report.SummaryHTML emit SummaryHTML element
findbugs.sf.comment Ignore switch fall thru bugs if a comment is found with 'fall' or 'nobreak'
ba.checkAssertions throw excptions on certain illegal class type signatures
ba.verifyIntegrity enable data structure integrity checks
BCPMethodReturnCheck.java Add methods to the list requiring a check. (format: "class:method:sig|...")
dataflow.stackonly ?
fis.eval ?
fis.noAdjustSubclass Adjust field so its class name is the same as the type of reference it is accessed through.
fos.allowWUS Ignore wrapping streams that are wrapping uninteresting streams (like in memory streams).
ic.createInstance ?
inva.ncpExtraBranch ?
inva.noAssertHack ?
inva.noSplitDowngradeNSP ?
inva.noSwitchDefaultAsException Don't consider switch default cases as exception paths.
lineNumberBug Disable the workaround for the bug in BCEL 5.0's LineNumberTable class.
ma.ugly Report method signature with method class and name.
mrc.checkall Check for 1.5-specific method return values being ignored even if runtime Java predates 1.5.
ta.accurateExceptions ?
vna.noRLE Perform redundant load elimination and forward substitution (but not in a correctness-preserving way).

Send comments to findbugs@cs.umd.edu

SourceForge.net Logo