Azzera filtri
Azzera filtri

Is there an alternative method of adding annotations for BugFinder findings other than adding them to the source code or to the BugFinder report?

4 visualizzazioni (ultimi 30 giorni)
Adding annotations for BugFinder findings in the source code does not work for me because they get overwritten whenever I generate code, and adding annotations to the BugFinder report does not align to my workflow. Is there an alternative way of adding annotations for BugFinder findings? I am currently putting the analysis in a separate text file and then manually copying it into the Polyspace report.

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 17 Apr 2024 alle 0:00
Modificato: MathWorks Support Team il 17 Apr 2024 alle 17:36
This is a suggested workflow in this case:1) Launch an analysis from Simulink.2) Get your results from Polyspace: add Status/Severity and comments on checks, defects and coding rules that you do not wish to correct using the Polyspace UI during review.3) As soon as you are re-launching and getting new results, these would be two possible scenarios:3.1) The new results are in the same folder as the previous results or in a folder managed by Polyspace. In this case, Status/severity and comments will be automatically imported in new results. Please refer to the following link for more information (specifically to the section "Disable Automatic Comment Import from Last Analysis"):https://www.mathworks.com/help/doc-archives.html3.2) The second scenario would be that it is an analysis coming from another desktop or on a model that has reused some block libraries. In this case, you can import previous comments from a previous analysis using the corresponding commands in the Polyspace UI. For more information about this, refer to the "Import Comments from Another Analysis Result" section in the previous link. You can also achieve this programmatically instead of using the Polyspace UI by using the following command in the command line:
>> polyspace-imports-comments.exe -h in <MATLAB root>\Polyspace\bin
You can find the location of the MATLAB root folder by typing the following command in the command line:
>> matlabroot

Più risposte (0)

Prodotti


Release

Non è stata ancora inserita alcuna release.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by