fixed test file capitolization for linux systems

This commit is contained in:
Brandon Nozaki Miller 2021-07-04 16:23:34 +00:00 committed by GitHub
parent f89a1812ef
commit 73cc089d54
37 changed files with 3749 additions and 3633 deletions

View file

@ -23,30 +23,30 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">64.4% </span> <span class="strong">79.12% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>720/1118</span> <span class='fraction'>894/1130</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">51.82% </span> <span class="strong">69.19% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>57/110</span> <span class='fraction'>119/172</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">66.67% </span> <span class="strong">84.62% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>34/51</span> <span class='fraction'>44/52</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">64.4% </span> <span class="strong">79.12% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>720/1118</span> <span class='fraction'>894/1130</span>
</div> </div>
@ -89,47 +89,62 @@
<tr> <tr>
<td class="file medium" 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="62.86" class="pic medium"> <td data-value="78.23" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 62%"></div><div class="cover-empty" style="width: 38%"></div></div> <div class="chart"><div class="cover-fill" style="width: 78%"></div><div class="cover-empty" style="width: 22%"></div></div>
</td> </td>
<td data-value="62.86" class="pct medium">62.86%</td> <td data-value="78.23" class="pct medium">78.23%</td>
<td data-value="657" class="abs medium">413/657</td> <td data-value="657" class="abs medium">514/657</td>
<td data-value="49.18" class="pct low">49.18%</td> <td data-value="69.31" class="pct medium">69.31%</td>
<td data-value="61" class="abs low">30/61</td> <td data-value="101" class="abs medium">70/101</td>
<td data-value="73.91" class="pct medium">73.91%</td> <td data-value="95.65" class="pct high">95.65%</td>
<td data-value="23" class="abs medium">17/23</td> <td data-value="23" class="abs high">22/23</td>
<td data-value="62.86" class="pct medium">62.86%</td> <td data-value="78.23" class="pct medium">78.23%</td>
<td data-value="657" class="abs medium">413/657</td> <td data-value="657" class="abs medium">514/657</td>
</tr> </tr>
<tr> <tr>
<td class="file high" data-value="node-ipc/entities"><a href="node-ipc/entities/index.html">node-ipc/entities</a></td> <td class="file high" data-value="node-ipc/entities"><a href="node-ipc/entities/index.html">node-ipc/entities</a></td>
<td data-value="91" class="pic high"> <td data-value="93" class="pic high">
<div class="chart"><div class="cover-fill" style="width: 91%"></div><div class="cover-empty" style="width: 9%"></div></div> <div class="chart"><div class="cover-fill" style="width: 93%"></div><div class="cover-empty" style="width: 7%"></div></div>
</td> </td>
<td data-value="91" class="pct high">91%</td> <td data-value="93" class="pct high">93%</td>
<td data-value="100" class="abs high">91/100</td> <td data-value="100" class="abs high">93/100</td>
<td data-value="56.25" class="pct medium">56.25%</td> <td data-value="75" class="pct medium">75%</td>
<td data-value="16" class="abs medium">9/16</td> <td data-value="16" class="abs medium">12/16</td>
<td data-value="100" class="pct high">100%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="6" class="abs high">6/6</td> <td data-value="6" class="abs high">6/6</td>
<td data-value="91" class="pct high">91%</td> <td data-value="93" class="pct high">93%</td>
<td data-value="100" class="abs high">91/100</td> <td data-value="100" class="abs high">93/100</td>
</tr>
<tr>
<td class="file high" data-value="node-ipc/helpers"><a href="node-ipc/helpers/index.html">node-ipc/helpers</a></td>
<td data-value="100" class="pic high">
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="12" class="abs high">12/12</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="3" class="abs high">3/3</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="1" class="abs high">1/1</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="12" class="abs high">12/12</td>
</tr> </tr>
<tr> <tr>
<td class="file medium" 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="56.97" class="pic medium"> <td data-value="74.48" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 56%"></div><div class="cover-empty" style="width: 44%"></div></div> <div class="chart"><div class="cover-fill" style="width: 74%"></div><div class="cover-empty" style="width: 26%"></div></div>
</td> </td>
<td data-value="56.97" class="pct medium">56.97%</td> <td data-value="74.48" class="pct medium">74.48%</td>
<td data-value="337" class="abs medium">192/337</td> <td data-value="337" class="abs medium">251/337</td>
<td data-value="51.61" class="pct medium">51.61%</td> <td data-value="64" class="pct medium">64%</td>
<td data-value="31" class="abs medium">16/31</td> <td data-value="50" class="abs medium">32/50</td>
<td data-value="47.62" class="pct low">47.62%</td> <td data-value="66.67" class="pct medium">66.67%</td>
<td data-value="21" class="abs low">10/21</td> <td data-value="21" class="abs medium">14/21</td>
<td data-value="56.97" class="pct medium">56.97%</td> <td data-value="74.48" class="pct medium">74.48%</td>
<td data-value="337" class="abs medium">192/337</td> <td data-value="337" class="abs medium">251/337</td>
</tr> </tr>
</tbody> </tbody>
@ -140,7 +155,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="prettify.js"></script> <script src="prettify.js"></script>

View file

@ -23,30 +23,30 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">64.4% </span> <span class="strong">79.12% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>720/1118</span> <span class='fraction'>894/1130</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">51.82% </span> <span class="strong">69.19% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>57/110</span> <span class='fraction'>119/172</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">66.67% </span> <span class="strong">84.62% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>34/51</span> <span class='fraction'>44/52</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">64.4% </span> <span class="strong">79.12% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>720/1118</span> <span class='fraction'>894/1130</span>
</div> </div>
@ -89,47 +89,62 @@
<tr> <tr>
<td class="file medium" 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="62.86" class="pic medium"> <td data-value="78.23" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 62%"></div><div class="cover-empty" style="width: 38%"></div></div> <div class="chart"><div class="cover-fill" style="width: 78%"></div><div class="cover-empty" style="width: 22%"></div></div>
</td> </td>
<td data-value="62.86" class="pct medium">62.86%</td> <td data-value="78.23" class="pct medium">78.23%</td>
<td data-value="657" class="abs medium">413/657</td> <td data-value="657" class="abs medium">514/657</td>
<td data-value="49.18" class="pct low">49.18%</td> <td data-value="69.31" class="pct medium">69.31%</td>
<td data-value="61" class="abs low">30/61</td> <td data-value="101" class="abs medium">70/101</td>
<td data-value="73.91" class="pct medium">73.91%</td> <td data-value="95.65" class="pct high">95.65%</td>
<td data-value="23" class="abs medium">17/23</td> <td data-value="23" class="abs high">22/23</td>
<td data-value="62.86" class="pct medium">62.86%</td> <td data-value="78.23" class="pct medium">78.23%</td>
<td data-value="657" class="abs medium">413/657</td> <td data-value="657" class="abs medium">514/657</td>
</tr> </tr>
<tr> <tr>
<td class="file high" data-value="node-ipc/entities"><a href="node-ipc/entities/index.html">node-ipc/entities</a></td> <td class="file high" data-value="node-ipc/entities"><a href="node-ipc/entities/index.html">node-ipc/entities</a></td>
<td data-value="91" class="pic high"> <td data-value="93" class="pic high">
<div class="chart"><div class="cover-fill" style="width: 91%"></div><div class="cover-empty" style="width: 9%"></div></div> <div class="chart"><div class="cover-fill" style="width: 93%"></div><div class="cover-empty" style="width: 7%"></div></div>
</td> </td>
<td data-value="91" class="pct high">91%</td> <td data-value="93" class="pct high">93%</td>
<td data-value="100" class="abs high">91/100</td> <td data-value="100" class="abs high">93/100</td>
<td data-value="56.25" class="pct medium">56.25%</td> <td data-value="75" class="pct medium">75%</td>
<td data-value="16" class="abs medium">9/16</td> <td data-value="16" class="abs medium">12/16</td>
<td data-value="100" class="pct high">100%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="6" class="abs high">6/6</td> <td data-value="6" class="abs high">6/6</td>
<td data-value="91" class="pct high">91%</td> <td data-value="93" class="pct high">93%</td>
<td data-value="100" class="abs high">91/100</td> <td data-value="100" class="abs high">93/100</td>
</tr>
<tr>
<td class="file high" data-value="node-ipc/helpers"><a href="node-ipc/helpers/index.html">node-ipc/helpers</a></td>
<td data-value="100" class="pic high">
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="12" class="abs high">12/12</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="3" class="abs high">3/3</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="1" class="abs high">1/1</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="12" class="abs high">12/12</td>
</tr> </tr>
<tr> <tr>
<td class="file medium" 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="56.97" class="pic medium"> <td data-value="74.48" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 56%"></div><div class="cover-empty" style="width: 44%"></div></div> <div class="chart"><div class="cover-fill" style="width: 74%"></div><div class="cover-empty" style="width: 26%"></div></div>
</td> </td>
<td data-value="56.97" class="pct medium">56.97%</td> <td data-value="74.48" class="pct medium">74.48%</td>
<td data-value="337" class="abs medium">192/337</td> <td data-value="337" class="abs medium">251/337</td>
<td data-value="51.61" class="pct medium">51.61%</td> <td data-value="64" class="pct medium">64%</td>
<td data-value="31" class="abs medium">16/31</td> <td data-value="50" class="abs medium">32/50</td>
<td data-value="47.62" class="pct low">47.62%</td> <td data-value="66.67" class="pct medium">66.67%</td>
<td data-value="21" class="abs low">10/21</td> <td data-value="21" class="abs medium">14/21</td>
<td data-value="56.97" class="pct medium">56.97%</td> <td data-value="74.48" class="pct medium">74.48%</td>
<td data-value="337" class="abs medium">192/337</td> <td data-value="337" class="abs medium">251/337</td>
</tr> </tr>
</tbody> </tbody>
@ -140,7 +155,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="prettify.js"></script> <script src="prettify.js"></script>

View file

