To begin, you need to upload your Polyspace Bug Finder and Polyspace Code Prover results to the Polyspace Access repository.
Next, for the project, you must explicitly define a Software Quality Objective (SQO) level. This can be done either through the web interface or via the command line using:
polyspace-access -set-sqo
Once the SQO level is assigned to the project, you can generate a report using one of the two SQO-specific templates:
- SoftwareQualityObjectives.rpt
- SoftwareQualityObjectives_Summary.rpt
For example, on a Windows system, you can define the template path and select the desired template as follows:
SET templatepath="C:\Program Files\Polyspace\R2025a\toolbox\polyspace\psrptgen\templates\sqo\"
SET reporttemplate=%template_path%\SoftwareQualityObjectives.rpt
polyspace-report-generator -host myAccessServer -credentials-file myCredentials.txt ^
-template %report_template% ^
-format PDF -run-id 16 ^
-output-name myReport.pdf
The resulting myReport.pdf will indicate whether the project PASSes or FAILs based on the SQO level defined in Polyspace Access for the project associated with run ID 16.