Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space ENGINES1031 and version 10.4.0

...

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

jtest.configuration=builtin://Recommended Rules

rules.mappings

This setting allows you to specify which rule mapping is applied to your test configurations. By default, local rule mapping is applied to local test configurations (see Customizing Static Analysis Rules), while DTP-shared rule mapping is applied to test configurations stored in DTP.

Acceptable Values

defaultDefault. Local and DTP test configurations are customized with
local
corresponding rule mapping
; DTP configurations are customized with DTP rule mapping
(stored locally or on DTP, respectively).
all
One
Ensures 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 run the analysis with the local Recommended Rules configuration (when the -config option is not specified). If no rule mapping is available locally, the test configuration will be customized with rule mapping stored in DTP.

jtest.configuration=builtin://Recommended Rules

rules.mappings=all

Example 2

The following configuration will run the analysis with the DTP-shared Recommended Rules configuration (when the -config option is not specified). If no rule mapping is available on DTP, the test configuration will be customized with rule mapping stored locally.

jtest.configuration=dtp://Recommended Rulesmerge rule mapping information specified locally and on DTP:

rules.mappings=all

...