494 lines
20 KiB
Plaintext
494 lines
20 KiB
Plaintext
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Code coverage report for core/</title>
|
|
<meta charset="utf-8">
|
|
|
|
<link rel="stylesheet" href="../prettify.css">
|
|
|
|
<style>
|
|
body, html {
|
|
margin:0; padding: 0;
|
|
}
|
|
body {
|
|
font-family: Helvetica Neue, Helvetica,Arial;
|
|
font-size: 10pt;
|
|
}
|
|
div.header, div.footer {
|
|
background: #eee;
|
|
padding: 1em;
|
|
}
|
|
div.header {
|
|
z-index: 100;
|
|
position: fixed;
|
|
top: 0;
|
|
border-bottom: 1px solid #666;
|
|
width: 100%;
|
|
}
|
|
div.footer {
|
|
border-top: 1px solid #666;
|
|
}
|
|
div.body {
|
|
margin-top: 10em;
|
|
}
|
|
div.meta {
|
|
font-size: 90%;
|
|
text-align: center;
|
|
}
|
|
h1, h2, h3 {
|
|
font-weight: normal;
|
|
}
|
|
h1 {
|
|
font-size: 12pt;
|
|
}
|
|
h2 {
|
|
font-size: 10pt;
|
|
}
|
|
pre {
|
|
font-family: Consolas, Menlo, Monaco, monospace;
|
|
margin: 0;
|
|
padding: 0;
|
|
line-height: 14px;
|
|
font-size: 14px;
|
|
-moz-tab-size: 2;
|
|
-o-tab-size: 2;
|
|
tab-size: 2;
|
|
}
|
|
|
|
div.path { font-size: 110%; }
|
|
div.path a:link, div.path a:visited { color: #000; }
|
|
table.coverage { border-collapse: collapse; margin:0; padding: 0 }
|
|
|
|
table.coverage td {
|
|
margin: 0;
|
|
padding: 0;
|
|
color: #111;
|
|
vertical-align: top;
|
|
}
|
|
table.coverage td.line-count {
|
|
width: 50px;
|
|
text-align: right;
|
|
padding-right: 5px;
|
|
}
|
|
table.coverage td.line-coverage {
|
|
color: #777 !important;
|
|
text-align: right;
|
|
border-left: 1px solid #666;
|
|
border-right: 1px solid #666;
|
|
}
|
|
|
|
table.coverage td.text {
|
|
}
|
|
|
|
table.coverage td span.cline-any {
|
|
display: inline-block;
|
|
padding: 0 5px;
|
|
width: 40px;
|
|
}
|
|
table.coverage td span.cline-neutral {
|
|
background: #eee;
|
|
}
|
|
table.coverage td span.cline-yes {
|
|
background: #b5d592;
|
|
color: #999;
|
|
}
|
|
table.coverage td span.cline-no {
|
|
background: #fc8c84;
|
|
}
|
|
|
|
.cstat-yes { color: #111; }
|
|
.cstat-no { background: #fc8c84; color: #111; }
|
|
.fstat-no { background: #ffc520; color: #111 !important; }
|
|
.cbranch-no { background: yellow !important; color: #111; }
|
|
|
|
.cstat-skip { background: #ddd; color: #111; }
|
|
.fstat-skip { background: #ddd; color: #111 !important; }
|
|
.cbranch-skip { background: #ddd !important; color: #111; }
|
|
|
|
.missing-if-branch {
|
|
display: inline-block;
|
|
margin-right: 10px;
|
|
position: relative;
|
|
padding: 0 4px;
|
|
background: black;
|
|
color: yellow;
|
|
}
|
|
|
|
.skip-if-branch {
|
|
display: none;
|
|
margin-right: 10px;
|
|
position: relative;
|
|
padding: 0 4px;
|
|
background: #ccc;
|
|
color: white;
|
|
}
|
|
|
|
.missing-if-branch .typ, .skip-if-branch .typ {
|
|
color: inherit !important;
|
|
}
|
|
|
|
.entity, .metric { font-weight: bold; }
|
|
.metric { display: inline-block; border: 1px solid #333; padding: 0.3em; background: white; }
|
|
.metric small { font-size: 80%; font-weight: normal; color: #666; }
|
|
|
|
div.coverage-summary table { border-collapse: collapse; margin: 3em; font-size: 110%; }
|
|
div.coverage-summary td, div.coverage-summary table th { margin: 0; padding: 0.25em 1em; border-top: 1px solid #666; border-bottom: 1px solid #666; }
|
|
div.coverage-summary th { text-align: left; border: 1px solid #666; background: #eee; font-weight: normal; }
|
|
div.coverage-summary th.file { border-right: none !important; }
|
|
div.coverage-summary th.pic { border-left: none !important; text-align: right; }
|
|
div.coverage-summary th.pct { border-right: none !important; }
|
|
div.coverage-summary th.abs { border-left: none !important; text-align: right; }
|
|
div.coverage-summary td.pct { text-align: right; border-left: 1px solid #666; }
|
|
div.coverage-summary td.abs { text-align: right; font-size: 90%; color: #444; border-right: 1px solid #666; }
|
|
div.coverage-summary td.file { text-align: right; border-left: 1px solid #666; white-space: nowrap; }
|
|
div.coverage-summary td.pic { min-width: 120px !important; }
|
|
div.coverage-summary a:link { text-decoration: none; color: #000; }
|
|
div.coverage-summary a:visited { text-decoration: none; color: #333; }
|
|
div.coverage-summary a:hover { text-decoration: underline; }
|
|
div.coverage-summary tfoot td { border-top: 1px solid #666; }
|
|
|
|
div.coverage-summary .yui3-datatable-sort-indicator, div.coverage-summary .dummy-sort-indicator {
|
|
height: 10px;
|
|
width: 7px;
|
|
display: inline-block;
|
|
margin-left: 0.5em;
|
|
}
|
|
div.coverage-summary .yui3-datatable-sort-indicator {
|
|
background: url("https://yui-s.yahooapis.com/3.6.0/build/datatable-sort/assets/skins/sam/sort-arrow-sprite.png") no-repeat scroll 0 0 transparent;
|
|
}
|
|
div.coverage-summary .yui3-datatable-sorted .yui3-datatable-sort-indicator {
|
|
background-position: 0 -20px;
|
|
}
|
|
div.coverage-summary .yui3-datatable-sorted-desc .yui3-datatable-sort-indicator {
|
|
background-position: 0 -10px;
|
|
}
|
|
|
|
.high { background: #b5d592 !important; }
|
|
.medium { background: #ffe87c !important; }
|
|
.low { background: #fc8c84 !important; }
|
|
|
|
span.cover-fill, span.cover-empty {
|
|
display:inline-block;
|
|
border:1px solid #444;
|
|
background: white;
|
|
height: 12px;
|
|
}
|
|
span.cover-fill {
|
|
background: #ccc;
|
|
border-right: 1px solid #444;
|
|
}
|
|
span.cover-empty {
|
|
background: white;
|
|
border-left: none;
|
|
}
|
|
span.cover-full {
|
|
border-right: none !important;
|
|
}
|
|
pre.prettyprint {
|
|
border: none !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
.com { color: #999 !important; }
|
|
.ignore-none { color: #999; font-weight: normal; }
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="header high">
|
|
<h1>Code coverage report for <span class="entity">core/</span></h1>
|
|
<h2>
|
|
|
|
Statements: <span class="metric">82.29% <small>(1385 / 1683)</small></span>
|
|
|
|
|
|
Branches: <span class="metric">70.61% <small>(793 / 1123)</small></span>
|
|
|
|
|
|
Functions: <span class="metric">83.48% <small>(288 / 345)</small></span>
|
|
|
|
|
|
Lines: <span class="metric">82.5% <small>(1377 / 1669)</small></span>
|
|
|
|
Ignored: <span class="metric"><span class="ignore-none">none</span></span>
|
|
</h2>
|
|
<div class="path"><a href="../index.html">All files</a> » core/</div>
|
|
</div>
|
|
<div class="body">
|
|
<div class="coverage-summary">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
|
|
<th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
|
|
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
|
|
<th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
|
|
<th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
|
|
<th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
|
|
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr>
|
|
<td class="file high" data-value="core-prototypes.js"><a href="core-prototypes.js.html">core-prototypes.js</a></td>
|
|
<td data-value="95.1" class="pic high"><span class="cover-fill" style="width: 95px;"></span><span class="cover-empty" style="width:5px;"></span></td>
|
|
<td data-value="95.1" class="pct high">95.1%</td>
|
|
<td data-value="306" class="abs high">(291 / 306)</td>
|
|
<td data-value="83.33" class="pct high">83.33%</td>
|
|
<td data-value="234" class="abs high">(195 / 234)</td>
|
|
<td data-value="100" class="pct high">100%</td>
|
|
<td data-value="50" class="abs high">(50 / 50)</td>
|
|
<td data-value="96.28" class="pct high">96.28%</td>
|
|
<td data-value="296" class="abs high">(285 / 296)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="file high" data-value="core.js"><a href="core.js.html">core.js</a></td>
|
|
<td data-value="96.77" class="pic high"><span class="cover-fill" style="width: 96px;"></span><span class="cover-empty" style="width:4px;"></span></td>
|
|
<td data-value="96.77" class="pct high">96.77%</td>
|
|
<td data-value="124" class="abs high">(120 / 124)</td>
|
|
<td data-value="90.11" class="pct high">90.11%</td>
|
|
<td data-value="91" class="abs high">(82 / 91)</td>
|
|
<td data-value="91.18" class="pct high">91.18%</td>
|
|
<td data-value="34" class="abs high">(31 / 34)</td>
|
|
<td data-value="98.36" class="pct high">98.36%</td>
|
|
<td data-value="122" class="abs high">(120 / 122)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="file medium" data-value="extras.js"><a href="extras.js.html">extras.js</a></td>
|
|
<td data-value="61.76" class="pic medium"><span class="cover-fill" style="width: 61px;"></span><span class="cover-empty" style="width:39px;"></span></td>
|
|
<td data-value="61.76" class="pct medium">61.76%</td>
|
|
<td data-value="68" class="abs medium">(42 / 68)</td>
|
|
<td data-value="33.33" class="pct low">33.33%</td>
|
|
<td data-value="45" class="abs low">(15 / 45)</td>
|
|
<td data-value="92.31" class="pct high">92.31%</td>
|
|
<td data-value="13" class="abs high">(12 / 13)</td>
|
|
<td data-value="61.76" class="pct medium">61.76%</td>
|
|
<td data-value="68" class="abs medium">(42 / 68)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="file high" data-value="format_parser.js"><a href="format_parser.js.html">format_parser.js</a></td>
|
|
<td data-value="96.95" class="pic high"><span class="cover-fill" style="width: 96px;"></span><span class="cover-empty" style="width:4px;"></span></td>
|
|
<td data-value="96.95" class="pct high">96.95%</td>
|
|
<td data-value="164" class="abs high">(159 / 164)</td>
|
|
<td data-value="86.13" class="pct high">86.13%</td>
|
|
<td data-value="137" class="abs high">(118 / 137)</td>
|
|
<td data-value="94.29" class="pct high">94.29%</td>
|
|
<td data-value="35" class="abs high">(33 / 35)</td>
|
|
<td data-value="96.95" class="pct high">96.95%</td>
|
|
<td data-value="164" class="abs high">(159 / 164)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="file high" data-value="i18n.js"><a href="i18n.js.html">i18n.js</a></td>
|
|
<td data-value="95.45" class="pic high"><span class="cover-fill" style="width: 95px;"></span><span class="cover-empty" style="width:5px;"></span></td>
|
|
<td data-value="95.45" class="pct high">95.45%</td>
|
|
<td data-value="154" class="abs high">(147 / 154)</td>
|
|
<td data-value="75" class="pct medium">75%</td>
|
|
<td data-value="92" class="abs medium">(69 / 92)</td>
|
|
<td data-value="94.12" class="pct high">94.12%</td>
|
|
<td data-value="34" class="abs high">(32 / 34)</td>
|
|
<td data-value="95.45" class="pct high">95.45%</td>
|
|
<td data-value="154" class="abs high">(147 / 154)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="file medium" data-value="parser.js"><a href="parser.js.html">parser.js</a></td>
|
|
<td data-value="72.34" class="pic medium"><span class="cover-fill" style="width: 72px;"></span><span class="cover-empty" style="width:28px;"></span></td>
|
|
<td data-value="72.34" class="pct medium">72.34%</td>
|
|
<td data-value="47" class="abs medium">(34 / 47)</td>
|
|
<td data-value="87.5" class="pct high">87.5%</td>
|
|
<td data-value="32" class="abs high">(28 / 32)</td>
|
|
<td data-value="62.5" class="pct medium">62.5%</td>
|
|
<td data-value="8" class="abs medium">(5 / 8)</td>
|
|
<td data-value="72.34" class="pct medium">72.34%</td>
|
|
<td data-value="47" class="abs medium">(34 / 47)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="file high" data-value="parsing_grammar.js"><a href="parsing_grammar.js.html">parsing_grammar.js</a></td>
|
|
<td data-value="91.59" class="pic high"><span class="cover-fill" style="width: 91px;"></span><span class="cover-empty" style="width:9px;"></span></td>
|
|
<td data-value="91.59" class="pct high">91.59%</td>
|
|
<td data-value="107" class="abs high">(98 / 107)</td>
|
|
<td data-value="56.25" class="pct medium">56.25%</td>
|
|
<td data-value="16" class="abs medium">(9 / 16)</td>
|
|
<td data-value="96.55" class="pct high">96.55%</td>
|
|
<td data-value="29" class="abs high">(28 / 29)</td>
|
|
<td data-value="91.59" class="pct high">91.59%</td>
|
|
<td data-value="107" class="abs high">(98 / 107)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="file medium" data-value="parsing_operators.js"><a href="parsing_operators.js.html">parsing_operators.js</a></td>
|
|
<td data-value="72.12" class="pic medium"><span class="cover-fill" style="width: 72px;"></span><span class="cover-empty" style="width:28px;"></span></td>
|
|
<td data-value="72.12" class="pct medium">72.12%</td>
|
|
<td data-value="208" class="abs medium">(150 / 208)</td>
|
|
<td data-value="65" class="pct medium">65%</td>
|
|
<td data-value="80" class="abs medium">(52 / 80)</td>
|
|
<td data-value="70.45" class="pct medium">70.45%</td>
|
|
<td data-value="44" class="abs medium">(31 / 44)</td>
|
|
<td data-value="72.12" class="pct medium">72.12%</td>
|
|
<td data-value="208" class="abs medium">(150 / 208)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="file medium" data-value="parsing_translator.js"><a href="parsing_translator.js.html">parsing_translator.js</a></td>
|
|
<td data-value="79.7" class="pic medium"><span class="cover-fill" style="width: 79px;"></span><span class="cover-empty" style="width:21px;"></span></td>
|
|
<td data-value="79.7" class="pct medium">79.7%</td>
|
|
<td data-value="202" class="abs medium">(161 / 202)</td>
|
|
<td data-value="71.43" class="pct medium">71.43%</td>
|
|
<td data-value="231" class="abs medium">(165 / 231)</td>
|
|
<td data-value="87.5" class="pct high">87.5%</td>
|
|
<td data-value="32" class="abs high">(28 / 32)</td>
|
|
<td data-value="79.7" class="pct medium">79.7%</td>
|
|
<td data-value="202" class="abs medium">(161 / 202)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="file high" data-value="sugarpak.js"><a href="sugarpak.js.html">sugarpak.js</a></td>
|
|
<td data-value="96.62" class="pic high"><span class="cover-fill" style="width: 96px;"></span><span class="cover-empty" style="width:4px;"></span></td>
|
|
<td data-value="96.62" class="pct high">96.62%</td>
|
|
<td data-value="148" class="abs high">(143 / 148)</td>
|
|
<td data-value="82.86" class="pct high">82.86%</td>
|
|
<td data-value="70" class="abs high">(58 / 70)</td>
|
|
<td data-value="100" class="pct high">100%</td>
|
|
<td data-value="30" class="abs high">(30 / 30)</td>
|
|
<td data-value="96.58" class="pct high">96.58%</td>
|
|
<td data-value="146" class="abs high">(141 / 146)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="file low" data-value="time_period.js"><a href="time_period.js.html">time_period.js</a></td>
|
|
<td data-value="33.33" class="pic low"><span class="cover-fill" style="width: 33px;"></span><span class="cover-empty" style="width:67px;"></span></td>
|
|
<td data-value="33.33" class="pct low">33.33%</td>
|
|
<td data-value="63" class="abs low">(21 / 63)</td>
|
|
<td data-value="2.7" class="pct low">2.7%</td>
|
|
<td data-value="37" class="abs low">(1 / 37)</td>
|
|
<td data-value="36.36" class="pct low">36.36%</td>
|
|
<td data-value="11" class="abs low">(4 / 11)</td>
|
|
<td data-value="33.33" class="pct low">33.33%</td>
|
|
<td data-value="63" class="abs low">(21 / 63)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="file low" data-value="time_span.js"><a href="time_span.js.html">time_span.js</a></td>
|
|
<td data-value="20.65" class="pic low"><span class="cover-fill" style="width: 20px;"></span><span class="cover-empty" style="width:80px;"></span></td>
|
|
<td data-value="20.65" class="pct low">20.65%</td>
|
|
<td data-value="92" class="abs low">(19 / 92)</td>
|
|
<td data-value="1.72" class="pct low">1.72%</td>
|
|
<td data-value="58" class="abs low">(1 / 58)</td>
|
|
<td data-value="16" class="pct low">16%</td>
|
|
<td data-value="25" class="abs low">(4 / 25)</td>
|
|
<td data-value="20.65" class="pct low">20.65%</td>
|
|
<td data-value="92" class="abs low">(19 / 92)</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="footer">
|
|
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Nov 16 2014 12:08:33 GMT-0800 (PST)</div>
|
|
</div>
|
|
|
|
<script src="../prettify.js"></script>
|
|
|
|
<script src="https://yui-s.yahooapis.com/3.6.0/build/yui/yui-min.js"></script>
|
|
<script>
|
|
|
|
YUI().use('datatable', function (Y) {
|
|
|
|
var formatters = {
|
|
pct: function (o) {
|
|
o.className += o.record.get('classes')[o.column.key];
|
|
try {
|
|
return o.value.toFixed(2) + '%';
|
|
} catch (ex) { return o.value + '%'; }
|
|
},
|
|
html: function (o) {
|
|
o.className += o.record.get('classes')[o.column.key];
|
|
return o.record.get(o.column.key + '_html');
|
|
}
|
|
},
|
|
defaultFormatter = function (o) {
|
|
o.className += o.record.get('classes')[o.column.key];
|
|
return o.value;
|
|
};
|
|
|
|
function getColumns(theadNode) {
|
|
var colNodes = theadNode.all('tr th'),
|
|
cols = [],
|
|
col;
|
|
colNodes.each(function (colNode) {
|
|
col = {
|
|
key: colNode.getAttribute('data-col'),
|
|
label: colNode.get('innerHTML') || ' ',
|
|
sortable: !colNode.getAttribute('data-nosort'),
|
|
className: colNode.getAttribute('class'),
|
|
type: colNode.getAttribute('data-type'),
|
|
allowHTML: colNode.getAttribute('data-html') === 'true' || colNode.getAttribute('data-fmt') === 'html'
|
|
};
|
|
col.formatter = formatters[colNode.getAttribute('data-fmt')] || defaultFormatter;
|
|
cols.push(col);
|
|
});
|
|
return cols;
|
|
}
|
|
|
|
function getRowData(trNode, cols) {
|
|
var tdNodes = trNode.all('td'),
|
|
i,
|
|
row = { classes: {} },
|
|
node,
|
|
name;
|
|
for (i = 0; i < cols.length; i += 1) {
|
|
name = cols[i].key;
|
|
node = tdNodes.item(i);
|
|
row[name] = node.getAttribute('data-value') || node.get('innerHTML');
|
|
row[name + '_html'] = node.get('innerHTML');
|
|
row.classes[name] = node.getAttribute('class');
|
|
//Y.log('Name: ' + name + '; Value: ' + row[name]);
|
|
if (cols[i].type === 'number') { row[name] = row[name] * 1; }
|
|
}
|
|
//Y.log(row);
|
|
return row;
|
|
}
|
|
|
|
function getData(tbodyNode, cols) {
|
|
var data = [];
|
|
tbodyNode.all('tr').each(function (trNode) {
|
|
data.push(getRowData(trNode, cols));
|
|
});
|
|
return data;
|
|
}
|
|
|
|
function replaceTable(node) {
|
|
if (!node) { return; }
|
|
var cols = getColumns(node.one('thead')),
|
|
data = getData(node.one('tbody'), cols),
|
|
table,
|
|
parent = node.get('parentNode');
|
|
|
|
table = new Y.DataTable({
|
|
columns: cols,
|
|
data: data,
|
|
sortBy: 'file'
|
|
});
|
|
parent.set('innerHTML', '');
|
|
table.render(parent);
|
|
}
|
|
|
|
Y.on('domready', function () {
|
|
replaceTable(Y.one('div.coverage-summary table'));
|
|
if (typeof prettyPrint === 'function') {
|
|
prettyPrint();
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|