Any large Java source base can have insidious and subtle bugs. Every
experienced Java programmer knows that finding and fixing these bugs can be
difficult and costly. Fortunately, there are a large number of free open
source Java tools available that can be used to find and fix defects early in
the development life cycle. In this article, we’ll look at a few
examples of specific uncommon[1] or unusual defects that can happen in code
and see how different Java static analysis tools detect them.
Testing
As software gets more complex and ubiquitous, it becomes more difficult to
ensure high-quality code. One common method of finding bugs is testing. But
testing can’t cover all paths and possibilities or enforce good
programming practices. Expert knowledge in the f... (more)