<%= title %>

<%= generate_stat_card('# of Files', format_number(files.length), 'text-gray-900') %> <%= generate_stat_card('Relevent Lines', format_number(files.lines_of_code), 'text-gray-900') %> <%= generate_stat_card('Lines Covered', format_number(files.covered_lines), 'text-green-500') %> <%= generate_stat_card('Lines Missed', format_number(files.missed_lines), 'text-red-500') %> <%= generate_stat_card('Covered', files.covered_percent.round(2).to_s + '%', coverage_class(files.covered_percent)) %> <%= generate_stat_card('Hits/Line', files.covered_strength.round(2), strength_class(files.covered_strength)) %> <% if branchable_result? %> <%= generate_stat_card('Total Branches', format_number(files.total_branches), 'text-gray-900') %> <%= generate_stat_card('Branches Covered', format_number(files.covered_branches), 'text-green-500') %> <%= generate_stat_card('Branches Missed', format_number(files.missed_branches), 'text-red-500') %> <%= generate_stat_card('Branches', files.branch_covered_percent.round(2).to_s + '%', coverage_class(files.branch_covered_percent)) %> <% end %>
<% if branchable_result? %> <% end %> <% files.each.with_index do |source_file, index| %> <% if branchable_result? %> <% end %> <% end %>
<%= generate_table_column_head('File Name') %> <%= generate_table_column_head('% Covered') %> <%= generate_table_column_head('Lines') %> <%= generate_table_column_head('Relevant Files') %> <%= generate_table_column_head('Lines Covered') %> <%= generate_table_column_head('Lines Missed') %> <%= generate_table_column_head('Avg Hits/Line') %> <%= generate_table_column_head('Branch % Covered') %> <%= generate_table_column_head('Branches') %> <%= generate_table_column_head('Covered Branches') %> <%= generate_table_column_head('Missed Branches') %>
No Results Found Please Search Again!
<%= shortened_filename(source_file) %> <%= sprintf("%.2f", source_file.covered_percent.round(2)) %>% <%= format_number(source_file.lines.count) %> <%= format_number(source_file.covered_lines.count + source_file.missed_lines.count) %> <%= format_number(source_file.covered_lines.count) %> <%= format_number(source_file.missed_lines.count) %> <%= format_number(source_file.covered_strength.round(2)) %> <%= sprintf("%.2f", source_file.branches_coverage_percent.round(2)) %>% <%= format_number(source_file.total_branches.count) %> <%= format_number(source_file.covered_branches.count) %> <%= format_number(source_file.missed_branches.count) %>