In this section:
This setting enables or disables failing the build by returning a non-zero exit code if any violation is reported.
|true||Failing the build is enabled.|
|false||Failing the build is disabled.|
This setting specifies enables or disables printing the current settings and customizations, including the source of each configuration entry (for example, .properties file).
|true||Priting the current settings is enabled.|
|false||Priting the current settings is disabled.|
This setting specifies the path to the additional json.data file. You can specify more than one file by providing a comma-separated list of file paths.
|[path]||The path to the additional json.data file(s).|
Use double backslashes to specify the file path on Windows.
This setting enables or disables limiting the scope of analysis to specific files in each package. By default, Jtest will filter out and analyze the biggest file in each package, but you can configure the jtest.input.filter.files option to specify other files in each package to be filtered out.
|true||Filtering files is enabled.|
|false||Default. Filtering files is disabled|
The following configuration limits the scope of analysis to one file per package by filtering out the biggest file in each package in the project (the
jtest.input.filter.files option is not configured):
This setting specifies which files will be filtered out from each package in the project, and then analyzed by Jtest. It requires the jtest.input.filter option to be set to
true. Use a comma-separated list to specify more than one acceptable value.
Specifies the number of files that will be filtered. For example:
Specifies the size of the files that will be filtered out (by default, in kilobytes, but you can explicitly specify the following units: b, m, g). For example:
Filters out the files that were modified within a specific date range. For example:
Sorting by date
By default, files are sorted by size. For example, the following set of values will filter out and analyze 5 biggest files that were last modified after January 1, 2016 (even if the overall number of such files is higher):
You can enable sorting files by date by adding the
sort:date value to the comma-separated list of values. For example, the following set of values will filter out and analyze 10 files that were most recently modified:
The following configuration will filter out from each package and analyze 5 biggest files that are bigger than 2 kilobytes and smaller than 5 kilobytes, and were last modified on November 1, 2016:
If you pass the option with the with the command line switch
-property, ensure that the values are in quotation marks: