In this section:

configuration.dir.builtin

This setting specifies the path to the directory that contains built-in test configurations.

Acceptable Values

[path]The path to the folder where the built-in test configurations are stored.

Example Usage

configuration.dir.builtin=C:\\parasoft\\cpptest\\configs\\builtin


configuration.dir.user

This setting specifies the path to the directory that contains user-defined test configurations.

Acceptable Values

[path]The path to the folder where user-defined test configurations are stored.

Example Usage

configuration.dir.user=C:\\parasoft\\cpptest\\configs\\user




cpptest.rule.dir.user

This setting specifies the location of user-defined coding standard rules. Alternatively, you can use this setting without the "cpptest" prefix, see rule.dir.user.

Acceptable Values

[path]The path to the directory that contains user-defined coding standard rules. The default is <INSTALL_DIR>/rules/user.

Example Usage

cpptest.rule.dir.user=C:\\parasoft\\custom_rules

cpptest.configuration

This setting allows you to specify the test configuration that will be used for analysis if the -config option is not specified (see Configuring Test Configurations for details).

Acceptable Values

[configuration name]The name of a built-in, user-defined or DTP-hosted test configuration.

Example Usage

The following configuration will run the analysis with the Recommended Rules test configuration when the -config option is not specified:

cpptest.configuration=builtin://Recommended Rules



rule.dir.user

This setting specifies the location of user-defined coding standard rules and rule mapping files.

Acceptable Values

[path]The path to the directory that contains custom rules and rule mapping files.

Example Usage

rule.dir.user=C:\\parasoft\\my_rulemap


rules.mappings

This setting allows you to specify which rule mapping is applied to your test configurations.

Acceptable Values

defaultDefault. Local and DTP test configurations are customized with corresponding rule mapping (stored locally or on DTP, respectively).
allEnsures backward compatibility for versions earlier than 10.4. Any configured rule mapping (local or DTP-shared) is applied to both local and DTP configurations.

Example Usage

The following configuration will merge rule mapping information specified locally and on DTP:

rules.mappings=all

Related



  • No labels