how to filter specific files in the bug finder report, to have the report only for specific files

9 次查看(过去 30 天)
How to filter specific files in the report of the analysis, to have the report only for Specific code, however I would like to perform the bug finder analysis for whole code.
Is it possible, if the specific files can be excluded in report generation of polyspace bug finder analysis?

采纳的回答

Anirban
Anirban 2022-4-13
The answer depends on your workflow.
If you are generating reports from the Polyspace desktop user interface:
  1. Open the Polyspace results.
  2. Suppress from display all files other than the ones you want to view using the filters in the File column. For more details on filtering, see Filter and Group Results in Polyspace Desktop User Interface.
  3. When generating a report, select the option Only include currently displayed results. See also Generate Reports from Polyspace Results.
Alternatively, you can use the option Do not generate results for (-do-not-generate-results-for) during analysis to include all code in the analysis but suppress results from certain files.
If you have MATLAB Report Generator, you can also create a report template that has those files filtered out. For a tutorial, see Customize Existing Bug Finder Report Template. You have to use the Report Customization (Filtering) component and using a MATLAB regular expression, specify files to include or exclude.

更多回答(0 个)

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by