This commit is contained in:
RIAEvangelist 2017-02-14 05:50:10 -08:00
parent 26077e2405
commit 07cd3f2b5d
13 changed files with 1079 additions and 1079 deletions

File diff suppressed because one or more lines are too long

View file

@ -20,28 +20,28 @@
</h1> </h1>
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">39.87% </span> <span class="strong">68.32% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>185/464</span> <span class='fraction'>317/464</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">25% </span> <span class="strong">55.33% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>61/244</span> <span class='fraction'>135/244</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">53.66% </span> <span class="strong">85.37% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>22/41</span> <span class='fraction'>35/41</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">39.87% </span> <span class="strong">68.32% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>185/464</span> <span class='fraction'>317/464</span>
</div> </div>
</div> </div>
</div> </div>
<div class='status-line low'></div> <div class='status-line medium'></div>
<div class="pad1"> <div class="pad1">
<table class="coverage-summary"> <table class="coverage-summary">
<thead> <thead>
@ -72,16 +72,16 @@
</tr> </tr>
<tr> <tr>
<td class="file low" data-value="node-ipc/dao/"><a href="node-ipc/dao/index.html">node-ipc/dao/</a></td> <td class="file medium" data-value="node-ipc/dao/"><a href="node-ipc/dao/index.html">node-ipc/dao/</a></td>
<td data-value="32.78" class="pic low"><div class="chart"><div class="cover-fill" style="width: 32%;"></div><div class="cover-empty" style="width:68%;"></div></div></td> <td data-value="66.56" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 66%;"></div><div class="cover-empty" style="width:34%;"></div></div></td>
<td data-value="32.78" class="pct low">32.78%</td> <td data-value="66.56" class="pct medium">66.56%</td>
<td data-value="299" class="abs low">98/299</td> <td data-value="299" class="abs medium">199/299</td>
<td data-value="17.79" class="pct low">17.79%</td> <td data-value="52.76" class="pct medium">52.76%</td>
<td data-value="163" class="abs low">29/163</td> <td data-value="163" class="abs medium">86/163</td>
<td data-value="46.67" class="pct low">46.67%</td> <td data-value="83.33" class="pct high">83.33%</td>
<td data-value="30" class="abs low">14/30</td> <td data-value="30" class="abs high">25/30</td>
<td data-value="32.78" class="pct low">32.78%</td> <td data-value="66.56" class="pct medium">66.56%</td>
<td data-value="299" class="abs low">98/299</td> <td data-value="299" class="abs medium">199/299</td>
</tr> </tr>
<tr> <tr>
@ -98,16 +98,16 @@
</tr> </tr>
<tr> <tr>
<td class="file low" data-value="node-ipc/services/"><a href="node-ipc/services/index.html">node-ipc/services/</a></td> <td class="file medium" data-value="node-ipc/services/"><a href="node-ipc/services/index.html">node-ipc/services/</a></td>
<td data-value="42.96" class="pic low"><div class="chart"><div class="cover-fill" style="width: 42%;"></div><div class="cover-empty" style="width:58%;"></div></div></td> <td data-value="65.93" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 65%;"></div><div class="cover-empty" style="width:35%;"></div></div></td>
<td data-value="42.96" class="pct low">42.96%</td> <td data-value="65.93" class="pct medium">65.93%</td>
<td data-value="135" class="abs low">58/135</td> <td data-value="135" class="abs medium">89/135</td>
<td data-value="37.84" class="pct low">37.84%</td> <td data-value="60.81" class="pct medium">60.81%</td>
<td data-value="74" class="abs low">28/74</td> <td data-value="74" class="abs medium">45/74</td>
<td data-value="62.5" class="pct medium">62.5%</td> <td data-value="87.5" class="pct high">87.5%</td>
<td data-value="8" class="abs medium">5/8</td> <td data-value="8" class="abs high">7/8</td>
<td data-value="42.96" class="pct low">42.96%</td> <td data-value="65.93" class="pct medium">65.93%</td>
<td data-value="135" class="abs low">58/135</td> <td data-value="135" class="abs medium">89/135</td>
</tr> </tr>
</tbody> </tbody>
@ -116,7 +116,7 @@
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:27:40 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:34:58 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="prettify.js"></script> <script src="prettify.js"></script>

View file

@ -20,28 +20,28 @@
</h1> </h1>
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">48.67% </span> <span class="strong">71.68% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>55/113</span> <span class='fraction'>81/113</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">27.27% </span> <span class="strong">50.91% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>15/55</span> <span class='fraction'>28/55</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">88.89% </span> <span class="strong">100% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>8/9</span> <span class='fraction'>9/9</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">48.67% </span> <span class="strong">71.68% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>55/113</span> <span class='fraction'>81/113</span>
</div> </div>
</div> </div>
</div> </div>
<div class='status-line low'></div> <div class='status-line medium'></div>
<pre><table class="coverage"> <pre><table class="coverage">
<tr><td class="line-count quiet">1 <tr><td class="line-count quiet">1
2 2
@ -320,8 +320,8 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span> <span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-yes">4×</span> <span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -339,84 +339,84 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">8×</span> <span class="cline-any cline-yes">10×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">8×</span> <span class="cline-any cline-yes">10×</span>
<span class="cline-any cline-yes">8×</span> <span class="cline-any cline-yes">10×</span>
<span class="cline-any cline-yes">8×</span> <span class="cline-any cline-yes">10×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">8×</span> <span class="cline-any cline-yes">10×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">8×</span> <span class="cline-any cline-yes">10×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">10×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">8×</span> <span class="cline-any cline-yes">8×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">2×</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">2×</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">13×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">13×</span>
<span class="cline-any cline-yes">13×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">13×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">13×</span>
<span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">6×</span>
<span class="cline-any cline-yes">6×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">6×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">6×</span> <span class="cline-any cline-yes">6×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</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">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">7×</span> <span class="cline-any cline-yes">6×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">7×</span> <span class="cline-any cline-yes">6×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-yes">6×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
@ -445,9 +445,45 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">7×</span> <span class="cline-any cline-yes">13×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">13×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">10×</span>
<span class="cline-any cline-yes">10×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">13×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">13×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">11×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">11×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">5×</span> <span class="cline-any cline-yes">5×</span>
@ -456,67 +492,31 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">5×</span>
<span class="cline-any cline-yes">5×</span>
<span class="cline-any cline-yes">5×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span> <span class="cline-any cline-yes">5×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">6×</span> <span class="cline-any cline-yes">6×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">6×</span>
<span class="cline-any cline-yes">6×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">6×</span> <span class="cline-any cline-yes">6×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">13×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">3×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -529,37 +529,37 @@
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</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">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -639,7 +639,7 @@ function connect(){
&nbsp; &nbsp;
const options={}; const options={};
&nbsp; &nbsp;
<span class="missing-if-branch" title="else path not taken" >E</span>if(!client.port){ if(!client.port){
client.log('Connecting client on Unix Socket :', client.path); client.log('Connecting client on Unix Socket :', client.path);
&nbsp; &nbsp;
options.path=client.path; options.path=client.path;
@ -652,32 +652,32 @@ function connect(){
&nbsp; &nbsp;
client.socket = net.connect(options); client.socket = net.connect(options);
}else{ }else{
<span class="cstat-no" title="statement not covered" > options.host=client.path;</span> options.host=client.path;
<span class="cstat-no" title="statement not covered" > options.port=client.port;</span> options.port=client.port;
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(client.config.interface.localAddress){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(client.config.interface.localAddress){
<span class="cstat-no" title="statement not covered" > options.localAddress=client.config.interface.localAddress;</span> <span class="cstat-no" title="statement not covered" > options.localAddress=client.config.interface.localAddress;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(client.config.interface.localPort){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(client.config.interface.localPort){
<span class="cstat-no" title="statement not covered" > options.localPort=client.config.interface.localPort;</span> <span class="cstat-no" title="statement not covered" > options.localPort=client.config.interface.localPort;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(client.config.interface.family){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(client.config.interface.family){
<span class="cstat-no" title="statement not covered" > options.family=client.config.interface.family;</span> <span class="cstat-no" title="statement not covered" > options.family=client.config.interface.family;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(client.config.interface.hints){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(client.config.interface.hints){
<span class="cstat-no" title="statement not covered" > options.hints=client.config.interface.hints;</span> <span class="cstat-no" title="statement not covered" > options.hints=client.config.interface.hints;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(client.config.interface.lookup){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(client.config.interface.lookup){
<span class="cstat-no" title="statement not covered" > options.lookup=client.config.interface.lookup;</span> <span class="cstat-no" title="statement not covered" > options.lookup=client.config.interface.lookup;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(!client.config.tls){</span> <span class="missing-if-branch" title="else path not taken" >E</span>if(!client.config.tls){
<span class="cstat-no" title="statement not covered" > client.log('Connecting client via TCP to', options);</span> client.log('Connecting client via TCP to', options);
<span class="cstat-no" title="statement not covered" > client.socket = net.connect(options);</span> client.socket = net.connect(options);
}else{ }else{
<span class="cstat-no" title="statement not covered" > client.log('Connecting client via TLS to', client.path ,client.port,client.config.tls);</span> <span class="cstat-no" title="statement not covered" > client.log('Connecting client via TLS to', client.path ,client.port,client.config.tls);</span>
<span class="cstat-no" title="statement not covered" > if(client.config.tls.private){</span> <span class="cstat-no" title="statement not covered" > if(client.config.tls.private){</span>
@ -775,9 +775,9 @@ function connect(){
&nbsp; &nbsp;
client.socket.on( client.socket.on(
'data', 'data',
<span class="fstat-no" title="function not covered" > function(data) {</span> function(data) {
<span class="cstat-no" title="statement not covered" > client.log('## received events ##');</span> client.log('## received events ##');
<span class="cstat-no" title="statement not covered" > if(client.config.rawBuffer){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(client.config.rawBuffer){
<span class="cstat-no" title="statement not covered" > client.publish(</span> <span class="cstat-no" title="statement not covered" > client.publish(</span>
'data', 'data',
new Buffer(data,client.config.encoding) new Buffer(data,client.config.encoding)
@ -790,37 +790,37 @@ function connect(){
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(!this.ipcBuffer){</span> <span class="missing-if-branch" title="else path not taken" >E</span>if(!this.ipcBuffer){
<span class="cstat-no" title="statement not covered" > this.ipcBuffer='';</span> this.ipcBuffer='';
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > data=(this.ipcBuffer+=data);</span> data=(this.ipcBuffer+=data);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(data.slice(-1)!=eventParser.delimiter || data.indexOf(eventParser.delimiter) == -1){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(data.slice(-1)!=eventParser.delimiter || data.indexOf(eventParser.delimiter) == -1){
<span class="cstat-no" title="statement not covered" > client.log('Messages are large, You may want to consider smaller messages.');</span> <span class="cstat-no" title="statement not covered" > client.log('Messages are large, You may want to consider smaller messages.');</span>
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.ipcBuffer='';</span> this.ipcBuffer='';
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > const events = eventParser.parse(data);</span> const events = eventParser.parse(data);
<span class="cstat-no" title="statement not covered" > const eCount = events.length;</span> const eCount = events.length;
<span class="cstat-no" title="statement not covered" > for(let i=0; i&lt;eCount; i++){</span> for(let i=0; i&lt;eCount; i++){
<span class="cstat-no" title="statement not covered" > let message=new Message;</span> let message=new Message;
<span class="cstat-no" title="statement not covered" > message.load(events[i]);</span> message.load(events[i]);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > client.log('detected event', message.type, message.data);</span> client.log('detected event', message.type, message.data);
<span class="cstat-no" title="statement not covered" > client.publish(</span> client.publish(
message.type, message.type,
message.data message.data
); );
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(!client.config.sync){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(!client.config.sync){
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > client.queue.next();</span> client.queue.next();
} }
); );
} }
@ -832,7 +832,7 @@ module.exports=Client;
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:27:40 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:34:58 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -20,9 +20,9 @@
</h1> </h1>
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">61.54% </span> <span class="strong">84.62% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>8/13</span> <span class='fraction'>11/13</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">42.86% </span> <span class="strong">42.86% </span>
@ -30,18 +30,18 @@
<span class='fraction'>3/7</span> <span class='fraction'>3/7</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">50% </span> <span class="strong">100% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>1/2</span> <span class='fraction'>2/2</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">61.54% </span> <span class="strong">84.62% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>8/13</span> <span class='fraction'>11/13</span>
</div> </div>
</div> </div>
</div> </div>
<div class='status-line medium'></div> <div class='status-line high'></div>
<pre><table class="coverage"> <pre><table class="coverage">
<tr><td class="line-count quiet">1 <tr><td class="line-count quiet">1
2 2
@ -79,21 +79,21 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">8×</span> <span class="cline-any cline-yes">12×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">8×</span> <span class="cline-any cline-yes">12×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">8×</span> <span class="cline-any cline-yes">12×</span>
<span class="cline-any cline-yes">8×</span> <span class="cline-any cline-yes">12×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">5×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">5×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">5×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
@ -117,10 +117,10 @@ function formatData(message){
return message; return message;
} }
&nbsp; &nbsp;
<span class="fstat-no" title="function not covered" >function parseDataEvents(data){</span> function parseDataEvents(data){
<span class="cstat-no" title="statement not covered" > let events=data.split(parser.delimiter);</span> let events=data.split(parser.delimiter);
<span class="cstat-no" title="statement not covered" > events.pop();</span> events.pop();
<span class="cstat-no" title="statement not covered" > return events;</span> return events;
} }
&nbsp; &nbsp;
module.exports=parser; module.exports=parser;
@ -130,7 +130,7 @@ module.exports=parser;
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:27:40 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:34:58 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -20,28 +20,28 @@
</h1> </h1>
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">32.78% </span> <span class="strong">66.56% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>98/299</span> <span class='fraction'>199/299</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">17.79% </span> <span class="strong">52.76% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>29/163</span> <span class='fraction'>86/163</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">46.67% </span> <span class="strong">83.33% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>14/30</span> <span class='fraction'>25/30</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">32.78% </span> <span class="strong">66.56% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>98/299</span> <span class='fraction'>199/299</span>
</div> </div>
</div> </div>
</div> </div>
<div class='status-line low'></div> <div class='status-line medium'></div>
<div class="pad1"> <div class="pad1">
<table class="coverage-summary"> <table class="coverage-summary">
<thead> <thead>
@ -59,42 +59,42 @@
</tr> </tr>
</thead> </thead>
<tbody><tr> <tbody><tr>
<td class="file low" data-value="client.js"><a href="client.js.html">client.js</a></td> <td class="file medium" data-value="client.js"><a href="client.js.html">client.js</a></td>
<td data-value="48.67" class="pic low"><div class="chart"><div class="cover-fill" style="width: 48%;"></div><div class="cover-empty" style="width:52%;"></div></div></td> <td data-value="71.68" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 71%;"></div><div class="cover-empty" style="width:29%;"></div></div></td>
<td data-value="48.67" class="pct low">48.67%</td> <td data-value="71.68" class="pct medium">71.68%</td>
<td data-value="113" class="abs low">55/113</td> <td data-value="113" class="abs medium">81/113</td>
<td data-value="27.27" class="pct low">27.27%</td> <td data-value="50.91" class="pct medium">50.91%</td>
<td data-value="55" class="abs low">15/55</td> <td data-value="55" class="abs medium">28/55</td>
<td data-value="88.89" class="pct high">88.89%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="9" class="abs high">8/9</td> <td data-value="9" class="abs high">9/9</td>
<td data-value="48.67" class="pct low">48.67%</td> <td data-value="71.68" class="pct medium">71.68%</td>
<td data-value="113" class="abs low">55/113</td> <td data-value="113" class="abs medium">81/113</td>
</tr> </tr>
<tr> <tr>
<td class="file medium" data-value="eventParser.js"><a href="eventParser.js.html">eventParser.js</a></td> <td class="file high" data-value="eventParser.js"><a href="eventParser.js.html">eventParser.js</a></td>
<td data-value="61.54" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 61%;"></div><div class="cover-empty" style="width:39%;"></div></div></td> <td data-value="84.62" class="pic high"><div class="chart"><div class="cover-fill" style="width: 84%;"></div><div class="cover-empty" style="width:16%;"></div></div></td>
<td data-value="61.54" class="pct medium">61.54%</td> <td data-value="84.62" class="pct high">84.62%</td>
<td data-value="13" class="abs medium">8/13</td> <td data-value="13" class="abs high">11/13</td>
<td data-value="42.86" class="pct low">42.86%</td> <td data-value="42.86" class="pct low">42.86%</td>
<td data-value="7" class="abs low">3/7</td> <td data-value="7" class="abs low">3/7</td>
<td data-value="50" class="pct medium">50%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="2" class="abs medium">1/2</td> <td data-value="2" class="abs high">2/2</td>
<td data-value="61.54" class="pct medium">61.54%</td> <td data-value="84.62" class="pct high">84.62%</td>
<td data-value="13" class="abs medium">8/13</td> <td data-value="13" class="abs high">11/13</td>
</tr> </tr>
<tr> <tr>
<td class="file low" data-value="socketServer.js"><a href="socketServer.js.html">socketServer.js</a></td> <td class="file medium" data-value="socketServer.js"><a href="socketServer.js.html">socketServer.js</a></td>
<td data-value="20.23" class="pic low"><div class="chart"><div class="cover-fill" style="width: 20%;"></div><div class="cover-empty" style="width:80%;"></div></div></td> <td data-value="61.85" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 61%;"></div><div class="cover-empty" style="width:39%;"></div></div></td>
<td data-value="20.23" class="pct low">20.23%</td> <td data-value="61.85" class="pct medium">61.85%</td>
<td data-value="173" class="abs low">35/173</td> <td data-value="173" class="abs medium">107/173</td>
<td data-value="10.89" class="pct low">10.89%</td> <td data-value="54.46" class="pct medium">54.46%</td>
<td data-value="101" class="abs low">11/101</td> <td data-value="101" class="abs medium">55/101</td>
<td data-value="26.32" class="pct low">26.32%</td> <td data-value="73.68" class="pct medium">73.68%</td>
<td data-value="19" class="abs low">5/19</td> <td data-value="19" class="abs medium">14/19</td>
<td data-value="20.23" class="pct low">20.23%</td> <td data-value="61.85" class="pct medium">61.85%</td>
<td data-value="173" class="abs low">35/173</td> <td data-value="173" class="abs medium">107/173</td>
</tr> </tr>
</tbody> </tbody>
@ -103,7 +103,7 @@
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:27:40 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:34:58 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -20,28 +20,28 @@
</h1> </h1>
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">20.23% </span> <span class="strong">61.85% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>35/173</span> <span class='fraction'>107/173</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">10.89% </span> <span class="strong">54.46% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>11/101</span> <span class='fraction'>55/101</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">26.32% </span> <span class="strong">73.68% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>5/19</span> <span class='fraction'>14/19</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">20.23% </span> <span class="strong">61.85% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>35/173</span> <span class='fraction'>107/173</span>
</div> </div>
</div> </div>
</div> </div>
<div class='status-line low'></div> <div class='status-line medium'></div>
<pre><table class="coverage"> <pre><table class="coverage">
<tr><td class="line-count quiet">1 <tr><td class="line-count quiet">1
2 2
@ -476,8 +476,8 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -494,68 +494,68 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
@ -586,17 +586,17 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
@ -610,23 +610,23 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -636,36 +636,36 @@
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -674,26 +674,26 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
@ -702,43 +702,92 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4×</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-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -746,75 +795,26 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</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">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -855,15 +855,15 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -924,8 +924,8 @@ class Server extends Events{
); );
} }
&nbsp; &nbsp;
stop<span class="fstat-no" title="function not covered" >(){</span> stop(){
<span class="cstat-no" title="statement not covered" > this.server.close();</span> this.server.close();
} }
&nbsp; &nbsp;
start(){ start(){
@ -942,37 +942,37 @@ class Server extends Events{
} }
&nbsp; &nbsp;
function emit(sockets, type, data){ function emit(sockets, type, data){
<span class="missing-if-branch" title="if path not taken" >I</span>if(! sockets instanceof Array){ <span class="missing-if-branch" title="else path not taken" >E</span>if(! (sockets instanceof Array)){
<span class="cstat-no" title="statement not covered" > sockets=[sockets];</span> sockets=[sockets];
} }
&nbsp; &nbsp;
for(socket of sockets){ for(const socket of sockets){
<span class="cstat-no" title="statement not covered" > this.log('dispatching event to socket', ' : ', type, data);</span> this.log('dispatching event to socket', ' : ', type, data);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > let message=new Message;</span> let message=new Message;
<span class="cstat-no" title="statement not covered" > message.type=type;</span> message.type=type;
<span class="cstat-no" title="statement not covered" > message.data=data;</span> message.data=data;
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(this.config.rawBuffer){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(this.config.rawBuffer){
<span class="cstat-no" title="statement not covered" > this.log(this.config.encoding)</span> <span class="cstat-no" title="statement not covered" > this.log(this.config.encoding)</span>
<span class="cstat-no" title="statement not covered" > message=new Buffer(type,this.config.encoding);</span> <span class="cstat-no" title="statement not covered" > message=new Buffer(type,this.config.encoding);</span>
}else{ }else{
<span class="cstat-no" title="statement not covered" > message=eventParser.format(message);</span> message=eventParser.format(message);
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(this.udp4 || this.udp6){</span> <span class="missing-if-branch" title="else path not taken" >E</span>if(this.udp4 || this.udp6){
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(!socket.address || !socket.port){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(!socket.address || !socket.port){
<span class="cstat-no" title="statement not covered" > this.log('Attempting to emit to a single UDP socket without supplying socket address or port. Redispatching event as broadcast to all connected sockets');</span> <span class="cstat-no" title="statement not covered" > this.log('Attempting to emit to a single UDP socket without supplying socket address or port. Redispatching event as broadcast to all connected sockets');</span>
<span class="cstat-no" title="statement not covered" > this.broadcast(type,data);</span> <span class="cstat-no" title="statement not covered" > this.broadcast(type,data);</span>
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.server.write(</span> this.server.write(
message, message,
socket socket
); );
<span class="cstat-no" title="statement not covered" > return;</span> return;
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > socket.write(message);</span> <span class="cstat-no" title="statement not covered" > socket.write(message);</span>
@ -1002,18 +1002,18 @@ function emit(sockets, type, data){
} }
} }
&nbsp; &nbsp;
<span class="fstat-no" title="function not covered" >function serverClosed(){</span> function serverClosed(){
<span class="cstat-no" title="statement not covered" > for(let i=0, count=this.sockets.length; i&lt;count; i++){</span> for(let i=0, count=this.sockets.length; i&lt;count; i++){
<span class="cstat-no" title="statement not covered" > let socket=this.sockets[i];</span> let socket=this.sockets[i];
<span class="cstat-no" title="statement not covered" > let destroyedSocketId=false;</span> let destroyedSocketId=false;
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(socket){</span> <span class="missing-if-branch" title="else path not taken" >E</span>if(socket){
<span class="cstat-no" title="statement not covered" > if(socket.readable){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(socket.readable){
<span class="cstat-no" title="statement not covered" > continue;</span> <span class="cstat-no" title="statement not covered" > continue;</span>
} }
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(socket.id){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(socket.id){
<span class="cstat-no" title="statement not covered" > destroyedSocketId=socket.id;</span> <span class="cstat-no" title="statement not covered" > destroyedSocketId=socket.id;</span>
<span class="cstat-no" title="statement not covered" > if(this.of[socket.id]){</span> <span class="cstat-no" title="statement not covered" > if(this.of[socket.id]){</span>
<span class="cstat-no" title="statement not covered" > const group=this.of[socket.id];</span> <span class="cstat-no" title="statement not covered" > const group=this.of[socket.id];</span>
@ -1027,23 +1027,23 @@ function emit(sockets, type, data){
} }
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.log('socket disconnected',destroyedSocketId.toString());</span> this.log('socket disconnected',destroyedSocketId.toString());
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(socket &amp;&amp; socket.destroy){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(socket &amp;&amp; socket.destroy){
<span class="cstat-no" title="statement not covered" > socket.destroy();</span> <span class="cstat-no" title="statement not covered" > socket.destroy();</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.sockets.splice(i,1);</span> this.sockets.splice(i,1);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.publish('socket.disconnected', socket, destroyedSocketId);</span> this.publish('socket.disconnected', socket, destroyedSocketId);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > return;</span> return;
} }
} }
&nbsp; &nbsp;
<span class="fstat-no" title="function not covered" >function gotData(socket,data,UDPSocket){</span> function gotData(socket,data,UDPSocket){
<span class="cstat-no" title="statement not covered" > let sock=((this.udp4 || this.udp6)? UDPSocket : socket);</span> let sock=((this.udp4 || this.udp6)? UDPSocket : socket);
<span class="cstat-no" title="statement not covered" > if(this.config.rawBuffer){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(this.config.rawBuffer){
<span class="cstat-no" title="statement not covered" > data=new Buffer(data,this.config.encoding);</span> <span class="cstat-no" title="statement not covered" > data=new Buffer(data,this.config.encoding);</span>
<span class="cstat-no" title="statement not covered" > this.publish(</span> <span class="cstat-no" title="statement not covered" > this.publish(</span>
'data', 'data',
@ -1053,36 +1053,36 @@ function emit(sockets, type, data){
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(!this.ipcBuffer){</span> <span class="missing-if-branch" title="else path not taken" >E</span>if(!this.ipcBuffer){
<span class="cstat-no" title="statement not covered" > this.ipcBuffer='';</span> this.ipcBuffer='';
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > data=(this.ipcBuffer+=data);</span> data=(this.ipcBuffer+=data);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(data.slice(-1)!=eventParser.delimiter || data.indexOf(eventParser.delimiter) == -1){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(data.slice(-1)!=eventParser.delimiter || data.indexOf(eventParser.delimiter) == -1){
<span class="cstat-no" title="statement not covered" > this.log('Messages are large, You may want to consider smaller messages.');</span> <span class="cstat-no" title="statement not covered" > this.log('Messages are large, You may want to consider smaller messages.');</span>
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.ipcBuffer='';</span> this.ipcBuffer='';
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > data=eventParser.parse(data);</span> data=eventParser.parse(data);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > while(data.length&gt;0){</span> while(data.length&gt;0){
<span class="cstat-no" title="statement not covered" > let message=new Message;</span> let message=new Message;
<span class="cstat-no" title="statement not covered" > message.load(data.shift());</span> message.load(data.shift());
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if (!sock.id &amp;&amp; message.data &amp;&amp; message.data.id){</span> <span class="missing-if-branch" title="else path not taken" >E</span>if (!sock.id &amp;&amp; message.data &amp;&amp; message.data.id){
<span class="cstat-no" title="statement not covered" > sock.id=message.data.id;</span> sock.id=message.data.id;
<span class="cstat-no" title="statement not covered" > if(!this.of[sock.id]){</span> <span class="missing-if-branch" title="else path not taken" >E</span>if(!this.of[sock.id]){
<span class="cstat-no" title="statement not covered" > this.of[sock.id]=[];</span> this.of[sock.id]=[];
} }
<span class="cstat-no" title="statement not covered" > this.of[sock.id].push(sock);</span> this.of[sock.id].push(sock);
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.log('received event of : ',message.type,message.data);</span> this.log('received event of : ',message.type,message.data);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.publish(</span> this.publish(
message.type, message.type,
message.data, message.data,
sock sock
@ -1090,27 +1090,27 @@ function emit(sockets, type, data){
} }
} }
&nbsp; &nbsp;
<span class="fstat-no" title="function not covered" >function socketClosed(socket){</span> function socketClosed(socket){
<span class="cstat-no" title="statement not covered" > this.publish(</span> this.publish(
'close', 'close',
socket socket
); );
} }
&nbsp; &nbsp;
<span class="fstat-no" title="function not covered" >function serverCreated(socket) {</span> function serverCreated(socket) {
<span class="cstat-no" title="statement not covered" > this.sockets.push(socket);</span> this.sockets.push(socket);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(socket.setEncoding){</span> if(socket.setEncoding){
<span class="cstat-no" title="statement not covered" > socket.setEncoding(this.config.encoding);</span> socket.setEncoding(this.config.encoding);
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.log('## socket connection to server detected ##');</span> this.log('## socket connection to server detected ##');
<span class="cstat-no" title="statement not covered" > socket.on(</span> socket.on(
'close', 'close',
socketClosed.bind(this) socketClosed.bind(this)
); );
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > socket.on(</span> socket.on(
'error', 'error',
<span class="fstat-no" title="function not covered" > function(err){</span> <span class="fstat-no" title="function not covered" > function(err){</span>
<span class="cstat-no" title="statement not covered" > this.log('server socket error',err);</span> <span class="cstat-no" title="statement not covered" > this.log('server socket error',err);</span>
@ -1119,36 +1119,36 @@ function emit(sockets, type, data){
}.bind(this) }.bind(this)
); );
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > socket.on(</span> socket.on(
'data', 'data',
gotData.bind(this,socket) gotData.bind(this,socket)
); );
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > socket.on(</span> socket.on(
'message', 'message',
<span class="fstat-no" title="function not covered" > function(msg,rinfo) {</span> function(msg,rinfo) {
<span class="cstat-no" title="statement not covered" > if (!rinfo){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if (!rinfo){
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.log('Received UDP message from ', rinfo.address, rinfo.port);</span> this.log('Received UDP message from ', rinfo.address, rinfo.port);
<span class="cstat-no" title="statement not covered" > let data;</span> let data;
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(this.config.rawSocket){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(this.config.rawSocket){
<span class="cstat-no" title="statement not covered" > data=new Buffer(msg,this.config.encoding);</span> <span class="cstat-no" title="statement not covered" > data=new Buffer(msg,this.config.encoding);</span>
}else{ }else{
<span class="cstat-no" title="statement not covered" > data=msg.toString();</span> data=msg.toString();
} }
<span class="cstat-no" title="statement not covered" > socket.emit('data',data,rinfo);</span> socket.emit('data',data,rinfo);
}.bind(this) }.bind(this)
); );
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.publish(</span> this.publish(
'connect', 'connect',
socket socket
); );
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(this.config.rawBuffer){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(this.config.rawBuffer){
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
} }
} }
@ -1159,13 +1159,13 @@ function startServer() {
&nbsp; &nbsp;
this.log( this.log(
'starting server on ',this.path, 'starting server on ',this.path,
((this.port)?`:${this.port}`:<span class="branch-1 cbranch-no" title="branch not covered" >'')</span> ((this.port)?`:${this.port}`:'')
); );
&nbsp; &nbsp;
<span class="missing-if-branch" title="if path not taken" >I</span>if(!this.udp4 &amp;&amp; <span class="branch-1 cbranch-no" title="branch not covered" >!this.udp6)</span>{ if(!this.udp4 &amp;&amp; !this.udp6){
<span class="cstat-no" title="statement not covered" > this.log('starting TLS server',this.config.tls);</span> this.log('starting TLS server',this.config.tls);
<span class="cstat-no" title="statement not covered" > if(!this.config.tls){</span> <span class="missing-if-branch" title="else path not taken" >E</span>if(!this.config.tls){
<span class="cstat-no" title="statement not covered" > this.server=net.createServer(</span> this.server=net.createServer(
serverCreated.bind(this) serverCreated.bind(this)
); );
}else{ }else{
@ -1173,13 +1173,13 @@ function startServer() {
} }
}else{ }else{
this.server=dgram.createSocket( this.server=dgram.createSocket(
((this.udp4)? 'udp4':<span class="branch-1 cbranch-no" title="branch not covered" >'udp6')</span> ((this.udp4)? 'udp4':'udp6')
); );
this.server.write=UDPWrite.bind(this); this.server.write=UDPWrite.bind(this);
this.server.on( this.server.on(
'listening', 'listening',
<span class="fstat-no" title="function not covered" > function UDPServerStarted() {</span> function UDPServerStarted() {
<span class="cstat-no" title="statement not covered" > serverCreated.bind(this)(this.server);</span> serverCreated.bind(this)(this.server);
}.bind(this) }.bind(this)
); );
} }
@ -1198,33 +1198,33 @@ function startServer() {
&nbsp; &nbsp;
this.server.maxConnections=this.config.maxConnections; this.server.maxConnections=this.config.maxConnections;
&nbsp; &nbsp;
<span class="missing-if-branch" title="if path not taken" >I</span>if(!this.port){ if(!this.port){
<span class="cstat-no" title="statement not covered" > this.log('starting server as', 'Unix || Windows Socket');</span> this.log('starting server as', 'Unix || Windows Socket');
<span class="cstat-no" title="statement not covered" > if (process.platform ==='win32'){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if (process.platform ==='win32'){
<span class="cstat-no" title="statement not covered" > this.path = this.path.replace(/^\//, '');</span> <span class="cstat-no" title="statement not covered" > this.path = this.path.replace(/^\//, '');</span>
<span class="cstat-no" title="statement not covered" > this.path = this.path.replace(/\//g, '-');</span> <span class="cstat-no" title="statement not covered" > this.path = this.path.replace(/\//g, '-');</span>
<span class="cstat-no" title="statement not covered" > this.path= `\\\\.\\pipe\\${this.path}`;</span> <span class="cstat-no" title="statement not covered" > this.path= `\\\\.\\pipe\\${this.path}`;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.server.listen(</span> this.server.listen(
this.path, this.path,
this.onStart.bind(this) this.onStart.bind(this)
); );
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > return;</span> return;
} }
&nbsp; &nbsp;
<span class="missing-if-branch" title="if path not taken" >I</span>if(!this.udp4 &amp;&amp; <span class="branch-1 cbranch-no" title="branch not covered" >!this.udp6)</span>{ if(!this.udp4 &amp;&amp; !this.udp6){
<span class="cstat-no" title="statement not covered" > this.log('starting server as', (this.config.tls?'TLS':'TCP'));</span> this.log('starting server as', (this.config.tls?<span class="branch-0 cbranch-no" title="branch not covered" >'TLS':</span>'TCP'));
<span class="cstat-no" title="statement not covered" > this.server.listen(</span> this.server.listen(
this.port, this.port,
this.path, this.path,
this.onStart.bind(this) this.onStart.bind(this)
); );
<span class="cstat-no" title="statement not covered" > return;</span> return;
} }
&nbsp; &nbsp;
this.log('starting server as',((this.udp4)? 'udp4':<span class="branch-1 cbranch-no" title="branch not covered" >'udp6')</span>); this.log('starting server as',((this.udp4)? 'udp4':'udp6'));
&nbsp; &nbsp;
this.server.bind( this.server.bind(
this.port, this.port,
@ -1271,16 +1271,16 @@ function startServer() {
); );
} }
&nbsp; &nbsp;
<span class="fstat-no" title="function not covered" >function UDPWrite(message,socket){</span> function UDPWrite(message,socket){
<span class="cstat-no" title="statement not covered" > let data=new Buffer(message, this.config.encoding);</span> let data=new Buffer(message, this.config.encoding);
<span class="cstat-no" title="statement not covered" > this.server.send(</span> this.server.send(
data, data,
0, 0,
data.length, data.length,
socket.port, socket.port,
socket.address, socket.address,
<span class="fstat-no" title="function not covered" > function(err, bytes) {</span> function(err, bytes) {
<span class="cstat-no" title="statement not covered" > if(err){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(err){
<span class="cstat-no" title="statement not covered" > this.log('error writing data to socket',err);</span> <span class="cstat-no" title="statement not covered" > this.log('error writing data to socket',err);</span>
<span class="cstat-no" title="statement not covered" > this.publish(</span> <span class="cstat-no" title="statement not covered" > this.publish(</span>
'error', 'error',
@ -1300,7 +1300,7 @@ module.exports=Server;
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:27:40 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:34:58 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -277,7 +277,7 @@ module.exports=Defaults;
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:27:40 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:34:58 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -77,7 +77,7 @@
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:27:40 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:34:58 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -77,7 +77,7 @@
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:27:40 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:34:58 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="../prettify.js"></script> <script src="../prettify.js"></script>

View file

@ -112,7 +112,7 @@ module.exports=new IPCModule;
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:27:40 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:34:58 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="../prettify.js"></script> <script src="../prettify.js"></script>

View file

@ -20,28 +20,28 @@
</h1> </h1>
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">42.96% </span> <span class="strong">65.93% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>58/135</span> <span class='fraction'>89/135</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">37.84% </span> <span class="strong">60.81% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>28/74</span> <span class='fraction'>45/74</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">62.5% </span> <span class="strong">87.5% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>5/8</span> <span class='fraction'>7/8</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">42.96% </span> <span class="strong">65.93% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>58/135</span> <span class='fraction'>89/135</span>
</div> </div>
</div> </div>
</div> </div>
<div class='status-line low'></div> <div class='status-line medium'></div>
<pre><table class="coverage"> <pre><table class="coverage">
<tr><td class="line-count quiet">1 <tr><td class="line-count quiet">1
2 2
@ -445,18 +445,18 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">44×</span> <span class="cline-any cline-yes">101×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">44×</span> <span class="cline-any cline-yes">101×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">44×</span> <span class="cline-any cline-yes">101×</span>
<span class="cline-any cline-yes">167×</span> <span class="cline-any cline-yes">335×</span>
<span class="cline-any cline-yes">154×</span> <span class="cline-any cline-yes">302×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">13×</span> <span class="cline-any cline-yes">33×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -465,76 +465,101 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">44×</span> <span class="cline-any cline-yes">101×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">2×</span> <span class="cline-any cline-yes">5×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">5×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">5×</span>
<span class="cline-any cline-yes">5×</span>
<span class="cline-any cline-yes">5×</span>
<span class="cline-any cline-yes">5×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">5×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">3×</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">&nbsp;</span>
<span class="cline-any cline-yes">3×</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">&nbsp;</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-yes">2×</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</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">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -542,57 +567,32 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -648,24 +648,37 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -674,28 +687,15 @@
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -708,14 +708,14 @@
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">3×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
@ -825,12 +825,12 @@ function disconnect(id){
delete this.of[id]; delete this.of[id];
} }
&nbsp; &nbsp;
<span class="fstat-no" title="function not covered" >function serve(path,callback){</span> function serve(path,callback){
<span class="cstat-no" title="statement not covered" > if(typeof path=='function'){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(typeof path=='function'){
<span class="cstat-no" title="statement not covered" > callback=path;</span> <span class="cstat-no" title="statement not covered" > callback=path;</span>
<span class="cstat-no" title="statement not covered" > path=false;</span> <span class="cstat-no" title="statement not covered" > path=false;</span>
} }
<span class="cstat-no" title="statement not covered" > if(!path){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(!path){
<span class="cstat-no" title="statement not covered" > this.log(</span> <span class="cstat-no" title="statement not covered" > this.log(</span>
'Server path not specified, so defaulting to'.notice, 'Server path not specified, so defaulting to'.notice,
'ipc.config.socketRoot + ipc.config.appspace + ipc.config.id'.variable, 'ipc.config.socketRoot + ipc.config.appspace + ipc.config.id'.variable,
@ -839,17 +839,17 @@ function disconnect(id){
<span class="cstat-no" title="statement not covered" > path=this.config.socketRoot+this.config.appspace+this.config.id;</span> <span class="cstat-no" title="statement not covered" > path=this.config.socketRoot+this.config.appspace+this.config.id;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(!callback){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(!callback){
<span class="cstat-no" title="statement not covered" > callback=emptyCallback;</span> <span class="cstat-no" title="statement not covered" > callback=emptyCallback;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.server=new Server(</span> this.server=new Server(
path, path,
this.config, this.config,
log log
); );
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.server.on(</span> this.server.on(
'start', 'start',
callback callback
); );
@ -860,19 +860,19 @@ function disconnect(id){
} }
&nbsp; &nbsp;
function serveNet(host,port,UDPType,callback){ function serveNet(host,port,UDPType,callback){
<span class="missing-if-branch" title="else path not taken" >E</span>if(typeof host=='number'){ if(typeof host=='number'){
callback=UDPType; callback=UDPType;
UDPType=port; UDPType=port;
port=host; port=host;
host=false; host=false;
} }
<span class="missing-if-branch" title="if path not taken" >I</span>if(typeof host=='function'){ if(typeof host=='function'){
<span class="cstat-no" title="statement not covered" > callback=host;</span> callback=host;
<span class="cstat-no" title="statement not covered" > UDPType=false;</span> UDPType=false;
<span class="cstat-no" title="statement not covered" > host=false;</span> host=false;
<span class="cstat-no" title="statement not covered" > port=false;</span> port=false;
} }
<span class="missing-if-branch" title="else path not taken" >E</span>if(!host){ if(!host){
this.log( this.log(
'Server host not specified, so defaulting to'.notice, 'Server host not specified, so defaulting to'.notice,
'ipc.config.networkHost'.variable, 'ipc.config.networkHost'.variable,
@ -897,13 +897,13 @@ function serveNet(host,port,UDPType,callback){
<span class="cstat-no" title="statement not covered" > UDPType=false;</span> <span class="cstat-no" title="statement not covered" > UDPType=false;</span>
<span class="cstat-no" title="statement not covered" > port=false;</span> <span class="cstat-no" title="statement not covered" > port=false;</span>
} }
<span class="missing-if-branch" title="if path not taken" >I</span>if(!port){ if(!port){
<span class="cstat-no" title="statement not covered" > this.log(</span> this.log(
'Server port not specified, so defaulting to'.notice, 'Server port not specified, so defaulting to'.notice,
'ipc.config.networkPort'.variable, 'ipc.config.networkPort'.variable,
this.config.networkPort this.config.networkPort
); );
<span class="cstat-no" title="statement not covered" > port=this.config.networkPort;</span> port=this.config.networkPort;
} }
&nbsp; &nbsp;
<span class="missing-if-branch" title="if path not taken" >I</span>if(typeof UDPType=='function'){ <span class="missing-if-branch" title="if path not taken" >I</span>if(typeof UDPType=='function'){
@ -922,7 +922,7 @@ function serveNet(host,port,UDPType,callback){
port port
); );
&nbsp; &nbsp;
<span class="missing-if-branch" title="else path not taken" >E</span>if(UDPType){ if(UDPType){
this.server[UDPType]=true; this.server[UDPType]=true;
<span class="missing-if-branch" title="if path not taken" >I</span>if(UDPType === "udp4" &amp;&amp; host === "::1") { <span class="missing-if-branch" title="if path not taken" >I</span>if(UDPType === "udp4" &amp;&amp; host === "::1") {
// bind udp4 socket to an ipv4 address // bind udp4 socket to an ipv4 address
@ -985,38 +985,38 @@ function connect(id,path,callback){
callback(this); callback(this);
} }
&nbsp; &nbsp;
<span class="fstat-no" title="function not covered" >function connectNet(id,host,port,callback){</span> function connectNet(id,host,port,callback){
<span class="cstat-no" title="statement not covered" > if(!id){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(!id){
<span class="cstat-no" title="statement not covered" > this.log(</span> <span class="cstat-no" title="statement not covered" > this.log(</span>
'Service id required'.warn, 'Service id required'.warn,
'Requested service connection without specifying service id. Aborting connection attempt'.notice 'Requested service connection without specifying service id. Aborting connection attempt'.notice
); );
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
} }
<span class="cstat-no" title="statement not covered" > if(typeof host=='number'){</span> <span class="missing-if-branch" title="else path not taken" >E</span>if(typeof host=='number'){
<span class="cstat-no" title="statement not covered" > callback=port;</span> callback=port;
<span class="cstat-no" title="statement not covered" > port=host;</span> port=host;
<span class="cstat-no" title="statement not covered" > host=false;</span> host=false;
} }
<span class="cstat-no" title="statement not covered" > if(typeof host=='function'){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(typeof host=='function'){
<span class="cstat-no" title="statement not covered" > callback=host;</span> <span class="cstat-no" title="statement not covered" > callback=host;</span>
<span class="cstat-no" title="statement not covered" > host=false;</span> <span class="cstat-no" title="statement not covered" > host=false;</span>
<span class="cstat-no" title="statement not covered" > port=false;</span> <span class="cstat-no" title="statement not covered" > port=false;</span>
} }
<span class="cstat-no" title="statement not covered" > if(!host){</span> <span class="missing-if-branch" title="else path not taken" >E</span>if(!host){
<span class="cstat-no" title="statement not covered" > this.log(</span> this.log(
'Server host not specified, so defaulting to'.notice, 'Server host not specified, so defaulting to'.notice,
'ipc.config.networkHost'.variable, 'ipc.config.networkHost'.variable,
this.config.networkHost.data this.config.networkHost.data
); );
<span class="cstat-no" title="statement not covered" > host=this.config.networkHost;</span> host=this.config.networkHost;
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(typeof port=='function'){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(typeof port=='function'){
<span class="cstat-no" title="statement not covered" > callback=port;</span> <span class="cstat-no" title="statement not covered" > callback=port;</span>
<span class="cstat-no" title="statement not covered" > port=false;</span> <span class="cstat-no" title="statement not covered" > port=false;</span>
} }
<span class="cstat-no" title="statement not covered" > if(!port){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(!port){
<span class="cstat-no" title="statement not covered" > this.log(</span> <span class="cstat-no" title="statement not covered" > this.log(</span>
'Server port not specified, so defaulting to'.notice, 'Server port not specified, so defaulting to'.notice,
'ipc.config.networkPort'.variable, 'ipc.config.networkPort'.variable,
@ -1025,15 +1025,15 @@ function connect(id,path,callback){
<span class="cstat-no" title="statement not covered" > port=this.config.networkPort;</span> <span class="cstat-no" title="statement not covered" > port=this.config.networkPort;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(typeof callback == 'string'){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(typeof callback == 'string'){
<span class="cstat-no" title="statement not covered" > UDPType=callback;</span> <span class="cstat-no" title="statement not covered" > UDPType=callback;</span>
<span class="cstat-no" title="statement not covered" > callback=false;</span> <span class="cstat-no" title="statement not covered" > callback=false;</span>
} }
<span class="cstat-no" title="statement not covered" > if(!callback){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(!callback){
<span class="cstat-no" title="statement not covered" > callback=emptyCallback;</span> <span class="cstat-no" title="statement not covered" > callback=emptyCallback;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(this.of[id]){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(this.of[id]){
<span class="cstat-no" title="statement not covered" > if(!this.of[id].socket.destroyed){</span> <span class="cstat-no" title="statement not covered" > if(!this.of[id].socket.destroyed){</span>
<span class="cstat-no" title="statement not covered" > this.log(</span> <span class="cstat-no" title="statement not covered" > this.log(</span>
'Already Connected to'.notice, 'Already Connected to'.notice,
@ -1046,14 +1046,14 @@ function connect(id,path,callback){
<span class="cstat-no" title="statement not covered" > this.of[id].socket.destroy();</span> <span class="cstat-no" title="statement not covered" > this.of[id].socket.destroy();</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.of[id] = new Client(this.config,this.log);</span> this.of[id] = new Client(this.config,this.log);
<span class="cstat-no" title="statement not covered" > this.of[id].id = id;</span> this.of[id].id = id;
<span class="cstat-no" title="statement not covered" > this.of[id].path = host;</span> this.of[id].path = host;
<span class="cstat-no" title="statement not covered" > this.of[id].port = port;</span> this.of[id].port = port;
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.of[id].connect();</span> this.of[id].connect();
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > callback(this);</span> callback(this);
} }
&nbsp; &nbsp;
module.exports=IPC; module.exports=IPC;
@ -1063,7 +1063,7 @@ module.exports=IPC;
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:27:40 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:34:58 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -20,28 +20,28 @@
</h1> </h1>
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">42.96% </span> <span class="strong">65.93% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>58/135</span> <span class='fraction'>89/135</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">37.84% </span> <span class="strong">60.81% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>28/74</span> <span class='fraction'>45/74</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">62.5% </span> <span class="strong">87.5% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>5/8</span> <span class='fraction'>7/8</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">42.96% </span> <span class="strong">65.93% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>58/135</span> <span class='fraction'>89/135</span>
</div> </div>
</div> </div>
</div> </div>
<div class='status-line low'></div> <div class='status-line medium'></div>
<div class="pad1"> <div class="pad1">
<table class="coverage-summary"> <table class="coverage-summary">
<thead> <thead>
@ -59,16 +59,16 @@
</tr> </tr>
</thead> </thead>
<tbody><tr> <tbody><tr>
<td class="file low" data-value="IPC.js"><a href="IPC.js.html">IPC.js</a></td> <td class="file medium" data-value="IPC.js"><a href="IPC.js.html">IPC.js</a></td>
<td data-value="42.96" class="pic low"><div class="chart"><div class="cover-fill" style="width: 42%;"></div><div class="cover-empty" style="width:58%;"></div></div></td> <td data-value="65.93" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 65%;"></div><div class="cover-empty" style="width:35%;"></div></div></td>
<td data-value="42.96" class="pct low">42.96%</td> <td data-value="65.93" class="pct medium">65.93%</td>
<td data-value="135" class="abs low">58/135</td> <td data-value="135" class="abs medium">89/135</td>
<td data-value="37.84" class="pct low">37.84%</td> <td data-value="60.81" class="pct medium">60.81%</td>
<td data-value="74" class="abs low">28/74</td> <td data-value="74" class="abs medium">45/74</td>
<td data-value="62.5" class="pct medium">62.5%</td> <td data-value="87.5" class="pct high">87.5%</td>
<td data-value="8" class="abs medium">5/8</td> <td data-value="8" class="abs high">7/8</td>
<td data-value="42.96" class="pct low">42.96%</td> <td data-value="65.93" class="pct medium">65.93%</td>
<td data-value="135" class="abs low">58/135</td> <td data-value="135" class="abs medium">89/135</td>
</tr> </tr>
</tbody> </tbody>
@ -77,7 +77,7 @@
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:27:40 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 14 2017 05:34:58 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

File diff suppressed because it is too large Load diff