In this section:

console.verbosity.level

This setting determines the amount of detail output to the console during analysis. 

Acceptable Values

lowErrors and basic information about the current steps and status (done, failed, up-to-date) are shown.
normalDefault. Shows the same information as the low setting, but also includes command lines executed and issues reported during test and analysis.
highShows the same information as normal, but also includes warnings.

Example Usage

The following configuration outputs the most detail about the execution:

console.verbosity.level=high



cpptest.fail.setup.problems

This setting enables or disables returning the 0x40 exit code, which indicates that setup problems were reported when the process failed. You can specify the severity of the problem for which the process will fail.

Acceptable Values

trueThe process will exit with 0x40 if setup problems of any severity are reported.
falseDefault. The process will never exit with the 0x40.
[severity level]The process will exit with 0x40 if setup problems with the specified severity are reported. Enter a severity level (info, warning, error) or a comma-separated list of severity levels.

Example Usage

The following configuration specifies that the process will fail for any setup problem:

-fail -property cpptest.fail.setup.problems=true

The following configuration specifies that the process will fail for setup problems of error or warning levels:

-fail -property cpptest.fail.setup.problems=error,warning

Related



file.encoding.mode

This setting specifies how file encoding is determined.

Acceptable Values

defaultEnables use of system properties.
autoEnables automatic detection of encoding for the Far-East languages specified with the file.encoding.lang property.
userEnables use of specified encoding by the file.encoding.name property.

Example Usage

The following configuration enables file encoding based on the system settings:

file.encoding.mode=default


file.encoding.lang

This setting allows you to specify the language that will be automatically detected for file encoding. It requires the file.encoding.mode property to be set to auto.

Acceptable Values

1Japanese
2Chinese
3Simplified Chinese
4Traditional Chinese
5Korean

Example Usage

The following configuration enables Japanese encoding:

file.encoding.mode=auto
file.encoding.lang=1


file.encoding.name

This setting allows you to configure file encoding other than specified in the system settings. It requires the file.encoding.mode property to be set to user.

Acceptable Values

[encoding name]

The name of the encoding, for example ASCII-US, UTF-8, UTF-16, UTF-16LE, UTF-16BE.

Example Usage

The following configuration enables encoding in UTF-16.

file.encoding.mode=user
file.encoding.name=UTF-16


local.storage.dir

This setting specifies where analysis-related data should be stored (temporary data, data caches etc.)

Acceptable Values

[path]The path to the folder where the data will be saved.

Example Usage

The following configuration stores the data in the temp folder:

local.storage.dir=C:\\parasoft\\temp


parallel.mode

This determines which parallel processing mode is used. You may want to configure this setting to optimize testing and analysis execution according to your build schedule in CI environments.

Acceptable Values

disabledOnly one of the available CPUs
autoDefault. Allows the tool to control parallel processing settings.
manualAllows you to manually configure parallel processing settings to suit your specific needs.

Example Usage

The following configuration disables parallel processing.

parallel.mode=disabled

Related


parallel.no_memory_limit

This setting enables/disables additional limits on the memory consumed by parallel processing.

Acceptable Values

trueThere will be no additional limits on the memory consumed by parallel processing.
falseDefault. Memory consumption associated with parallel processing will be limited.

Example Usage

The following configuration allows for unlimited memory consumption by parallel processes (within system limits).

parallel.no_memory_limit=true

Related


parallel.free_memory_limit

This setting specifies the amount of memory that should be kept free in low memory conditions to ensure that free memory is available for other processes.

Acceptable Values

[percentage]

The percentage of the total memory available for the application. The default is 25.

Example Usage

The following configuration ensures that 30% of the total memory of the application will be available for other processes.

parallel.free_memory_limit=30


parallel.max_threads

This setting specifies the maximum number of parallel threads that can be executed simultaneously. The actual number of parallel threads is determined by the number of CPUs, available memory, and license settings.

Acceptable Values

[number]

The maximum number of simultaneously executed parallel threads. The default value is equal to the number of CPUs.

Example Usage

The following configuration allows you to simultaneously execute two parallel threads:

parallel.max_threads=2


parasoft.user

This setting specifies a custom user name that will be associated with Parasoft artifacts, such as findings and data sent to DTP.

Acceptable Values

[name]A custom user name.

Example Usage

The following configuration overrides the local user name configured in your system with a custom name "T12":

parasoft.user=T12


usage.reporting.enabled

This setting enables or disables collecting anonymous usage information and sending it to Parasoft. Read our privacy statement to learn more at https://www.parasoft.com/privacy-policy.

Acceptable Values

trueUsage data is sent to Parasoft.
falseDefault. Usage data is not sent to Parasoft.

Example Usage

The following configuration enables collecting usage data.

usage.reporting.enabled=true


  • No labels