PMD Eclipse Tutorial explains step by step details of installing and configuring PMD plugin with eclipse.
How to configure PMD plugin with eclipse?
How to generate PMD reports with eclipse?
What is PMD? How to use PMD?
PMD stands for Programming Mistake Detector. It is a free source code analysis tool which helps you to find the bugs in your java code and improve the code quality. PMD helps to find empty try/catch/finally statements, while/if statements, unnecessary object creation etc.
PMD warning and problems are not exactly errors, but shows that particular code need to be improved