Finding Bugs
Code reviews are good. Reviewers find bugs in your code, point out
inconsistencies, areas where you are misusing the Java language,
deviations from good style, and so forth. The problem with code
reviewers is they usually get tired after a half an hour or so of
reviewing code, and the quality of the review drops off.
The program FindBugs is a bug pattern detector for java. FindBugs is just like a code reviewer that never gets tired. It scours through your code and looks for potential bugs and problems and gives you a report. Unlike a human code reviewer, FindBugs doesn't give you that self-satisfied smirk when it finds a bug like the human reviewer does. |
I was surprised and impressed by the types of bugs FindBugs can find. It has proven to be extremely useful in improving my code quality. I've added FindBugs to my set of must-use Java tools, next to ant and jfluid.
Posted by Jon Eaves on September 22, 2004 at 08:28 AM EDT #
Posted by Anonymous on September 22, 2004 at 08:45 AM EDT #
Posted by Sahil on September 22, 2004 at 11:32 PM EDT #