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.
Procedure
- Clicking on the column header within the report. Clicking
on the header will toggle the sort order from ascending to descending
order.
- Using the Sort By pulldown
- Use the filter menu
to
filter the reported elements. The filter menu can be used
to hide items with errors, items with no debug information, and items
that are either above or below code coverage thresholds. Note that
each failed element with respect to the threshold is decorated in
the report with a red "x" overlay. For example, the following report
filters the above report to show only those elements that did not
pass the acceptance threshold, and hides all items that do not have
debug information. Note that the code coverage results for all items
other than payroll.cpp are no longer reported: