To produce code coverage statistics during the test run, you must first compile the source application (the project that contains the code to be tested) with code coverage enabled.
The project properties appear.
The project is rebuilt with code coverage enabled.
The MFUT_TESTAIRCODE test case is re-run and on completion code coverage statistics are displayed in the Micro Focus Code Coverage window.
Notice that the Section: distance-between-airports entry is showing 0% covered.
The cursor is positioned in the source code at the distance-between-airports section, and the source code is colorized (according to your editor preferences) to indicate that it was not executed. Later in the tutorial, we will view this section again when the code has been executed. For more information on Code Coverage, refer to Code Coverage (native COBOL).