filter
Specify
filtering for a report.
GUI Equivalent
Toolbar Filter
Syntax
-filter
<filter_name>=value
-f
<filter_name>=value
Arguments
- function=value
- Include only problems with the specified function name(s).
- id=value
- Include only problems with the specified ID(s).
- investigated=value
- Set whether to include only problems that are investigated or not. Valid values are:not_investigated | investigated.
- line=value
- Include only problems with the specified line number(s).
- module=value
- Include only problems from the specified module(s).
- problem=value
- Include only problems with the specified problem type(s).
- severity=value
- Include only problems with the specified severity(s). Valid values areremark | informational | caution | warning | error | critical
- source=value
- Include only problems with the specified source file name(s).
- state=value
- Include only problems with the specified state(s).
Default
Unfiltered.
Actions Modified
Description
Use
filter
when you want to generate a report that only includes
problems that meet your specified criteria.
Example
Generate a Problems report, filtering it so that only
critical problems are reported.
$ inspxe-cl -report problems -user-data-dir "My Inspector Results - myProjectName" -f severity=critical
Generate a Problems report that only includes problems
in the source file
combine.cpp
that have not yet been investigated.
$ inspxe-cl -report problems -filter source=combine.cpp -filter investigated=not_investigated