Now you can see a bug mark on the source code, double click the bug mark, Bug Explorer will be shown ( You can also navigate to Window->Show View->Other->PMD->Violations Overview).
How To Generate Reports Using PMD?
You can generate reports in various formats by using PMD, you can configure this in PMD settings (please check the screenshot below)
You can see below how to generate reports using PMD (please check the screenshot below)
Now you can see the generated reports inside the project folder (in our case we can see a separate reports folder inside PMDTest project)