The Preferences pages for coverage data

Use the Annotated Source Preferences page and the related Graphical Styles and Source Styles Preferences pages to change the default appearance of the Annotated Source view.

To display the Preferences pages, click Window > Preferences. In the Preferences page tree, expand the Profiling and Logging entry, and then expand the Appearance entry. You can take the following actions:
  • Click the Annotated Source entry to show or hide line coverage symbols on the source code display.
  • Expand the Annotated Source entry and click Graphical Styles to change colors for pie charts in the source data display.
  • Expand the Annotated Source entry and click Source Styles to change fonts and colors in the source code display.

Annotated Source page

You can use the check box for Display line coverage symbols to show or hide symbols for line coverage (hit, partially hit, and missed) in the left margin of the annotated source code display. If you hide the symbols, hit, partially hit, and missed lines are distinguished only by color.

The Source Lookup Path list specifies the search paths for locating source code that is not in a project in your workspace. Click Add or Remove to modify the list.

Graphical Styles page

You can customize the colors in the pie charts for hit, partially hit, and missed lines. You can also customize the fonts used in the Coverage Summary chart.

Note: Clicking Change Text Font displays the Font window. Use the Font window only to change the font and font size. Use the Preferences page to change font colors and font attributes.

Click Restore Defaults to reset the display.

Source Styles page

You can customize the style (font text and size, foreground and background color, and attributes) for individual categories of text in the source display. For example, you can choose to have partially covered lines displayed with an underline and a magenta background.

Note: Clicking Change Text Font displays the Font window. Use the Font window only to change the font and font size. Use the Preferences page to change font colors and font attributes.

Click Restore Defaults to reset the display.

Related reference
The Annotated Source view, source data display
The Annotated Source view, source code with annotations display
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.