getSummary
View number of Polyspace results organized by results type (Bug Finder) or color and file (Code Prover)
To summarise coding rule violations, use 'codingStandards'
as the
resultsType
. (since R2024b) For information, see Version History.
Description
returns the distribution of results of type resSummary
= getSummary(resObj
, resultsType
)resultsType
in a Polyspace® results set, resObj
. The results set
resObj
can be a Bug Finder results set denoted by a polyspace.BugFinderResults
object or a Code Prover results set denoted by a
polyspace.CodeProverResults
object.
For instance:
If you choose to see Bug Finder defects, you can see how many defects of each type are present in the result set, for instance, how many non-initialized variables or declaration mismatches.
If you choose to see Code Prover run-time checks, you see how many red, orange, gray and green checks are present in each file.
If you choose to see coding standard violation, you see violation of supported coding standards.