-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show report in HTML #884
Comments
Hey @tuyentran81 and thanks for the issue. |
A SARIF report can be transformed into HTML with sarif-tools, which is conveniently implemented in python. However, as it depends on |
Thanks @bollwyvl for the suggestion! I think the main idea behind this issue is that we want to have a custom HTML report that is the best visual representation of the code issues fund by Robocop, which means it should be adjusted to the type of this document. But the |
I have also tested it and it's how it looks like (from sarif html command): I guess we can decide on one of the two kind of reports: summary or detailed report. Sarif is summary kind (where we put the information, graphs from the whole run). The detailed could be for example coverage report: We could display Robocop errors instead (with small summary at top of the file). I'm leaning more forward the second kind. It's definietely more work but we can get inspired by coverage package and reuse their code (open source code rocks ;)). They're using Jinja templating: https://github.com/nedbat/coveragepy/tree/master/coverage/htmlfiles . WDYT? |
Yep, Funny coverage.py was mentioned, as I had recently done some experiments writing a plugin to handle |
Currently, the report after scanning is in text file. It's hard to read it. I would like to have the report in HTML format after running report.
The text was updated successfully, but these errors were encountered: