PMD for NetBeans

This is the integration of PMD into Netbeans.

Read more about PMD:

Usage

Using PMD is quite simple, follow the steps:

The following screen shot shows a typical PMD Output window:

PMD Output

The following screen shot shows an annotation (PMD icon) created due to a problem detected by PMD:

PMD Annotation

Options

PMD allows you to set several options.

You can open the PMD's options dialog by navigating to :

PMD Options

Real time Scanning

Note: NetBeans requires a restart to disable scanning.

Rules

Rule sets