Filtering issues on the desktop
Filtering allows you to narrow the scope of the issues listed in the Klocwork Issues view. For example, you can limit your issue list to those:
- in a particular Taxonomy
- in the selected file or directory
- of local origin (that is, issues you've introduced into the code)
- of the highest severity
- in currently selected file(s)
- of a particular status
- belonging to a particular owner
- in a selected working set (Klocwork Desktop only)
Tip: Filtering by taxonomy allows you to focus only on violations of a particular standard, such as MISRA C or MISRA C++, or by custom checker groupings that have been applied to the integration project.
Filter settings remain in effect for the project until you change them again. So, if there are issues that are missing from your list, check and adjust your filter settings to see more issues as desired.
Filtering settings differ among the IDE plug-ins, Klocwork Desktop, and kwcheck. See the how-to links provided below.
Issue citing is another way of filtering your detected issues. For example, changing an issue's status to Ignore indicates that this issue was found in code that you don't care about.
The default status filtering shows only issues in Analyze and Fix status. Use "Not a Problem" status to handle isolated false positives for a particular issue type (for example, CL.FFM.ASSIGN).
On the other hand, if there's an issue type that you really don't care about, you can disable it using the Configuration Editor, which is an entirely different activity from filtering. Enabling and disabling issues is one way of customizing your analysis.
Filtering and issue citing are discussed in the following how-to articles:
- Getting started with Klocwork Desktop Plug-in for Visual Studio
- Getting started with Klocwork Desktop for C/C++
- Getting started with Klocwork Desktop C/C++ Plug-in for Eclipse
- Getting started with kwcheck for C/C++
- Getting started with Klocwork Desktop Java Plug-in for IntelliJ IDEA
- Getting started with Klocwork Desktop Java Plug-in for Eclipse
- Getting started with Klocwork Desktop for Java
- Getting started with kwcheck for Java