Code Coverage

In the student language levels, DrScheme will automatically indicate expression coverage of programs. This is a useful baseline for students and instructors to determine whether a program has been tested adequately. DrScheme highlights expressions that have not been exercised in red while leaving the rest of the code in black:

[./images/coverage.gif]

If, however, all the expressions have been tested, the editor reverts to full code coloring:

[./images/coverage-2.gif]