Skip to content

Commit

Permalink
deploy: 3d16439
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikeyakirar committed Oct 11, 2023
1 parent 7bf1115 commit 518f69e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
14 changes: 7 additions & 7 deletions main/coverage-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<style>body{background-color:white;}</style>
<script src="lib/htmlwidgets-1.6.2/htmlwidgets.js"></script>
<link href="lib/datatables-css-0.0.0/datatables-crosstalk.css" rel="stylesheet" />
<script src="lib/datatables-binding-0.28/datatables.js"></script>
<script src="lib/datatables-binding-0.30/datatables.js"></script>
<script src="lib/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<link href="lib/dt-core-1.13.4/css/jquery.dataTables.min.css" rel="stylesheet" />
<link href="lib/dt-core-1.13.4/css/jquery.dataTables.extra.css" rel="stylesheet" />
Expand Down Expand Up @@ -106,8 +106,8 @@ <h2>teal.modules.hermes coverage - 26.54%</h2>
</ul>
<div class="tab-content" data-tabsetid="covr">
<div class="tab-pane active" title="Files" data-value="Files" id="tab-covr-1">
<div class="datatables html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-2f7126e3e9f3617e1ef8" style="width:100%;height:500px;"></div>
<script type="application/json" data-for="htmlwidget-2f7126e3e9f3617e1ef8">{"x":{"filter":"none","vertical":false,"fillContainer":false,"data":[["<a href=\"#\">R/zzz.R<\/a>","<a href=\"#\">R/forestplot.R<\/a>","<a href=\"#\">R/volcanoplot.R<\/a>","<a href=\"#\">R/boxplot.R<\/a>","<a href=\"#\">R/km.R<\/a>","<a href=\"#\">R/scatterplot.R<\/a>","<a href=\"#\">R/barplot.R<\/a>","<a href=\"#\">R/pca.R<\/a>","<a href=\"#\">R/quality.R<\/a>","<a href=\"#\">R/assaySpec.R<\/a>","<a href=\"#\">R/adtteSpec.R<\/a>","<a href=\"#\">R/experimentSpec.R<\/a>","<a href=\"#\">R/geneSpec.R<\/a>","<a href=\"#\">R/sampleVarSpec.R<\/a>","<a href=\"#\">R/checkmate.R<\/a>","<a href=\"#\">R/utils.R<\/a>"],[3,313,281,261,308,259,260,465,432,152,398,283,483,524,140,79],[1,165,156,147,159,142,141,288,245,40,133,73,202,183,17,14],[0,21,25,24,26,25,27,66,58,11,40,29,85,90,9,14],[1,144,131,123,133,117,114,222,187,29,93,44,117,93,8,0],["0","0","0","0","0","0","0","0","0","2","2","2","3","1","4","8"],["0.00%","12.73%","16.03%","16.33%","16.35%","17.61%","19.15%","22.92%","23.67%","27.50%","30.08%","39.73%","42.08%","49.18%","52.94%","100.00%"]],"container":"<table class=\"row-border\">\n <thead>\n <tr>\n <th>File<\/th>\n <th>Lines<\/th>\n <th>Relevant<\/th>\n <th>Covered<\/th>\n <th>Missed<\/th>\n <th>Hits / Line<\/th>\n <th>Coverage<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"searching":false,"dom":"t","paging":false,"columnDefs":[{"targets":6,"createdCell":"function(td, cellData, rowData, row, col) {\n var percent = cellData.replace(\"%\", \"\");\n if (percent > 90) {\n var grad = \"linear-gradient(90deg, #edfde7 \" + cellData + \", white \" + cellData + \")\";\n } else if (percent > 75) {\n var grad = \"linear-gradient(90deg, #f9ffe5 \" + cellData + \", white \" + cellData + \")\";\n } else {\n var grad = \"linear-gradient(90deg, #fcece9 \" + cellData + \", white \" + cellData + \")\";\n }\n $(td).css(\"background\", grad);\n}\n"},{"className":"dt-right","targets":[1,2,3,4]}],"order":[],"autoWidth":false,"orderClasses":false},"callback":"function(table) {\ntable.on('click.dt', 'a', function() {\n files = $('div#files div');\n files.not('div.hidden').addClass('hidden');\n id = $(this).text();\n files.filter('div[id=\\'' + id + '\\']').removeClass('hidden');\n $('ul.nav a[data-value=Source]').text(id).tab('show');\n});\n}","selection":{"mode":"multiple","selected":null,"target":"row","selectable":null}},"evals":["options.columnDefs.0.createdCell","callback"],"jsHooks":[]}</script>
<div class="datatables html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-173732f33f0ce3f838e4" style="width:100%;height:500px;"></div>
<script type="application/json" data-for="htmlwidget-173732f33f0ce3f838e4">{"x":{"filter":"none","vertical":false,"fillContainer":false,"data":[["<a href=\"#\">R/zzz.R<\/a>","<a href=\"#\">R/forestplot.R<\/a>","<a href=\"#\">R/volcanoplot.R<\/a>","<a href=\"#\">R/boxplot.R<\/a>","<a href=\"#\">R/km.R<\/a>","<a href=\"#\">R/scatterplot.R<\/a>","<a href=\"#\">R/barplot.R<\/a>","<a href=\"#\">R/pca.R<\/a>","<a href=\"#\">R/quality.R<\/a>","<a href=\"#\">R/assaySpec.R<\/a>","<a href=\"#\">R/adtteSpec.R<\/a>","<a href=\"#\">R/experimentSpec.R<\/a>","<a href=\"#\">R/geneSpec.R<\/a>","<a href=\"#\">R/sampleVarSpec.R<\/a>","<a href=\"#\">R/checkmate.R<\/a>","<a href=\"#\">R/utils.R<\/a>"],[3,313,281,261,308,259,260,465,432,152,398,283,483,524,140,79],[1,165,156,147,159,142,141,288,245,40,133,73,202,183,17,14],[0,21,25,24,26,25,27,66,58,11,40,29,85,90,9,14],[1,144,131,123,133,117,114,222,187,29,93,44,117,93,8,0],["0","0","0","0","0","0","0","0","0","2","2","2","3","1","4","8"],["0.00%","12.73%","16.03%","16.33%","16.35%","17.61%","19.15%","22.92%","23.67%","27.50%","30.08%","39.73%","42.08%","49.18%","52.94%","100.00%"]],"container":"<table class=\"row-border\">\n <thead>\n <tr>\n <th>File<\/th>\n <th>Lines<\/th>\n <th>Relevant<\/th>\n <th>Covered<\/th>\n <th>Missed<\/th>\n <th>Hits / Line<\/th>\n <th>Coverage<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"searching":false,"dom":"t","paging":false,"columnDefs":[{"targets":6,"createdCell":"function(td, cellData, rowData, row, col) {\n var percent = cellData.replace(\"%\", \"\");\n if (percent > 90) {\n var grad = \"linear-gradient(90deg, #edfde7 \" + cellData + \", white \" + cellData + \")\";\n } else if (percent > 75) {\n var grad = \"linear-gradient(90deg, #f9ffe5 \" + cellData + \", white \" + cellData + \")\";\n } else {\n var grad = \"linear-gradient(90deg, #fcece9 \" + cellData + \", white \" + cellData + \")\";\n }\n $(td).css(\"background\", grad);\n}\n"},{"className":"dt-right","targets":[1,2,3,4]}],"order":[],"autoWidth":false,"orderClasses":false},"callback":"function(table) {\ntable.on('click.dt', 'a', function() {\n files = $('div#files div');\n files.not('div.hidden').addClass('hidden');\n id = $(this).text();\n files.filter('div[id=\\'' + id + '\\']').removeClass('hidden');\n $('ul.nav a[data-value=Source]').text(id).tab('show');\n});\n}","selection":{"mode":"multiple","selected":null,"target":"row","selectable":null}},"evals":["options.columnDefs.0.createdCell","callback"],"jsHooks":[]}</script>
</div>
<div class="tab-pane" title="Source" data-value="Source" id="tab-covr-2">
<div id="files">
Expand Down Expand Up @@ -30337,21 +30337,21 @@ <h2>teal.modules.hermes coverage - 26.54%</h2>
</tr>
<tr class="covered">
<td class="num">41</td>
<td class="coverage">14<em>x</em></td>
<td class="coverage">16<em>x</em></td>
<td class="col-sm-12">
<pre class="language-r"> assert_flag(null.ok)</pre>
</td>
</tr>
<tr class="covered">
<td class="num">42</td>
<td class="coverage">13<em>x</em></td>
<td class="coverage">15<em>x</em></td>
<td class="col-sm-12">
<pre class="language-r"> ok &lt;- (null.ok &amp;&amp; test_null(x)) || test_class(x, "shiny.tag")</pre>
</td>
</tr>
<tr class="covered">
<td class="num">43</td>
<td class="coverage">13<em>x</em></td>
<td class="coverage">15<em>x</em></td>
<td class="col-sm-12">
<pre class="language-r"> if (!ok) {</pre>
</td>
Expand All @@ -30372,7 +30372,7 @@ <h2>teal.modules.hermes coverage - 26.54%</h2>
</tr>
<tr class="covered">
<td class="num">46</td>
<td class="coverage">12<em>x</em></td>
<td class="coverage">14<em>x</em></td>
<td class="col-sm-12">
<pre class="language-r"> return(TRUE)</pre>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// some helper functions: using a global object DTWidget so that it can be used
// in JS() code, e.g. datatable(options = list(foo = JS('code'))); unlike R's
// dynamic scoping, when 'code' is eval()'ed, JavaScript does not know objects
// dynamic scoping, when 'code' is eval'ed, JavaScript does not know objects
// from the "parent frame", e.g. JS('DTWidget') will not work unless it was made
// a global object
var DTWidget = {};
Expand Down Expand Up @@ -493,7 +493,9 @@ HTMLWidgets.widget({
$input.parent().hide(); $x.show().trigger('show'); filter[0].selectize.focus();
},
input: function() {
if ($input.val() === '') filter[0].selectize.setValue([]);
var v1 = JSON.stringify(filter[0].selectize.getValue()), v2 = $input.val();
if (v1 === '[]') v1 = '';
if (v1 !== v2) filter[0].selectize.setValue(v2 === '' ? [] : JSON.parse(v2));
}
});
var $input2 = $x.children('select');
Expand Down Expand Up @@ -1398,7 +1400,7 @@ HTMLWidgets.widget({
console.log('The search keyword for column ' + i + ' is undefined')
return;
}
$(td).find('input').first().val(v);
$(td).find('input').first().val(v).trigger('input');
searchColumn(i, v);
});
table.draw();
Expand Down

0 comments on commit 518f69e

Please sign in to comment.