error-prone icon indicating copy to clipboard operation
error-prone copied to clipboard

Generate parsable reportfile

Open tomasbjerre opened this issue 8 years ago • 6 comments

I'd like to be able to generate reportfiles with result of the analysis. In my case I need a parsable report (there are some examples to perhaps resemble here).

tomasbjerre avatar Jul 30 '16 20:07 tomasbjerre

I'm currently supporting it by parsing the output from the build log: https://github.com/tomasbjerre/violations-lib/blob/master/src/main/java/se/bjurr/violations/lib/parsers/GoogleErrorProneParser.java

But still a format made for parsing would be better!

tomasbjerre avatar Jan 14 '18 11:01 tomasbjerre

+1 for this request, this will help with CI since parsing the entire build output for ErrorProne errors isn't that easy and reliable.

leinardi avatar Apr 14 '18 08:04 leinardi

@cushon @nglorioso @graememorgan @eaftan @cpovirk

Some attention here would be nice. There was a working PR #1132 that now has conflicts due to slow feedback...

This feature would really help introduce this great tool in legacy projects!

tomasbjerre avatar Oct 22 '19 04:10 tomasbjerre

+1 It would be nice if this is implemented, currently at Checkstyle, we are using a custom groovy script to parse the output and get the errors. Built-in support will be beneficial.

Vyom-Yadav avatar Aug 24 '22 06:08 Vyom-Yadav

ErrorProne uses standard javac diagnostics, so IMO this is something that should be supported at the build tool level. This would then automatically include Xlint warnings and other compilation errors as well.

tbroyer avatar Dec 05 '22 08:12 tbroyer