Code Coverage Settings

The Code Coverage settings are part of the Runtime Analysis node of the Configuration Settings dialog box, which allows you to configure settings for each node.

By default, the settings of each node are inherited from those of the parent node. When you override the settings of a parent node, changes are propagated to all child nodes within the same Configuration. Overridden fields are displayed in bold.

Instrumentation control settings

You can use the Coverage Type settings to declare various types of coverage.

You can combine, enable, or disable any of these coverage types before running the application node. All coverage types selected for instrumentation can be filtered out in the Code Coverage Viewer.

See Condition coverage (C), Condition coverage (Ada), and Bitwise MC/DC coverage for more information about coverage levels.

Advanced Options

To change the Code Coverage Instrumentation Control setting for an application or test node.

  1. In the Project Explorer, click the Settings button.

  2. Select a node in the Project Explorer pane.

  3. In the Configuration Settings list, expand Runtime Analysis and select Coverage.

  4. Select Instrumentation Control.

  5. When you have finished, click OK to validate the changes.

Related Topics

Using Runtime Analysis FeaturesConfiguration Settings | Selecting Coverage Types