comunicationLeap/node_modules/utf8/coverage/utf8.js/index.html
node_modules/utf8/coverage/utf8.js/index.htmlRaw
1<!doctype html>
2<html lang="en">
3<head>
4 <title>Code coverage report for utf8.js/</title>
5 <meta charset="utf-8">
6
7 <link rel="stylesheet" href="../prettify.css">
8
9 <style>
10 body, html {
11 margin:0; padding: 0;
12 }
13 body {
14 font-family: Helvetica Neue, Helvetica,Arial;
15 font-size: 10pt;
16 }
17 div.header, div.footer {
18 background: #eee;
19 padding: 1em;
20 }
21 div.header {
22 z-index: 100;
23 position: fixed;
24 top: 0;
25 border-bottom: 1px solid #666;
26 width: 100%;
27 }
28 div.footer {
29 border-top: 1px solid #666;
30 }
31 div.body {
32 margin-top: 10em;
33 }
34 div.meta {
35 font-size: 90%;
36 text-align: center;
37 }
38 h1, h2, h3 {
39 font-weight: normal;
40 }
41 h1 {
42 font-size: 12pt;
43 }
44 h2 {
45 font-size: 10pt;
46 }
47 pre {
48 font-family: Consolas, Menlo, Monaco, monospace;
49 margin: 0;
50 padding: 0;
51 line-height: 14px;
52 font-size: 14px;
53 -moz-tab-size: 2;
54 -o-tab-size: 2;
55 tab-size: 2;
56 }
57
58 div.path { font-size: 110%; }
59 div.path a:link, div.path a:visited { color: #000; }
60 table.coverage { border-collapse: collapse; margin:0; padding: 0 }
61
62 table.coverage td {
63 margin: 0;
64 padding: 0;
65 color: #111;
66 vertical-align: top;
67 }
68 table.coverage td.line-count {
69 width: 50px;
70 text-align: right;
71 padding-right: 5px;
72 }
73 table.coverage td.line-coverage {
74 color: #777 !important;
75 text-align: right;
76 border-left: 1px solid #666;
77 border-right: 1px solid #666;
78 }
79
80 table.coverage td.text {
81 }
82
83 table.coverage td span.cline-any {
84 display: inline-block;
85 padding: 0 5px;
86 width: 40px;
87 }
88 table.coverage td span.cline-neutral {
89 background: #eee;
90 }
91 table.coverage td span.cline-yes {
92 background: #b5d592;
93 color: #999;
94 }
95 table.coverage td span.cline-no {
96 background: #fc8c84;
97 }
98
99 .cstat-yes { color: #111; }
100 .cstat-no { background: #fc8c84; color: #111; }
101 .fstat-no { background: #ffc520; color: #111 !important; }
102 .cbranch-no { background: yellow !important; color: #111; }
103 .missing-if-branch {
104 display: inline-block;
105 margin-right: 10px;
106 position: relative;
107 padding: 0 4px;
108 background: black;
109 color: yellow;
110 xtext-decoration: line-through;
111 }
112 .missing-if-branch .typ {
113 color: inherit !important;
114 }
115
116 .entity, .metric { font-weight: bold; }
117 .metric { display: inline-block; border: 1px solid #333; padding: 0.3em; background: white; }
118 .metric small { font-size: 80%; font-weight: normal; color: #666; }
119
120 div.coverage-summary table { border-collapse: collapse; margin: 3em; font-size: 110%; }
121 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; }
122 div.coverage-summary th { text-align: left; border: 1px solid #666; background: #eee; font-weight: normal; }
123 div.coverage-summary th.file { border-right: none !important; }
124 div.coverage-summary th.pic { border-left: none !important; text-align: right; }
125 div.coverage-summary th.pct { border-right: none !important; }
126 div.coverage-summary th.abs { border-left: none !important; text-align: right; }
127 div.coverage-summary td.pct { text-align: right; border-left: 1px solid #666; }
128 div.coverage-summary td.abs { text-align: right; font-size: 90%; color: #444; border-right: 1px solid #666; }
129 div.coverage-summary td.file { text-align: right; border-left: 1px solid #666; white-space: nowrap; }
130 div.coverage-summary td.pic { min-width: 120px !important; }
131 div.coverage-summary a:link { text-decoration: none; color: #000; }
132 div.coverage-summary a:visited { text-decoration: none; color: #333; }
133 div.coverage-summary a:hover { text-decoration: underline; }
134 div.coverage-summary tfoot td { border-top: 1px solid #666; }
135
136 div.coverage-summary .yui3-datatable-sort-indicator, div.coverage-summary .dummy-sort-indicator {
137 height: 10px;
138 width: 7px;
139 display: inline-block;
140 margin-left: 0.5em;
141 }
142 div.coverage-summary .yui3-datatable-sort-indicator {
143 background: url("http://yui.yahooapis.com/3.6.0/build/datatable-sort/assets/skins/sam/sort-arrow-sprite.png") no-repeat scroll 0 0 transparent;
144 }
145 div.coverage-summary .yui3-datatable-sorted .yui3-datatable-sort-indicator {
146 background-position: 0 -20px;
147 }
148 div.coverage-summary .yui3-datatable-sorted-desc .yui3-datatable-sort-indicator {
149 background-position: 0 -10px;
150 }
151
152 .high { background: #b5d592 !important; }
153 .medium { background: #ffe87c !important; }
154 .low { background: #fc8c84 !important; }
155
156 span.cover-fill, span.cover-empty {
157 display:inline-block;
158 border:1px solid #444;
159 background: white;
160 height: 12px;
161 }
162 span.cover-fill {
163 background: #ccc;
164 border-right: 1px solid #444;
165 }
166 span.cover-empty {
167 background: white;
168 border-left: none;
169 }
170 span.cover-full {
171 border-right: none !important;
172 }
173 pre.prettyprint {
174 border: none !important;
175 padding: 0 !important;
176 margin: 0 !important;
177 }
178 .com { color: #999 !important; }
179 </style>
180</head>
181<body>
182<div class="header high">
183 <h1>Code coverage report for <span class="entity">utf8.js/</span></h1>
184 <h2>
185
186 Statements: <span class="metric">92.31% <small>(120 / 130)</small></span>
187
188
189 Branches: <span class="metric">78.79% <small>(52 / 66)</small></span>
190
191
192 Functions: <span class="metric">90% <small>(9 / 10)</small></span>
193
194
195 Lines: <span class="metric">92.31% <small>(120 / 130)</small></span>
196
197 </h2>
198 <div class="path"><a href="../index.html">All files</a> » utf8.js/</div>
199</div>
200<div class="body">
201<div class="coverage-summary">
202<table>
203<thead>
204<tr>
205 <th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
206 <th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
207 <th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
208 <th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
209 <th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
210 <th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
211 <th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
212 <th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
213 <th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
214 <th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
215</tr>
216</thead>
217<tbody><tr>
218 <td class="file high" data-value="utf8.js"><a href="utf8.js.html">utf8.js</a></td>
219 <td data-value="92.31" class="pic high"><span class="cover-fill" style="width: 92px;"></span><span class="cover-empty" style="width:8px;"></span></td>
220 <td data-value="92.31" class="pct high">92.31%</td>
221 <td data-value="130" class="abs high">(120 / 130)</td>
222 <td data-value="78.79" class="pct medium">78.79%</td>
223 <td data-value="66" class="abs medium">(52 / 66)</td>
224 <td data-value="90" class="pct high">90%</td>
225 <td data-value="10" class="abs high">(9 / 10)</td>
226 <td data-value="92.31" class="pct high">92.31%</td>
227 <td data-value="130" class="abs high">(120 / 130)</td>
228 </tr>
229
230</tbody>
231</table>
232</div>
233</div>
234<div class="footer">
235 <div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Thu Jun 20 2013 14:00:05 GMT+0200 (CEST)</div>
236</div>
237
238<script src="../prettify.js"></script>
239
240<script src="http://yui.yahooapis.com/3.6.0/build/yui/yui-min.js"></script>
241<script>
242
243 YUI().use('datatable', function (Y) {
244
245 var formatters = {
246 pct: function (o) {
247 o.className += o.record.get('classes')[o.column.key];
248 try {
249 return o.value.toFixed(2) + '%';
250 } catch (ex) { return o.value + '%'; }
251 },
252 html: function (o) {
253 o.className += o.record.get('classes')[o.column.key];
254 return o.record.get(o.column.key + '_html');
255 }
256 },
257 defaultFormatter = function (o) {
258 o.className += o.record.get('classes')[o.column.key];
259 return o.value;
260 };
261
262 function getColumns(theadNode) {
263 var colNodes = theadNode.all('tr th'),
264 cols = [],
265 col;
266 colNodes.each(function (colNode) {
267 col = {
268 key: colNode.getAttribute('data-col'),
269 label: colNode.get('innerHTML') || ' ',
270 sortable: !colNode.getAttribute('data-nosort'),
271 className: colNode.getAttribute('class'),
272 type: colNode.getAttribute('data-type'),
273 allowHTML: colNode.getAttribute('data-html') === 'true' || colNode.getAttribute('data-fmt') === 'html'
274 };
275 col.formatter = formatters[colNode.getAttribute('data-fmt')] || defaultFormatter;
276 cols.push(col);
277 });
278 return cols;
279 }
280
281 function getRowData(trNode, cols) {
282 var tdNodes = trNode.all('td'),
283 i,
284 row = { classes: {} },
285 node,
286 name;
287 for (i = 0; i < cols.length; i += 1) {
288 name = cols[i].key;
289 node = tdNodes.item(i);
290 row[name] = node.getAttribute('data-value') || node.get('innerHTML');
291 row[name + '_html'] = node.get('innerHTML');
292 row.classes[name] = node.getAttribute('class');
293 //Y.log('Name: ' + name + '; Value: ' + row[name]);
294 if (cols[i].type === 'number') { row[name] = row[name] * 1; }
295 }
296 //Y.log(row);
297 return row;
298 }
299
300 function getData(tbodyNode, cols) {
301 var data = [];
302 tbodyNode.all('tr').each(function (trNode) {
303 data.push(getRowData(trNode, cols));
304 });
305 return data;
306 }
307
308 function replaceTable(node) {
309 if (!node) { return; }
310 var cols = getColumns(node.one('thead')),
311 data = getData(node.one('tbody'), cols),
312 table,
313 parent = node.get('parentNode');
314
315 table = new Y.DataTable({
316 columns: cols,
317 data: data,
318 sortBy: 'file'
319 });
320 parent.set('innerHTML', '');
321 table.render(parent);
322 }
323
324 Y.on('domready', function () {
325 replaceTable(Y.one('div.coverage-summary table'));
326 if (typeof prettyPrint === 'function') {
327 prettyPrint();
328 }
329 });
330 });
331</script>
332</body>
333</html>