evaluate polyspace code prover results against software quality objectives -凯发k8网页登录

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 .

specifications of sqo levels

following are the quality thresholds specified by each predefined sqo.

 

 

 

 

 

 

 

for information on the rationales behind these levels, see .

compare verification results against software quality objectives

you can compare your verification results against sqos either in the polyspace® access web interface or the polyspace desktop user interface.

  • 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 28% completion for sqo2 threshold with 5 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 the .

    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).

  • 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.

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 access web interface, you can compare your project against all predefined sqo levels.

customize sqo levels

to customize sqos:

  • in the polyspace access web interface, see .

  • in the polyspace desktop user interface, review scopes are used to implement sqos. see how to create your own review scopes in one of these topics:

related topics

    网站地图