- Open the Polyspace results.
- 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.
- When generating a report, select the option Only include currently displayed results. See also Generate Reports from Polyspace Results.
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?
0 个评论
采纳的回答
Anirban
2022-4-13
The answer depends on your workflow.
If you are generating reports from the Polyspace desktop user interface:
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!