You can view your code coverage results in either a Workbench
, File, HTML, or PDF report or within the
editor. By default, Workbench reports are generated.
View workbench reports
Using the Workbench report, you can sort columns to help
you quickly identify unacceptable levels of coverage. You can sort
the code coverage data by element, coverage, covered items, or total
items.
View file reports File reports are organized according to the
following hierarchy: File > Function. Files are often used by multiple programs. Open or
generate a File Report if you want to see coverage
results for a file as it is used in more than one program. In a file
report you can expand or collapse nodes representing the hierarchy
of your source file, filter results according to threshold, open source
in an editor that explicitly shows lines covered by the test run,
and more.
View HTML reports
Using the HTML report, you can sort columns to help you
quickly identify unacceptable levels of coverage. You can sort the
code coverage data by covered lines, total lines, or % coverage. Clicking
on the column header within the report will toggle the sort order
from ascending to descending order.
View PDF reports
If you need to print your code coverage report, you may
want to generate and open a PDF report.