Can I combine Polyspace results from different projects into a single report?

5 views (last 30 days)

I have multiple different Polyspace projects. I provide these to my customer as a single package and would like to provide them with a single report that combines the information from each project result. Is this possible to complete in Polyspace?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Sep 2024
Currently, Polyspace does not support combining the results from multiple projects into a single report.
 
As a workaround, you can follow this process:
1) Export your analysis results from Polyspace as a CSV or JSON-SARIF file. Instructions on how to export results in these formats can be found at the following link:
2) After exporting these results, you can use write custom scripts to parse for the desired information and manually generate a report combining the information from each project's results.
If you wanted to perform this processing in MATLAB, you can use the built-in JSON processing functions, such as "jsondecode". More information can be found at the documentation link here:
3) After importing the analysis result data for each of your projects, you can read each rule violation that Polyspace detected and can process them, such as by grouping them based on the ID of the rule violated, the severity of the violation, or other metadata included by Polyspace.
4) You can then compile this processed data into a new report using MATLAB Report Generator:

More Answers (0)

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!