Main Content

Evaluate Polyspace Code Prover Results Against Software Quality Objectives

Instead of evaluating all results of a Code Prover analysis, you can first define a set of criteria that the analyzed project must meet and compare the Code Prover results against those criteria. The Software Quality Objectives or SQOs are a set of thresholds against which you can compare your verification results. You can develop a review process based on the Software Quality Objectives. In your review process, you consider only those results that cause your project to fail a certain SQO level.

You can use a predefined SQO levels or define your own. To customize SQO levels, see Customize Software Quality Objectives (Polyspace Access).

Specifications of SQO Levels

Following are the quality thresholds specified by each predefined SQO.

 SQO Level 1

 SQO Level 2

 SQO Level 3

 SQO Level 4

 SQO Level 5

 SQO Level 6

 Exhaustive

For information on the rationales behind these levels, see Software Quality Objectives for Source Code.

Compare Verification Results Against Software Quality Objectives

You can compare your verification results against SQOs in the Polyspace® Access™ web interface. For information about how to do this in the deprecated Polyspace desktop user interface, see Compare Verification Results Against Software Quality Objectives (R2025b).

In the Polyspace Access web interface, you can first determine whether your project fails to attain a certain Quality Objective threshold by looking at the Quality Objectives card on the Project Overview dashboard.

Quality objectives card showing 32% completion for SQO2 threshold with 1,969 remaining unaddressed findings.

The card shows the percentage of results that you have already fixed or justified in order to attain the threshold. Click the number of remaining findings to open those findings in the Results List. For a more detailed view of the quality of your code against all quality objectives thresholds, open the Quality Objectives dashboard. For more information, see Monitor Code Quality Using Quality Objectives Dashboard in Polyspace Access (Polyspace Access).

You can also generate reports that show the PASS or FAIL status using the templates SoftwareQualityObjectives_Summary and SoftwareQualityObjectives. See Bug Finder and Code Prover report (-report-template).

Customize SQO Levels

To customize SQOs in the Polyspace Access web interface, see Customize Software Quality Objectives (Polyspace Access).

See Also

Topics