At IDR Solutions we are always looking at ways to improve our Java PDF Library and our PDF to HTML5 Converter. The best way to do this is to improve the Java Code we write, we do this using some useful tools that help to not only improve our code but also our productivity.

In this article we will be taking a look at the 5 most used tools that we use at IDR Solutions and how it can help Java Developers write better code.

FindBugs

FindBugs is an open source program that is distributed under the terms of the Lesser GNU Public license and operates on Java bytecode rather than source code.

The tool uses static analysis to help identify hundreds of different potential types of errors in the code of Java programs, these include null pointer dereferences, infinite recursive loops, bad uses of the Java libraries and deadlocks.

FindBugs is mainly used for identifying hundreds of serious defects in large applications and It is capable of determining the severity of potential errors and are classified in four ranks:

  1. scariest
  2. scary,
  3. troubling
  4. of concern.

FindBugs is distributed as a stand-alone GUI application and also available as plug-ins for Eclipse, NetBeansIntelliJ IDEA and Findbugs can be used from the command line or within ant, eclipse, maven, netbeans and emacs.

Read what the remaining 4 useful tools to help you write better Java code are here.