I think findbugs is far more likely to find problems on an application that involves multiple people, code that has been developed over time (with different assumptions by different people) and especially if it involves threading or I/O of some kind (including network), at least that's where it tends to find most of them for me :-).
As for the bugs that IntelliJ finds, I agree that they are useful. I would like to run all possible static analysis tools on my code, IDEA's, Findbugs, PMD, anything I can throw at it. My point is that the support for the FindBugs plugin seems to have been dropped because of the tool built in to IntelliJ now (as has PMD). I would imagine the work of supporting a plugin is quite a bit less than the work of keeping a full tool updated. The more static analysis tools, the better, but dropping Findbugs is not an option for me when it has proven to be so useful in the past. For an enlightening experience, just pick a library of your choice some time (one with source) and run findbugs on it. It is amazing some of the bugs that exist in libraries that we use every day... Cheers Dick On Sep 4, 8:21 am, "Jim Blackler" <[EMAIL PROTECTED]> wrote: > 2008/9/4 Dick Wall <[EMAIL PROTECTED]>: > > > Anyway, if you have a bit of non-trivial code, and you have got it to > > 0 warnings in IDEA, run findbugs on it. I would bet it will find more > > problems and some of the findings will almost certainly be valuable. > > I just did this on a small Swing app I'm building in IDEA, which gets > no warnings with IDEA's Analyze->Inspect Code. > > Findbugs reported 12 warnings, 11 of which are in > com.intellij.uiDesigner.core (a runtime class added by IDEA's Swing > designer). > > Not sure what that tells me! > > Jim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
