Coverage Bar

Runtime Tracing for C and C++

In C and C++, the coverage bar provides an estimation of code coverage.

Note   The coverage bar is unrelated to the Code Coverage feature. For detailed code coverage reports, use the dedicated Code Coverage feature.

When using the Runtime Tracing feature, the UML/SD Viewer can display an extra column on the left of the UML/SD Viewer window to indicate code coverage simultaneously with UML sequence diagram messages.

The UML/SD Viewer code coverage bar is merely an indication of the ratio of encountered versus declared function or method entries and potential exceptions since the beginning of the sequence diagram.

If new declarations occur during the execution the graph is recalculated, therefore the coverage bar always displays a increasing coverage rate.

To hide the coverage bar:

  1. Right-click inside the UML/SD Viewer window.

  2. From the pop-up menu, select Hide Coverage.

To show the coverage bar:

  1. Right-click inside the UML/SD Viewer window.

  2. From the pop-up menu, select Show Coverage.

Related Topics

About Code CoverageMemory Usage BarTime StampingUML/SD Viewer PreferencesMemory Profiling Settings