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

Speeding up the analysis

Speeding up the analysis

This article explains how to improve analysis performance for both the integration build and the desktop.

Incremental analysis

Klocwork supports incremental analysis for both desktop projects and integration projects. In an incremental analysis (the default mode for desktop projects), the engine automatically detects and analyzes only the changed files and any other files affected by the changes.

Note: Incremental analysis is not supported for C# projects and solutions.

Parallel analysis

Klocwork supports multicore and multiprocessor machines, running parallel analysis for improved performance.

On the desktop, parallel analysis is enabled by default. Klocwork sets the number of compilation jobs to an appropriate level, based on the number of available processor cores. If you don't have a multicore or multiprocessor machine, then a serial analysis is run.

For integration build analysis, use the --jobs-num option of kwbuildproject to configure parallel analysis.

Distributed analysis

Distributed analysis refers to a C/C++ project analysis in which the load for Klocwork is distributed among a set of registered analysis agents. It allows a significant increase in project compilation speed. See: