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.

PropertyPurposeUser Action
Include Project MetricsChoose 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 MetricsChoose whether to include per file metrics in report.Select the check box to include per file metrics.
File Metrics > Files to includeSpecify 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 MetricsChoose whether to include per function metrics in report.Select the check box to include per function metrics.
Function Metrics > Files to includeSpecify files to include or exclude when reporting function metrics.Enter a MATLAB regular expression.
Functions to includeSpecify functions to include or exclude when reporting function metrics.Enter a MATLAB regular expression.
Function metrics to includeSpecify 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.

PropertyPurposeUser Action
Files to includeSpecify 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 includeSpecify 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.

PropertyPurpose
Red ChecksSpecify whether to include red checks in your report. Red checks indicate proven run-time errors.
Gray ChecksSpecify whether to include gray checks in your report. Gray checks indicate unreachable code.
Orange ChecksSpecify whether to include orange checks in your report. Orange checks indicate possible run-time errors.
Green ChecksSpecify whether to include green checks in your report. Green checks indicate that an operation does not contain a specific run-time error.
Inspection Point ChecksSpecify 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 FunctionsSpecify 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.

PropertyPurposeUser Action
Justification statusChoose whether to report only justified checks, only unjustified checks or all checks.Choose an option from the dropdown list.
Files to includeSpecify files to include or exclude from your report.Enter a MATLAB regular expression.
Check types to includeSpecify Polyspace Code Prover checks to include in your report.Enter a MATLAB regular expression.
Function names to includeSpecify functions to include or exclude from your report.Enter a MATLAB regular expression.
Classification types to includeSpecify classifications to include or exclude from your report.Enter a MATLAB regular expression.
Status types to includeSpecify statuses to include or exclude from your report.Enter a MATLAB regular expression.
Comments to includeSpecify comments to include or exclude from your report.Enter a MATLAB regular expression.