Back to Java Users Group Home Print this page

Java Users Group

November 2004 Meeting Information

November 9, 2004
Technical Overview of PMD

This month's meeting will be a technical overview of PMD. This utility scans Java source code and looks for potential problems such as:
  • empty try/catch/finally/switch blocks.
  • unused local variables, parameters and private methods.
  • empty if/while statements.
  • overcomplicated expressions – unnecessary if statements, for loops that could be while loops.
  • classes with high Cyclomatic Complexity measurements.
Developers can write their own custom rules by extending the built-in API class, AbstractRule. PMD has plugins for JDeveloper, Eclipse, JEdit, JBuilder, Omnicore's CodeGuide, NetBeans/Sun ONE Studio, IntelliJ IDEA, TextPad, Maven, Ant, Gel, and Emacs.

Meetings are held every second Tuesday of the month at the Scotch Plains Rescue Squad second floor meeting hall starting promptly at 7:30pm. Meetings are open to the public, and visitors are encouraged to join ACGNJ.

SIG Leader Mike Redlich
E-Mail mike@redlich.net
Phone: (908) 246-0410