| 1 | <html> |
| 2 | <head> |
| 3 | <title>FindBugs Optional System Properties</title> |
| 4 | <link rel="stylesheet" type="text/css" href="findbugs.css"> |
| 5 | </head> |
| 6 | <body> |
| 7 | |
| 8 | <table width="100%"><tr> |
| 9 | |
| 10 | @HTML_SIDEBAR@ |
| 11 | |
| 12 | <td align="left" valign="top"> |
| 13 | |
| 14 | <h1>FindBugs Optional System Properties</h1> |
| 15 | |
| 16 | <p> These system properties can be added to the command line to alter the way |
| 17 | findbugs works. These options should be considered experimental. The description |
| 18 | gives information if the field is set to true. |
| 19 | </p> |
| 20 | |
| 21 | <table width="100%" border="1"> |
| 22 | <tr bgColor="#F0F0F0"><th>System Property</th><th>Description</th></tr> |
| 23 | |
| 24 | <tr> |
| 25 | <td>findbugs.assertionmethods</td> |
| 26 | <td>methods supplied by user that have assertions</td> |
| 27 | </tr> |
| 28 | <tr> |
| 29 | <td>findbugs.checkreturn.loadtraining |
| 30 | <br/>findbugs.checkreturn.savetraining</td> |
| 31 | <td>file name to read/write list of methods whose return values must be checked</td> |
| 32 | </tr> |
| 33 | <tr> |
| 34 | <td>findbugs.de.comment</td> |
| 35 | <td>Don't report empty catch blocks if a source comment is found in the block.</td> |
| 36 | </tr> |
| 37 | <tr> |
| 38 | <td>findbugs.dls.exclusions</td> |
| 39 | <td>local variables that will be excluded from Dead Local Store</td> |
| 40 | </tr> |
| 41 | <tr> |
| 42 | <td>findbugs.fis.unsyncFactor</td> |
| 43 | <td>Default value is 2.0, which means that we report a bug if more than 1/3 of accesses are unsynchronized.</td> |
| 44 | </tr> |
| 45 | <tr> |
| 46 | <td>findbugs.fis.writeBias</td> |
| 47 | <td>Default value is 2.0. The idea is that this should be above 1.0, because unsynchronized writes are more dangerous than unsynchronized reads.</td> |
| 48 | </tr> |
| 49 | <tr> |
| 50 | <td>fundbugs.gui.bugCount</td> |
| 51 | <td>?</td> |
| 52 | </tr> |
| 53 | <tr> |
| 54 | <td>findbugs.maskedfields.locals</td> |
| 55 | <td>Report on local variables that mask fields.</td> |
| 56 | </tr> |
| 57 | <tr> |
| 58 | <td>findbugs.nullderef.assumensp</td> |
| 59 | <td>sets value for IsNullValueAnalysisFeatures.UNKNOWN_VALUES_ARE_NSP, but is not used by FindBugs</td> |
| 60 | </tr> |
| 61 | <tr> |
| 62 | <td>findbugs.refcomp.reportAll</td> |
| 63 | <td>?</td> |
| 64 | </tr> |
| 65 | <tr> |
| 66 | <td>findbugs.report.SummaryHTML</td> |
| 67 | <td>emit SummaryHTML element</td> |
| 68 | </tr> |
| 69 | <tr> |
| 70 | <td>findbugs.sf.comment</td> |
| 71 | <td>Ignore switch fall through bugs if a comment is found with 'fall' or 'nobreak' |
| 72 | </tr> |
| 73 | <tr> |
| 74 | <td>ba.checkAssertions</td> |
| 75 | <td>throw excptions on certain illegal class type signatures</td> |
| 76 | </tr> |
| 77 | <tr> |
| 78 | <td>ba.verifyIntegrity</td> |
| 79 | <td>enable data structure integrity checks</td> |
| 80 | </tr> |
| 81 | <tr> |
| 82 | <td>BCPMethodReturnCheck.java</td> |
| 83 | <td>Add methods to the list requiring a check. (format: "class:method:sig|...")</td> |
| 84 | </tr> |
| 85 | <tr> |
| 86 | <td>dataflow.stackonly</td> |
| 87 | <td>?</td> |
| 88 | </tr> |
| 89 | <tr> |
| 90 | <td>fis.eval</td> |
| 91 | <td>?</td> |
| 92 | </tr> |
| 93 | <tr> |
| 94 | <td>fis.noAdjustSubclass</td> |
| 95 | <td>Adjust field so its class name is the same as the type of reference it is accessed through.</td> |
| 96 | </tr> |
| 97 | <tr> |
| 98 | <td>fos.allowWUS</td> |
| 99 | <td>Ignore wrapping streams that are wrapping uninteresting streams (like in memory streams).</td> |
| 100 | </tr> |
| 101 | <tr> |
| 102 | <td>ic.createInstance</td> |
| 103 | <td>?</td> |
| 104 | </tr> |
| 105 | <tr> |
| 106 | <td>inva.ncpExtraBranch</td> |
| 107 | <td>?</td> |
| 108 | </tr> |
| 109 | <tr> |
| 110 | <td>inva.noAssertHack</td> |
| 111 | <td>?</td> |
| 112 | </tr> |
| 113 | <tr> |
| 114 | <td>inva.noSplitDowngradeNSP</td> |
| 115 | <td>?</td> |
| 116 | </tr> |
| 117 | <tr> |
| 118 | <td>inva.noSwitchDefaultAsException</td> |
| 119 | <td>Don't consider switch default cases as exception paths.</td> |
| 120 | </tr> |
| 121 | <tr> |
| 122 | <td>lineNumberBug</td> |
| 123 | <td>Disable the workaround for the bug in BCEL 5.0's LineNumberTable class.</td> |
| 124 | </tr> |
| 125 | <tr> |
| 126 | <td>ma.ugly</td> |
| 127 | <td>Report method signature with method class and name.</td> |
| 128 | </tr> |
| 129 | <tr> |
| 130 | <td>mrc.checkall</td> |
| 131 | <td>Check for 1.5-specific method return values being ignored even if runtime Java predates 1.5.</td> |
| 132 | </tr> |
| 133 | <tr> |
| 134 | <td>ta.accurateExceptions</td> |
| 135 | <td>?</td> |
| 136 | </tr> |
| 137 | <tr> |
| 138 | <td>vna.noRLE</td> |
| 139 | <td>Perform redundant load elimination and forward substitution (but not in a correctness-preserving way).</td> |
| 140 | </tr> |
| 141 | |
| 142 | </table> |
| 143 | |
| 144 | @HTML_FOOTER@ |
| 145 | |
| 146 | </td> |
| 147 | |
| 148 | </tr></table> |
| 149 | |
| 150 | </body> |
| 151 | </html> |