Polyspace justifications added inside the code not available in generated polyspace reports
7 views (last 30 days)
Narayan Narvekar on 6 Apr 2021
I have observed that the polyspace justifications that are added inside the code as a code comment, are not available in the generated polyspace pdf reports.
In the polyspace access server these justifications can be correctly viewed (as shown in the below image). However, the status of the warnings is still "Unreviewed" in the generated polyspace pdf reports.
Could you please provide a solution to this issue?
Andreas Apostolatos on 25 May 2021
The cause of the issue was that the code annotation was added one line above the line of code that resulted in the defect and not on the same line of code, which is the expected workflow. See the following MATLAB Answers thread for more information,
More Answers (1)
Anirban on 8 Apr 2021
Edited: Anirban on 9 Apr 2021
Did you generate the report from a result after uploading to Polyspace Access? This workflow seems to report all review information, whether entered through code annotations or through the Access UI.
To generate a report from a result uploaded to Polyspace Access, you have to use the polyspace-report-generator command with -host-name and -run-id. (Note also that prior to generating reports from Polyspace Access on an HTTPS, you have to configure a keystore using the -configure-keystore option.)