Tips and tricks for Klocwork Desktop Plug-in for EclipseTips and tricks for Klocwork Desktop Plug-in for EclipseHere are some tips and tricks to help you customize several different settings when you use the Klocwork Desktop plug-in for Eclipse. View only local issuesLocate system issuesFor connected desktops, you may need to investigate or fix a system issue. Klocwork Static Code Analysis provides a System ID for each detected issue. By default, the connected desktop does not identify issues by System ID in the issue list.
Show the System ID in your issue listYou can show the System ID in your issue list by configuring your columns.
Tip: If your issue list is long, use filtering and grouping to pinpoint the system issue.
Filtering and groupingTip: Make sure that your filters aren't set to "Show local issues only".
Tip: You can also group by taxonomy, severity, status, directory and owner. Select None to ungroup the issues. If you've grouped by taxonomy and the same issue was detected in each taxonomy, you'll see that one issue listed twice (in each applicable taxonomy). This is the only time you'd see the same issue listed twice.
Show or hide columns in the Klocwork Issues viewYou can customize the Klocwork Issues view to show or hide columns or change the order in which they appear. For example, you can show the Ref or System ID columns, which are hidden by default. To configure columns, click Note: You can't hide or change the position of the Description column. It will always appear first. Disable or enable continuous analysisC/C++ only: Go to Window > Preferences > Klocwork > Settings. When continuous analysis is disabled, you can analyze the whole project, subdirectory or selected files. Analyze the project, subdirectory or selected filesYou must disable continuous analysis to manually trigger an analysis (go to Window > Preferences > Klocwork > Settings). Select the project, subdirectory or group of files in the Project Explorer and click the Klocwork icon on the toolbar Disconnect from the Klocwork Server
Change License Server settingsHost and port information for the License Server is typically set during installation. However, if this information changes, you need to update the information in the Settings dialog (Window > Preferences > Settings). Clean Klocwork issues from the view and trigger a full project analysisTypically, the "Clean" feature is not part of your Klocwork workflow, but it is useful if you want to trigger a full project analysis. "Clean" removes all issues, plus any status changes and comments you have made. The next time you run an analysis or synchronize with the server project (for connected projects), the Klocwork Issues view will display detected issues. Right-click a project in the Project Explorer, select Klocwork > Clean, and click OK to confirm. |