Konfigurieren des Imports von Review-Informationen
R2026bKonfigurieren Sie, wie Review-Informationen wie Status, Schweregrad oder andere Kommentare und Begründungen aus früheren Polyspace®-Ergebnissen oder aus dem Quellcode importiert werden.
In der Benutzeroberfläche der Polyspace-Plattform werden Review-Informationen aus dem vorherigen Lauf standardmäßig in den aktuellen Lauf importiert. Sie können Review-Informationen auch explizit aus einem anderen Ergebnissatz importieren, sowohl über die Benutzeroberfläche als auch die Befehlszeile.
Alternativ können Sie Ihrem Quellcode Anmerkungen in einem Standardformat hinzufügen, um Review-Informationen zu speichern. Bei nachfolgenden Analysen des Quellcodes werden Ihre Anmerkungen gelesen und die Review-Informationen in die Polyspace-Ergebnisse importiert. Wenn Sie Code-Anmerkungen in einem nicht standardisierten Format hinzufügen, können Sie zusätzlich eine Zuordnung zu Ihrem Format angeben, damit Polyspace Ihre Anmerkungen erkennen kann.
Polyspace-Optionen
-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 (Seit R2022a) |
-xml-annotations-description | Apply custom code annotations to Polyspace analysis results |
Systembefehle
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 |
Themen
Importieren von Review-Informationen aus früheren Ergebnissen oder 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.
Benutzerdefinierte Code-Anmerkungen zum Speichern von Review-Informationen
- 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.