- PDM provides now the reason of violation and also gives reason and URL...

... such as http://pmd.sourceforge.net/pmd-5.2.1/pmd-java/rules/java/unusedcode.html#UnusedLocalVariable

- checkstyle and findbugs do not offer such feature out of the box
I can do this but my point of view was to test if the content was added without worrying of the format of this content. Eg if you need to change \n to <br> than you also would have to update test what doesn't make sense.
I improved tests to but format change does not have impact on tests.