Opening the Configuration Editor in Klocwork Static Code Analysis

You configure checkers in the Configuration Editor, which is accessed through Klocwork Static Code Analysis.

To open the Configuration Editor:

  1. Log in to Klocwork Static Code Analysis.
  2. Click the project you want to configure.

    The project details appear on the right.

    Image:Review project details demosthenes.png

  3. In the project details, click Configuration.

    The Configuration Editor appears.

If you select the gear drop-down and click Restore defaults at any time, all of the default settings are restored. An asterisk beside any taxonomy indicates you have made changes which have not yet been saved.

Selecting what issues Klocwork will detect

  1. Open the Configuration Editor, as shown above.
  2. Under Taxonomies, select the taxonomy you want to edit.
  3. To enable or disable a checker, select or deselect its check box.
  4. Click Image:Config editor save.png to save your changes.

    Your changes do not come into effect until the next integration build analysis.

To revert any changes you have made before saving, click on the undo Image:Review config undo.png icon.

Importing additional taxonomy files

  1. Open the Configuration Editor.
  2. Select the gear drop-down and click Import:

    Image:Review config import.png

  3. Choose the .tconf file you want to add, for example, misra_c_2012_with_amd1_c99.tconf, then click Upload.

When you enable or disable a checker, it is enabled or disabled in all taxonomies.