Not related to SO, but FindBugs and PMD for Java are designed to identify potential bugs, based on accumulated knowledge of "gotchas" (e.g. calling "multiply()" on a BigDecimal without assigning it to a new variable - BigDecimal is immutable).
No comments yet.