diff --git a/assets/file_report.html.erb b/assets/file_report.html.erb index 819cca0..47620ef 100644 --- a/assets/file_report.html.erb +++ b/assets/file_report.html.erb @@ -2,14 +2,46 @@
Line Coverage: | <% if @total_lines > 0 %> @@ -27,18 +59,19 @@ <% end %>
---|
Execution Count | -Branch Count | +BC | +LC | Line | Source | |
---|---|---|---|---|---|---|
<%= file_coverage.get_line_count(line_number) %> | -+ | <% if branches = file_coverage.get_branches(line_number) %> <% branches.each_with_index do |(branch_id, branch_coverage), i| %> <% if i > 0 %> @@ -51,7 +84,8 @@ <% end %> <% end %> | -<%= line_number %> | +<%= line_execution_count %> | +<%= line_number %> | <%= CGI.escape_html(line.chomp).gsub("\t", " " * 4).gsub(" ", " ") %> |