Code Coverage Settings
Test RealTime - User Guide
The Performance Profiling 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.
Trace File Name (.tqf): This box allows you to specify a filename for the generated .tqf
trace file for Performance Profiling.
To edit the Performance Profiling settings for one or several nodes:
1. In
the
Project Explorer, click the Settings
button.
2.
Select a node in the Project Explorer pane.
3. Select
the
Runtime Analysis node and the Performance Profiling node.
4.
When you have finished, click OK to validate the changes.
Code Coverage Settings
The Code Coverage Instrumentation Control 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.
·
Coverage Level Functions or Methods: select between function Entries, With
exits, or None.
·
Coverage Level Calls: select Yes or No to toggle call code coverage for Ada and
C only.
·
Coverage Level Blocks: select the desired block code coverage method.
·
Coverage Level Conditions: select condition code coverage for Ada and C only.
Please see Selecting Coverage Types for details on using each coverage type with
each language.
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.
278