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

Deployment considerations

The tools required for this integration are included in the Command Line Build Tools component of the Klocwork Server package.

You must install the Command Line Build Tools component in one of the following configurations:

  • Install Klocwork to the same path on all Electric Cloud agent hosts.
  • Specify the path to the Klocwork installation on the command line.

When using the second of these two configurations, you must specify both the Klocwork installation directory and your current working directory to emake. You can do this in one of two ways:

  • edit the EMAKE_ROOT environment variable, and export the variable, or
  • use the kwecbuild option --ec-option to specify the emake option --emake-root . For example:
    --ec-option "--emake-root=/space/testing/kw/9.0/:/space/test.lab/ecloudtests/cvs-1.11.23"
    

When you use the --emake-root option or the EMAKE_ROOT environment variable, Electric Cloud no longer distributes the current working directory to the agents by default. This is why you need to specify both the Klocwork installation directory path and your current working directory.

Important: Spaces are not supported in the paths to source files or the tables directory.

Note that when using Cygwin, you need to specify the --cmd-line option of kwlogparser.