Configuring code coverage indicators

You can modify the indicators that are used for showing code coverage. By default, covered lines are shown in green; uncovered lines are shown in red.

Procedure

  1. Expand Preferences > General > Appearance and then click Colors and Fonts.
  2. In the Colors and Fonts page, expand Code Coverage.
    Coverage Fonts
  3. To change the colors or fonts used when displaying code coverage:
    1. Click the item that you want to change and click Edit. You can change the color or font used for:
      • Covered elements
      • Uncovered elements
    2. Select the color or font that you want to use for the element and then click OK.
      The default indicator of coverage status is the color. You can also use symbols to indicate the difference. For more information, see Using symbols to indicate coverage status.

Using symbols to indicate coverage status

Procedure

  1. In the coverage indicator column, right-click to open the menu.
  2. In the menu, select Show text instead of colors for coverage results.
    The graphic shows the Show text instead of colors for coverage results option in the menu.
    Symbols appear as the code coverage indicators.
    The graphic shows the symbols to indicate covered and uncovered in the editor.
    This setting will be remembered until next change.