Share via


Coverage Profiler Window

Contains a group of Coverage Profiler Tool Buttons and options that let you specify how you display the information returned by the Coverage Engine.

  • Source List Pane
    The upper Source List pane is divided into two columns. The left-hand column lists the classes within the selected file or All Classes, Objects, and Processes. The right-hand column displays the file containing the source code for this item. This file can be a .frx, .lbx, .scx or .vcx containing the class or object listed in the left pane, the .prg file for the ALL Classes selection or any other type of file that stores source code. For example, a .dbc could be listed if stored procedures were logged; an .frx could be listed if the Data Environment of a report form contained code.

  • Source Code Pane
    The lower Source Code pane (in Preview mode) displays the code of the item you select in the upper Source List pane. The mode you select determines some of the content and the format of the code displayed.

  • Coverage Mode
    In Coverage mode, the Source Code pane displays the code of the item highlighted in the upper section. The Coverage Profiler can mark the lines run and the lines not run. The default setting marks, with the symbol or symbols specified in the Coverage Profiler Options Dialog Box, each line that was not actually run. Use this mode when testing your application, to verify which lines of code actually run.

    By marking both the lines run and the lines not run (with different marks) you can more easily distinguish between lines that are never run, such as comments, from lines that were not run during this coverage analysis.

  • Profile Mode
    In profile mode, the Source Code pane displays the code of the item highlighted in the upper Source List pane, the number of times a line was hit, and the duration of each line. Use this mode if you want to evaluate the performance of running code.

    Lines can report 0.000 duration (both 1st and Avg) even though column one shows 1 or more Hits for these lines. This happens when lines are executed so quickly that duration is less than .001 second.

See Also

Coverage Profiler Application | Coverage Profiler Options Dialog Box | Coverage Profiler Statistics Dialog Box | Coverage Profiler Tool buttons | Coverage Engine Object