Use this command to exclude selected code from coverage monitoring. There are two types of code that should be marked Excluded:
You select code to be marked Excluded by highlighting it in a Summary Window or Source Window. Any number of lines may be selected, and all will be marked Excluded. For the purposes of calculating percent test coverage, Excluded code is treated as being completely outside the project.
In a Summary Window, you may select executables, folders, files, or procedures. If you select an executable, folder, or file to be Excluded, you may subsequently select an item within it (such as a file within an executable, or procedure within a file), and mark that item as Hidden, Hit, or Missed. Whenever you mark an executable, folder, or file as Excluded, the state of any items within are lost.
If the Keep Changes command on the Edit menu is checked, then any code marked Excluded from the Summary Window will be recorded as such in the project file. When you use the Clear Coverage command on the Test menu, this code will again be marked Excluded. Code marked from the Source Window is not recorded in the project file.