Speeding up the analysis
From current
This article explains how to improve analysis performance for both the integration build and the desktop.
Incremental analysis
In incremental analysis, only the changed files and any other files affected by the changes are analyzed.
For C/C++ and Java desktop analysis, incremental analysis is the default mode.
For C/C++ and Java integration build analysis, use the kwbuildproject option --incremental to enable incremental analysis.
Tip: If you capture your build settings with kwinject, the --update option will also update your build settings incrementally.
Parallel analysis
Insight supports multicore and multiprocessor machines, running parallel analysis for improved performance.
For desktop analysis, parallel analysis is enabled by default. Insight 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 kwbuildproject option --jobs-num to configure parallel analysis.
Distributed analysis
If you're using Electric Cloud, you can integrate the Klocwork C/C++ integration build analysis with Electric Cloud.
Use the Distributed Analysis package to distribute your C/C++ integration build analysis among a set of registered analysis agents.


