Contenuto principale

Configure Review Information Import

Configure importing review information from existing results

Configure how to import review information, such as status, severity, or other comments and justifications, from previous Polyspace® results or source code.

In the Polyspace Platform user interface, by default, review information from the previous run is imported into the current run. You can also import review information explicitly from another set of results, both in the user interface and on the command line.

Alternatively, you can enter annotations in a standard format to your source code for storing review information. Subsequent analyses of the source code can read your annotations and import them into the Polyspace results. If you choose to enter code annotations in a nonstandard format, you can also specify a mapping to your format so that Polyspace can recognize your annotations.

Polyspace Options

-import-commentsImport review information from previous analysis
-ignore-code-annotationsIgnore C/C++ code annotations justifying Polyspace results and show all results as unreviewed (Since R2022a)
-xml-annotations-descriptionApply custom code annotations to Polyspace analysis results

System Commands

polyspace-comments-import(System Command) Import review information from previous Polyspace analysis
polyspace-results-export(System Command) Export Polyspace results to external formats such as CSV or JSON

Topics

Import Review Information From Previous Results or Code

Custom Code Annotations for Storing Review Information