Software Release 8.2
9/15/2009
Cheat SheetAnalyze
Select your project and click
. For more information about the interface, see Klocwork icons and Project Explorer pop-up menu.
View Results
In the Klocwork Issues view:
Investigate
Double-click the issue to view it in source code. Use the traceback feature in the Klocwork Details view to step through code paths that contributed to the issue. If the issue is confined to a single line of code, no traceback is provided. See Step 4: Investigate by viewing source code and using traceback in the Getting Started tutorial.
Fix the fast stuff first
If there are issues that are easily fixed or you have time to fix them right away, edit the code and then re-run the analysis to confirm the fix.
An issue that is in Fixed state is excluded from the Klocwork Issues view by default, so you shouldn't see it in the view if it was indeed fixed.
Filter issues with statuses
From the Klocwork Issues view, change the Issue statuses to prioritize the issues. For example, if there's an issue that you determine not to be a problem or not important, right-click the issue(s) and select Change Status > Ignore. You can add a comment to the issue if you wish. Default filter settings automatically exclude issues in any status but Analyze and Fix from the Klocwork Issues view.
To narrow your focus, use the Filtering options, accessed with
(at the far right of the Klocwork Issues view).
Turn issues on or off for analysis
If there are issue types detected by Klocwork Solo that you don't find useful for your project or workspace, just turn them off. Turning issues off reduces false positives and speeds up the analysis.
Troubleshooting
Are issues missing from the Klocwork Issues view? Check your filter settings by clicking Configure filters
(at the far right) and adjust as needed.