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

How distributed analysis works

A distributed Klocwork analysis involves three major components:

  • the Distributed Analysis Server (started with the command kwdist and managed with the command kwdistadmin). In our Example setup, this component will run on Machine A.
  • the Build Host, where kwbuildproject is run (Machine B).
    Note: The Distributed Analysis Server can be run on the same machine as the Build Host.
  • the Distributed Analysis Agents (started with the command kwagent), running on remote build machines (Machines C, D, E and F).

These components work together as follows:

  1. Agents provide notification to the Distributed Analysis Server that they are ready to process compilation requests.
  2. kwbuildproject sends compilation requests (source files, compilation options and other configuration information) to the Distributed Analysis Server.
  3. The Distributed Analysis Server sends compilation requests to the agents on the remote build machines. (As a result, agents do not require a shared Klocwork installation or a shared source file directory.)
  4. The agents perform their share of the Klocwork analysis and send the results (linked object files) back to the Distributed Analysis Server.
  5. The Distributed Analysis Server sends the analysis results back to the Build Host (running kwbuildproject).
Note: Klocwork Distributed Analysis Agents can run custom checkers. For detailed information, see Deploying custom checkers for a server installation.