The Extended Code Coverage tool allows the coverage information gathered from a single program evaluation to be displayed on multiple source files in multiple DrRacket windows.
Extended Code Coverage is a Planet package, however it only adds a tool rather than providing functions. To install evaluate the following program:
|(require (planet jowalsh/extended-code-coverage))|
... and then restart DrRacket.
First ensure that you have "Syntactic Test Suite Coverage" enabled in the "Language->Choose Language..." dialog. Then run the program you wish to collect coverage information for. Finally, click the "Load Code Coverage" button. A new dialog will apear with the list of file covered by the program you just ran.
You may then select one, or more, of the covered files to open and switch focus to. Additinaly, by clicking the "Open With Uncovered Lines Dialog" instead of just "Open" each selected file will spawn an additional dialog with a list of lines containing unevaluated expressions.
The percent in parentheses next to each file, in the covered files dialog, is that files percent of covered lines. So 100% indicates that every line in that file is covered.
An asterisk may appear next to files in the covered files dialog. This indicates that the file has been modified since coverage information was last collected which may may have invalidated its coverage info. To ensure that all coverage information is valid run the program you are collecting code coverage for again.
Only un-compiled files will appear in the covered files dialog. To ensure that all your covered files appear delete any "compiled" directories next to your source files. Then run your program again and load code coverage.