Viewing coverage information in the table view

In the table view, you can see the coverage information of files, modules, and flow points displayed in a table.

In the code coverage report, click the Table view (Table view) icon.

This image shows the table view.
You can view the data grouped by files, modules, or flow points.
  • In the Files view, all files are displayed. You can click a file to see objects or programs under the file, and then flow points.
  • In the Modules view, data is grouped by the top-level modules. You can click a module to see compile units or object modules under the module, and then files and flow points.
  • In the Flow points view, all the lowest-level flow points are listed. You can click a flow point to view the source file.
    A flow point is a named group of statements in a program. Execution of the program can flow into and out of a flow point many times, or possibly not at all. Flow points can be called differently in various languages, for example:
    • For COBOL programs, flow points can be sections, paragraphs, compile units, or user-defined functions.
    • For PL/I programs, flow points can be procedures.
    • For C/C++ programs, flow points can be functions or classes.
    • For Java programs, flow points can be classes or methods.
In the report table, you can find the detailed coverage information for all the items in the selected view and path. The following columns are available:
  • Name: The name of the item displayed in this table. The items can be modules, files, programs, or flow points.

    You can click a module or file to view the items under it. A breadcrumb appears above the table to indicate the current path. You can also use the breadcrumb to return to an item of higher level in the path. Clicking a lowest-level flow point opens the source or listing in an editor.

    To find an item in the current path, enter the search string in the search field. The search supports regular expression and is case-sensitive.

    In the Flow points view, all the flow points can be searched for.

  • Coverage: The percentage of executable lines that are covered for the item.
    The coverage percentage is highlighted with a colored bar to indicate the status according to the thresholds you specified on the File Analysis Defaults preference page that can be opened by clicking the drop-down menu icon in the Code Coverage Results view.
    • Passed (green bar): the coverage percentage is greater than or equal to the warning threshold.
    • Warning (yellow bar): the coverage percentage is smaller than the warning threshold, but larger than or equal to the failure threshold. By default, the warning threshold is 90.
    • Failed (red bar): the coverage is smaller than the failure threshold. By default, the failure threshold is 80.
    You can customize the bar colors on the Colors and Fonts preference page.
    This image shows the Color and Fonts preference page.

    To display only the items with a coverage percentage smaller than or equal to a certain percentage, in the Show coverage slider, adjust the slider bar or enter a value in the field.

  • Uncovered lines: The number of lines that are not executed in the item.
  • Covered lines: The number of lines that are executed in the item.
  • Executable lines: The number of executable lines in the item.
  • Messages: Additional information for the item.

The report table is sortable by all the columns.