Filter löschen
Filter löschen

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

3 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 28 Mai 2024 um 0:00
Bearbeitet: MathWorks Support Team am 17 Apr. 2024
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

Weitere Antworten (0)

Produkte


Version

Noch keine Version eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by