Main Content
Report Customization (Filtering)
Create filters that apply to your Polyspace reports
Description
This component allows you to filter unwanted information from existing Polyspace® report templates. To apply global filters, place this component immediately below the node representing the report name.
Properties
Code Metrics Filters
The properties in table below apply to the inclusion of code metrics in your report.
Property | Purpose | User Action |
---|---|---|
Include Project Metrics | Choose whether to include metrics about your Polyspace project. | Select the check box to include project metrics. |
Project metrics to include | Specify project metrics to include or exclude from report. | Enter a MATLAB® regular expression. |
Include File Metrics | Choose whether to include per file metrics in report. | Select the check box to include per file metrics. |
File Metrics > Files to include | Specify files to include or exclude when reporting file metrics. | Enter a MATLAB regular expression. |
File metrics to include | Specify file metrics to include or exclude from report. | Enter a MATLAB regular expression. |
Include Function Metrics | Choose whether to include per function metrics in report. | Select the check box to include per function metrics. |
Function Metrics > Files to include | Specify files to include or exclude when reporting function metrics. | Enter a MATLAB regular expression. |
Functions to include | Specify functions to include or exclude when reporting function metrics. | Enter a MATLAB regular expression. |
Function metrics to include | Specify function metrics to include or exclude from report. | Enter a MATLAB regular expression. |
Coding Rules Filters
The properties in table below apply to the inclusion of coding rule violations in your report.
Property | Purpose | User Action |
---|---|---|
Files to include | Specify files to include or exclude when reporting coding rule violations. | Enter a MATLAB regular expression. |
Coding rule numbers to include | Specify coding rules to include or exclude when reporting coding rule violations. | Enter a MATLAB regular expression. |
Classifications to include | Specify classifications to include or exclude when reporting coding rule violations. | Enter a MATLAB regular expression. |
Status types to include | Specify statuses to include or exclude when reporting coding rule violations. | Enter a MATLAB regular expression. |
Run-time Check Filters
The properties in table below apply to the inclusion of Polyspace Code Prover™ checks in your report.
Property | Purpose |
---|---|
Red Checks | Specify whether to include red checks in your report. Red checks indicate proven run-time errors. |
Gray Checks | Specify whether to include gray checks in your report. Gray checks indicate unreachable code. |
Orange Checks | Specify whether to include orange checks in your report. Orange checks indicate possible run-time errors. |
Green Checks | Specify whether to include green checks in your report. Green checks indicate that an operation does not contain a specific run-time error. |
Inspection Point Checks | Specify whether to include inspection point checks in your report. These checks allow an user to find the values that a variable can take at a certain point in the code. |
Unreachable Functions | Specify whether to include unreachable functions in your report. |
Advanced Filters
The properties in table below apply to the inclusion of metrics, coding rule violations and Polyspace Code Prover checks in your report.
Property | Purpose | User Action |
---|---|---|
Justification status | Choose whether to report only justified checks, only unjustified checks or all checks. | Choose an option from the dropdown list. |
Files to include | Specify files to include or exclude from your report. | Enter a MATLAB regular expression. |
Check types to include | Specify Polyspace Code Prover checks to include in your report. | Enter a MATLAB regular expression. |
Function names to include | Specify functions to include or exclude from your report. | Enter a MATLAB regular expression. |
Classification types to include | Specify classifications to include or exclude from your report. | Enter a MATLAB regular expression. |
Status types to include | Specify statuses to include or exclude from your report. | Enter a MATLAB regular expression. |
Comments to include | Specify comments to include or exclude from your report. | Enter a MATLAB regular expression. |