walkmod
The tool could generate the report as a file, sure. But The problem is that you will need a service to retrieve that file and compare - and then it becomes a non generic solution.
Indeed, my question is what do you want to do with that file? It can generate it, but nobody will take benefit of it, right?
However, take in mind that the report is stored inside the Git repository as a note (it is invisible - and how other tools like Gerrit work) to avoid an external service.
Junit Extensions for Test Impact Analysis
How to Maintain Java Architectures with JavaPoet and WalkMod
Tuning Clean Code Workflows with Jenkins and WalkMod
How to Fix PMD Violations with WalkMod
Ten tips to increase developers productivity
PMD meets Git to support incremental code analysis
PMD meets Git to prioritize technical debt
WalkmodHub: New alternative to SonarQube with fixing capabilities
In fact, most of us use some automatic ways to correct and enrich code with IDEs. Is it also incorrect? In fact, what we are trying to solve are the following situations:
a) In a context where there are a lot of developers and you have worked hard into improve the code style and someone else pushed code that again violates your "implicit" code style. Do you need to correct these bad practices over and over again?
b) There are some boring tasks that punctually appear like "refactoring" when deprecated methods appear or developers need to upgrade one external library version (eg. one critical bug appears).
Anyway, thank you for your opinion :-)