here is a nice tool:
http://findbugs.sourceforge.net
anotherone i read about is
Jode
Im attending a lection on quality assurance at university.
Here is a page with some tools that can help.
Quality Assurance Tools
If u can read german the whole page could be interesting for u.
Mr.Maxx