The Welkin Suite offers you to set the automatic run of PMD checking your files before the build, as well as you are able to run it manually for any Apex file. in the first case, once you run the build any of available approaches, The Welkin Suite will firstly check the files for set PMD rules.
To run the PMD checking manually, select a necessary file in the Solution Explorer, right-click and select the Scan with PMD option.
The same option is available for folders and projects.
All the detected errors, if any, are displayed in the Error panel and in the PMD Report window.
NB: You can face with
javaerror after the PMD execution. This error means, that you need to install Java on your PC.
In this section:
This also may be useful: