Adding the community HIS Metrics configuration file

HIS (Hersteller Initiative Software) was created from five working groups in the automotive industry whose goal is the production of agreed standards within the areas of standard software modules for networks, development of process maturity, software test, software tools, and programming of ECUs.

The his_metrics_community.mconf file can be found in your <server_install_path>/metrics and may be of interest to you if your project(s) focus on automotive industry standards. The metrics file is included by default, but needs to be manually imported. Instructions for how to import it can be found below.

How to install the HIS Metrics .mconf file

Prerequisite: You need the "Change project settings" permission to view and manage configuration files.

You can import a his_metrics_community.mconf file into a single project or into an entire projects_root. When you import a configuration file to a projects_root, the file is copied to all projects created after that point, unless you purposely remove it from a particular project.

There are two ways to import a configuration file:

Using kwadmin import-config

To import the his_metrics_community.mconf file to a single project:

kwadmin import-config <project_name> <server_install_path>/metrics/his_metrics_community.mconf

To import the file into a projects_root:

kwadmin import-config workspace <server_install_path>/metrics/his_metrics_community.mconf

Using the Klocwork Static Code Analysis Portal

  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_install_path>/metrics folder.
  6. Double-click on the his_metrics_community.mconf file, then click Upload.

The his_metrics_community.mconf file you've imported appears in the Configuration Files menu on the left.

Once you've imported the configuration file (using either method), you need to run an analysis to see the results.