Code Coverage Sessions view

The Code Coverage Sessions view lets you control and display multiple code-coverage sessions:

Code Coverage Sessions view

Viewing Code coverage sessions in the Code Coverage Sessions view.

The view shows the following as a hierarchical tree for each session:

Session item Description Possible icons
Code coverage session Launch configuration name, coverage tool, and start time (e.g. ccov102_factor [GCC Code Coverage] (7/2/03 2:48 PM))

Icon: Inactive session

Icon: Remove analysis

Project Project name and amount of coverage (e.g. ccov102_factor [ 86.67% ])

Icon: Project

File Filename and amount of coverage (e.g. ccov102_factor.c [ 86.67% ])

Icon: C file

Function Function name and amount of coverage (e.g. main [ 100% ])

Icon: Function

The IDE uses several icons in this view:

Icon Icon Color Meaning

Icon: Has no coverage

White No coverage

Icon: Has some coverage

Yellow Partial coverage

Icon: Has 100% coverage

Green Full (100%) coverage

Icon: Out-of-Sync file

(cell is highlighted) Out-of-date source file
x Red An error marker to indicate some type of error (e.g. a code coverage data file was not found, or an error reading data or notes files).

The IDE also adds a coverage markup icon (Icon: Has coverage marker) to indicate source markup in the editor. (See the Examining data line-by-line section, below.)

To reduce the size of the hierarchical tree, you can click the Collapse All ( Icon: Collapse All) button.

Related concepts
Types of code coverage in the IDE
How the coverage tool works
Associated views
Code Coverage Properties view
Code Coverage Report view
Related tasks
Enabling code coverage
Importing gcc code coverage data from a project