How to generate a static analysis report in Polyspace per function in C.
7 views (last 30 days)
Show older comments
Srikanth Kadudula on 30 Aug 2022
The report generated by Polyspace for static analysis(MISRA check), mentions the issues found per file or by function, but doesn't specify that rest of the functions have passed all the MISRA standard rules enabled by user. Is there a way to generate a report which mentions all following functions have passed MISRA and classify rest as issues/warnings found for those functions which failed.
Anirban on 9 Sep 2022
The predefined CodingStandards template does not directly give you the list of functions with no rule violations. You have to create a custom report template to get this list (or use the result export functionality to export results and post-process them into a report).
If you contact MathWorks Technical Support, they can provide you a custom template or help create one.
Code Verification Polyspace Bug Finder Review Analysis Results Review Polyspace Bug Finder Results in Polyspace User Interface Reports and Metrics Generate Reports
Find more on Generate Reports in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!