In this section:
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
console.verbosity.level
This setting determines the amount of detail output to the console during analysis.
Acceptable Values
low | Errors and basic information about the current steps and status (done, failed, up-to-date) are shown. |
---|---|
normal | Default. Shows the same information as the low setting, but also includes command lines executed and issues reported during test and analysis. |
high | Shows 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
Related
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
disabled | Only one of the available CPUs |
---|---|
auto | Default. Allows the tool to control parallel processing settings. |
manual | Allows 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
true | There will be no additional limits on the memory consumed by parallel processing. |
---|---|
false | Default. 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 |
---|
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
file.encoding.mode
This setting specifies how file encoding is determined.
Acceptable Values
default | Enables use of system properties. |
---|---|
auto | Enables automatic detection of encoding for the Far-East languages specified with the file.encoding.lang property. |
user | Enables 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
1 | Japanese |
---|---|
2 | Chinese |
3 | Simplified Chinese |
4 | Traditional Chinese |
5 | Korean |
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
settings.validation
This setting enables/disables settings validation.
Acceptable Values
true | Detault. Errors in the settings format will be reported. |
---|---|
false | Errors in the settings format will not be reported. |
Example Usage
The following configuration disables reporting errors in the settings format:
settings.validation=false
settings.rules.file.cpptest
This setting specifies the path to a file that contains additional rules for settings validation. The file should follow the.properties
format and list the settings with their valid values (see Example Usage for details about the pattern).Acceptable Values
[path] | The path to file that contains additional rules for settings validation. |
---|
Example Usage
The following configuration points to the settings in the new_setting_rules.properties
file:
settings.rules.file.cpptest=C:\\parasoft\\jtest\\new_setting_rules.properties
The settings included in the file may resemble the following:
engine.path=$ANY
engine.enabled=$BOOLEAN
engine.analysis.deep=$INTEGER
engine.severity.limit=$REGEXP{[1-5]}
engine.verbosity.level=$REGEXP_IC{(low)|(normal)|(high)}
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
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.
Acceptable Values
true | The process will exit with 0x40 if setup problems are reported. |
---|---|
false | Default. The process will never exit with the 0x40 . |