Monday, November 03, 2008

findbugs Cheatsheet

1) Open the following link (Using Java Webstart):
http://findbugs.cs.umd.edu/demo/jnlp/findbugs.jnlp

This will download the latest findbugs distribution.

2) In the GUI, create a new project and then browse to the directory where your compiled jars exist.

3) Do an analysis.

4) Fix bugs, compile and then ask the gui to do reanalysis. File->Do reanalysis

That is it.

Reference: http://findbugs.sourceforge.net/

No comments: