141 lines
6.7 KiB
HTML
141 lines
6.7 KiB
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<head>
|
||
<title>Code coverage report for dist/smartenv.classes.js</title>
|
||
<meta charset="utf-8" />
|
||
<link rel="stylesheet" href="../prettify.css" />
|
||
<link rel="stylesheet" href="../base.css" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<style type='text/css'>
|
||
.coverage-summary .sorter {
|
||
background-image: url(../sort-arrow-sprite.png);
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<div class='wrapper'>
|
||
<div class='pad1'>
|
||
<h1>
|
||
<a href="../index.html">all files</a> / <a href="index.html">dist/</a> smartenv.classes.js
|
||
</h1>
|
||
<div class='clearfix'>
|
||
<div class='fl pad1y space-right2'>
|
||
<span class="strong">68.75% </span>
|
||
<span class="quiet">Statements</span>
|
||
<span class='fraction'>11/16</span>
|
||
</div>
|
||
<div class='fl pad1y space-right2'>
|
||
<span class="strong">33.33% </span>
|
||
<span class="quiet">Branches</span>
|
||
<span class='fraction'>2/6</span>
|
||
</div>
|
||
<div class='fl pad1y space-right2'>
|
||
<span class="strong">100% </span>
|
||
<span class="quiet">Functions</span>
|
||
<span class='fraction'>2/2</span>
|
||
</div>
|
||
<div class='fl pad1y space-right2'>
|
||
<span class="strong">73.33% </span>
|
||
<span class="quiet">Lines</span>
|
||
<span class='fraction'>11/15</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class='status-line medium'></div>
|
||
<pre><table class="coverage">
|
||
<tr><td class="line-count quiet">1
|
||
2
|
||
3
|
||
4
|
||
5
|
||
6
|
||
7
|
||
8
|
||
9
|
||
10
|
||
11
|
||
12
|
||
13
|
||
14
|
||
15
|
||
16
|
||
17
|
||
18
|
||
19
|
||
20
|
||
21
|
||
22
|
||
23
|
||
24
|
||
25
|
||
26</td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
||
<span class="cline-any cline-neutral"> </span>
|
||
<span class="cline-any cline-neutral"> </span>
|
||
<span class="cline-any cline-yes">1×</span>
|
||
<span class="cline-any cline-yes">1×</span>
|
||
<span class="cline-any cline-yes">1×</span>
|
||
<span class="cline-any cline-yes">1×</span>
|
||
<span class="cline-any cline-yes">1×</span>
|
||
<span class="cline-any cline-yes">1×</span>
|
||
<span class="cline-any cline-yes">1×</span>
|
||
<span class="cline-any cline-yes">1×</span>
|
||
<span class="cline-any cline-yes">1×</span>
|
||
<span class="cline-any cline-neutral"> </span>
|
||
<span class="cline-any cline-no"> </span>
|
||
<span class="cline-any cline-no"> </span>
|
||
<span class="cline-any cline-no"> </span>
|
||
<span class="cline-any cline-no"> </span>
|
||
<span class="cline-any cline-neutral"> </span>
|
||
<span class="cline-any cline-neutral"> </span>
|
||
<span class="cline-any cline-neutral"> </span>
|
||
<span class="cline-any cline-yes">1×</span>
|
||
<span class="cline-any cline-neutral"> </span>
|
||
<span class="cline-any cline-yes">1×</span>
|
||
<span class="cline-any cline-neutral"> </span>
|
||
<span class="cline-any cline-neutral"> </span>
|
||
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">#!/usr/bin/env node
|
||
|
||
/// <reference path="typings/main.d.ts" />
|
||
var Environment = (function () {
|
||
function Environment(runtimeEnvArg, userAgentArg) {
|
||
<span class="missing-if-branch" title="if path not taken" >I</span>if (userAgentArg === void 0) { <span class="cstat-no" title="statement not covered" >userAgentArg = "undefined"; </span>}
|
||
this.runtimeEnv = runtimeEnvArg;
|
||
this.userAgent = userAgentArg;
|
||
<span class="missing-if-branch" title="else path not taken" >E</span>if (runtimeEnvArg == "node") {
|
||
this.isBrowser = false;
|
||
this.isNode = true;
|
||
this.nodeVersion = process.version;
|
||
}
|
||
else <span class="cstat-no" title="statement not covered" >if (runtimeEnvArg == "browser") {</span>
|
||
<span class="cstat-no" title="statement not covered" > this.isBrowser = true;</span>
|
||
<span class="cstat-no" title="statement not covered" > this.isNode = false;</span>
|
||
<span class="cstat-no" title="statement not covered" > this.nodeVersion = "undef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FwidW5kZWZpbmVkXCI7XG4gICAgICAgIH1cbiAgICB9O1xufVxuIl0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9
|
||
</pre></td></tr>
|
||
</table></pre>
|
||
<div class='push'></div><!-- for sticky footer -->
|
||
</div><!-- /wrapper -->
|
||
<div class='footer quiet pad2 space-top1 center small'>
|
||
Code coverage
|
||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Feb 17 2016 21:43:50 GMT+0100 (CET)
|
||
</div>
|
||
</div>
|
||
<script src="../prettify.js"></script>
|
||
<script>
|
||
window.onload = function () {
|
||
if (typeof prettyPrint === 'function') {
|
||
prettyPrint();
|
||
}
|
||
};
|
||
</script>
|
||
<script src="../sorter.js"></script>
|
||
</body>
|
||
</html>
|