Polyspace

Description

Polyspace is a static analysis tool which includes a MISRA checker. It produces an XML output which can be imported to generate findings. Polyspace Verifier detects RTE (RunTime Error) such as Division by zero, Illegal Deferencement Pointer, Out of bound array index... Such information is turned into statistical measures at function level. Number of Red (justified/non-justified), Number of Grey (justified/non-justified), Number of Orange (justified/non-justified), Number of Green.

For more details, refer to http://www.mathworks.com/products/polyspace/index.html.

Usage

Polyspace has the following options:

  • DocBook results file ( xml ) Specify the path to the DocBook (main xml file) generated by Polyspace . ​

  • Ignore source file path ( ignoreSourceFilePath , default: false) Removes all path elements when doing the mapping between files in Squore project and files in the Pomyspace report. Becareful this can work only if file names in Squore project are unique.​

The full command line syntax for Polyspace is:

-d "type=Polyspace,xml=[text],ignoreSourceFilePath=[booleanChoice]"