Speeding up the analysisSpeeding up the analysisThis article explains how to improve analysis performance for both the integration build and the desktop. Incremental analysisKlocwork 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 analysisKlocwork 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 analysisDistributed 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: |