You have configured and found the all violation but I think you also like to save all that data for future reference. You can do this without using any other tool. For situations of this kind PMD provides a handy reporting tool it is able to generate reports in multiple formats. Currently PMD can generate reports in HTML, XML, plain text as well as Comma Separated Value (CSV) formats.
- Right Click on the java project in the project explorer and select PMD | Generate reports
- It creates a report folder in your application and create violation report.
- Select Window | Show View | Navigator
- In Navigator view click on Project and then on the reports folder
- That folder content same report in different format one of them html format. It is something like:
Thank you so much.
ReplyDeleteI am getting error like below
ReplyDeleteany help ?
An internal error occurred during: "RenderReport".
Compilation unit name must end with .java, or one of the registered Java-like extensions