Main Content

Version (-version)

Assign a source code version identifier to Polyspace Platform project

Description

Specify a version number or string to associate the current state of a Polyspace Platform project with a specific version of your source code.

Set Option

Set the option using one of these methods:

Why Use This Option

Use this option to associate the current state of a Polyspace® Platform project with a specific version of your source code. The version appears in static analysis logs and reports generated from static analysis, test, or profiling results.

Settings

Enter a version (the default value for a newly created project is 1.0). The entry can be an arbitrary string including:

  • A simple number, for instance, 1.0.

  • A full version number with tags, for instance 1.1.23 (stable).

  • A Git hash, for instance, a1b2c3d4e5f67890abcdef1234567890abcdef12.

Command-Line Information

Parameter: -verif-version
Value: versionNumber
Example (Bug Finder): polyspace-bug-finder -sources filename -verif-version 1.3
Example (Code Prover): polyspace-code-prover -sources filename -verif-version 1.3
Example (Bug Finder Server): polyspace-bug-finder-server -sources filename -verif-version 1.3
Example (Code Prover Server): polyspace-code-prover-server -sources filename -verif-version 1.3