yegor256 / qulice

Quality Police for Java projects: aggregator of Checkstyle and PMD
https://www.qulice.com
Other
301 stars 112 forks source link

Report PMD processing errors #1185

Closed MikailBag closed 11 months ago

MikailBag commented 1 year ago

When PMD observes a processing error, such as parsing error, it stores it into a Report instance. However, this is not instance which is later used by qulice-pmd, so the error is lost.

This PR attaches a Renderer which remembers there new reports and later pushes them to listener.

Relevant PMD code references:

P.S. It is possible that issue can be alternatively solved with some other Report management strategy.