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

C/C++ integration build analysis - Cheat sheet

An integration build analysis...
  • gives you a snapshot of the current health of your software project. After you run an analysis, detected issues and reports are available in Klocwork Static Code Analysis.
  • is the first step in establishing the connected desktop in your organization.
Prerequisities:
Your first analysis
  1. Create a project:
    kwadmin --url http://server2:8080/ create-project my_project
  2. Capture your build settings:
    kwinject <my_build_command>
  3. Run the analysis:
    kwbuildproject --url http://server2:8080/my_project --tables-directory /my_tables kwinject.out
  4. Load the database:
    kwadmin --url http://server2:8080/ load my_project /my_tables

Details: Running the C and C++ integration build analysis

Your next analysis
After your first analysis, you can use incremental analysis thereafter.
Important: To take advantage of incremental analysis, don't delete your tables directory.
  1. Update your build settings:
    kwinject --update <my_build_command>
  2. Run an incremental analysis:
    kwbuildproject --url http://server2:8080/my_project --tables-directory /my_tables --incremental kwinject.out
  3. Load the database:
    kwadmin --url http://server2:8080/ load my_project /my_tables
Details: Running the C and C++ integration build analysis
Note: Whenever you do a clean build (full rebuild of your source files), you should run a full build analysis.