Opening the standalone Configuration Editor
The standalone Configuration editor is used to enable and disable checkers, and to configure severities. It is accessed from the command line by running one of the following commands: To create a new configuration file, run the command: kwconfigeditor The Configuration Editor will open in a new window and you can make any changes required. Once you are finished making changes, click OK . Now save the file where you can find it easily, then import it for your project using the kwadmin import-config command or by importing it through the Configuration tab for your specific project in Static Code Analysis. For projects with an existing configuration file, run the command: kwconfigeditor <path/to/mypconf.pconf> In this scenario, make sure you are pointing to the configuration file for the project you wish to change. Example
kwconfigeditor "C:\Klocwork\Server 18.1\projects_root\projects\csvtosql\rules\analysis_profile.pconf"
Changing issue severitiesThe severity label (for example, "Critical") is associated with a severity number. You can change the severity label to whatever is most meaningful. When you make a change to a severity in one taxonomy, the change is applied to all taxonomies. Ten severity levels are available. Klocwork checkers use only severities 1 through 4 by default, but you can edit the severity level for any checker. To change a severity label:
To change the severity level of a checker:
|