Jorgen Austvik Jorgen Austvik's Weblog

Sunday Jun 01, 2008

One of the best reasons to use Java as a programming language is the tools support, and one of my favorite tools is Findbugs.

So, it was only logical to add an ant target to the OpenGrok build file to make it easy to run FindBugs on the OpenGrok source.

The result? 263 warnings. Lots of them because we use JFlex, though.

How do you use it? Download findbugs-x.y.z.tar.gz, and unpack it to the opengrok/trunk/lib/findbugs-directory. Then run ant findbugs. See the OpenGrok README file for details.

Comments:

Post a Comment:
Comments are closed for this entry.