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

Copying the checker configuration to an existing project

If you edit the configuration for one project, you can import the configuration into other existing projects. You can upload files up to 2 GB in size.

  1. Log in to Klocwork Static Code Analysis.
  2. In Klocwork Static Code Analysis's project list, click the project you want to configure.
    The project details appear.
  3. In the project details, click Configuration.
  4. On the Configuration page, click Add a configuration file.
  5. In the Choose file dialog, browse to:
    <projects_root>/projects/<project_name>/rules/analysis_profile.pconf
    where<project_name> is the project whose configuration you want to copy.
  6. Click Upload.
    The configuration file is updated.

The 'analysis_profile.pconf' defines a delta from the default analysis profile. For example, exporting an 'analysis_profile.pconf' when one checker was disabled from the default configuration would result in the exported profile containing a 'disable' entry for one checker. Similarly, importing this same 'analysis_profile.pconf' in another environment would result in only one checker being disabled. If you want to guarantee the imported configuration matches the exported configuration file, reset the configuration to default first.

Tip: For a large number of projects, you can use the command kwadmin import-config instead.