C-sharp integration build analysis - Cheat sheet

From current

An integration build analysis... Want the big picture?
  • 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 Review.
  • is the first step in establishing the connected desktop in your organization

Prerequisites:

Flow chart
Your first analysis
  1. Create a project:
    kwadmin create-project my_project 
  2. Capture your build settings:
    kwcsprojparser <input_file> --config <config_name> 
  3. Run the analysis:
    kwbuildproject --tables-directory /space/Klocwork/my_tables kwcsprojparser.out
  4. Load the database:
    kwadmin --url http://server2:8080/ load my_project /space/Klocwork/my_tables
Details: Running the C# integration build analysis
Your next analysis
Each time you build your source files, run an analysis.

  1. Update your build settings:
    kwcsprojparser <input_file> --config <config_name> [--output <output_file>]
  2. Run the analysis:
    kwbuildproject --tables-directory /space/Klocwork/my_tables input_file.out
  3. Load the database:
    kwadmin --url http://server2:8080/ load my_project space/Klocwork/my_tables 
Details: Running your next C# analysis