Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space ENGINES1031 and version 10.4.1

...

  1. Click  Parasoft in the menu bar and choose Options (Visual Studio) or Preferences (Eclipse). Then select Configuration.

  2. Right-click the test configuration you want to duplicate, then choose Duplicate Locally

    The configuration will be added to the User directory and nested in a parent directory matching the source.

  3. Right-click the duplicate configuration and choose Edit to open the Test Configuration Editor in you browser.

    NOTE: The Test Configuration Editor is handled by a separate web server process and may be blocked if a strict firewall is installed on your machine. In such case, allow the process to run when prompted.


    Choosing Edit as text opens a textual representation of the configuration in a simple configuration editor (deprecated).
         

  4. Click a tab to access a group of related test configuration settings. For additional information about test configuration settings, mouse over an information icon ("i") next to a configuration setting. The following tabs are available:
    Table of Contents
    maxLevel2
    minLevel2

General Tab

Click on the General tab to view and edit name and location of the test configuration. Click Save to preserve any changes you make on this tab.

Image Removed

Enter a name in the Folder field to change the location of the test configuration. Entering the name of an existing folder moves the test configuration to that location in the test configuration tree. If the name you specify doesn't exist, a new folder will be created and the test configuration moved into it. You can also nest folders by placing a forward slash (/) between folder names.

Image Removed

Scope Tab

The Scope tab contains a set of filters that you can configure to define the parts of the code that the test configuration should cover. You must connect the C/C++test  to source control in order to collect scope information. Click Save to preserve any changes you make on this tab.

Image RemovedImage Added

Time Filters

Expand the Time filters settings to set time-based filters at the file or line level. The time filters enable you to restrict the scope of analysis to a specific date range or period. If the scope.scontrol setting is set to true and the source control settings for C/C++test  are configured, the modification time is set from the source control history. If scope.local is set to true, then the modification time is set form the file system of the machine running analysis.

Image RemovedImage Added


You can configure the following settings:

...

Click the Static Analysis tab , and enable or disable the Enable static analysis checkbox to enable/disable static and flow analysis. Click Save to preserve any changes you make on this tab.Image Removed

Advanced Settings

Expand the Advanced Settings section to enable the following options:

  • Set an upper limit on the number of violations that can be reported for each rule.
  • Enable/disable suppressions configured on the Engine host.

Image Removed

Flow Analysis Advanced Settings

Expand the Flow Analysis Advanced Settings section to configure settings related to performance, reporting verbosity, null-checking method parameterization, and resources checked. 

See Configuring Flow Analysis for details.

Static Analysis - Rules Tab

Click the Static Analysis - Rules tab to enable/disable the static analysis rules the configuration uses. This page shows all the supported rules. Click Save to preserve any changes you make on this tab.

Image Removed

Image Added

Enabling Static Analysis

Enable or disable the Enable static analysis checkbox to enable/disable static and flow analysis.

Image Added

Finding Rules

Use You can use the search bar to find a specific rule or rule category.
Image RemovedYou can also use the drop-down menu to filter by category and browse for a rule.

Image Added

Enable the Show Enabled Only option to only show the enabled rules.Image Removed

...

The Local Rule Map Applied field displays the path to the folder that contains the rule mapping file. The rulemap.xml file available in the displayed location is applied to all local test configurations (see Specifying the Custom Rule and Mapping Directory for details).

Image Removed

Image Added

Enabling and Disabling Rules

...

Click the Enable [number] of rule(s) or Disable [number] of rule(s) button to quickly enable or disable all rules in the configuration.Image Removed

Image Added

Viewing Rule Documentation

...

Click on the documentation icon to open all documentation for the enabled rules in a new browser tab.Image Removed

Image Added

Parameterizing Rules

If the rule can be configured, parameters can be set in the rule options panel. Click on a rule and click the Rule Parameters tab to configure the rule. The options available are specific to each rule.

Associating Rule Maps

...

Metrics Tab

Click the Metrics tab to enable/disable the metrics collected and calculated during analysis. Click Save to preserve any changes you make on this tab.

Image RemovedImage Added

You can perform the following actions:

  • Enter a metric ID in the search field to locate a specific metric.
  • Enable the Show Enabled Only option to filter by enabled metrics.
  • Click Enable [n] metric(s) or Disable [n] metric(s) to enable or disable all metrics in the test configuration.
  • Enable/disable individual metrics.
  • Enable the Report static analysis violation when outside of acceptable ranges option to configure an upper and lower threshold for the metric. A flag icon will appear in the Enabled column if this option is enabled.
  • Click on a metric to view the documentation.

Unit Tests

...

Tab

Click the Unit Tests or Runtime tab to access controls for unit test execution and coverage data collection.

Image RemovedImage Added

Image Removed

You can enable/disable the collection of unit test results and coverage analysis.

Static Analysis Settings Tab

Click the Static Settings Analysis tab allows you to configure your static analysis and flow-based analysis. Click Save to preserve any changes you make on this tab.Image Added

Advanced Settings

Expand the Advanced Settings section to enable the following options:

  • Set an upper limit on the number of violations that can be reported for each rule.
  • Enable/disable suppressions configured on the Engine host.

Image Added

Flow Analysis Advanced Settings

Expand the Flow Analysis Advanced Settings section to configure settings related to performance, reporting verbosity, null-checking method parameterization, and resources checked. 

See Configuring Flow Analysis for details.

General Settings Tab

Click on the General Settings tab to view and edit the name and location of the test configuration. Click Save to preserve any changes you make on this tab.

Image Added

(info) Enter a name in the Folder field to change the location of the test configuration. Entering the name of an existing folder moves the test configuration to that location in the test configuration tree. If the name you specify doesn't exist, a new folder will be created and the test configuration moved into it. You can also nest folders by placing a forward slash (/) between folder names.

Image Added

Anchor
duplicate_on_dtp
duplicate_on_dtp
Creating and Customizing Test Configurations on DTP

...