2.13 Measure Coverage [IECUBE][Simulator]

This section describes coverage measurements that are conducted using the coverage function.

There are several kinds of coverage measurement methods. Of these, CS+ performs, in areas designated below, a code coverage measurement of fetch-related operations on source lines and functions (C0 coverage) and a data coverage measurement of access-related operations on variables.

The area in which CS+ performs coverage measurements are as follows:

Table 2.16

Subject Areas of Coverage Measurement

Debug Tool

Code Coverage Measurement Area

IECUBE

Internal ROM/RAM, DataFlash, Target memory

Simulator

Internal ROM/RAM, Emulation ROM/RAM, Target memory

Caution

[E1][E20][EZ Emulator]

The coverage function is not supported.

Remark

C0 coverage: Instruction coverage (statement coverage)
For example, if all instructions (statements) in code are executed at least once, then C0 = 100%.