checkstyle-idea icon indicating copy to clipboard operation
checkstyle-idea copied to clipboard

How to export the reports?

Open zenglian opened this issue 6 years ago • 3 comments

Is it possible to export the scan result to html files?

Ideally, there is a"export" button and it generates an index.html, with links point to respective html files.

zenglian avatar Feb 11 '19 04:02 zenglian

I'm afraid we don't support this at present - you'd be better to use the Checkstyle CLI interface to generate reports.

I'll leave this open as a feature request.

jshiell avatar Feb 12 '19 08:02 jshiell

I could use it as well, write it to a log file, xsl and html from the ide

garymazz avatar Dec 31 '19 20:12 garymazz

Unfortunately this remains pretty unlikely to be implemented. We use Checkstyle at the listener level, so to generate any report we'd probably either have to run Checkstyle again with a different interface, so that the reporting features were available; or implement reporting features ourselves. Neither approach seems to justify the effort involved for me, to be honest, given your build tool can already do the same thing.

jshiell avatar Jan 01 '20 12:01 jshiell