Configure Review Information Import
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-comments | Import review information from previous analysis |
-ignore-code-annotations | Ignore C/C++ code annotations justifying Polyspace results and show all results as unreviewed (Since R2022a) |
-xml-annotations-description | Apply 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
- Import Review Information from Previous Polyspace Analysis
Import information such as status, severity and additional notes from another Polyspace result file. - Annotate Code and Hide Known or Acceptable Results
Look up the Polyspace code annotation syntax for justifying known issues.
Custom Code Annotations for Storing Review Information
- Define Custom Annotation Format
Create your own code annotation syntax for justifying known issues. - Annotation Description Full XML Template
Look up the elements and attributes of the XML used to define your code annotation syntax and map it to the Polyspace annotation syntax.