And finally, here you have the code coverage analysis report. The code coverage feature exposes the code coverage achieved either through manual interaction with the application of interest or via automated testing.
To open the code coverage report after the execution of the application, in the Project Explorer, expand the Results node, and double-click Code Coverage.
To view the Code Coverage report:
Select the Code Coverage tab.
On the left hand side of the screen, in the Report Window, you see a reference to Root and then to all of the source. Root is a global reference - that is, to overall coverage. For each individual source and header file, a small icon to the left indicates the level of coverage (green means covered, red means not covered).
In the Code Coverage viewer, on the Source tab, a graphical summary of total coverage is presented in a bar chart - that is, information related to Root. Five levels of code coverage are accessible when the source code is Ada, and those five levels are represented here. Notice how, on the toolbar, there is a reference to these five possible coverage levels ().
Select the Rates tab in the Code Coverage viewer
The Rates tab is used to display the various coverage levels for
the entire application
each source file
Click various nodes in the Report Window in order to browse the Rates tab. Note how a selection of the Root node gives you a summary of the entire application.
From the File menu, select Save Project.