░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/canvas/vendor/bundle/ruby/3.1.0/gems/simplecov-rcov-0.3.1/views
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: index.html.erb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'> <head> <meta http-equiv="Content-type" content="text/html;charset=UTF-8" /> <title><%= "#{project_name} C0 Coverage Information - SimpleCov - RCov style" %></title> <link href="<%= assets_path('screen.css')%>" media="all" rel="stylesheet" type="text/css" /> <link href="<%= assets_path('print.css')%>" media="print" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="<%= assets_path('jquery-1.3.2.min.js')%>"></script> <script type="text/javascript" src="<%= assets_path('jquery.tablesorter.min.js')%>"></script> <script type="text/javascript" src="<%= assets_path('rcov.js')%>"></script> </head> <body> <h1><%= "#{project_name} C0 Coverage Information - SimpleCov - RCov style" %></h1> <noscript><style type="text/css">.if_js { display:none; }</style></noscript> <div class="filters if_js"> <fieldset> <label>File Filter:</label> <select id="file_filter" class="filter"> <option value="all_files">Show All</option> <% @files.map{|f| shortened_filename(f).split('/')[0..-2]}.flatten.uniq.sort.each do |f| %><option value="<%= f %>"><%= f %>/</option><% end %> </select> </fieldset> <fieldset> <label>Code Coverage Threshold:</label> <select id="coverage_filter" class="filter"> <option value="all_coverage">Show All</option> <% (1..10).each do |i| %><option value="<%= i * 10 %>">< <%= i * 10 %>% Coverage</option><% end %> <option value="110">= 100% Coverage</option> </select> </fieldset> </div> <div class="report_table_wrapper"> <table class='report' id='report_table'> <thead> <tr> <th class="left_align">Name</th> <th class="right_align">Total Lines</th> <th class="right_align">Lines of Code</th> <th class="left_align">Total Coverage</th> <th class="left_align">Code Coverage</th> </tr> </thead> <tfoot> <tr> <td class="left_align">TOTAL</td> <td class='right_align'><tt><%= @total_lines %></tt></td> <td class='right_align'><tt><%= @total_lines_code %></tt></td> <td class="left_align"><%= code_coverage_html(@total_coverage) %></td> <td class="left_align"><%= code_coverage_html(@total_coverage_code, true) %></td> </tr> </tfoot> <tbody> <% @files.each_with_index do |file,i| %> <tr class="all_files all_coverage <%= coverage_threshold_classes(file.covered_percent) %> <%= file_filter_classes(shortened_filename(file)) %> <%= i.odd? ? 'odd' : 'even' %>"> <td class="left_align"><a href="<%= CGI::escapeHTML(relative_filename(shortened_filename(file))) %>"><%= CGI::escapeHTML(shortened_filename(file)) %></a></td> <td class='right_align'><tt><%= file.lines.count %></tt></td> <td class='right_align'><tt><%= file.covered_lines.count + file.missed_lines.count %></tt></td> <td class="left_align"><%= code_coverage_html(total_coverage_for_report(file)) %></td> <td class="left_align"><%= code_coverage_html(file.covered_percent) %></td> </tr> <% end %> </tbody> </table> </div> <p>Generated on <%= generated_on %> with <a href="<%= SimpleCov::Formatter::RcovFormatter::UPSTREAM_URL %>">SimpleCov-RCov <%= SimpleCov::Formatter::RcovFormatter::VERSION %></a></p> <script type="text/javascript"> $(document).ready(function(){$("#report_table").tablesorter({widgets: ['zebra'], textExtraction: 'complex'});}); $('.filter').change(function(){ ff = $('#file_filter').val(); cf = $('#coverage_filter').val(); $('table#report_table tbody tr').each(function(i){ if ((this.className.split(" ").indexOf(ff) > -1) && (this.className.split(" ").indexOf(cf) > -1)) { this.style.display = ""; } else { this.style.display = "none"; }; restripe(); }) }) </script> </body> </html>
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 detail.html.erb
ERB
2.8 KB
2023-09-24 03:48
EDIT
📄 index.html.erb
ERB
4.2 KB
2023-09-24 03:48
EDIT