Java Lint ?

If you’re familiar with Lint at all then you know its mainly used with C++ and stuff

There appears to be some Java solutions aswell… has anyone any experience with it in Java ? Does eclipse by itself already do all warnings and stuff, that lint would do ?

There is of course PMD, if you want to be really hardcore…

I used to use a lot of findbugs, but its like going to the dentist: it hasn’t found anything important in so long (at least not stuff that eclipse wouldn’t already find on its own), I just gave up.

Findbugs can find nasty multithreading bugs. It is a very nice tool, its memory footprint is just a bit too high :s

That’s about the strangest thing a professional software developer could possibly say about a tool :expressionless:
Spend 1 hour searching for one single threading bug = waste £50 of client’s time. Spend £50 on RAM - use tool. Find lots of bugs.

Cas :slight_smile:

Interesting, I don’t remember findbugs being that greedy.

FYI: down my way you cannot commit/check-in any code without running a findbugs over your changes (to prove that you did not introduce more bugs for that change-set)