Main Content

Export Results from Polyspace Access

Polyspace® Access™ offers a centralized database where you can store Polyspace analysis results for sharing with your team and collaborative reviews. After you upload analysis results to the database, you can:

Export Polyspace Access Results to a TSV File

You can export Polyspace Access results to a tab-separated values (TSV) file only from the command line by using the polyspace-access binary. When you export results, you generate a TSV file that lists results with most of the same results attributes as the Results List in Polyspace Access Web Interface. Each listed result also includes a URL through which you can open the result in Polyspace Access. To filter the list of results you export, see the polyspace-access -export command.

For example, to export all coding rules with status Unreviewed from project myProject stored in the public folder on Polyspace Access, open a command prompt terminal and enter:

polyspace-access -host hostName -port port ^
-export public/myProject -coding-rules -review-status Unreviewed ^
-output coding_rules.tsv

The command prompts you for your Polyspace Access login credentials, and then outputs file coding_rules.tsv.

hostName and port correspond to the host name and port number you specify in the URL of the Polyspace Access interface, for example https://hostName:port/metrics/index.html. If you are unsure about which host name and port number to use, contact your Polyspace Access administrator. Depending on your configuration, you might also have to specify the -protocol option in the command. See Configure and Start the Cluster Admin.

Note that you cannot export test or coverage results generated with Polyspace Test™ using the polyspace-access command.

See Also

Topics