Ruby Coverage Validator - Files and Lines
The Files and Lines view displays statistics for each file and line that
is being monitored for code coverage. The data is displayed in a tree format
with the top level showing files and the second level showing the lines in
each file.
In the picture shown below, pink files have not been visited, yellow
files have been 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. The popup menu also provides options for controlling the expand and
collapse state of the tree control.
This picture shows the Files and Lines view expanded to show some lines
in the file.


