| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title>FindBugs™ - Find Bugs in Java Programs</title> | 3 <title>FindBugs™ - Find Bugs in Java Programs</title> |
| 4 <link rel="stylesheet" type="text/css" href="findbugs.css" /> | 4 <link rel="stylesheet" type="text/css" href="findbugs.css" /> |
| 5 | 5 |
| 6 </head> | 6 </head> |
| 7 | 7 |
| 8 <body> | 8 <body> |
| 9 | 9 |
| 10 <table width="100%"> | 10 <table width="100%"> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 <tr><td><a class="sidebar" href="downloads.html"><b>Downloads</b></a></td></tr> | 38 <tr><td><a class="sidebar" href="downloads.html"><b>Downloads</b></a></td></tr> |
| 39 | 39 |
| 40 <tr><td> </td></tr> | 40 <tr><td> </td></tr> |
| 41 | 41 |
| 42 <tr><td><a class="sidebar" href="http://www.cafeshops.com/findbugs"><b>FindBugs
Swag</b></a></td></tr> | 42 <tr><td><a class="sidebar" href="http://www.cafeshops.com/findbugs"><b>FindBugs
Swag</b></a></td></tr> |
| 43 | 43 |
| 44 <tr><td> </td></tr> | 44 <tr><td> </td></tr> |
| 45 | 45 |
| 46 <tr><td><b>Development</b></td></tr> | 46 <tr><td><b>Development</b></td></tr> |
| 47 <tr><td><font size="-1"> <a class="sidebar" href="http://sourceforge.net/tr
acker/?group_id=96405">Open bugs</a></font></td></tr> | 47 <tr><td><font size="-1"> <a class="sidebar" href="http://sourceforge.net/p/
findbugs/bugs/">Open bugs</a></font></td></tr> |
| 48 <tr><td><font size="-1"> <a class="sidebar" href="reportingBugs.html">Repor
ting bugs</a></font></td></tr> | 48 <tr><td><font size="-1"> <a class="sidebar" href="reportingBugs.html">Repor
ting bugs</a></font></td></tr> |
| 49 <tr><td><font size="-1"> <a class="sidebar" href="contributing.html">Contri
buting</a></font></td></tr> | 49 <tr><td><font size="-1"> <a class="sidebar" href="contributing.html">Contri
buting</a></font></td></tr> |
| 50 <tr><td><font size="-1"> <a class="sidebar" href="team.html">Dev team</a></
font></td></tr> | 50 <tr><td><font size="-1"> <a class="sidebar" href="team.html">Dev team</a></
font></td></tr> |
| 51 <tr><td><font size="-1"> <a class="sidebar" href="api/index.html">API</a> <
a class="sidebar" href="api/overview-summary.html">[no frames]</a></font></td></
tr> | 51 <tr><td><font size="-1"> <a class="sidebar" href="api/index.html">API</a> <
a class="sidebar" href="api/overview-summary.html">[no frames]</a></font></td></
tr> |
| 52 <tr><td><font size="-1"> <a class="sidebar" href="Changes.html">Change log<
/a></font></td></tr> | 52 <tr><td><font size="-1"> <a class="sidebar" href="Changes.html">Change log<
/a></font></td></tr> |
| 53 <tr><td><font size="-1"> <a class="sidebar" href="http://sourceforge.net/pr
ojects/findbugs">SF project page</a></font></td></tr> | 53 <tr><td><font size="-1"> <a class="sidebar" href="http://sourceforge.net/pr
ojects/findbugs">SF project page</a></font></td></tr> |
| 54 <tr><td><font size="-1"> <a class="sidebar" href="http://code.google.com/p/
findbugs/source/browse/">Browse source</a></font></td></tr> | 54 <tr><td><font size="-1"> <a class="sidebar" href="http://code.google.com/p/
findbugs/source/browse/">Browse source</a></font></td></tr> |
| 55 <tr><td><font size="-1"> <a class="sidebar" href="http://code.google.com/p/
findbugs/source/list">Latest code changes</a></font></td></tr> | 55 <tr><td><font size="-1"> <a class="sidebar" href="http://code.google.com/p/
findbugs/source/list">Latest code changes</a></font></td></tr> |
| 56 </table> | 56 </table> |
| 57 </td> | 57 </td> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 72 | 72 |
| 73 <p> | 73 <p> |
| 74 This is the web page for FindBugs, a program which uses stat
ic analysis to look for bugs in Java | 74 This is the web page for FindBugs, a program which uses stat
ic analysis to look for bugs in Java |
| 75 code. It is free software, distributed under the terms
of the <a | 75 code. It is free software, distributed under the terms
of the <a |
| 76 href="http://www.gnu.org/licenses/lgpl.html">Lesser GNU
Public License</a>. The name | 76 href="http://www.gnu.org/licenses/lgpl.html">Lesser GNU
Public License</a>. The name |
| 77 FindBugs™ and the <a href="buggy-sm.png">FindBugs logo
</a> are trademarked by <a | 77 FindBugs™ and the <a href="buggy-sm.png">FindBugs logo
</a> are trademarked by <a |
| 78 href="http://www.umd.edu">The University of Maryland</a>
. FindBugs has been downloaded more than | 78 href="http://www.umd.edu">The University of Maryland</a>
. FindBugs has been downloaded more than |
| 79 a million times. | 79 a million times. |
| 80 </p> | 80 </p> |
| 81 | 81 |
| 82 <p>The current version of FindBugs is 3.0.0.</p> | 82 <p>The current version of FindBugs is 3.0.1.</p> |
| 83 | 83 |
| 84 <p> | 84 <p> |
| 85 FindBugs requires JRE (or JDK) 1.7.0 or later to run.
However, it can analyze programs | 85 FindBugs requires JRE (or JDK) 1.7.0 or later to run.
However, it can analyze programs |
| 86 compiled for any version of Java, from 1.0 to 1.8. | 86 compiled for any version of Java, from 1.0 to 1.8. |
| 87 | |
| 88 <p> The current version of FindBugs is 3.0.0, | |
| 89 | 87 |
| 90 released on 20:25:27 CDT, 06 July, 2014. <a href="reportingB
ugs.html">We are very interested in getting | 88 <p> The current version of FindBugs is 3.0.1, |
| 89 |
| 90 released on 12:37:51 EST, 06 March, 2015. <a href="reporting
Bugs.html">We are very interested in getting |
| 91 feedback on how to improve FindBugs</a>. File bug report
s on <a | 91 feedback on how to improve FindBugs</a>. File bug report
s on <a |
| 92 href="http://sourceforge.net/tracker/?func=browse&gr
oup_id=96405&atid=614693"> our | 92 href="http://sourceforge.net/p/findbugs/_list/tickets?so
urce=navbar"> our |
| 93 sourceforge bug tracker</a> | 93 sourceforge bug tracker</a> |
| 94 </p> | 94 </p> |
| 95 | 95 |
| 96 | 96 |
| 97 <p> | 97 <p> |
| 98 <a href="#changes">Changes</a> | <a href="#talks">Talks</a>
| <a href="#papers">Papers </a> | <a | 98 <a href="#changes">Changes</a> | <a href="#talks">Talks</a>
| <a href="#papers">Papers </a> | <a |
| 99 href="#sponsors">Sponsors</a> | <a href="#support">Suppo
rt</a> | 99 href="#sponsors">Sponsors</a> | <a href="#support">Suppo
rt</a> |
| 100 </p> | 100 </p> |
| 101 | 101 |
| 102 » » <h1>FindBugs 3.0.0 Release</h1> | 102 » <h1>FindBugs 3.0.1 Release</h1> |
| 103 » <ul> |
| 104 » <li>A number of changes described in the <a href="Changes.html">c
hanges document</a>, including new bug patterns: |
| 105 <ul> |
| 106 <li> |
| 107 <a |
| 108 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#BSHIFT_WRONG_ADD_PRIORITY">BSHIFT_WRONG_ADD_PRIORITY</a>, |
| 109 <li> |
| 110 <a |
| 111 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#CO_COMPARETO_INCORRECT_FLOATING">CO_COMPARETO_INCORRECT_FLOATING</a>, |
| 112 <li> |
| 113 <a |
| 114 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#DC_PARTIALLY_CONSTRUCTED">DC_PARTIALLY_CONSTRUCTED</a>, |
| 115 <li> |
| 116 <a |
| 117 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#DM_BOXED_PRIMITIVE_FOR_COMPARE">DM_BOXED_PRIMITIVE_FOR_COMPARE</a>, |
| 118 <li> |
| 119 <a |
| 120 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#DM_INVALID_MIN_MAX">DM_INVALID_MIN_MAX</a>, |
| 121 <li> |
| 122 <a |
| 123 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#ME_MUTABLE_ENUM_FIELD">ME_MUTABLE_ENUM_FIELD</a>, |
| 124 <li> |
| 125 <a |
| 126 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#ME_ENUM_FIELD_SETTER">ME_ENUM_FIELD_SETTER</a>, |
| 127 <li> |
| 128 |
| 129 <a |
| 130 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#MS_MUTABLE_COLLECTION">MS_MUTABLE_COLLECTION</a>, |
| 131 <li> |
| 132 <a |
| 133 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#MS_MUTABLE_COLLECTION_PKGPROTECT">MS_MUTABLE_COLLECTION_PKGPROTECT</a>, |
| 134 <li> |
| 135 <a |
| 136 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#RANGE_ARRAY_INDEX">RANGE_ARRAY_INDEX</a>, |
| 137 <li> |
| 138 <a |
| 139 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#RANGE_ARRAY_OFFSET">RANGE_ARRAY_OFFSET</a>, |
| 140 <li> |
| 141 <a |
| 142 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#RANGE_ARRAY_LENGTH">RANGE_ARRAY_LENGTH</a>, |
| 143 <li> |
| 144 <a |
| 145 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#RANGE_STRING_INDEX">RANGE_STRING_INDEX</a>, |
| 146 <li> |
| 147 <a |
| 148 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT">RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFEC
T</a>, |
| 149 <li> |
| 150 <a |
| 151 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#UC_USELESS_CONDITION">UC_USELESS_CONDITION</a>, |
| 152 <li> |
| 153 <a |
| 154 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#UC_USELESS_CONDITION_TYPE">UC_USELESS_CONDITION_TYPE</a>, |
| 155 <li> |
| 156 <a |
| 157 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#UC_USELESS_OBJECT">UC_USELESS_OBJECT</a>, |
| 158 <li> |
| 159 <a |
| 160 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#UC_USELESS_OBJECT_STACK">UC_USELESS_OBJECT_STACK</a>, |
| 161 <li> |
| 162 <a |
| 163 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#UC_USELESS_VOID_METHOD">UC_USELESS_VOID_METHOD</a> |
| 164 </ul> |
| 165 </li> |
| 166 </ul> |
| 167 <h1>FindBugs 3.0.0 Release</h1> |
| 103 | 168 |
| 104 <ul> | 169 <ul> |
| 105 <li>FindBugs supports Java 8 now (both as runtime and target
platform). | 170 <li>FindBugs supports Java 8 now (both as runtime and target
platform). |
| 106 <li>FindBugs requires minimum Java 7 as runtime environment! | 171 <li>FindBugs requires minimum Java 7 as runtime environment! |
| 107 <li>FindBugs uses ASM 5 now which means that some 3rd party
detectors based on FindBugs 2.x/ASM 3 has to be upgraded. | 172 <li>FindBugs uses ASM 5 now which means that some 3rd party
detectors based on FindBugs 2.x/ASM 3 has to be upgraded. |
| 108 See details in <a href="http://download.forge.objectweb.org/
asm/asm4-guide.pdf#chapter.5">ASM documentation</a>. | 173 See details in <a href="http://download.forge.objectweb.org/
asm/asm4-guide.pdf#chapter.5">ASM documentation</a>. |
| 109 <li>New Bug patterns: | 174 <li>New Bug patterns: |
| 110 <a | 175 <a |
| 111 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#NP_OPTIONAL_RETURN_NULL">NP_OPTIONAL_RETURN_NULL</a>, | 176 href="http://findbugs.sourceforge.net/bugDescriptions.ht
ml#NP_OPTIONAL_RETURN_NULL">NP_OPTIONAL_RETURN_NULL</a>, |
| 112 <a | 177 <a |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 | 215 |
| 151 <li>Various bug fixes, also many patches from community. Tha
nks for your contributions! | 216 <li>Various bug fixes, also many patches from community. Tha
nks for your contributions! |
| 152 </li> | 217 </li> |
| 153 </ul> | 218 </ul> |
| 154 | 219 |
| 155 | 220 |
| 156 | 221 |
| 157 <h1>FindBugs 2.0.3 Release</h1> | 222 <h1>FindBugs 2.0.3 Release</h1> |
| 158 <p>FindBugs 2.0.3 is intended to be a minor bug fix release over | 223 <p>FindBugs 2.0.3 is intended to be a minor bug fix release over |
| 159 FindBugs 2.0.2. Although than some improvements to existing bug
detectors | 224 FindBugs 2.0.2. Although than some improvements to existing bug
detectors |
| 160 and analysis engines, and a few new bug patterns, and some | 225 and analysis engines, and a few new bug patterns, and some |
| 161 important bug fixes to the Eclipse plugin, no significant change
s | 226 important bug fixes to the Eclipse plugin, no significant change
s |
| 162 should be observed. Consult the <a href="Changes.html">Change lo
g</a> | 227 should be observed. Consult the <a href="Changes.html">Change lo
g</a> |
| 163 for more details.</p> | 228 for more details.</p> |
| 164 | 229 |
| 165 <p> | 230 <p> |
| 166 Also check out <a href="http://code.google.com/p/findbugs/w/
list">http://code.google.com/p/findbugs/w/list</a> | 231 Also check out <a href="http://code.google.com/p/findbugs/w/
list">http://code.google.com/p/findbugs/w/list</a> |
| 167 for more information about some recent features/changes in F
indBugs. | 232 for more information about some recent features/changes in F
indBugs. |
| 168 </p> | 233 </p> |
| 169 | 234 |
| 170 | 235 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 <a href="http://mojo.codehaus.org/findbugs-maven-plugin/
">http://mojo.codehaus.org/findbugs-maven-plugin/</a> | 269 <a href="http://mojo.codehaus.org/findbugs-maven-plugin/
">http://mojo.codehaus.org/findbugs-maven-plugin/</a> |
| 205 </dd> | 270 </dd> |
| 206 <dt> | 271 <dt> |
| 207 <a href="http://netbeans.org/">Netbeans</a> | 272 <a href="http://netbeans.org/">Netbeans</a> |
| 208 </dt> | 273 </dt> |
| 209 <dd> | 274 <dd> |
| 210 <a href="http://kenai.com/projects/sqe/pages/Home">SQE:
Software Quality Environment</a> | 275 <a href="http://kenai.com/projects/sqe/pages/Home">SQE:
Software Quality Environment</a> |
| 211 </dd> | 276 </dd> |
| 212 <dt><a href="https://wiki.jenkins-ci.org/display/JENKINS">Je
nkins</a></dt> | 277 <dt><a href="https://wiki.jenkins-ci.org/display/JENKINS">Je
nkins</a></dt> |
| 213 <dd> <a href="https://wiki.jenkins-ci.org/display/JENKINS/Fi
ndBugs+Plugin">Jenkins FindBugs Plugin</a> | 278 <dd> <a href="https://wiki.jenkins-ci.org/display/JENKINS/Fi
ndBugs+Plugin">Jenkins FindBugs Plugin</a> |
| 214 | 279 |
| 215 <dt> | 280 <dt> |
| 216 <a href="http://wiki.hudson-ci.org/display/HUDSON/Home">
Hudson</a> | 281 <a href="http://wiki.hudson-ci.org/display/HUDSON/Home">
Hudson</a> |
| 217 </dt> | 282 </dt> |
| 218 <dd> | 283 <dd> |
| 219 <a href="http://wiki.hudson-ci.org/display/HUDSON/FindBu
gs+Plugin"> HUDSON FindBugs Plugin</a> | 284 <a href="http://wiki.hudson-ci.org/display/HUDSON/FindBu
gs+Plugin"> HUDSON FindBugs Plugin</a> |
| 220 </dd> | 285 </dd> |
| 221 <dt> | 286 <dt> |
| 222 <a href="http://www.jetbrains.com/idea/">IntelliJ</a> | 287 <a href="http://www.jetbrains.com/idea/">IntelliJ</a> |
| 223 </dt> | 288 </dt> |
| 224 <dd> | 289 <dd> |
| 225 Several plugins, see <a href="http://code.google.com/p/f
indbugs/wiki/IntellijFindBugsPlugins">http://code.google.com/p/findbugs/wiki/Int
ellijFindBugsPlugins</a> | 290 Several plugins, see <a href="http://code.google.com/p/f
indbugs/wiki/IntellijFindBugsPlugins">http://code.google.com/p/findbugs/wiki/Int
ellijFindBugsPlugins</a> |
| 226 for a description. | 291 for a description. |
| 227 | 292 |
| 228 </dd> | 293 </dd> |
| 229 </dl> | 294 </dl> |
| 230 | 295 |
| 231 | |
| 232 <h1>New</h1> | |
| 233 <ul> | |
| 234 | |
| 235 <li>jFormatString library republished at | |
| 236 <a href="http://code.google.com/p/j-format-string">http://code.g
oogle.com/p/j-format-string</a>. | |
| 237 This is the library we use for compile time checking of format s
trings. It is separately published to | |
| 238 | |
| 239 <li>We're releasing FindBugs 2.0.3. | |
| 240 | |
| 241 Mostly small changes to address false positives, with one im
portant fix to the Eclipse plugin | |
| 242 to fix a problem that had prevented the plugin from running
in some versions of Eclipse. | |
| 243 Check the <a href="Changes.html">change log</a> for more
details. | |
| 244 | |
| 245 <li>We've released <a href="findbugs2.html">FindBugs 2.0</a> | |
| 246 </li> | |
| 247 <li>FindBugs communal cloud and Java web start links:. We ha
ve analyzed several large open | |
| 248 source projects, and provide Java web start links to all
ow you to view the results. We'd be | |
| 249 happy to work with projects to make the results availabl
e from a continuous build: | |
| 250 <p></p> | |
| 251 <ul> | |
| 252 <li><a href="http://findbugs.cs.umd.edu/cloud/jdk.jn
lp">Sun's JDK 8</a></li> | |
| 253 <li><a href="http://findbugs.cs.umd.edu/cloud/eclips
e.jnlp">Eclipse 3.8</a></li> | |
| 254 <li><a href="http://findbugs.cs.umd.edu/cloud/tomcat
.jnlp">Apache Tomcat 7.0</a></li> | |
| 255 <li><a href="http://findbugs.cs.umd.edu/cloud/intell
ij.jnlp">IntelliJ IDEA</a></li> | |
| 256 <li><a href="http://findbugs.cs.umd.edu/cloud/jboss.
jnlp">JBoss</a></li> | |
| 257 </ul> | |
| 258 </li> | |
| 259 </ul> | |
| 260 | |
| 261 | |
| 262 | |
| 263 <h1>Experience with FindBugs</h1> | 296 <h1>Experience with FindBugs</h1> |
| 264 <ul> | 297 <ul> |
| 265 <li><b>Google FindBugs Fixit</b>: Google has a tradition of <a | 298 <li><b>Google FindBugs Fixit</b>: Google has a tradition of <a |
| 266 href="http://www.nytimes.com/2007/10/21/jobs/21pre.html">eng
ineering fixits</a>, special days where | 299 href="http://www.nytimes.com/2007/10/21/jobs/21pre.html">eng
ineering fixits</a>, special days where |
| 267 they try to get all of their engineers focused on some speci
fic problem or technique for improving | 300 they try to get all of their engineers focused on some speci
fic problem or technique for improving |
| 268 the systems at Google. A fixit might work to improve web acc
essibility, internal testing, removing | 301 the systems at Google. A fixit might work to improve web acc
essibility, internal testing, removing |
| 269 TODO's from internal software, etc. | 302 TODO's from internal software, etc. |
| 270 | 303 |
| 271 <p>In 2009, Google held a global fixit for UMD's FindBugs to
ol a static analysis tool for | 304 <p>In 2009, Google held a global fixit for UMD's FindBugs to
ol a static analysis tool for |
| 272 finding coding mistakes in Java software. The focus of t
he fixit was to get feedback on the | 305 finding coding mistakes in Java software. The focus of t
he fixit was to get feedback on the |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 </p> | 409 </p> |
| 377 | 410 |
| 378 <hr> <p> | 411 <hr> <p> |
| 379 <script language="JavaScript" type="text/javascript"> | 412 <script language="JavaScript" type="text/javascript"> |
| 380 <!---//hide script from old browsers | 413 <!---//hide script from old browsers |
| 381 document.write( "Last updated "+ document.lastModified + "." ); | 414 document.write( "Last updated "+ document.lastModified + "." ); |
| 382 //end hiding contents ---> | 415 //end hiding contents ---> |
| 383 </script> | 416 </script> |
| 384 <p> Send comments to <a class="sidebar" href="mailto:findbugs@cs.umd.edu">findbu
gs@cs.umd.edu</a> | 417 <p> Send comments to <a class="sidebar" href="mailto:findbugs@cs.umd.edu">findbu
gs@cs.umd.edu</a> |
| 385 <p> | 418 <p> |
| 386 <A href="http://sourceforge.net"><IMG src="http://sourceforge.net/sflogo.php?gro
up_id=96405&type=5" width="210" height="62" border="0" alt="SourceForge.net
Logo" /></A> | 419 <a href="http://sourceforge.net/projects/findbugs/"><img src="http://sourceforge
.net/sflogo.php?group_id=96405&type=5" width="210" height="62" border="0" al
t="FindBugs on SourceForge.net" /></a> |
| 387 </td> | 420 </td> |
| 388 </tr> | 421 </tr> |
| 389 </table> | 422 </table> |
| 390 | 423 |
| 391 </body> | 424 </body> |
| 392 </html> | 425 </html> |
| OLD | NEW |