Use this command to mark selected code as Missed (unexecuted). There are two common cases where this is useful:
To test only a portion of an executable, the entire executable (or
folders or files) could be marked Excluded,
then the areas to test are marked Missed.
When viewing a Source Window while testing is in progress, you can mark code as Missed and manually try test scenarios to see which cause it to be Hit.
You select code to be marked Missed by highlighting it in a Summary Window or Source Window. Any number of lines may be selected, and all will be marked Missed.
In a Summary Window, you may select executables, folders, files, or procedures. If you select an executable, folder, or file to be Missed, 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 Excluded, Hit, or Hidden. Whenever you mark an executable, folder, or file as Missed, the state of any items within are lost.
If the Keep Changes command on the Edit menu is checked, then any code marked Missed 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 Missed. Code marked from the Source Window is not recorded in the project file.