Page tree

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

In this section:

suppression{n}.file.ext

This setting specifies the extension file types that should be scanned for suppression comments.

Acceptable Values

[file extension]

The extension of files that will be searched for suppressions.

Example Usage

The following configuration searches .xml and .java files for suppression comments:

suppression1.file.ext=xml
suppression2.file.ext=java


suppression{n}.comment

This setting specifies the prefix for suppression comments for files specified with the suppression{n}.file.ext property.

Acceptable Values

[comment marker]

The prefix marker for suppression comments.

Example Usage

The following configuration specifies  the // and <!-- prefixes of suppression comments:

suppression1.comment=//
suppression2.comment=<!--

Related


suppression{n}.comment.suffix

This setting specifies the suffix for suppression comments for files specified with the suppression{n}.file.ext property. If this setting is not configured, suppression comments will not be suffixed.

Acceptable Values

[comment marker]

The suffix marker for suppression comments.

Example Usage

The following configuration specifies  the --> suffix of suppression comments:

suppression1.comment.suffix=-->

Related


suppression{n}.block.only

This setting enables or disables block-only comment suppressions support for files specified with the suppression.file.ext property.

Acceptable Values

trueThe block-only comment support for suppressions is enabled.
falseDefault. The block-only comment support for suppressions is disabled.


The following configuration enables the block-only comment support for suppressions.

suppression1.block.only=true

Related


suppression.local.dir

This setting specifies the custom directory for storing local suppressions. An absolute path should be provided.

Acceptable Values

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

Example Usage

The following configuration stores local suppressions in the 'suppressions' folder:

suppression.local.dir=C:\parasoft\suppressions


Related


  • No labels