@ -23,30 +23,30 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">63.57% </span> <span class="strong">77.13% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>164/258</span> <span class='fraction'>199/258</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">38.46% </span> <span class="strong">60% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>10/26</span> <span class='fraction'>21/35</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">87.5% </span> <span class="strong">100% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>7/8</span> <span class='fraction'>8/8</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">63.57% </span> <span class="strong">77.13% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>164/258</span> <span class='fraction'>199/258</span>
</div> </div>
@ -315,264 +315,264 @@
<a name='L256'></a><a href='#L256'>256</a> <a name='L256'></a><a href='#L256'>256</a>
<a name='L257'></a><a href='#L257'>257</a> <a name='L257'></a><a href='#L257'>257</a>
<a name='L258'></a><a href='#L258'>258</a> <a name='L258'></a><a href='#L258'>258</a>
<a name='L259'></a><a href='#L259'>259</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">4x</span> <a name='L259'></a><a href='#L259'>259</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</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-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2x</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-no">&nbsp;</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</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-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</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-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</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-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</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-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</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-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</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-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-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-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-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-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-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">11x</span> <span class="cline-any cline-yes">16x</span>
<span class="cline-any cline-yes">11x</span> <span class="cline-any cline-yes">16x</span>
<span class="cline-any cline-yes">11x</span> <span class="cline-any cline-yes">16x</span>
<span class="cline-any cline-yes">11x</span> <span class="cline-any cline-yes">16x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</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-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-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</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-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</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-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import net from 'net'; <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import net from 'net';
import tls from 'tls'; import tls from 'tls';
import EventParser from '../entities/EventParser.js'; import EventParser from '../entities/EventParser.js';
@ -622,17 +622,17 @@ function emit(type,data){
this.socket.write(message); this.socket.write(message);
return; return;
} }
<span class="cstat-no" title="statement not covered" ><span class="branch-0 cbranch-no" title="branch not covered" ></span></span> &nbsp;
<span class="cstat-no" title="statement not covered" > //sync, non-volitile, ack emit</span> //sync, non-volitile, ack emit
<span class="cstat-no" title="statement not covered" > this.queue.add(</span> this.queue.add(
<span class="cstat-no" title="statement not covered" > syncEmit.bind(this,message)</span> syncEmit.bind(this,message)
<span class="cstat-no" title="statement not covered" > );</span> );
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function syncEmit(message){</span></span> function syncEmit(message){
<span class="cstat-no" title="statement not covered" > this.log('dispatching event to ', this.id, this.path, ' : ', message);</span> this.log('dispatching event to ', this.id, this.path, ' : ', message);
<span class="cstat-no" title="statement not covered" > this.socket.write(message);</span> this.socket.write(message);
<span class="cstat-no" title="statement not covered" >}</span> }
&nbsp; &nbsp;
function connect(){ function connect(){
//init client object for scope persistance especially inside of socket events. //init client object for scope persistance especially inside of socket events.
@ -646,18 +646,18 @@ function connect(){
&nbsp; &nbsp;
const options={}; const options={};
&nbsp; &nbsp;
if(!client.port)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(!client.port){
<span class="cstat-no" title="statement not covered" > client.log('Connecting client on Unix Socket :', client.path);</span> client.log('Connecting client on Unix Socket :', client.path);
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > options.path=client.path;</span> options.path=client.path;
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if (process.platform ==='win32' &amp;&amp; !client.path.startsWith('\\\\.\\pipe\\')){</span> if (process.platform ==='win32' <span class="branch-0 cbranch-no" title="branch not covered" >&amp;&amp; !client.path.startsWith('\\\\.\\pipe\\'))<span class="branch-0 cbranch-no" title="branch not covered" ></span>{</span>
<span class="cstat-no" title="statement not covered" > options.path = options.path.replace(/^\//, '');</span> <span class="cstat-no" title="statement not covered" > options.path = options.path.replace(/^\//, '');</span>
<span class="cstat-no" title="statement not covered" > options.path = options.path.replace(/\//g, '-');</span> <span class="cstat-no" title="statement not covered" > options.path = options.path.replace(/\//g, '-');</span>
<span class="cstat-no" title="statement not covered" > options.path= `\\\\.\\pipe\\${options.path}`;</span> <span class="cstat-no" title="statement not covered" > options.path= `\\\\.\\pipe\\${options.path}`;</span>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > client.socket = net.connect(options);</span> client.socket = net.connect(options);
}else{ }else{
options.host=client.path; options.host=client.path;
options.port=client.port; options.port=client.port;
@ -745,20 +745,20 @@ function connect(){
client.retriesRemaining&lt;1 || client.retriesRemaining&lt;1 ||
client.explicitlyDisconnected client.explicitlyDisconnected
&nbsp; &nbsp;
)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> ){
<span class="cstat-no" title="statement not covered" > client.publish('disconnect');</span> client.publish('disconnect');
<span class="cstat-no" title="statement not covered" > client.log(</span> client.log(
<span class="cstat-no" title="statement not covered" > (client.config.id),</span> (client.config.id),
<span class="cstat-no" title="statement not covered" > 'exceeded connection rety amount of',</span> 'exceeded connection rety amount of',
<span class="cstat-no" title="statement not covered" > ' or stopRetrying flag set.'</span> ' or stopRetrying flag set.'
<span class="cstat-no" title="statement not covered" > );</span> );
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > client.socket.destroy();</span> client.socket.destroy();
<span class="cstat-no" title="statement not covered" > client.publish('destroy');</span> client.publish('destroy');
<span class="cstat-no" title="statement not covered" > client=undefined;</span> client=undefined;
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > return;</span> return;
<span class="cstat-no" title="statement not covered" > }</span> }
&nbsp; &nbsp;
setTimeout( setTimeout(
function retryTimeout(){ function retryTimeout(){
@ -817,12 +817,12 @@ function connect(){
message.data message.data
); );
} }
<span class="cstat-no" title="statement not covered" ><span class="branch-0 cbranch-no" title="branch not covered" ></span></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(!client.config.sync){</span> if(!client.config.sync){
<span class="cstat-no" title="statement not covered" > return;</span> return;
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > client.queue.next();</span> client.queue.next();
} }
); );
} }
@ -838,7 +838,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -23,30 +23,30 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">62.86% </span> <span class="strong">78.23% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>413/657</span> <span class='fraction'>514/657</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">49.18% </span> <span class="strong">69.31% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>30/61</span> <span class='fraction'>70/101</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">73.91% </span> <span class="strong">95.65% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>17/23</span> <span class='fraction'>22/23</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">62.86% </span> <span class="strong">78.23% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>413/657</span> <span class='fraction'>514/657</span>
</div> </div>
@ -74,32 +74,32 @@
</thead> </thead>
<tbody><tr> <tbody><tr>
<td class="file medium" 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="63.57" class="pic medium"> <td data-value="77.13" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 63%"></div><div class="cover-empty" style="width: 37%"></div></div> <div class="chart"><div class="cover-fill" style="width: 77%"></div><div class="cover-empty" style="width: 23%"></div></div>
</td> </td>
<td data-value="63.57" class="pct medium">63.57%</td> <td data-value="77.13" class="pct medium">77.13%</td>
<td data-value="258" class="abs medium">164/258</td> <td data-value="258" class="abs medium">199/258</td>
<td data-value="38.46" class="pct low">38.46%</td> <td data-value="60" class="pct medium">60%</td>
<td data-value="26" class="abs low">10/26</td> <td data-value="35" class="abs medium">21/35</td>
<td data-value="87.5" class="pct high">87.5%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="8" class="abs high">7/8</td> <td data-value="8" class="abs high">8/8</td>
<td data-value="63.57" class="pct medium">63.57%</td> <td data-value="77.13" class="pct medium">77.13%</td>
<td data-value="258" class="abs medium">164/258</td> <td data-value="258" class="abs medium">199/258</td>
</tr> </tr>
<tr> <tr>
<td class="file medium" 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="62.41" class="pic medium"> <td data-value="78.95" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 62%"></div><div class="cover-empty" style="width: 38%"></div></div> <div class="chart"><div class="cover-fill" style="width: 78%"></div><div class="cover-empty" style="width: 22%"></div></div>
</td> </td>
<td data-value="62.41" class="pct medium">62.41%</td> <td data-value="78.95" class="pct medium">78.95%</td>
<td data-value="399" class="abs medium">249/399</td> <td data-value="399" class="abs medium">315/399</td>
<td data-value="57.14" class="pct medium">57.14%</td> <td data-value="74.24" class="pct medium">74.24%</td>
<td data-value="35" class="abs medium">20/35</td> <td data-value="66" class="abs medium">49/66</td>
<td data-value="66.67" class="pct medium">66.67%</td> <td data-value="93.33" class="pct high">93.33%</td>
<td data-value="15" class="abs medium">10/15</td> <td data-value="15" class="abs high">14/15</td>
<td data-value="62.41" class="pct medium">62.41%</td> <td data-value="78.95" class="pct medium">78.95%</td>
<td data-value="399" class="abs medium">249/399</td> <td data-value="399" class="abs medium">315/399</td>
</tr> </tr>
</tbody> </tbody>
@ -110,7 +110,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -23,30 +23,30 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">62.41% </span> <span class="strong">78.95% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>249/399</span> <span class='fraction'>315/399</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">57.14% </span> <span class="strong">74.24% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>20/35</span> <span class='fraction'>49/66</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">66.67% </span> <span class="strong">93.33% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>10/15</span> <span class='fraction'>14/15</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">62.41% </span> <span class="strong">78.95% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>249/399</span> <span class='fraction'>315/399</span>
</div> </div>
@ -457,69 +457,6 @@
<a name='L398'></a><a href='#L398'>398</a> <a name='L398'></a><a href='#L398'>398</a>
<a name='L399'></a><a href='#L399'>399</a> <a name='L399'></a><a href='#L399'>399</a>
<a name='L400'></a><a href='#L400'>400</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span> <a name='L400'></a><a href='#L400'>400</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">3x</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-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
@ -528,251 +465,93 @@
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</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-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</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-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-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</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-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</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-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</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-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-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">8x</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-yes">3x</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</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-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">7x</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-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</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-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">1x</span>
@ -780,55 +559,54 @@
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</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-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-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-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-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</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>
@ -837,17 +615,117 @@
<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-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">9x</span>
<span class="cline-any cline-yes">9x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</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-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">6x</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-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</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-yes">11x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</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-yes">4x</span> <span class="cline-any cline-yes">4x</span>
@ -855,6 +733,128 @@
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</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-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</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-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">7x</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-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-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-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-yes">7x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</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-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&nbsp; <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&nbsp;
import net from 'net'; import net from 'net';
import tls from 'tls'; import tls from 'tls';
@ -898,9 +898,9 @@ class Server extends Events{
); );
} }
&nbsp; &nbsp;
<span class="fstat-no" title="function not covered" > stop(){</span> stop(){
<span class="cstat-no" title="statement not covered" > this.server.close();</span> this.server.close();
<span class="cstat-no" title="statement not covered" > }</span> }
&nbsp; &nbsp;
start(){ start(){
if(!this.path)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(!this.path)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
@ -933,46 +933,46 @@ function emit(socket, type, data){
message=eventParser.format(message); message=eventParser.format(message);
} }
&nbsp; &nbsp;
if(this.udp4 || this.udp6)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(this.udp4 || this.udp6){
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(!socket.address || !socket.port){</span> if(!socket.address || !socket.port)<span class="branch-0 cbranch-no" title="branch not covered" >{</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.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>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > this.server.write(</span> this.server.write(
<span class="cstat-no" title="statement not covered" > message,</span> message,
<span class="cstat-no" title="statement not covered" > socket</span> socket
<span class="cstat-no" title="statement not covered" > );</span> );
<span class="cstat-no" title="statement not covered" > return;</span> return;
<span class="cstat-no" title="statement not covered" > }</span> }
socket.write(message); socket.write(message);
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function broadcast(type,data){</span></span> function broadcast(type,data){
<span class="cstat-no" title="statement not covered" > this.log('broadcasting event to all known sockets listening to ', this.path,' : ', ((this.port)?this.port:''), type, data);</span> this.log('broadcasting event to all known sockets listening to ', this.path,' : ', ((this.port)?this.port<span class="branch-0 cbranch-no" title="branch not covered" >:'')</span>, type, data);
<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;
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(this.config.rawBuffer){</span> if(this.config.rawBuffer)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > message=Buffer.from(type,this.config.encoding);</span> <span class="cstat-no" title="statement not covered" > message=Buffer.from(type,this.config.encoding);</span>
<span class="cstat-no" title="statement not covered" > }else{</span> }else{
<span class="cstat-no" title="statement not covered" > message=eventParser.format(message);</span> message=eventParser.format(message);
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(this.udp4 || this.udp6){</span> if(this.udp4 || this.udp6)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > for(let i=1, count=this.sockets.length; i&lt;count; i++){</span> <span class="cstat-no" title="statement not covered" > for(let i=1, count=this.sockets.length; i&lt;count; i++){</span>
<span class="cstat-no" title="statement not covered" > this.server.write(message,this.sockets[i]);</span> <span class="cstat-no" title="statement not covered" > this.server.write(message,this.sockets[i]);</span>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" > }else{</span> }else{
<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" > this.sockets[i].write(message);</span> this.sockets[i].write(message);
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" >}</span> }
&nbsp; &nbsp;
function serverClosed(){ function serverClosed(){
for(let i=0, count=this.sockets.length; i&lt;count; i++){ for(let i=0, count=this.sockets.length; i&lt;count; i++){
@ -980,9 +980,9 @@ function serverClosed(){
let destroyedSocketId=false; let destroyedSocketId=false;
&nbsp; &nbsp;
if(socket){ if(socket){
if(socket.readable)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(socket.readable){
<span class="cstat-no" title="statement not covered" > continue;</span> continue;
<span class="cstat-no" title="statement not covered" > }</span> }
} }
&nbsp; &nbsp;
if(socket.id)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(socket.id)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
@ -1004,7 +1004,7 @@ function serverClosed(){
<span class="branch-0 cbranch-no" title="branch not covered" >}</span> <span class="branch-0 cbranch-no" title="branch not covered" >}</span>
&nbsp; &nbsp;
function gotData(socket,data,UDPSocket){ function gotData(socket,data,UDPSocket){
let sock=((this.udp4 || this.udp6)<span class="branch-0 cbranch-no" title="branch not covered" >? UDPSocket </span>: socket); let sock=((this.udp4 || this.udp6)? UDPSocket : socket);
if(this.config.rawBuffer)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(this.config.rawBuffer)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > data=Buffer.from(data,this.config.encoding);</span> <span class="cstat-no" title="statement not covered" > data=Buffer.from(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>
@ -1086,19 +1086,19 @@ function serverCreated(socket) {
socket.on( socket.on(
'message', 'message',
function(msg,rinfo) { function(msg,rinfo) {
<span class="cstat-no" title="statement not covered" > if (!rinfo){</span> if (!rinfo)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<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" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" ></span> &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;
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(this.config.rawSocket){</span> if(this.config.rawSocket)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > data=Buffer.from(msg,this.config.encoding);</span> <span class="cstat-no" title="statement not covered" > data=Buffer.from(msg,this.config.encoding);</span>
<span class="cstat-no" title="statement not covered" > }else{</span> }else{
<span class="cstat-no" title="statement not covered" > data=msg.toString();</span> data=msg.toString();
<span class="cstat-no" title="statement not covered" > }</span> }
<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;
@ -1127,18 +1127,18 @@ function startServer() {
}<span class="branch-0 cbranch-no" title="branch not covered" >else{</span> }<span class="branch-0 cbranch-no" title="branch not covered" >else{</span>
<span class="cstat-no" title="statement not covered" > startTLSServer.bind(this)();</span> <span class="cstat-no" title="statement not covered" > startTLSServer.bind(this)();</span>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
}<span class="branch-0 cbranch-no" title="branch not covered" >else{</span> }else{
<span class="cstat-no" title="statement not covered" > this.server=dgram.createSocket(</span> this.server=dgram.createSocket(
<span class="cstat-no" title="statement not covered" > ((this.udp4)? 'udp4':'udp6')</span> ((this.udp4)? 'udp4':'udp6')
<span class="cstat-no" title="statement not covered" > );</span> );
<span class="cstat-no" title="statement not covered" > this.server.write=UDPWrite.bind(this);</span> this.server.write=UDPWrite.bind(this);
<span class="cstat-no" title="statement not covered" > this.server.on(</span> this.server.on(
<span class="cstat-no" title="statement not covered" > 'listening',</span> 'listening',
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" > function UDPServerStarted() {</span></span> function UDPServerStarted() {
<span class="cstat-no" title="statement not covered" > serverCreated.bind(this)(this.server);</span> serverCreated.bind(this)(this.server);
<span class="cstat-no" title="statement not covered" > }.bind(this)</span> }.bind(this)
<span class="cstat-no" title="statement not covered" > );</span> );
<span class="cstat-no" title="statement not covered" > }</span> }
&nbsp; &nbsp;
this.server.on( this.server.on(
'error', 'error',
@ -1180,7 +1180,7 @@ function startServer() {
); );
return; return;
} }
<span class="cstat-no" title="statement not covered" ><span class="branch-0 cbranch-no" title="branch not covered" ></span></span> &nbsp;
this.log('starting server as',((this.udp4)? 'udp4':'udp6')); this.log('starting server as',((this.udp4)? 'udp4':'udp6'));
&nbsp; &nbsp;
this.server.bind( this.server.bind(
@ -1228,16 +1228,16 @@ function startServer() {
<span class="cstat-no" title="statement not covered" > );</span> <span class="cstat-no" title="statement not covered" > );</span>
<span class="cstat-no" title="statement not covered" >}</span> <span class="cstat-no" title="statement not covered" >}</span>
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function UDPWrite(message,socket){</span></span> function UDPWrite(message,socket){
<span class="cstat-no" title="statement not covered" > let data=Buffer.from(message, this.config.encoding);</span> let data=Buffer.from(message, this.config.encoding);
<span class="cstat-no" title="statement not covered" > this.server.send(</span> this.server.send(
<span class="cstat-no" title="statement not covered" > data,</span> data,
<span class="cstat-no" title="statement not covered" > 0,</span> 0,
<span class="cstat-no" title="statement not covered" > data.length,</span> data.length,
<span class="cstat-no" title="statement not covered" > socket.port,</span> socket.port,
<span class="cstat-no" title="statement not covered" > socket.address,</span> socket.address,
<span class="cstat-no" title="statement not covered" > function(err, bytes) {</span> function(err, bytes) {
<span class="cstat-no" title="statement not covered" > if(err){</span> if(err)<span class="branch-0 cbranch-no" title="branch not covered" >{</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.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>
<span class="cstat-no" title="statement not covered" > 'error',</span> <span class="cstat-no" title="statement not covered" > 'error',</span>
@ -1246,9 +1246,9 @@ function startServer() {
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" > );</span> <span class="cstat-no" title="statement not covered" > );</span>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" > );</span> );
<span class="cstat-no" title="statement not covered" >}</span> }
&nbsp; &nbsp;
export { export {
Server as default, Server as default,
@ -1261,7 +1261,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -123,72 +123,72 @@
<a name='L64'></a><a href='#L64'>64</a> <a name='L64'></a><a href='#L64'>64</a>
<a name='L65'></a><a href='#L65'>65</a> <a name='L65'></a><a href='#L65'>65</a>
<a name='L66'></a><a href='#L66'>66</a> <a name='L66'></a><a href='#L66'>66</a>
<a name='L67'></a><a href='#L67'>67</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">4x</span> <a name='L67'></a><a href='#L67'>67</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</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-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import os from 'os'; <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import os from 'os';
&nbsp; &nbsp;
class Defaults{ class Defaults{
@ -262,7 +262,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -23,16 +23,16 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">88.24% </span> <span class="strong">94.12% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>30/34</span> <span class='fraction'>32/34</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">55.56% </span> <span class="strong">88.89% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>5/9</span> <span class='fraction'>8/9</span>
</div> </div>
@ -44,9 +44,9 @@
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">88.24% </span> <span class="strong">94.12% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>30/34</span> <span class='fraction'>32/34</span>
</div> </div>
@ -92,39 +92,39 @@
<a name='L33'></a><a href='#L33'>33</a> <a name='L33'></a><a href='#L33'>33</a>
<a name='L34'></a><a href='#L34'>34</a> <a name='L34'></a><a href='#L34'>34</a>
<a name='L35'></a><a href='#L35'>35</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span> <a name='L35'></a><a href='#L35'>35</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">28x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">28x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">28x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">26x</span>
<span class="cline-any cline-yes">9x</span>
<span class="cline-any cline-yes">9x</span>
<span class="cline-any cline-yes">26x</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-yes">8x</span> <span class="cline-any cline-yes">26x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">26x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">26x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">26x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">25x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">25x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">25x</span>
<span class="cline-any cline-yes">11x</span> <span class="cline-any cline-yes">25x</span>
<span class="cline-any cline-yes">11x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">11x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">11x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&nbsp; <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&nbsp;
import Defaults from './Defaults.js'; import Defaults from './Defaults.js';
&nbsp; &nbsp;
@ -137,9 +137,9 @@ class Parser{
} }
&nbsp; &nbsp;
format(message){ format(message){
if(!message.data <span class="branch-0 cbranch-no" title="branch not covered" >&amp;&amp; message.data!==false <span class="branch-0 cbranch-no" title="branch not covered" ></span>&amp;&amp; message.data!==0)<span class="branch-0 cbranch-no" title="branch not covered" ></span>{</span> if(!message.data &amp;&amp; message.data!==false &amp;&amp; message.data!==0){
<span class="cstat-no" title="statement not covered" > message.data={};</span> message.data={};
<span class="cstat-no" title="statement not covered" > }</span> }
if(message.data['_maxListeners'])<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(message.data['_maxListeners'])<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > message.data={};</span> <span class="cstat-no" title="statement not covered" > message.data={};</span>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
@ -166,7 +166,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -23,16 +23,16 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">91% </span> <span class="strong">93% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>91/100</span> <span class='fraction'>93/100</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">56.25% </span> <span class="strong">75% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>9/16</span> <span class='fraction'>12/16</span>
</div> </div>
@ -44,9 +44,9 @@
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">91% </span> <span class="strong">93% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>91/100</span> <span class='fraction'>93/100</span>
</div> </div>
@ -89,17 +89,17 @@
<tr> <tr>
<td class="file high" 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="88.24" class="pic high"> <td data-value="94.12" class="pic high">
<div class="chart"><div class="cover-fill" style="width: 88%"></div><div class="cover-empty" style="width: 12%"></div></div> <div class="chart"><div class="cover-fill" style="width: 94%"></div><div class="cover-empty" style="width: 6%"></div></div>
</td> </td>
<td data-value="88.24" class="pct high">88.24%</td> <td data-value="94.12" class="pct high">94.12%</td>
<td data-value="34" class="abs high">30/34</td> <td data-value="34" class="abs high">32/34</td>
<td data-value="55.56" class="pct medium">55.56%</td> <td data-value="88.89" class="pct high">88.89%</td>
<td data-value="9" class="abs medium">5/9</td> <td data-value="9" class="abs high">8/9</td>
<td data-value="100" class="pct high">100%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="3" class="abs high">3/3</td> <td data-value="3" class="abs high">3/3</td>
<td data-value="88.24" class="pct high">88.24%</td> <td data-value="94.12" class="pct high">94.12%</td>
<td data-value="34" class="abs high">30/34</td> <td data-value="34" class="abs high">32/34</td>
</tr> </tr>
</tbody> </tbody>
@ -110,7 +110,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -97,7 +97,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 00:17:42 GMT-0700 (Pacific Daylight Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -95,7 +95,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 00:17:42 GMT-0700 (Pacific Daylight Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -95,7 +95,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../prettify.js"></script> <script src="../prettify.js"></script>

View file

@ -81,30 +81,30 @@
<a name='L22'></a><a href='#L22'>22</a> <a name='L22'></a><a href='#L22'>22</a>
<a name='L23'></a><a href='#L23'>23</a> <a name='L23'></a><a href='#L23'>23</a>
<a name='L24'></a><a href='#L24'>24</a> <a name='L24'></a><a href='#L24'>24</a>
<a name='L25'></a><a href='#L25'>25</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">4x</span> <a name='L25'></a><a href='#L25'>25</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import IPC from './services/IPC.js'; <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import IPC from './services/IPC.js';
&nbsp; &nbsp;
class IPCModule extends IPC{ class IPCModule extends IPC{
@ -136,7 +136,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../prettify.js"></script> <script src="../prettify.js"></script>

View file

@ -23,30 +23,30 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">56.97% </span> <span class="strong">74.48% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>192/337</span> <span class='fraction'>251/337</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">51.61% </span> <span class="strong">64% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>16/31</span> <span class='fraction'>32/50</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">47.62% </span> <span class="strong">66.67% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>10/21</span> <span class='fraction'>14/21</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">56.97% </span> <span class="strong">74.48% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>192/337</span> <span class='fraction'>251/337</span>
</div> </div>
@ -395,93 +395,316 @@
<a name='L336'></a><a href='#L336'>336</a> <a name='L336'></a><a href='#L336'>336</a>
<a name='L337'></a><a href='#L337'>337</a> <a name='L337'></a><a href='#L337'>337</a>
<a name='L338'></a><a href='#L338'>338</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span> <a name='L338'></a><a href='#L338'>338</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">2x</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">22x</span>
<span class="cline-any cline-yes">22x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">211x</span>
<span class="cline-any cline-yes">211x</span>
<span class="cline-any cline-yes">147x</span>
<span class="cline-any cline-yes">147x</span>
<span class="cline-any cline-yes">64x</span>
<span class="cline-any cline-yes">110x</span>
<span class="cline-any cline-yes">191x</span>
<span class="cline-any cline-yes">179x</span>
<span class="cline-any cline-yes">179x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">64x</span>
<span class="cline-any cline-yes">64x</span>
<span class="cline-any cline-yes">64x</span>
<span class="cline-any cline-yes">64x</span>
<span class="cline-any cline-yes">211x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">7x</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-yes">7x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</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-yes">6x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">6x</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-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">6x</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-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</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-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</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-yes">4x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</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-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</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-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</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-yes">4x</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-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">91x</span>
<span class="cline-any cline-yes">91x</span>
<span class="cline-any cline-yes">83x</span>
<span class="cline-any cline-yes">83x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">21x</span>
<span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">91x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</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-yes">4x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</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-yes">4x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</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>
@ -493,244 +716,21 @@
<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-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">4x</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-yes">4x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">4x</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-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-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-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-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-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-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-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-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&nbsp; <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&nbsp;
import Defaults from '../entities/Defaults.js'; import Defaults from '../entities/Defaults.js';
import Client from '../dao/client.js'; import Client from '../dao/client.js';
@ -748,15 +748,15 @@ class IPC{
server=false; server=false;
&nbsp; &nbsp;
//protected methods //protected methods
<span class="fstat-no" title="function not covered" > get connectTo(){</span> get connectTo(){
<span class="cstat-no" title="statement not covered" > return connect;</span> return connect;
<span class="cstat-no" title="statement not covered" > }</span> }
get connectToNet(){ get connectToNet(){
return connectNet; return connectNet;
} }
<span class="fstat-no" title="function not covered" > get disconnect(){</span> get disconnect(){
<span class="cstat-no" title="statement not covered" > return disconnect</span> return disconnect
<span class="cstat-no" title="statement not covered" > }</span> }
get serve(){ get serve(){
return serve; return serve;
} }
@ -813,22 +813,22 @@ function log(...args){
); );
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function disconnect(id){</span></span> function disconnect(id){
<span class="cstat-no" title="statement not covered" > if(!this.of[id]){</span> if(!this.of[id])<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<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" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > this.of[id].explicitlyDisconnected=true;</span> this.of[id].explicitlyDisconnected=true;
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > this.of[id].off('*','*');</span> this.of[id].off('*','*');
<span class="cstat-no" title="statement not covered" > if(this.of[id].socket){</span> if(this.of[id].socket){
<span class="cstat-no" title="statement not covered" > if(this.of[id].socket.destroy){</span> if(this.of[id].socket.destroy){
<span class="cstat-no" title="statement not covered" > this.of[id].socket.destroy();</span> this.of[id].socket.destroy();
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > delete this.of[id];</span> delete this.of[id];
<span class="cstat-no" title="statement not covered" >}</span> }
&nbsp; &nbsp;
function serve(path,callback){ function serve(path,callback){
if(typeof path=='function'){ if(typeof path=='function'){
@ -892,11 +892,11 @@ function serveNet(host,port,UDPType,callback){
<span class="cstat-no" title="statement not covered" > host=this.config.networkHost;</span> <span class="cstat-no" title="statement not covered" > host=this.config.networkHost;</span>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
&nbsp; &nbsp;
if(typeof port=='string')<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(typeof port=='string'){
<span class="cstat-no" title="statement not covered" > callback=UDPType;</span> callback=UDPType;
<span class="cstat-no" title="statement not covered" > UDPType=port;</span> UDPType=port;
<span class="cstat-no" title="statement not covered" > port=false;</span> port=false;
<span class="cstat-no" title="statement not covered" > }</span> }
if(typeof port=='function')<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(typeof port=='function')<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<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" > UDPType=false;</span> <span class="cstat-no" title="statement not covered" > UDPType=false;</span>
@ -927,13 +927,13 @@ function serveNet(host,port,UDPType,callback){
port port
); );
&nbsp; &nbsp;
if(UDPType)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(UDPType){
<span class="cstat-no" title="statement not covered" > this.server[UDPType]=true;</span> this.server[UDPType]=true;
<span class="cstat-no" title="statement not covered" > if(UDPType === "udp4" &amp;&amp; host === "::1") {</span> if(UDPType === "udp4" &amp;&amp; host === "::1") <span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > // bind udp4 socket to an ipv4 address</span> <span class="cstat-no" title="statement not covered" > // bind udp4 socket to an ipv4 address</span>
<span class="cstat-no" title="statement not covered" > this.server.path = "127.0.0.1";</span> <span class="cstat-no" title="statement not covered" > this.server.path = "127.0.0.1";</span>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" > }</span> }
&nbsp; &nbsp;
this.server.on( this.server.on(
'start', 'start',
@ -941,34 +941,34 @@ function serveNet(host,port,UDPType,callback){
); );
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function connect(id,path,callback){</span></span> function connect(id,path,callback){
<span class="cstat-no" title="statement not covered" > if(typeof path == 'function'){</span> if(typeof path == 'function'){
<span class="cstat-no" title="statement not covered" > callback=path;</span> callback=path;
<span class="cstat-no" title="statement not covered" > path=false;</span> path=false;
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(!callback){</span> if(!callback)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > callback=emptyCallback;</span> <span class="cstat-no" title="statement not covered" > callback=emptyCallback;</span>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(!id){</span> if(!id)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > this.log(</span> <span class="cstat-no" title="statement not covered" > this.log(</span>
<span class="cstat-no" title="statement not covered" > 'Service id required',</span> <span class="cstat-no" title="statement not covered" > 'Service id required',</span>
<span class="cstat-no" title="statement not covered" > 'Requested service connection without specifying service id. Aborting connection attempt'</span> <span class="cstat-no" title="statement not covered" > 'Requested service connection without specifying service id. Aborting connection attempt'</span>
<span class="cstat-no" title="statement not covered" > );</span> <span class="cstat-no" title="statement not covered" > );</span>
<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" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(!path){</span> if(!path){
<span class="cstat-no" title="statement not covered" > this.log(</span> this.log(
<span class="cstat-no" title="statement not covered" > 'Service path not specified, so defaulting to',</span> 'Service path not specified, so defaulting to',
<span class="cstat-no" title="statement not covered" > 'ipc.config.socketRoot + ipc.config.appspace + id',</span> 'ipc.config.socketRoot + ipc.config.appspace + id',
<span class="cstat-no" title="statement not covered" > (this.config.socketRoot+this.config.appspace+id).data</span> (this.config.socketRoot+this.config.appspace+id).data
<span class="cstat-no" title="statement not covered" > );</span> );
<span class="cstat-no" title="statement not covered" > path=this.config.socketRoot+this.config.appspace+id;</span> path=this.config.socketRoot+this.config.appspace+id;
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(this.of[id]){</span> if(this.of[id])<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<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>
<span class="cstat-no" title="statement not covered" > 'Already Connected to',</span> <span class="cstat-no" title="statement not covered" > 'Already Connected to',</span>
@ -980,16 +980,16 @@ function serveNet(host,port,UDPType,callback){
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<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>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" ></span> &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].socket)? (this.of[id].socket.id=id):null;</span> (this.of[id].socket)<span class="branch-0 cbranch-no" title="branch not covered" >? (this.of[id].socket.id=id):</span>null;
<span class="cstat-no" title="statement not covered" > this.of[id].path = path;</span> this.of[id].path = path;
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > this.of[id].connect();</span> this.of[id].connect();
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > callback(this);</span> callback(this);
<span class="cstat-no" title="statement not covered" >}</span> }
&nbsp; &nbsp;
function connectNet(id,host,port,callback){ function connectNet(id,host,port,callback){
if(!id)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(!id)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
@ -999,11 +999,11 @@ function connectNet(id,host,port,callback){
<span class="cstat-no" title="statement not covered" > );</span> <span class="cstat-no" title="statement not covered" > );</span>
<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" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
if(typeof host=='number')<span class="branch-0 cbranch-no" title="branch not covered" >{</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" > }</span> }
if(typeof host=='function'){ if(typeof host=='function'){
callback=host; callback=host;
host=false; host=false;
@ -1075,7 +1075,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -23,30 +23,30 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">56.97% </span> <span class="strong">74.48% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>192/337</span> <span class='fraction'>251/337</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">51.61% </span> <span class="strong">64% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>16/31</span> <span class='fraction'>32/50</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">47.62% </span> <span class="strong">66.67% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>10/21</span> <span class='fraction'>14/21</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">56.97% </span> <span class="strong">74.48% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>192/337</span> <span class='fraction'>251/337</span>
</div> </div>
@ -74,17 +74,17 @@
</thead> </thead>
<tbody><tr> <tbody><tr>
<td class="file medium" 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="56.97" class="pic medium"> <td data-value="74.48" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 56%"></div><div class="cover-empty" style="width: 44%"></div></div> <div class="chart"><div class="cover-fill" style="width: 74%"></div><div class="cover-empty" style="width: 26%"></div></div>
</td> </td>
<td data-value="56.97" class="pct medium">56.97%</td> <td data-value="74.48" class="pct medium">74.48%</td>
<td data-value="337" class="abs medium">192/337</td> <td data-value="337" class="abs medium">251/337</td>
<td data-value="51.61" class="pct medium">51.61%</td> <td data-value="64" class="pct medium">64%</td>
<td data-value="31" class="abs medium">16/31</td> <td data-value="50" class="abs medium">32/50</td>
<td data-value="47.62" class="pct low">47.62%</td> <td data-value="66.67" class="pct medium">66.67%</td>
<td data-value="21" class="abs low">10/21</td> <td data-value="21" class="abs medium">14/21</td>
<td data-value="56.97" class="pct medium">56.97%</td> <td data-value="74.48" class="pct medium">74.48%</td>
<td data-value="337" class="abs medium">192/337</td> <td data-value="337" class="abs medium">251/337</td>
</tr> </tr>
</tbody> </tbody>
@ -95,7 +95,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

File diff suppressed because it is too large Load diff

View file

@ -6,13 +6,13 @@
<stop offset="1" stop-color="#000" stop-opacity=".5"/> <stop offset="1" stop-color="#000" stop-opacity=".5"/>
</linearGradient> </linearGradient>
<rect rx="4" width="86" height="18" fill="#555"/> <rect rx="4" width="86" height="18" fill="#555"/>
<rect rx="4" x="58" width="28" height="18" fill="#4c1"/> <rect rx="4" x="58" width="28" height="18" fill="#fe7d37"/>
<rect x="58" width="4" height="18" fill="#4c1"/> <rect x="58" width="4" height="18" fill="#fe7d37"/>
<rect rx="4" width="86" height="18" fill="url(#smooth)"/> <rect rx="4" width="86" height="18" fill="url(#smooth)"/>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"> <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="30" y="14" fill="#010101" fill-opacity=".3">coverage</text> <text x="30" y="14" fill="#010101" fill-opacity=".3">coverage</text>
<text x="30" y="13">coverage</text> <text x="30" y="13">coverage</text>
<text x="71" y="14" fill="#010101" fill-opacity=".3">80%</text> <text x="71" y="14" fill="#010101" fill-opacity=".3">79%</text>
<text x="71" y="13">80%</text> <text x="71" y="13">79%</text>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 930 B

After

Width:  |  Height:  |  Size: 936 B

View file

@ -23,30 +23,30 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">63.57% </span> <span class="strong">77.13% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>164/258</span> <span class='fraction'>199/258</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">38.46% </span> <span class="strong">60% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>10/26</span> <span class='fraction'>21/35</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">87.5% </span> <span class="strong">100% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>7/8</span> <span class='fraction'>8/8</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">63.57% </span> <span class="strong">77.13% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>164/258</span> <span class='fraction'>199/258</span>
</div> </div>
@ -315,264 +315,264 @@
<a name='L256'></a><a href='#L256'>256</a> <a name='L256'></a><a href='#L256'>256</a>
<a name='L257'></a><a href='#L257'>257</a> <a name='L257'></a><a href='#L257'>257</a>
<a name='L258'></a><a href='#L258'>258</a> <a name='L258'></a><a href='#L258'>258</a>
<a name='L259'></a><a href='#L259'>259</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">4x</span> <a name='L259'></a><a href='#L259'>259</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</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-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2x</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-no">&nbsp;</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</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-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</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-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</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-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</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-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</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-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</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-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-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-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-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-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-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">11x</span> <span class="cline-any cline-yes">16x</span>
<span class="cline-any cline-yes">11x</span> <span class="cline-any cline-yes">16x</span>
<span class="cline-any cline-yes">11x</span> <span class="cline-any cline-yes">16x</span>
<span class="cline-any cline-yes">11x</span> <span class="cline-any cline-yes">16x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</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-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-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</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-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</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-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import net from 'net'; <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import net from 'net';
import tls from 'tls'; import tls from 'tls';
import EventParser from '../entities/EventParser.js'; import EventParser from '../entities/EventParser.js';
@ -622,17 +622,17 @@ function emit(type,data){
this.socket.write(message); this.socket.write(message);
return; return;
} }
<span class="cstat-no" title="statement not covered" ><span class="branch-0 cbranch-no" title="branch not covered" ></span></span> &nbsp;
<span class="cstat-no" title="statement not covered" > //sync, non-volitile, ack emit</span> //sync, non-volitile, ack emit
<span class="cstat-no" title="statement not covered" > this.queue.add(</span> this.queue.add(
<span class="cstat-no" title="statement not covered" > syncEmit.bind(this,message)</span> syncEmit.bind(this,message)
<span class="cstat-no" title="statement not covered" > );</span> );
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function syncEmit(message){</span></span> function syncEmit(message){
<span class="cstat-no" title="statement not covered" > this.log('dispatching event to ', this.id, this.path, ' : ', message);</span> this.log('dispatching event to ', this.id, this.path, ' : ', message);
<span class="cstat-no" title="statement not covered" > this.socket.write(message);</span> this.socket.write(message);
<span class="cstat-no" title="statement not covered" >}</span> }
&nbsp; &nbsp;
function connect(){ function connect(){
//init client object for scope persistance especially inside of socket events. //init client object for scope persistance especially inside of socket events.
@ -646,18 +646,18 @@ function connect(){
&nbsp; &nbsp;
const options={}; const options={};
&nbsp; &nbsp;
if(!client.port)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(!client.port){
<span class="cstat-no" title="statement not covered" > client.log('Connecting client on Unix Socket :', client.path);</span> client.log('Connecting client on Unix Socket :', client.path);
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > options.path=client.path;</span> options.path=client.path;
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if (process.platform ==='win32' &amp;&amp; !client.path.startsWith('\\\\.\\pipe\\')){</span> if (process.platform ==='win32' <span class="branch-0 cbranch-no" title="branch not covered" >&amp;&amp; !client.path.startsWith('\\\\.\\pipe\\'))<span class="branch-0 cbranch-no" title="branch not covered" ></span>{</span>
<span class="cstat-no" title="statement not covered" > options.path = options.path.replace(/^\//, '');</span> <span class="cstat-no" title="statement not covered" > options.path = options.path.replace(/^\//, '');</span>
<span class="cstat-no" title="statement not covered" > options.path = options.path.replace(/\//g, '-');</span> <span class="cstat-no" title="statement not covered" > options.path = options.path.replace(/\//g, '-');</span>
<span class="cstat-no" title="statement not covered" > options.path= `\\\\.\\pipe\\${options.path}`;</span> <span class="cstat-no" title="statement not covered" > options.path= `\\\\.\\pipe\\${options.path}`;</span>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > client.socket = net.connect(options);</span> client.socket = net.connect(options);
}else{ }else{
options.host=client.path; options.host=client.path;
options.port=client.port; options.port=client.port;
@ -745,20 +745,20 @@ function connect(){
client.retriesRemaining&lt;1 || client.retriesRemaining&lt;1 ||
client.explicitlyDisconnected client.explicitlyDisconnected
&nbsp; &nbsp;
)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> ){
<span class="cstat-no" title="statement not covered" > client.publish('disconnect');</span> client.publish('disconnect');
<span class="cstat-no" title="statement not covered" > client.log(</span> client.log(
<span class="cstat-no" title="statement not covered" > (client.config.id),</span> (client.config.id),
<span class="cstat-no" title="statement not covered" > 'exceeded connection rety amount of',</span> 'exceeded connection rety amount of',
<span class="cstat-no" title="statement not covered" > ' or stopRetrying flag set.'</span> ' or stopRetrying flag set.'
<span class="cstat-no" title="statement not covered" > );</span> );
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > client.socket.destroy();</span> client.socket.destroy();
<span class="cstat-no" title="statement not covered" > client.publish('destroy');</span> client.publish('destroy');
<span class="cstat-no" title="statement not covered" > client=undefined;</span> client=undefined;
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > return;</span> return;
<span class="cstat-no" title="statement not covered" > }</span> }
&nbsp; &nbsp;
setTimeout( setTimeout(
function retryTimeout(){ function retryTimeout(){
@ -817,12 +817,12 @@ function connect(){
message.data message.data
); );
} }
<span class="cstat-no" title="statement not covered" ><span class="branch-0 cbranch-no" title="branch not covered" ></span></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(!client.config.sync){</span> if(!client.config.sync){
<span class="cstat-no" title="statement not covered" > return;</span> return;
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > client.queue.next();</span> client.queue.next();
} }
); );
} }
@ -838,7 +838,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -23,30 +23,30 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">62.86% </span> <span class="strong">78.23% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>413/657</span> <span class='fraction'>514/657</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">49.18% </span> <span class="strong">69.31% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>30/61</span> <span class='fraction'>70/101</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">73.91% </span> <span class="strong">95.65% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>17/23</span> <span class='fraction'>22/23</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">62.86% </span> <span class="strong">78.23% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>413/657</span> <span class='fraction'>514/657</span>
</div> </div>
@ -74,32 +74,32 @@
</thead> </thead>
<tbody><tr> <tbody><tr>
<td class="file medium" 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="63.57" class="pic medium"> <td data-value="77.13" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 63%"></div><div class="cover-empty" style="width: 37%"></div></div> <div class="chart"><div class="cover-fill" style="width: 77%"></div><div class="cover-empty" style="width: 23%"></div></div>
</td> </td>
<td data-value="63.57" class="pct medium">63.57%</td> <td data-value="77.13" class="pct medium">77.13%</td>
<td data-value="258" class="abs medium">164/258</td> <td data-value="258" class="abs medium">199/258</td>
<td data-value="38.46" class="pct low">38.46%</td> <td data-value="60" class="pct medium">60%</td>
<td data-value="26" class="abs low">10/26</td> <td data-value="35" class="abs medium">21/35</td>
<td data-value="87.5" class="pct high">87.5%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="8" class="abs high">7/8</td> <td data-value="8" class="abs high">8/8</td>
<td data-value="63.57" class="pct medium">63.57%</td> <td data-value="77.13" class="pct medium">77.13%</td>
<td data-value="258" class="abs medium">164/258</td> <td data-value="258" class="abs medium">199/258</td>
</tr> </tr>
<tr> <tr>
<td class="file medium" 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="62.41" class="pic medium"> <td data-value="78.95" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 62%"></div><div class="cover-empty" style="width: 38%"></div></div> <div class="chart"><div class="cover-fill" style="width: 78%"></div><div class="cover-empty" style="width: 22%"></div></div>
</td> </td>
<td data-value="62.41" class="pct medium">62.41%</td> <td data-value="78.95" class="pct medium">78.95%</td>
<td data-value="399" class="abs medium">249/399</td> <td data-value="399" class="abs medium">315/399</td>
<td data-value="57.14" class="pct medium">57.14%</td> <td data-value="74.24" class="pct medium">74.24%</td>
<td data-value="35" class="abs medium">20/35</td> <td data-value="66" class="abs medium">49/66</td>
<td data-value="66.67" class="pct medium">66.67%</td> <td data-value="93.33" class="pct high">93.33%</td>
<td data-value="15" class="abs medium">10/15</td> <td data-value="15" class="abs high">14/15</td>
<td data-value="62.41" class="pct medium">62.41%</td> <td data-value="78.95" class="pct medium">78.95%</td>
<td data-value="399" class="abs medium">249/399</td> <td data-value="399" class="abs medium">315/399</td>
</tr> </tr>
</tbody> </tbody>
@ -110,7 +110,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -23,30 +23,30 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">62.41% </span> <span class="strong">78.95% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>249/399</span> <span class='fraction'>315/399</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">57.14% </span> <span class="strong">74.24% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>20/35</span> <span class='fraction'>49/66</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">66.67% </span> <span class="strong">93.33% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>10/15</span> <span class='fraction'>14/15</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">62.41% </span> <span class="strong">78.95% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>249/399</span> <span class='fraction'>315/399</span>
</div> </div>
@ -457,69 +457,6 @@
<a name='L398'></a><a href='#L398'>398</a> <a name='L398'></a><a href='#L398'>398</a>
<a name='L399'></a><a href='#L399'>399</a> <a name='L399'></a><a href='#L399'>399</a>
<a name='L400'></a><a href='#L400'>400</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span> <a name='L400'></a><a href='#L400'>400</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">3x</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-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
@ -528,251 +465,93 @@
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</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-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</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-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-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</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-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</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-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</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-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-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">8x</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-yes">3x</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</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-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">7x</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-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</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-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">1x</span>
@ -780,55 +559,54 @@
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</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-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-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-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-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</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>
@ -837,17 +615,117 @@
<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-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">9x</span>
<span class="cline-any cline-yes">9x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">17x</span>
<span class="cline-any cline-yes">20x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</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-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">6x</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-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</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-yes">11x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</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-yes">4x</span> <span class="cline-any cline-yes">4x</span>
@ -855,6 +733,128 @@
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</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-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</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-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">7x</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-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-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-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-yes">7x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</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-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&nbsp; <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&nbsp;
import net from 'net'; import net from 'net';
import tls from 'tls'; import tls from 'tls';
@ -898,9 +898,9 @@ class Server extends Events{
); );
} }
&nbsp; &nbsp;
<span class="fstat-no" title="function not covered" > stop(){</span> stop(){
<span class="cstat-no" title="statement not covered" > this.server.close();</span> this.server.close();
<span class="cstat-no" title="statement not covered" > }</span> }
&nbsp; &nbsp;
start(){ start(){
if(!this.path)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(!this.path)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
@ -933,46 +933,46 @@ function emit(socket, type, data){
message=eventParser.format(message); message=eventParser.format(message);
} }
&nbsp; &nbsp;
if(this.udp4 || this.udp6)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(this.udp4 || this.udp6){
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(!socket.address || !socket.port){</span> if(!socket.address || !socket.port)<span class="branch-0 cbranch-no" title="branch not covered" >{</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.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>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > this.server.write(</span> this.server.write(
<span class="cstat-no" title="statement not covered" > message,</span> message,
<span class="cstat-no" title="statement not covered" > socket</span> socket
<span class="cstat-no" title="statement not covered" > );</span> );
<span class="cstat-no" title="statement not covered" > return;</span> return;
<span class="cstat-no" title="statement not covered" > }</span> }
socket.write(message); socket.write(message);
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function broadcast(type,data){</span></span> function broadcast(type,data){
<span class="cstat-no" title="statement not covered" > this.log('broadcasting event to all known sockets listening to ', this.path,' : ', ((this.port)?this.port:''), type, data);</span> this.log('broadcasting event to all known sockets listening to ', this.path,' : ', ((this.port)?this.port<span class="branch-0 cbranch-no" title="branch not covered" >:'')</span>, type, data);
<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;
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(this.config.rawBuffer){</span> if(this.config.rawBuffer)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > message=Buffer.from(type,this.config.encoding);</span> <span class="cstat-no" title="statement not covered" > message=Buffer.from(type,this.config.encoding);</span>
<span class="cstat-no" title="statement not covered" > }else{</span> }else{
<span class="cstat-no" title="statement not covered" > message=eventParser.format(message);</span> message=eventParser.format(message);
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(this.udp4 || this.udp6){</span> if(this.udp4 || this.udp6)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > for(let i=1, count=this.sockets.length; i&lt;count; i++){</span> <span class="cstat-no" title="statement not covered" > for(let i=1, count=this.sockets.length; i&lt;count; i++){</span>
<span class="cstat-no" title="statement not covered" > this.server.write(message,this.sockets[i]);</span> <span class="cstat-no" title="statement not covered" > this.server.write(message,this.sockets[i]);</span>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" > }else{</span> }else{
<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" > this.sockets[i].write(message);</span> this.sockets[i].write(message);
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" >}</span> }
&nbsp; &nbsp;
function serverClosed(){ function serverClosed(){
for(let i=0, count=this.sockets.length; i&lt;count; i++){ for(let i=0, count=this.sockets.length; i&lt;count; i++){
@ -980,9 +980,9 @@ function serverClosed(){
let destroyedSocketId=false; let destroyedSocketId=false;
&nbsp; &nbsp;
if(socket){ if(socket){
if(socket.readable)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(socket.readable){
<span class="cstat-no" title="statement not covered" > continue;</span> continue;
<span class="cstat-no" title="statement not covered" > }</span> }
} }
&nbsp; &nbsp;
if(socket.id)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(socket.id)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
@ -1004,7 +1004,7 @@ function serverClosed(){
<span class="branch-0 cbranch-no" title="branch not covered" >}</span> <span class="branch-0 cbranch-no" title="branch not covered" >}</span>
&nbsp; &nbsp;
function gotData(socket,data,UDPSocket){ function gotData(socket,data,UDPSocket){
let sock=((this.udp4 || this.udp6)<span class="branch-0 cbranch-no" title="branch not covered" >? UDPSocket </span>: socket); let sock=((this.udp4 || this.udp6)? UDPSocket : socket);
if(this.config.rawBuffer)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(this.config.rawBuffer)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > data=Buffer.from(data,this.config.encoding);</span> <span class="cstat-no" title="statement not covered" > data=Buffer.from(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>
@ -1086,19 +1086,19 @@ function serverCreated(socket) {
socket.on( socket.on(
'message', 'message',
function(msg,rinfo) { function(msg,rinfo) {
<span class="cstat-no" title="statement not covered" > if (!rinfo){</span> if (!rinfo)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<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" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" ></span> &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;
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(this.config.rawSocket){</span> if(this.config.rawSocket)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > data=Buffer.from(msg,this.config.encoding);</span> <span class="cstat-no" title="statement not covered" > data=Buffer.from(msg,this.config.encoding);</span>
<span class="cstat-no" title="statement not covered" > }else{</span> }else{
<span class="cstat-no" title="statement not covered" > data=msg.toString();</span> data=msg.toString();
<span class="cstat-no" title="statement not covered" > }</span> }
<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;
@ -1127,18 +1127,18 @@ function startServer() {
}<span class="branch-0 cbranch-no" title="branch not covered" >else{</span> }<span class="branch-0 cbranch-no" title="branch not covered" >else{</span>
<span class="cstat-no" title="statement not covered" > startTLSServer.bind(this)();</span> <span class="cstat-no" title="statement not covered" > startTLSServer.bind(this)();</span>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
}<span class="branch-0 cbranch-no" title="branch not covered" >else{</span> }else{
<span class="cstat-no" title="statement not covered" > this.server=dgram.createSocket(</span> this.server=dgram.createSocket(
<span class="cstat-no" title="statement not covered" > ((this.udp4)? 'udp4':'udp6')</span> ((this.udp4)? 'udp4':'udp6')
<span class="cstat-no" title="statement not covered" > );</span> );
<span class="cstat-no" title="statement not covered" > this.server.write=UDPWrite.bind(this);</span> this.server.write=UDPWrite.bind(this);
<span class="cstat-no" title="statement not covered" > this.server.on(</span> this.server.on(
<span class="cstat-no" title="statement not covered" > 'listening',</span> 'listening',
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" > function UDPServerStarted() {</span></span> function UDPServerStarted() {
<span class="cstat-no" title="statement not covered" > serverCreated.bind(this)(this.server);</span> serverCreated.bind(this)(this.server);
<span class="cstat-no" title="statement not covered" > }.bind(this)</span> }.bind(this)
<span class="cstat-no" title="statement not covered" > );</span> );
<span class="cstat-no" title="statement not covered" > }</span> }
&nbsp; &nbsp;
this.server.on( this.server.on(
'error', 'error',
@ -1180,7 +1180,7 @@ function startServer() {
); );
return; return;
} }
<span class="cstat-no" title="statement not covered" ><span class="branch-0 cbranch-no" title="branch not covered" ></span></span> &nbsp;
this.log('starting server as',((this.udp4)? 'udp4':'udp6')); this.log('starting server as',((this.udp4)? 'udp4':'udp6'));
&nbsp; &nbsp;
this.server.bind( this.server.bind(
@ -1228,16 +1228,16 @@ function startServer() {
<span class="cstat-no" title="statement not covered" > );</span> <span class="cstat-no" title="statement not covered" > );</span>
<span class="cstat-no" title="statement not covered" >}</span> <span class="cstat-no" title="statement not covered" >}</span>
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function UDPWrite(message,socket){</span></span> function UDPWrite(message,socket){
<span class="cstat-no" title="statement not covered" > let data=Buffer.from(message, this.config.encoding);</span> let data=Buffer.from(message, this.config.encoding);
<span class="cstat-no" title="statement not covered" > this.server.send(</span> this.server.send(
<span class="cstat-no" title="statement not covered" > data,</span> data,
<span class="cstat-no" title="statement not covered" > 0,</span> 0,
<span class="cstat-no" title="statement not covered" > data.length,</span> data.length,
<span class="cstat-no" title="statement not covered" > socket.port,</span> socket.port,
<span class="cstat-no" title="statement not covered" > socket.address,</span> socket.address,
<span class="cstat-no" title="statement not covered" > function(err, bytes) {</span> function(err, bytes) {
<span class="cstat-no" title="statement not covered" > if(err){</span> if(err)<span class="branch-0 cbranch-no" title="branch not covered" >{</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.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>
<span class="cstat-no" title="statement not covered" > 'error',</span> <span class="cstat-no" title="statement not covered" > 'error',</span>
@ -1246,9 +1246,9 @@ function startServer() {
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" > );</span> <span class="cstat-no" title="statement not covered" > );</span>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" > );</span> );
<span class="cstat-no" title="statement not covered" >}</span> }
&nbsp; &nbsp;
export { export {
Server as default, Server as default,
@ -1261,7 +1261,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -123,72 +123,72 @@
<a name='L64'></a><a href='#L64'>64</a> <a name='L64'></a><a href='#L64'>64</a>
<a name='L65'></a><a href='#L65'>65</a> <a name='L65'></a><a href='#L65'>65</a>
<a name='L66'></a><a href='#L66'>66</a> <a name='L66'></a><a href='#L66'>66</a>
<a name='L67'></a><a href='#L67'>67</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">4x</span> <a name='L67'></a><a href='#L67'>67</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</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-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import os from 'os'; <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import os from 'os';
&nbsp; &nbsp;
class Defaults{ class Defaults{
@ -262,7 +262,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -23,16 +23,16 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">88.24% </span> <span class="strong">94.12% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>30/34</span> <span class='fraction'>32/34</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">55.56% </span> <span class="strong">88.89% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>5/9</span> <span class='fraction'>8/9</span>
</div> </div>
@ -44,9 +44,9 @@
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">88.24% </span> <span class="strong">94.12% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>30/34</span> <span class='fraction'>32/34</span>
</div> </div>
@ -92,39 +92,39 @@
<a name='L33'></a><a href='#L33'>33</a> <a name='L33'></a><a href='#L33'>33</a>
<a name='L34'></a><a href='#L34'>34</a> <a name='L34'></a><a href='#L34'>34</a>
<a name='L35'></a><a href='#L35'>35</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span> <a name='L35'></a><a href='#L35'>35</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">28x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">28x</span>
<span class="cline-any cline-yes">12x</span> <span class="cline-any cline-yes">28x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">26x</span>
<span class="cline-any cline-yes">9x</span>
<span class="cline-any cline-yes">9x</span>
<span class="cline-any cline-yes">26x</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-yes">8x</span> <span class="cline-any cline-yes">26x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">26x</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">26x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">26x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">25x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">25x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">25x</span>
<span class="cline-any cline-yes">11x</span> <span class="cline-any cline-yes">25x</span>
<span class="cline-any cline-yes">11x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">11x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">11x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&nbsp; <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&nbsp;
import Defaults from './Defaults.js'; import Defaults from './Defaults.js';
&nbsp; &nbsp;
@ -137,9 +137,9 @@ class Parser{
} }
&nbsp; &nbsp;
format(message){ format(message){
if(!message.data <span class="branch-0 cbranch-no" title="branch not covered" >&amp;&amp; message.data!==false <span class="branch-0 cbranch-no" title="branch not covered" ></span>&amp;&amp; message.data!==0)<span class="branch-0 cbranch-no" title="branch not covered" ></span>{</span> if(!message.data &amp;&amp; message.data!==false &amp;&amp; message.data!==0){
<span class="cstat-no" title="statement not covered" > message.data={};</span> message.data={};
<span class="cstat-no" title="statement not covered" > }</span> }
if(message.data['_maxListeners'])<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(message.data['_maxListeners'])<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > message.data={};</span> <span class="cstat-no" title="statement not covered" > message.data={};</span>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
@ -166,7 +166,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -23,16 +23,16 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">91% </span> <span class="strong">93% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>91/100</span> <span class='fraction'>93/100</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">56.25% </span> <span class="strong">75% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>9/16</span> <span class='fraction'>12/16</span>
</div> </div>
@ -44,9 +44,9 @@
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">91% </span> <span class="strong">93% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>91/100</span> <span class='fraction'>93/100</span>
</div> </div>
@ -89,17 +89,17 @@
<tr> <tr>
<td class="file high" 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="88.24" class="pic high"> <td data-value="94.12" class="pic high">
<div class="chart"><div class="cover-fill" style="width: 88%"></div><div class="cover-empty" style="width: 12%"></div></div> <div class="chart"><div class="cover-fill" style="width: 94%"></div><div class="cover-empty" style="width: 6%"></div></div>
</td> </td>
<td data-value="88.24" class="pct high">88.24%</td> <td data-value="94.12" class="pct high">94.12%</td>
<td data-value="34" class="abs high">30/34</td> <td data-value="34" class="abs high">32/34</td>
<td data-value="55.56" class="pct medium">55.56%</td> <td data-value="88.89" class="pct high">88.89%</td>
<td data-value="9" class="abs medium">5/9</td> <td data-value="9" class="abs high">8/9</td>
<td data-value="100" class="pct high">100%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="3" class="abs high">3/3</td> <td data-value="3" class="abs high">3/3</td>
<td data-value="88.24" class="pct high">88.24%</td> <td data-value="94.12" class="pct high">94.12%</td>
<td data-value="34" class="abs high">30/34</td> <td data-value="34" class="abs high">32/34</td>
</tr> </tr>
</tbody> </tbody>
@ -110,7 +110,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -97,7 +97,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 00:17:42 GMT-0700 (Pacific Daylight Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -95,7 +95,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 00:17:42 GMT-0700 (Pacific Daylight Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -95,7 +95,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../prettify.js"></script> <script src="../prettify.js"></script>

View file

@ -81,30 +81,30 @@
<a name='L22'></a><a href='#L22'>22</a> <a name='L22'></a><a href='#L22'>22</a>
<a name='L23'></a><a href='#L23'>23</a> <a name='L23'></a><a href='#L23'>23</a>
<a name='L24'></a><a href='#L24'>24</a> <a name='L24'></a><a href='#L24'>24</a>
<a name='L25'></a><a href='#L25'>25</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">4x</span> <a name='L25'></a><a href='#L25'>25</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import IPC from './services/IPC.js'; <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import IPC from './services/IPC.js';
&nbsp; &nbsp;
class IPCModule extends IPC{ class IPCModule extends IPC{
@ -136,7 +136,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../prettify.js"></script> <script src="../prettify.js"></script>

View file

@ -23,30 +23,30 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">56.97% </span> <span class="strong">74.48% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>192/337</span> <span class='fraction'>251/337</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">51.61% </span> <span class="strong">64% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>16/31</span> <span class='fraction'>32/50</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">47.62% </span> <span class="strong">66.67% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>10/21</span> <span class='fraction'>14/21</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">56.97% </span> <span class="strong">74.48% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>192/337</span> <span class='fraction'>251/337</span>
</div> </div>
@ -395,93 +395,316 @@
<a name='L336'></a><a href='#L336'>336</a> <a name='L336'></a><a href='#L336'>336</a>
<a name='L337'></a><a href='#L337'>337</a> <a name='L337'></a><a href='#L337'>337</a>
<a name='L338'></a><a href='#L338'>338</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span> <a name='L338'></a><a href='#L338'>338</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">2x</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span> <span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">22x</span>
<span class="cline-any cline-yes">22x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">211x</span>
<span class="cline-any cline-yes">211x</span>
<span class="cline-any cline-yes">147x</span>
<span class="cline-any cline-yes">147x</span>
<span class="cline-any cline-yes">64x</span>
<span class="cline-any cline-yes">110x</span>
<span class="cline-any cline-yes">191x</span>
<span class="cline-any cline-yes">179x</span>
<span class="cline-any cline-yes">179x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">64x</span>
<span class="cline-any cline-yes">64x</span>
<span class="cline-any cline-yes">64x</span>
<span class="cline-any cline-yes">64x</span>
<span class="cline-any cline-yes">211x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">7x</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-yes">7x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</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-yes">6x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">6x</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-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">6x</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-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</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-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</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-yes">4x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</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-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</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-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</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-yes">4x</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-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">91x</span>
<span class="cline-any cline-yes">91x</span>
<span class="cline-any cline-yes">83x</span>
<span class="cline-any cline-yes">83x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">21x</span>
<span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span> <span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">91x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</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-yes">4x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</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-yes">4x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</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>
@ -493,244 +716,21 @@
<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-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">4x</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-yes">4x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">4x</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-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-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-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-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-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-no">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-yes">1x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</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-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-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span> <span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&nbsp; <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&nbsp;
import Defaults from '../entities/Defaults.js'; import Defaults from '../entities/Defaults.js';
import Client from '../dao/client.js'; import Client from '../dao/client.js';
@ -748,15 +748,15 @@ class IPC{
server=false; server=false;
&nbsp; &nbsp;
//protected methods //protected methods
<span class="fstat-no" title="function not covered" > get connectTo(){</span> get connectTo(){
<span class="cstat-no" title="statement not covered" > return connect;</span> return connect;
<span class="cstat-no" title="statement not covered" > }</span> }
get connectToNet(){ get connectToNet(){
return connectNet; return connectNet;
} }
<span class="fstat-no" title="function not covered" > get disconnect(){</span> get disconnect(){
<span class="cstat-no" title="statement not covered" > return disconnect</span> return disconnect
<span class="cstat-no" title="statement not covered" > }</span> }
get serve(){ get serve(){
return serve; return serve;
} }
@ -813,22 +813,22 @@ function log(...args){
); );
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function disconnect(id){</span></span> function disconnect(id){
<span class="cstat-no" title="statement not covered" > if(!this.of[id]){</span> if(!this.of[id])<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<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" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > this.of[id].explicitlyDisconnected=true;</span> this.of[id].explicitlyDisconnected=true;
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > this.of[id].off('*','*');</span> this.of[id].off('*','*');
<span class="cstat-no" title="statement not covered" > if(this.of[id].socket){</span> if(this.of[id].socket){
<span class="cstat-no" title="statement not covered" > if(this.of[id].socket.destroy){</span> if(this.of[id].socket.destroy){
<span class="cstat-no" title="statement not covered" > this.of[id].socket.destroy();</span> this.of[id].socket.destroy();
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > delete this.of[id];</span> delete this.of[id];
<span class="cstat-no" title="statement not covered" >}</span> }
&nbsp; &nbsp;
function serve(path,callback){ function serve(path,callback){
if(typeof path=='function'){ if(typeof path=='function'){
@ -892,11 +892,11 @@ function serveNet(host,port,UDPType,callback){
<span class="cstat-no" title="statement not covered" > host=this.config.networkHost;</span> <span class="cstat-no" title="statement not covered" > host=this.config.networkHost;</span>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
&nbsp; &nbsp;
if(typeof port=='string')<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(typeof port=='string'){
<span class="cstat-no" title="statement not covered" > callback=UDPType;</span> callback=UDPType;
<span class="cstat-no" title="statement not covered" > UDPType=port;</span> UDPType=port;
<span class="cstat-no" title="statement not covered" > port=false;</span> port=false;
<span class="cstat-no" title="statement not covered" > }</span> }
if(typeof port=='function')<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(typeof port=='function')<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<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" > UDPType=false;</span> <span class="cstat-no" title="statement not covered" > UDPType=false;</span>
@ -927,13 +927,13 @@ function serveNet(host,port,UDPType,callback){
port port
); );
&nbsp; &nbsp;
if(UDPType)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(UDPType){
<span class="cstat-no" title="statement not covered" > this.server[UDPType]=true;</span> this.server[UDPType]=true;
<span class="cstat-no" title="statement not covered" > if(UDPType === "udp4" &amp;&amp; host === "::1") {</span> if(UDPType === "udp4" &amp;&amp; host === "::1") <span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > // bind udp4 socket to an ipv4 address</span> <span class="cstat-no" title="statement not covered" > // bind udp4 socket to an ipv4 address</span>
<span class="cstat-no" title="statement not covered" > this.server.path = "127.0.0.1";</span> <span class="cstat-no" title="statement not covered" > this.server.path = "127.0.0.1";</span>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" > }</span> }
&nbsp; &nbsp;
this.server.on( this.server.on(
'start', 'start',
@ -941,34 +941,34 @@ function serveNet(host,port,UDPType,callback){
); );
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function connect(id,path,callback){</span></span> function connect(id,path,callback){
<span class="cstat-no" title="statement not covered" > if(typeof path == 'function'){</span> if(typeof path == 'function'){
<span class="cstat-no" title="statement not covered" > callback=path;</span> callback=path;
<span class="cstat-no" title="statement not covered" > path=false;</span> path=false;
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(!callback){</span> if(!callback)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > callback=emptyCallback;</span> <span class="cstat-no" title="statement not covered" > callback=emptyCallback;</span>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(!id){</span> if(!id)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > this.log(</span> <span class="cstat-no" title="statement not covered" > this.log(</span>
<span class="cstat-no" title="statement not covered" > 'Service id required',</span> <span class="cstat-no" title="statement not covered" > 'Service id required',</span>
<span class="cstat-no" title="statement not covered" > 'Requested service connection without specifying service id. Aborting connection attempt'</span> <span class="cstat-no" title="statement not covered" > 'Requested service connection without specifying service id. Aborting connection attempt'</span>
<span class="cstat-no" title="statement not covered" > );</span> <span class="cstat-no" title="statement not covered" > );</span>
<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" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(!path){</span> if(!path){
<span class="cstat-no" title="statement not covered" > this.log(</span> this.log(
<span class="cstat-no" title="statement not covered" > 'Service path not specified, so defaulting to',</span> 'Service path not specified, so defaulting to',
<span class="cstat-no" title="statement not covered" > 'ipc.config.socketRoot + ipc.config.appspace + id',</span> 'ipc.config.socketRoot + ipc.config.appspace + id',
<span class="cstat-no" title="statement not covered" > (this.config.socketRoot+this.config.appspace+id).data</span> (this.config.socketRoot+this.config.appspace+id).data
<span class="cstat-no" title="statement not covered" > );</span> );
<span class="cstat-no" title="statement not covered" > path=this.config.socketRoot+this.config.appspace+id;</span> path=this.config.socketRoot+this.config.appspace+id;
<span class="cstat-no" title="statement not covered" > }</span> }
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > if(this.of[id]){</span> if(this.of[id])<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<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>
<span class="cstat-no" title="statement not covered" > 'Already Connected to',</span> <span class="cstat-no" title="statement not covered" > 'Already Connected to',</span>
@ -980,16 +980,16 @@ function serveNet(host,port,UDPType,callback){
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<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>
<span class="cstat-no" title="statement not covered" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
<span class="cstat-no" title="statement not covered" ></span> &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].socket)? (this.of[id].socket.id=id):null;</span> (this.of[id].socket)<span class="branch-0 cbranch-no" title="branch not covered" >? (this.of[id].socket.id=id):</span>null;
<span class="cstat-no" title="statement not covered" > this.of[id].path = path;</span> this.of[id].path = path;
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > this.of[id].connect();</span> this.of[id].connect();
<span class="cstat-no" title="statement not covered" ></span> &nbsp;
<span class="cstat-no" title="statement not covered" > callback(this);</span> callback(this);
<span class="cstat-no" title="statement not covered" >}</span> }
&nbsp; &nbsp;
function connectNet(id,host,port,callback){ function connectNet(id,host,port,callback){
if(!id)<span class="branch-0 cbranch-no" title="branch not covered" >{</span> if(!id)<span class="branch-0 cbranch-no" title="branch not covered" >{</span>
@ -999,11 +999,11 @@ function connectNet(id,host,port,callback){
<span class="cstat-no" title="statement not covered" > );</span> <span class="cstat-no" title="statement not covered" > );</span>
<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" > }</span> <span class="cstat-no" title="statement not covered" > }</span>
if(typeof host=='number')<span class="branch-0 cbranch-no" title="branch not covered" >{</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" > }</span> }
if(typeof host=='function'){ if(typeof host=='function'){
callback=host; callback=host;
host=false; host=false;
@ -1075,7 +1075,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -23,30 +23,30 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">56.97% </span> <span class="strong">74.48% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>192/337</span> <span class='fraction'>251/337</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">51.61% </span> <span class="strong">64% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>16/31</span> <span class='fraction'>32/50</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">47.62% </span> <span class="strong">66.67% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>10/21</span> <span class='fraction'>14/21</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">56.97% </span> <span class="strong">74.48% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>192/337</span> <span class='fraction'>251/337</span>
</div> </div>
@ -74,17 +74,17 @@
</thead> </thead>
<tbody><tr> <tbody><tr>
<td class="file medium" 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="56.97" class="pic medium"> <td data-value="74.48" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 56%"></div><div class="cover-empty" style="width: 44%"></div></div> <div class="chart"><div class="cover-fill" style="width: 74%"></div><div class="cover-empty" style="width: 26%"></div></div>
</td> </td>
<td data-value="56.97" class="pct medium">56.97%</td> <td data-value="74.48" class="pct medium">74.48%</td>
<td data-value="337" class="abs medium">192/337</td> <td data-value="337" class="abs medium">251/337</td>
<td data-value="51.61" class="pct medium">51.61%</td> <td data-value="64" class="pct medium">64%</td>
<td data-value="31" class="abs medium">16/31</td> <td data-value="50" class="abs medium">32/50</td>
<td data-value="47.62" class="pct low">47.62%</td> <td data-value="66.67" class="pct medium">66.67%</td>
<td data-value="21" class="abs low">10/21</td> <td data-value="21" class="abs medium">14/21</td>
<td data-value="56.97" class="pct medium">56.97%</td> <td data-value="74.48" class="pct medium">74.48%</td>
<td data-value="337" class="abs medium">192/337</td> <td data-value="337" class="abs medium">251/337</td>
</tr> </tr>
</tbody> </tbody>
@ -95,7 +95,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 16:19:44 GMT+0000 (Coordinated Universal Time) at Sun Jul 04 2021 16:22:55 GMT+0000 (Coordinated Universal Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long