In this section:
You can suppress individual instances of findings, all instances of a finding type in a file, or all findings in the file from the Findings view.
Right-click on a single finding or a group of selected findings and choose Suppress from the menu.
Enter a reason for suppressing the finding and choose where the suppression will be stored.
You can select one of the following storage options:
|
You can review suppressed findings and unsuppress the findings that have been saved locally on desktop.
Click Parasoft in the menu bar, choose Preferences (Eclipse), Options (NetBeans) or Settings (IntelliJ),select Import Findings and Coverage and enable the Suppressed findings option (see Customizing Import Options for details).
Open the Findings view, choose Configure Contents from the menu and enable the Suppressed findings option (see Customizing the Findings View for details).
Run analysis or import findings (see Importing Findings). The suppressed findings will be displayed in the Findings view.
Unsuppress findings if necessary.
- Suppressions that are saved in the code need to be unsuppressed manually in the code.
- To unsuppress locally suppressed findings, right-click on a finding or a group of selected findings and choose Unsuppress locally... from the menu:
- To unsupress findings on DTP, right-click on a finding or a group of selected findings and choose Unsuppress on DTP from the menu. Findings will be unsuppressed in the subsequent analysis run.
You can suppress the reporting of findings directly in your source code. See Suppressing the Reporting of Findings for information about the syntax for defining suppression schemes.