Software Quality Objectives

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 level or define your own SQOs. 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

 SQO Exhaustive

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

Comparing Verification Results Against Software Quality Objectives

You can compare your verification results against SQOs either in the Polyspace® user interface or the Polyspace Metrics web interface.

  • In the Polyspace user interface, you can use the menu in the Results List toolbar to display only those results that you must fix or justify to attain a certain Software Quality Objective.

    To activate the SQO options in this menu, select Tools > Preferences. On the Review Scope tab, select Include Quality Objectives Scope.

  • In the Polyspace Metrics web interface, you can first determine whether your project fails to attain a certain Software Quality Objective. The web interface generates a Quality Status of PASS or FAIL for your project. If your project has a Quality Status of FAIL, the web interface highlights in red those results that you must fix or justify to attain the Software Quality Objective. You can choose to only download those results to the Polyspace user interface and review them. For more information, see Compare Metrics Against Software Quality Objectives.

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

Note

You cannot use the menu in the user interface to suppress red or gray checks. Therefore, you cannot directly compare your project against predefined SQO levels 1, 2 and 3 in the Polyspace user interface. However, in the Polyspace Metrics web interface, you can compare your project against all predefined SQO levels.