Thread: [Fb-contrib-commit] SF.net SVN: fb-contrib:[1419] trunk/fb-contrib/htdocs/index.shtml
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-12-28 06:24:44
|
Revision: 1419
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1419&view=rev
Author: dbrosius
Date: 2009-12-28 06:24:35 +0000 (Mon, 28 Dec 2009)
Log Message:
-----------
add css, js and ssi
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2009-12-28 06:22:20 UTC (rev 1418)
+++ trunk/fb-contrib/htdocs/index.shtml 2009-12-28 06:24:35 UTC (rev 1419)
@@ -2,6 +2,9 @@
<head>
<meta name="keywords" content="findbugs,plugin,detector,bug,static,jar"/>
<title>fb-contrib™: A FindBugs™ auxiliary detector plugin</title>
+<script src="mbfg.js">
+</script>
+<link rel="stylesheet" type="text/css" href="mbfg.css" />
<script language="javascript">
var flip1 = new Image;
@@ -46,7 +49,7 @@
<a href="javadoc/index.html">JavaDoc</a>
<img src="vbar.gif" height="12"/>
<a href="bugdescriptions.html">Bug Descriptions</a>
-
+ <!--#include virtual="mbfg_menu.shtml" -->
<hr/>
<img id="svn_image" src="flip2.gif" onClick="toggleBlock('svn', 'svn_image');" align="top"/>
Detectors added in svn<br/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-01-04 04:24:44
|
Revision: 1429
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1429&view=rev
Author: dbrosius
Date: 2010-01-04 04:24:37 +0000 (Mon, 04 Jan 2010)
Log Message:
-----------
document the MDM detector submitted by Chris Peterson
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-01-04 04:21:58 UTC (rev 1428)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-01-04 04:24:37 UTC (rev 1429)
@@ -80,6 +80,10 @@
Looks for fields in serializable classes that are defined as both final and
transient. As a transient field is not initialized when streamed, and is not
initialized in a constructor, it will remain null because it is defined final.</li>
+ <li><br>[MDM] More Dumb Methods</b><br/>
+ Looks for a variety of questionable method calls that will cause problems, are unsafe
+ or use practices that might lead to bugs.
+ <span style="color: #0000FF;">--contributed by Chris Peterson - THANKS!</span></li>
</ul>
</div>
<hr/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-01-04 04:26:09
|
Revision: 1430
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1430&view=rev
Author: dbrosius
Date: 2010-01-04 04:26:03 +0000 (Mon, 04 Jan 2010)
Log Message:
-----------
oops, fat fingers
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-01-04 04:24:37 UTC (rev 1429)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-01-04 04:26:03 UTC (rev 1430)
@@ -80,7 +80,7 @@
Looks for fields in serializable classes that are defined as both final and
transient. As a transient field is not initialized when streamed, and is not
initialized in a constructor, it will remain null because it is defined final.</li>
- <li><br>[MDM] More Dumb Methods</b><br/>
+ <li><b>[MDM] More Dumb Methods</b><br/>
Looks for a variety of questionable method calls that will cause problems, are unsafe
or use practices that might lead to bugs.
<span style="color: #0000FF;">--contributed by Chris Peterson - THANKS!</span></li>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-01-10 16:54:52
|
Revision: 1458
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1458&view=rev
Author: dbrosius
Date: 2010-01-10 16:54:46 +0000 (Sun, 10 Jan 2010)
Log Message:
-----------
add SNG back in
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-01-10 16:51:57 UTC (rev 1457)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-01-10 16:54:46 UTC (rev 1458)
@@ -84,6 +84,13 @@
Looks for a variety of questionable method calls that will cause problems, are unsafe
or use practices that might lead to bugs.
<span style="color: #0000FF;">--contributed by Chris Peterson - THANKS!</span></li>
+ <li><b>[SNG] Suspicious Null Guard</b><br/>
+ Looks for code that checks to see if a field or local variable is not null,
+ before entering a code block either an if, or while statement, and then doesn't
+ reference that field or local in the block of code that is guarded by the null
+ check. Instead it references another object of the same type. It is likely that null
+ check is being done on the wrong variable, either because of a copy/paste error,
+ or a change in implementation.</li>
</ul>
</div>
<hr/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-01-10 16:56:47
|
Revision: 1459
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1459&view=rev
Author: dbrosius
Date: 2010-01-10 16:56:41 +0000 (Sun, 10 Jan 2010)
Log Message:
-----------
marginally better engrish
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-01-10 16:54:46 UTC (rev 1458)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-01-10 16:56:41 UTC (rev 1459)
@@ -86,7 +86,7 @@
<span style="color: #0000FF;">--contributed by Chris Peterson - THANKS!</span></li>
<li><b>[SNG] Suspicious Null Guard</b><br/>
Looks for code that checks to see if a field or local variable is not null,
- before entering a code block either an if, or while statement, and then doesn't
+ before entering a code block (either an if, or while statement) and then doesn't
reference that field or local in the block of code that is guarded by the null
check. Instead it references another object of the same type. It is likely that null
check is being done on the wrong variable, either because of a copy/paste error,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-01-12 06:13:49
|
Revision: 1479
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1479&view=rev
Author: dbrosius
Date: 2010-01-12 06:13:43 +0000 (Tue, 12 Jan 2010)
Log Message:
-----------
document the pom addition
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-01-12 06:07:30 UTC (rev 1478)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-01-12 06:13:43 UTC (rev 1479)
@@ -92,6 +92,9 @@
check is being done on the wrong variable, either because of a copy/paste error,
or a change in implementation.</li>
</ul>
+ <ul>
+ <li><span style="color: #0000FF;">Maven pom file supplied by Grzegorz Slowikowski - THANKS!</span></li>
+ <ul>
</div>
<hr/>
<img id="v4_0_0_image" src="flip1.gif" onClick="toggleBlock('v4_0_0', 'v4_0_0_image');" align="top"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-01-12 06:15:07
|
Revision: 1480
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1480&view=rev
Author: dbrosius
Date: 2010-01-12 06:15:01 +0000 (Tue, 12 Jan 2010)
Log Message:
-----------
be consistent with verbage
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-01-12 06:13:43 UTC (rev 1479)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-01-12 06:15:01 UTC (rev 1480)
@@ -93,7 +93,7 @@
or a change in implementation.</li>
</ul>
<ul>
- <li><span style="color: #0000FF;">Maven pom file supplied by Grzegorz Slowikowski - THANKS!</span></li>
+ <li><span style="color: #0000FF;">Maven pom file contributed by Grzegorz Slowikowski - THANKS!</span></li>
<ul>
</div>
<hr/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-01-15 05:46:17
|
Revision: 1488
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1488&view=rev
Author: dbrosius
Date: 2010-01-15 05:46:10 +0000 (Fri, 15 Jan 2010)
Log Message:
-----------
add HttpRequest.getAttribute
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-01-14 14:21:29 UTC (rev 1487)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-01-15 05:46:10 UTC (rev 1488)
@@ -83,8 +83,8 @@
to a class or interface higher up in the inheritance chain. You only need to cast to that class
or interface.</li>
<li><b>[IKNC] Inconsistent Key Name Casing</b><br/>
- Looks for calls to HttpRequest.getParameter with parameters of the same
- name with different cases like 'id' and 'Id'.</li>
+ Looks for calls to HttpRequest.getParameter and HttpRequest.getAttribute with parameters
+ of the same name with different cases like 'id' and 'Id'.</li>
<li><b>[NSE] Non Symmetric Equals</b><br/>
Looks for classes that break the fundamental rule of equivalence, which is
symmetry. If a equals b, then b equals a. While it is usually wrong to allow
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-01-18 16:57:55
|
Revision: 1490
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1490&view=rev
Author: dbrosius
Date: 2010-01-18 16:57:46 +0000 (Mon, 18 Jan 2010)
Log Message:
-----------
document ROOM
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-01-18 16:54:08 UTC (rev 1489)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-01-18 16:57:46 UTC (rev 1490)
@@ -66,6 +66,9 @@
check. Instead it references another object of the same type. It is likely that null
check is being done on the wrong variable, either because of a copy/paste error,
or a change in implementation.</li>
+ <li><b>[ROOM] Reflection on Object Methods</b><br/>
+ Looks for method calls through reflection on methods found in java.lang.Object.
+ As these methods are always available, there's no reason to do this.</li>
</ul>
</div>
<hr/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-05-09 06:29:38
|
Revision: 1554
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1554&view=rev
Author: dbrosius
Date: 2010-05-09 06:29:31 +0000 (Sun, 09 May 2010)
Log Message:
-----------
document PCAIL and WOC
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-05-08 22:44:03 UTC (rev 1553)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-05-09 06:29:31 UTC (rev 1554)
@@ -75,6 +75,14 @@
String only collection, putting other types in the Properties object is incorrect,
and takes advantage of a poor design decision by the original Properties class
designers to derive from Hashtable, rather than using aggregation.</li>
+ <li><b>[PCAIL] Possible Constant Allocation in Loop</b><br/>
+ Looks for allocations of objects using the default constructor in a loop, where
+ the object allocated is never assigned to any object that is used outside the loop.
+ It is possible that this allocation can be done outside the loop to avoid excessive garbage.</li>
+ <li><b>[WOC] Write Only Collection</b><br/>
+ Looks for allocations and initializations of java collections, but that are never
+ read from or accessed to gain information. This represents a collection of no use, and most probably
+ can be removed. It is similar to a dead local store.</li>
</ul>
</div>
<hr/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-05-09 06:34:16
|
Revision: 1555
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1555&view=rev
Author: dbrosius
Date: 2010-05-09 06:34:10 +0000 (Sun, 09 May 2010)
Log Message:
-----------
fix html
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-05-09 06:29:31 UTC (rev 1554)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-05-09 06:34:10 UTC (rev 1555)
@@ -51,9 +51,9 @@
<a href="bugdescriptions.html">Bug Descriptions</a>
<!--#include virtual="mbfg_menu.shtml" -->
<hr/>
- <img id="svn_image" src="flip1.gif" onClick="toggleBlock('svn', 'svn_image');" align="top"/>
+ <img id="svn_image" src="flip2.gif" onClick="toggleBlock('svn', 'svn_image');" align="top"/>
Detectors added in svn<br/>
- <div id="svn" style="display:none;">
+ <div id="svn" style="display:block;">
<ul>
<li><b>[CVAA] ContraVariant Array Assignment</b><br/>
Looks for contravariant array assignments. Since arrays are mutable data structures, their use
@@ -86,9 +86,9 @@
</ul>
</div>
<hr/>
- <img id="v4_2_0_image" src="flip2.gif" onClick="toggleBlock('v4_2_0', 'v4_2_0_image');" align="top"/>
+ <img id="v4_2_0_image" src="flip1.gif" onClick="toggleBlock('v4_2_0', 'v4_2_0_image');" align="top"/>
Detectors added in v4.2.0<br/>
- <div id="v4_2_0" style="display:block;">
+ <div id="v4_2_0" style="display:none;">
<ul>
<li><b>[PDP] Poorly Defined Parameter</b><br/>
Looks for non derivable methods that declare parameters and then cast those
@@ -118,7 +118,7 @@
</ul>
<ul>
<li><span style="color: #0000FF;">Maven pom file contributed by Grzegorz Slowikowski - THANKS!</span></li>
- <ul>
+ </ul>
</div>
<hr/>
<img id="v4_0_0_image" src="flip1.gif" onClick="toggleBlock('v4_0_0', 'v4_0_0_image');" align="top"/>
@@ -234,7 +234,7 @@
interface or super class contracts not to throw checked exceptions but appear owned by
the same author. Next are methods constrained by interface or super class contracts and
throw other types of checked exceptions. Lastly are method not constrained by any interface
- or superclass contract.</b><br/>
+ or superclass contract.<br/>
</ul>
</div>
<hr/>
@@ -286,7 +286,7 @@
<li><b>[PIS] Possible Incomplete Synchronization</b><br/>
Looks for classes that don't handle serialization of parent class member fields
when the class in question is serializable but is derived from non serializable
- classes.</b><br/>
+ classes.<br/>
</ul>
</div>
<hr/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-05-25 03:27:57
|
Revision: 1563
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1563&view=rev
Author: dbrosius
Date: 2010-05-25 03:27:51 +0000 (Tue, 25 May 2010)
Log Message:
-----------
document UVA
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-05-20 01:46:12 UTC (rev 1562)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-05-25 03:27:51 UTC (rev 1563)
@@ -83,6 +83,10 @@
Looks for allocations and initializations of java collections, but that are never
read from or accessed to gain information. This represents a collection of no use, and most probably
can be removed. It is similar to a dead local store.</li>
+ <li><b>[UVA] Use Var Args</b><br/>
+ Looks for definitions of methods that have an array as the last parameter.
+ Since this class is compiled with java 1.5 or better, it would be more flexible for clients of this
+ method to define this parameter as a vararg parameter.</li>
</ul>
</div>
<hr/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-07-17 15:41:02
|
Revision: 1581
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1581&view=rev
Author: dbrosius
Date: 2010-07-17 15:40:55 +0000 (Sat, 17 Jul 2010)
Log Message:
-----------
add more info about how to install the plugin
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-07-16 04:29:12 UTC (rev 1580)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-07-17 15:40:55 UTC (rev 1581)
@@ -40,10 +40,29 @@
<p>fb-contrib™ is an extra detector plugin to be used with the static bug
finder FindBugs™ (findbugs.sourceforge.net). Just download the fb-contrib.jar
- file, and place it in your FindBugs™' plugin directory. FindBugs™ will
+ file, and place it in the appropriate location based on how you wish to use it. (See below). FindBugs™ will
automatically pick up the jar file, and incorporate these detectors with its
own.
</p>
+ <div style="margin: 15px; padding: 10px 5px 10px 5px; font-size: 14px; color: #4444FF;">
+ <p>
+ fb-contrib can be used from the Findbugs™ Gui, Ant, or the eclipse plugin.<br/>
+ <ul>
+ <li style="margin-left: -10px; padding-bottom: 10px;">
+ To run fb-contrib from the gui, or ant, just place the fb-contrib jar in the plugins directory inside of the
+ Findbugs™ directory.
+ </li>
+ <li style="margin-left: -10px;">
+ To run fb-contrib from eclipse, you will need to find the plugin directory for Findbugs™ inside
+ of Eclipse's plugin directory. The directory will look something like
+ <div style="color: #FF2266; margin: 10px;">
+ eclipse\plugins\edu.umd.cs.findbugs.plugin.eclipse_1.3.9.20090821\plugin
+ </div>
+ depending on what version of Findbugs™ you are using.
+ </li>
+ </ul>
+ </p>
+ </div>
<a href="http://www.sourceforge.net/projects/fb-contrib">Project Page</a>
<img src="vbar.gif" height="12"/>
<a href="javadoc/index.html">JavaDoc</a>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-07-17 15:45:51
|
Revision: 1582
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1582&view=rev
Author: dbrosius
Date: 2010-07-17 15:45:44 +0000 (Sat, 17 Jul 2010)
Log Message:
-----------
make it a little less ugly
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-07-17 15:40:55 UTC (rev 1581)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-07-17 15:45:44 UTC (rev 1582)
@@ -44,6 +44,14 @@
automatically pick up the jar file, and incorporate these detectors with its
own.
</p>
+ <a href="http://www.sourceforge.net/projects/fb-contrib">Project Page</a>
+ <img src="vbar.gif" height="12"/>
+ <a href="javadoc/index.html">JavaDoc</a>
+ <img src="vbar.gif" height="12"/>
+ <a href="bugdescriptions.html">Bug Descriptions</a>
+ <!--#include virtual="mbfg_menu.shtml" -->
+ <hr/>
+
<div style="margin: 15px; padding: 10px 5px 10px 5px; font-size: 14px; color: #4444FF;">
<p>
fb-contrib can be used from the Findbugs™ Gui, Ant, or the eclipse plugin.<br/>
@@ -63,12 +71,7 @@
</ul>
</p>
</div>
- <a href="http://www.sourceforge.net/projects/fb-contrib">Project Page</a>
- <img src="vbar.gif" height="12"/>
- <a href="javadoc/index.html">JavaDoc</a>
- <img src="vbar.gif" height="12"/>
- <a href="bugdescriptions.html">Bug Descriptions</a>
- <!--#include virtual="mbfg_menu.shtml" -->
+
<hr/>
<img id="svn_image" src="flip1.gif" onClick="toggleBlock('svn', 'svn_image');" align="top"/>
Detectors added in svn<br/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-08-29 05:31:32
|
Revision: 1593
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1593&view=rev
Author: dbrosius
Date: 2010-08-29 05:31:24 +0000 (Sun, 29 Aug 2010)
Log Message:
-----------
document PUS
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-08-29 03:25:48 UTC (rev 1592)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-08-29 05:31:24 UTC (rev 1593)
@@ -73,9 +73,9 @@
</div>
<hr/>
- <img id="svn_image" src="flip1.gif" onClick="toggleBlock('svn', 'svn_image');" align="top"/>
+ <img id="svn_image" src="flip2.gif" onClick="toggleBlock('svn', 'svn_image');" align="top"/>
Detectors added in svn<br/>
- <div id="svn" style="display:none">
+ <div id="svn" style="display:block;">
<ul>
<li><b>[CVAA] ContraVariant Array Assignment</b><br/>
Looks for contravariant array assignments. Since arrays are mutable data structures, their use
@@ -88,12 +88,16 @@
check. Instead it references another object of the same type. It is likely that null
check is being done on the wrong variable, either because of a copy/paste error,
or a change in implementation.</li>
+ <li><b>[PUS] Possible Unsuspected Serialization</b><br/>
+ Looks for serialization of non-static inner classes. As this serializes
+ the enclosing class, it may unintentially bring in more to the serialization
+ than is wanted.</li>
</ul>
</div>
<hr/>
- <img id="v4_4_0_image" src="flip2.gif" onClick="toggleBlock('v4_4_0', 'v4_4_0_image');" align="top"/>
+ <img id="v4_4_0_image" src="flip1.gif" onClick="toggleBlock('v4_4_0', 'v4_4_0_image');" align="top"/>
Detectors added in v4.4.0<br/>
- <div id="v4_4_0" style="display:block;">
+ <div id="v4_4_0" style="display:none;">
<ul>
<li><b>[ROOM] Reflection on Object Methods</b><br/>
Looks for method calls through reflection on methods found in java.lang.Object.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-09-04 20:41:21
|
Revision: 1605
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1605&view=rev
Author: dbrosius
Date: 2010-09-04 20:41:14 +0000 (Sat, 04 Sep 2010)
Log Message:
-----------
document SGSU
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-09-04 20:38:51 UTC (rev 1604)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-09-04 20:41:14 UTC (rev 1605)
@@ -98,6 +98,10 @@
the code more difficult to maintain as it has a tendency to increase cohesion
between classes.
</li>
+ <li><b>[SGSU] Suspicious Getter Setter Use</b><br/>
+ Looks for the setting of a java bean property with a value retrieved from the same
+ bean's getter method for that property. This is usually a copy/paste typo.
+ </li>
</ul>
</div>
<hr/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-09-26 00:59:44
|
Revision: 1622
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1622&view=rev
Author: dbrosius
Date: 2010-09-26 00:59:38 +0000 (Sun, 26 Sep 2010)
Log Message:
-----------
give credit to andrei loskutov for eclipse support
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-09-26 00:57:09 UTC (rev 1621)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-09-26 00:59:38 UTC (rev 1622)
@@ -101,6 +101,9 @@
bean's getter method for that property. This is usually a copy/paste typo.
</li>
</ul>
+ <ul>
+ <li><span style="color: #0000FF;">Eclipse plugin support by Andrei Loskutov - THANKS!</span></li>
+ </ul>
</div>
<hr/>
<img id="v4_4_0_image" src="flip1.gif" onClick="toggleBlock('v4_4_0', 'v4_4_0_image');" align="top"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-09-27 23:24:54
|
Revision: 1626
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1626&view=rev
Author: dbrosius
Date: 2010-09-27 23:24:48 +0000 (Mon, 27 Sep 2010)
Log Message:
-----------
get ready for the 4.6.0 release
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-09-27 23:21:10 UTC (rev 1625)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-09-27 23:24:48 UTC (rev 1626)
@@ -73,14 +73,21 @@
</div>
<hr/>
- <img id="svn_image" src="flip2.gif" onClick="toggleBlock('svn', 'svn_image');" align="top"/>
+ <img id="svn_image" src="flip1.gif" onClick="toggleBlock('svn', 'svn_image');" align="top"/>
Detectors added in svn<br/>
- <div id="svn" style="display:block;">
+ <div id="svn" style="display:none;">
<ul>
<li><b>[CVAA] ContraVariant Array Assignment</b><br/>
Looks for contravariant array assignments. Since arrays are mutable data structures, their use
must be restricted to covariant or invariant usage.
<span style="color: #0000FF;">--contributed by Bhaskar Maddala - THANKS!</span></li>
+ </ul>
+ </div>
+ <hr/>
+ <img id="v4_6_0_image" src="flip2.gif" onClick="toggleBlock('v4_6_0', 'v4_6_0_image');" align="top"/>
+ Detectors added in v4.6.0<br/>
+ <div id="v4_6_0" style="display:block;">
+ <ul>
<li><b>[SNG] Suspicious Null Guard</b><br/>
Looks for code that checks to see if a field or local variable is not null
before entering a code block either an if, or while statement, and reassigns
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2011-06-11 20:08:49
|
Revision: 1681
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1681&view=rev
Author: dbrosius
Date: 2011-06-11 20:08:43 +0000 (Sat, 11 Jun 2011)
Log Message:
-----------
update eclipse installation
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2011-06-11 19:56:06 UTC (rev 1680)
+++ trunk/fb-contrib/htdocs/index.shtml 2011-06-11 20:08:43 UTC (rev 1681)
@@ -63,12 +63,8 @@
Findbugs™ directory.
</li>
<li style="margin-left: -10px;">
- To run fb-contrib from eclipse, you will need to find the plugin directory for Findbugs™ inside
- of Eclipse's plugin directory. The directory will look something like
- <div style="color: #FF2266; margin: 10px;">
- eclipse\plugins\edu.umd.cs.findbugs.plugin.eclipse_1.3.9.20090821\plugin
- </div>
- depending on what version of Findbugs™ you are using.
+ To run fb-contrib from eclipse, assuming that the main FindBugs plugin is installed,
+ simply drop the fb-contrib.jar in the plugins directory of eclipse, and restart eclipse.
</li>
</ul>
</p>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2011-06-11 20:21:38
|
Revision: 1684
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1684&view=rev
Author: dbrosius
Date: 2011-06-11 20:21:32 +0000 (Sat, 11 Jun 2011)
Log Message:
-----------
document LGO
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2011-06-11 20:18:37 UTC (rev 1683)
+++ trunk/fb-contrib/htdocs/index.shtml 2011-06-11 20:21:32 UTC (rev 1684)
@@ -79,6 +79,11 @@
Looks for contravariant array assignments. Since arrays are mutable data structures, their use
must be restricted to covariant or invariant usage.
<span style="color: #0000FF;">--contributed by Bhaskar Maddala - THANKS!</span></li>
+ <li><b>[LGO] Lingering Graphics Object</b><br/>
+ Looks for creation of java.awt.Graphics object that do not have the
+ .dispose() method called on them when finished. These objects will be cleaned up by
+ the Garbage collector, bug given the likelyhood that large numbers of these objects can
+ be created in a short period of time, it is better to dispose them as soon as possible.</li>
</ul>
</div>
<hr/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2011-06-11 20:22:44
|
Revision: 1685
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1685&view=rev
Author: dbrosius
Date: 2011-06-11 20:22:38 +0000 (Sat, 11 Jun 2011)
Log Message:
-----------
expand the svn group by default
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2011-06-11 20:21:32 UTC (rev 1684)
+++ trunk/fb-contrib/htdocs/index.shtml 2011-06-11 20:22:38 UTC (rev 1685)
@@ -71,9 +71,9 @@
</div>
<hr/>
- <img id="svn_image" src="flip1.gif" onClick="toggleBlock('svn', 'svn_image');" align="top"/>
+ <img id="svn_image" src="flip2.gif" onClick="toggleBlock('svn', 'svn_image');" align="top"/>
Detectors added in svn<br/>
- <div id="svn" style="display:none;">
+ <div id="svn" style="display:block;">
<ul>
<li><b>[CVAA] ContraVariant Array Assignment</b><br/>
Looks for contravariant array assignments. Since arrays are mutable data structures, their use
@@ -87,9 +87,9 @@
</ul>
</div>
<hr/>
- <img id="v4_6_0_image" src="flip2.gif" onClick="toggleBlock('v4_6_0', 'v4_6_0_image');" align="top"/>
+ <img id="v4_6_0_image" src="flip1.gif" onClick="toggleBlock('v4_6_0', 'v4_6_0_image');" align="top"/>
Detectors added in v4.6.0<br/>
- <div id="v4_6_0" style="display:block;">
+ <div id="v4_6_0" style="display:none;">
<ul>
<li><b>[SNG] Suspicious Null Guard</b><br/>
Looks for code that checks to see if a field or local variable is not null
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2011-06-15 01:29:05
|
Revision: 1689
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1689&view=rev
Author: dbrosius
Date: 2011-06-15 01:28:58 +0000 (Wed, 15 Jun 2011)
Log Message:
-----------
add notice of version 4.6.1
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2011-06-13 06:45:45 UTC (rev 1688)
+++ trunk/fb-contrib/htdocs/index.shtml 2011-06-15 01:28:58 UTC (rev 1689)
@@ -68,6 +68,8 @@
</li>
</ul>
</p>
+ <p style="font-weight: bold;">The latest version of fb-contrib is 4.6.1 available for download
+ <a href="http://sourceforge.net/projects/fb-contrib/files/Current/fb-contrib-4.6.1.jar/download">here</a>.</p>
</div>
<hr/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2011-07-02 03:48:31
|
Revision: 1695
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1695&view=rev
Author: dbrosius
Date: 2011-07-02 03:48:25 +0000 (Sat, 02 Jul 2011)
Log Message:
-----------
doc STB on the website
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2011-07-02 03:46:55 UTC (rev 1694)
+++ trunk/fb-contrib/htdocs/index.shtml 2011-07-02 03:48:25 UTC (rev 1695)
@@ -86,6 +86,11 @@
.dispose() method called on them when finished. These objects will be cleaned up by
the Garbage collector, bug given the likelyhood that large numbers of these objects can
be created in a short period of time, it is better to dispose them as soon as possible.</li>
+ <li><b>[STB] Stacked Try Blocks</b><br/>
+ Looks for two or more try catch blocks that are consecutive and catch the
+ same kind of exception, and throw the same exception always. These blocks can
+ be coalesced into one.
+ </li>
</ul>
</div>
<hr/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2012-02-02 18:30:45
|
Revision: 1712
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1712&view=rev
Author: dbrosius
Date: 2012-02-02 18:30:39 +0000 (Thu, 02 Feb 2012)
Log Message:
-----------
update detector descriptions
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2012-02-02 18:00:41 UTC (rev 1711)
+++ trunk/fb-contrib/htdocs/index.shtml 2012-02-02 18:30:39 UTC (rev 1712)
@@ -79,7 +79,7 @@
<ul>
<li><b>[CVAA] ContraVariant Array Assignment</b><br/>
Looks for contravariant array assignments. Since arrays are mutable data structures, their use
- must be restricted to covariant or invariant usage.
+ must be restricted to covariant or invariant usage.<br/>
<span style="color: #0000FF;">--contributed by Bhaskar Maddala - THANKS!</span></li>
<li><b>[LGO] Lingering Graphics Object</b><br/>
Looks for creation of java.awt.Graphics object that do not have the
@@ -91,6 +91,34 @@
same kind of exception, and throw the same exception always. These blocks can
be coalesced into one.
</li>
+ <li><b>[CCNE] Compare Class Name Equals</b><br/>
+ Looks for code that compares to classes by name, rather than by just comparing the
+ classes with ==<br/>
+ <span style="color: #0000FF;">--contributed by Bhaskar Maddala - THANKS!</span>
+ </li>
+ <li><b>[CSBTS] CommonsStringBuilderToString</b><br/>
+ Looks for usage of ToStringBuilder from Apache commons, where the code invokes
+ toString() on the constructed object without invoking append().<br/>
+
+ Usage without invoking append is equivalent of using the Object.toString()
+ method
+
+ <pre>
+ new ToStringBuilder(this).toString();
+ </pre><br/>
+ <span style="color: #0000FF;">--contributed by Bhaskar Maddala - THANKS!</span>
+ </li>
+ <li><b>[CHTH] CommonsHashcodeBuilderToHashcode</b><br/>
+ Looks for uses for Commons-lang HashCodeBuilder where the result of hashCode() is
+ returned instead of calling the method toHashCode().<br/>
+ <span style="color: #0000FF;">--contributed by Bhaskar Maddala - THANKS!</span>
+ </li>
+ <li><b>[BRPI] BackportReusePublicIdentifiers</b><br/>
+ Looks for use of Backport Utils concurrent classes. Updated/Efficient version of these
+ classes are available in versions of the JDK 5.0 and higher, and these
+ classes should only be used if you are targeting JDK 1.4 and lower.<br/>
+ <span style="color: #0000FF;">--contributed by Bhaskar Maddala - THANKS!</span>
+ </li>
</ul>
</div>
<hr/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2012-02-02 18:31:55
|
Revision: 1713
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1713&view=rev
Author: dbrosius
Date: 2012-02-02 18:31:49 +0000 (Thu, 02 Feb 2012)
Log Message:
-----------
update detector descriptions
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2012-02-02 18:30:39 UTC (rev 1712)
+++ trunk/fb-contrib/htdocs/index.shtml 2012-02-02 18:31:49 UTC (rev 1713)
@@ -104,9 +104,8 @@
method
<pre>
- new ToStringBuilder(this).toString();
- </pre><br/>
- <span style="color: #0000FF;">--contributed by Bhaskar Maddala - THANKS!</span>
+ new ToStringBuilder(this).toString();
+ </pre><span style="color: #0000FF;">--contributed by Bhaskar Maddala - THANKS!</span>
</li>
<li><b>[CHTH] CommonsHashcodeBuilderToHashcode</b><br/>
Looks for uses for Commons-lang HashCodeBuilder where the result of hashCode() is
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|