...
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
default | Default. Local test configurations are customized with local rule mapping; DTP configurations are customized with DTP rule mapping. |
---|---|
all | One configured rule mapping (local or DTP-shared) is applied to both local and DTP configurations. |
Example Usage
Example 1
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 Rules
rules.mappings=all