Right-click on a single finding or a group of selected findings and choose Suppress from the menu.
Choose where the suppressions will be stored. You can select one of the following options:
- In source code - The selected finding will be suppressed in code and shared across the team when checked in your source control system.
- Locally in file - The suppression will be stored in a parasoft.suppress file located in the same location as the corresponding source file. See In-file Suppressions for details.
- On DTP- The suppression will be stored on DTP and shared with the team. You can only suppress findings that are already registered on DTP.
Info icon false title Suppressing Findings on DTP
The On DTP option is only available for findings that have already been registered on DTP and are suppressed in the subsequent analysis run.
Enter a reason for suppressing the finding.
Info If you implement a workflow for achieving compliance with the MISRA standard, you can exclude false positive violations from MISRA Compliance reports created on DTP. When you suppress a violation and specify a reason for suppression that begins with "false positive", the violation will not be included in MISRA Compliance reports. See the DTP User Guide for details about the Parasoft compliance solution icon false title Suppressing false positives in MISRA compliance workflows
If you are using the MISRA Compliance Pack for DTP, see the DTP User Guide to learn more about how suppressions are handled by MISRA compliance reporting on DTP.