Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

Setting up a pre-checkin code review

Now that you've installed Code Review and have installed the plug-in for your preferred IDE, it is time to set up a pre-checkin code review from Eclipse, IntelliJ IDEA or Visual Studio. For other environments, you use the command line. See kwcodereview.

In a pre-checkin code review, Code Review compares locally modified source code with the version checked out of source control and sends the diff to the Klocwork Server for further review.

Prerequisites

  • You need to install a Klocwork Desktop Analysis plugin.
  • You must have a project under version control in your IDE.
  • You must have a locally checked out working copy.
  • The Klocwork Server must be running.
  • To view and cite detected issues as part of your code review, your project must be connected (server host/port and server project name must be set).
Tip: Since the code review will display issues detected in your code, it's a good idea to keep your desktop analysis up to date, fix the issues that you can and cite the remaining issues before launching your pre-checkin review.