Random ruminations of a java developer

Thursday, March 26, 2009

5 essential eclipse java plugins

This is a list of eclipse java plugins I think every java developer should install and use. The tools listed here increase dramatically the quality and speed of development. All of the tools are free and they do a good job, so there really is no reason not to install these plugins. Trust me, your code will be higher quality.

1) EclEmma

EclEmma is a free code coverage tool, it displays graphically the code coverage from a unit test run. If you write unit tests for your code (and you absolutely should!) this tool helps you to pinpoint the parts of code which are not executed during test runs.

Tool homepage: http://www.eclemma.org/
Eclipse update site: http://update.eclemma.org/

2) FindBugs

FindBugs is a static code analyzer which you can run for any part of your project. Hightly recommended. One caveat is that you have to carefully weigh the advice these source code analysis tools give and not to blindly correct each reported issue. But this applies to all code checking tools.

Tool homepage: http://findbugs.sourceforge.net/
Eclipse update site: http://findbugs.cs.umd.edu/eclipse

3) Jadclipse

Jad is maybe the best java decompiler there is, and jadclipse is the eclipse frontend to it. This tool is immensely useful if work with any third party libraries or code to which you don't have sources.

Tool homepage: http://jadclipse.sourceforge.net/wiki/index.php/Main_Page
Eclipse update site: http://jadclipse.sf.net/update

4) Anyedit tools

Anyedit tools adds a new context menu to eclipse which can be used for many useful tasks, like converting from underscore notation to camelcase etc.

Tool homepage:http://andrei.gmxhome.de/anyedit/index.html
Eclipse update site: http://andrei.gmxhome.de/eclipse/

5) PMD

Another code checking tool, massively useful for any java developer. FindBugs and PMD report possible bugs with slightly different approach, use them both! 

Tool homepage: http://pmd.sourceforge.net/
Eclipse update site: http://pmd.sf.net/eclipse