Ruby Coverage Validator - Coverage
The coverage view displays statistics for each file that is being monitored
for code coverage. The statistics are updated in real time - you do not need
to wait for your application to finish before finding out how much of the
source code has been executed. In the picture shown below, pink files have
not been visited, yellow files have been visited and cyan files have had every
line visited. Each line in the display shows the filename, number of source
code lines in the file (not the same as the number of lines in a file), number
of lines that have been visited, the total visit count for the file, and the
percentage of source code lines that have been visited for the file.
The colour
coding allows at a glance viewing of the code coverage of each file. The controls
at the bottom of the display allow the results to be sorted and to be viewed
graphically.
When a file is selected in the left hand pane, the source code
for that file is displayed in the right hand pane, with visited and unvisited
lines shown in the appropriate colours, so you can at-a-glance see which lines
have been visited.
A popup menu (right mouse button) allows each file to be
edited in a syntax coloured editor that highlights each line according to
the visit status of each line.
This picture shows the Coverage view.


