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

Configuring industry-specific coding standards and checkers

Klocwork provides industry-specific coding standard taxonomies to measure compliance with specific standards. Taxonomy files for CERT, CWE, DISA STIG, MISRA and OWASP are provided for you in your <server_installation>/taxonomies folder, which you can import as you choose. For more details about all of the standards that we support, see our list of Coding standards mapped to Klocwork checkers.

For MISRA checkers, you need to install the MISRA checker package(s) before importing the related taxonomy. For more information, see Installing the MISRA checkers.

Importing industry-specific coding standard taxonomies

You can import any of our industry-specific coding standard taxonomies from your <server_installation>/taxonomies folder, as follows:
Note: In order to import taxonomy files, you need to have the "Change project settings" permission.
  1. Log in to Klocwork Static Code Analysis.
  2. In the Klocwork Static Code Analysis analysis project list, click the project you want to upload the file to; the project details appear.
  3. In the project details, click Configuration.
  4. On the Configuration page, click Add a configuration file.
  5. Click the Choose file button, then browse to your <server_installation>/taxonomies folder.
  6. Double-click the taxonomy file you want to import (for example, 'cwe_10_cxx.tconf'), then click Upload.

The taxonomy file you've imported appears in the taxonomy menu on the left. Click on a taxonomy and you can enable/disable checkers that apply to that standard as needed. Click the icon to save your changes. Note that your changes do not come into effect until the next integration build analysis.