updates to UDP tests create issue #62

This commit is contained in:
Brandon Nozaki Miller 2016-01-10 01:30:30 -08:00
parent 3d5967ec8a
commit 829b0790f5
11 changed files with 632 additions and 581 deletions

37
npm-debug.log Normal file
View file

@ -0,0 +1,37 @@
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'cover' ]
2 info using npm@2.14.7
3 info using node@v4.2.3
4 verbose run-script [ 'precover', 'cover', 'postcover' ]
5 info precover node-ipc@5.2.0
6 info cover node-ipc@5.2.0
7 verbose unsafe-perm in lifecycle true
8 info node-ipc@5.2.0 Failed to exec cover script
9 verbose stack Error: node-ipc@5.2.0 cover: `istanbul cover -x **/spec/** -dir ./spec/coverage jasmine&& cat ./spec/coverage/lcov.info | codacy-coverage`
9 verbose stack Exit status 1
9 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:214:16)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at EventEmitter.emit (events.js:172:7)
9 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at ChildProcess.emit (events.js:172:7)
9 verbose stack at maybeClose (internal/child_process.js:818:16)
9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid node-ipc@5.2.0
11 verbose cwd /home/bmiller/git/node-ipc
12 error Linux 4.2.0-22-generic
13 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "cover"
14 error node v4.2.3
15 error npm v2.14.7
16 error code ELIFECYCLE
17 error node-ipc@5.2.0 cover: `istanbul cover -x **/spec/** -dir ./spec/coverage jasmine&& cat ./spec/coverage/lcov.info | codacy-coverage`
17 error Exit status 1
18 error Failed at the node-ipc@5.2.0 cover script 'istanbul cover -x **/spec/** -dir ./spec/coverage jasmine&& cat ./spec/coverage/lcov.info | codacy-coverage'.
18 error This is most likely a problem with the node-ipc package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error istanbul cover -x **/spec/** -dir ./spec/coverage jasmine&& cat ./spec/coverage/lcov.info | codacy-coverage
18 error You can get their info via:
18 error npm owner ls node-ipc
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

File diff suppressed because one or more lines are too long

View file

@ -20,28 +20,28 @@
</h1> </h1>
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">32.84% </span> <span class="strong">56.3% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>133/405</span> <span class='fraction'>228/405</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">17.82% </span> <span class="strong">40.59% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>36/202</span> <span class='fraction'>82/202</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">37.21% </span> <span class="strong">76.74% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>16/43</span> <span class='fraction'>33/43</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">32.84% </span> <span class="strong">56.3% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>133/405</span> <span class='fraction'>228/405</span>
</div> </div>
</div> </div>
</div> </div>
<div class='status-line low'></div> <div class='status-line medium'></div>
<div class="pad1"> <div class="pad1">
<table class="coverage-summary"> <table class="coverage-summary">
<thead> <thead>
@ -60,28 +60,28 @@
</thead> </thead>
<tbody><tr> <tbody><tr>
<td class="file low" data-value="node-ipc/"><a href="node-ipc/index.html">node-ipc/</a></td> <td class="file low" data-value="node-ipc/"><a href="node-ipc/index.html">node-ipc/</a></td>
<td data-value="29.63" class="pic low"><div class="chart"><div class="cover-fill" style="width: 29%;"></div><div class="cover-empty" style="width:71%;"></div></div></td> <td data-value="43.7" class="pic low"><div class="chart"><div class="cover-fill" style="width: 43%;"></div><div class="cover-empty" style="width:57%;"></div></div></td>
<td data-value="29.63" class="pct low">29.63%</td> <td data-value="43.7" class="pct low">43.7%</td>
<td data-value="135" class="abs low">40/135</td> <td data-value="135" class="abs low">59/135</td>
<td data-value="19.44" class="pct low">19.44%</td> <td data-value="38.89" class="pct low">38.89%</td>
<td data-value="72" class="abs low">14/72</td> <td data-value="72" class="abs low">28/72</td>
<td data-value="30" class="pct low">30%</td> <td data-value="40" class="pct low">40%</td>
<td data-value="10" class="abs low">3/10</td> <td data-value="10" class="abs low">4/10</td>
<td data-value="29.63" class="pct low">29.63%</td> <td data-value="43.7" class="pct low">43.7%</td>
<td data-value="135" class="abs low">40/135</td> <td data-value="135" class="abs low">59/135</td>
</tr> </tr>
<tr> <tr>
<td class="file low" data-value="node-ipc/lib/"><a href="node-ipc/lib/index.html">node-ipc/lib/</a></td> <td class="file medium" data-value="node-ipc/lib/"><a href="node-ipc/lib/index.html">node-ipc/lib/</a></td>
<td data-value="34.44" class="pic low"><div class="chart"><div class="cover-fill" style="width: 34%;"></div><div class="cover-empty" style="width:66%;"></div></div></td> <td data-value="62.59" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 62%;"></div><div class="cover-empty" style="width:38%;"></div></div></td>
<td data-value="34.44" class="pct low">34.44%</td> <td data-value="62.59" class="pct medium">62.59%</td>
<td data-value="270" class="abs low">93/270</td> <td data-value="270" class="abs medium">169/270</td>
<td data-value="16.92" class="pct low">16.92%</td> <td data-value="41.54" class="pct low">41.54%</td>
<td data-value="130" class="abs low">22/130</td> <td data-value="130" class="abs low">54/130</td>
<td data-value="39.39" class="pct low">39.39%</td> <td data-value="87.88" class="pct high">87.88%</td>
<td data-value="33" class="abs low">13/33</td> <td data-value="33" class="abs high">29/33</td>
<td data-value="34.44" class="pct low">34.44%</td> <td data-value="62.59" class="pct medium">62.59%</td>
<td data-value="270" class="abs low">93/270</td> <td data-value="270" class="abs medium">169/270</td>
</tr> </tr>
</tbody> </tbody>
@ -90,7 +90,7 @@
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 01:14:00 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 01:26:19 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="prettify.js"></script> <script src="prettify.js"></script>

View file

@ -20,24 +20,24 @@
</h1> </h1>
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">29.63% </span> <span class="strong">43.7% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>40/135</span> <span class='fraction'>59/135</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">19.44% </span> <span class="strong">38.89% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>14/72</span> <span class='fraction'>28/72</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">30% </span> <span class="strong">40% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>3/10</span> <span class='fraction'>4/10</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">29.63% </span> <span class="strong">43.7% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>40/135</span> <span class='fraction'>59/135</span>
</div> </div>
</div> </div>
</div> </div>
@ -60,15 +60,15 @@
</thead> </thead>
<tbody><tr> <tbody><tr>
<td class="file low" data-value="node-ipc.js"><a href="node-ipc.js.html">node-ipc.js</a></td> <td class="file low" data-value="node-ipc.js"><a href="node-ipc.js.html">node-ipc.js</a></td>
<td data-value="29.63" class="pic low"><div class="chart"><div class="cover-fill" style="width: 29%;"></div><div class="cover-empty" style="width:71%;"></div></div></td> <td data-value="43.7" class="pic low"><div class="chart"><div class="cover-fill" style="width: 43%;"></div><div class="cover-empty" style="width:57%;"></div></div></td>
<td data-value="29.63" class="pct low">29.63%</td> <td data-value="43.7" class="pct low">43.7%</td>
<td data-value="135" class="abs low">40/135</td> <td data-value="135" class="abs low">59/135</td>
<td data-value="19.44" class="pct low">19.44%</td> <td data-value="38.89" class="pct low">38.89%</td>
<td data-value="72" class="abs low">14/72</td> <td data-value="72" class="abs low">28/72</td>
<td data-value="30" class="pct low">30%</td> <td data-value="40" class="pct low">40%</td>
<td data-value="10" class="abs low">3/10</td> <td data-value="10" class="abs low">4/10</td>
<td data-value="29.63" class="pct low">29.63%</td> <td data-value="43.7" class="pct low">43.7%</td>
<td data-value="135" class="abs low">40/135</td> <td data-value="135" class="abs low">59/135</td>
</tr> </tr>
</tbody> </tbody>
@ -77,7 +77,7 @@
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 01:14:00 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 01:26:19 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="../prettify.js"></script> <script src="../prettify.js"></script>

View file

@ -415,24 +415,24 @@
<span class="cline-any cline-yes">7×</span> <span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">6×</span> <span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">6×</span> <span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-yes">3×</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-yes">3×</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-yes">3×</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span> <span class="cline-any cline-yes">4×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3×</span> <span class="cline-any cline-yes">3×</span>
@ -503,11 +503,11 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">5×</span> <span class="cline-any cline-yes">6×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">5×</span> <span class="cline-any cline-yes">6×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -754,7 +754,7 @@ module.exports=init;
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 01:14:00 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 01:26:19 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -73,21 +73,21 @@
28</td><td class="line-coverage quiet"><span class="cline-any cline-yes">1×</span> 28</td><td class="line-coverage quiet"><span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">6×</span> <span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">6×</span> <span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">6×</span> <span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-yes">6×</span> <span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">6×</span> <span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-yes">6×</span> <span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-yes">6×</span> <span class="cline-any cline-yes">7×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
@ -130,7 +130,7 @@ module.exports=parser;
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 01:14:00 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 01:26:19 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -20,28 +20,28 @@
</h1> </h1>
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">34.44% </span> <span class="strong">62.59% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>93/270</span> <span class='fraction'>169/270</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">16.92% </span> <span class="strong">41.54% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>22/130</span> <span class='fraction'>54/130</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">39.39% </span> <span class="strong">87.88% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>13/33</span> <span class='fraction'>29/33</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">34.44% </span> <span class="strong">62.59% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>93/270</span> <span class='fraction'>169/270</span>
</div> </div>
</div> </div>
</div> </div>
<div class='status-line low'></div> <div class='status-line medium'></div>
<div class="pad1"> <div class="pad1">
<table class="coverage-summary"> <table class="coverage-summary">
<thead> <thead>
@ -85,16 +85,16 @@
</tr> </tr>
<tr> <tr>
<td class="file low" data-value="socketServer.js"><a href="socketServer.js.html">socketServer.js</a></td> <td class="file medium" data-value="socketServer.js"><a href="socketServer.js.html">socketServer.js</a></td>
<td data-value="5.26" class="pic low"><div class="chart"><div class="cover-fill" style="width: 5%;"></div><div class="cover-empty" style="width:95%;"></div></div></td> <td data-value="55.26" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 55%;"></div><div class="cover-empty" style="width:45%;"></div></div></td>
<td data-value="5.26" class="pct low">5.26%</td> <td data-value="55.26" class="pct medium">55.26%</td>
<td data-value="152" class="abs low">8/152</td> <td data-value="152" class="abs medium">84/152</td>
<td data-value="0" class="pct low">0%</td> <td data-value="38.1" class="pct low">38.1%</td>
<td data-value="84" class="abs low">0/84</td> <td data-value="84" class="abs low">32/84</td>
<td data-value="0" class="pct low">0%</td> <td data-value="80" class="pct high">80%</td>
<td data-value="20" class="abs low">0/20</td> <td data-value="20" class="abs high">16/20</td>
<td data-value="5.26" class="pct low">5.26%</td> <td data-value="55.26" class="pct medium">55.26%</td>
<td data-value="152" class="abs low">8/152</td> <td data-value="152" class="abs medium">84/152</td>
</tr> </tr>
</tbody> </tbody>
@ -103,7 +103,7 @@
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 01:14:00 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 01:26:19 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -20,28 +20,28 @@
</h1> </h1>
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">5.26% </span> <span class="strong">55.26% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>8/152</span> <span class='fraction'>84/152</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">0% </span> <span class="strong">38.1% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>0/84</span> <span class='fraction'>32/84</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">0% </span> <span class="strong">80% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>0/20</span> <span class='fraction'>16/20</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">5.26% </span> <span class="strong">55.26% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>8/152</span> <span class='fraction'>84/152</span>
</div> </div>
</div> </div>
</div> </div>
<div class='status-line low'></div> <div class='status-line medium'></div>
<pre><table class="coverage"> <pre><table class="coverage">
<tr><td class="line-count quiet">1 <tr><td class="line-count quiet">1
2 2
@ -416,31 +416,31 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
@ -470,7 +470,7 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -482,28 +482,28 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -541,30 +541,15 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -574,7 +559,22 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
@ -586,26 +586,26 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
@ -614,11 +614,11 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -628,70 +628,70 @@
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
@ -707,16 +707,7 @@
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -726,6 +717,13 @@
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -736,38 +734,40 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
@ -779,32 +779,32 @@
pubsub = require('event-pubsub'), pubsub = require('event-pubsub'),
Message = require('js-message'); Message = require('js-message');
&nbsp; &nbsp;
<span class="fstat-no" title="function not covered" >function emit(socket, type, data){</span> function emit(socket, type, data){
<span class="cstat-no" title="statement not covered" > this.log('dispatching event to socket'.debug, ' : ', type.data, data);</span> this.log('dispatching event to socket'.debug, ' : ', type.data, data);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > var message=new Message;</span> var message=new Message;
<span class="cstat-no" title="statement not covered" > message.type=type;</span> message.type=type;
<span class="cstat-no" title="statement not covered" > message.data=data;</span> message.data=data;
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(this.config.rawBuffer){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(this.config.rawBuffer){
<span class="cstat-no" title="statement not covered" > message=new Buffer(type,this.encoding);</span> <span class="cstat-no" title="statement not covered" > message=new Buffer(type,this.encoding);</span>
}else{ }else{
<span class="cstat-no" title="statement not covered" > message=eventParser.format(message);</span> message=eventParser.format(message);
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(this.udp4 || this.udp6){</span> <span class="missing-if-branch" title="else path not taken" >E</span>if(this.udp4 || <span class="branch-1 cbranch-no" title="branch not covered" >this.udp6)</span>{
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(!socket.address || !socket.port){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(!socket.address || !socket.port){
<span class="cstat-no" title="statement not covered" > this.log('Attempting to emit to a single UDP socket without supplying socket address or port. Redispatching event as broadcast to all connected sockets');</span> <span class="cstat-no" title="statement not covered" > this.log('Attempting to emit to a single UDP socket without supplying socket address or port. Redispatching event as broadcast to all connected sockets');</span>
<span class="cstat-no" title="statement not covered" > this.broadcast(type,data);</span> <span class="cstat-no" title="statement not covered" > this.broadcast(type,data);</span>
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.server.write(</span> this.server.write(
message, message,
socket socket
); );
<span class="cstat-no" title="statement not covered" > return;</span> return;
}; };
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > socket.write(message);</span> <span class="cstat-no" title="statement not covered" > socket.write(message);</span>
@ -833,8 +833,8 @@
} }
}; };
&nbsp; &nbsp;
<span class="fstat-no" title="function not covered" >function init(path,config,log,port){</span> function init(path,config,log,port){
<span class="cstat-no" title="statement not covered" > var server={</span> var server={
config : config, config : config,
path : path, path : path,
port : port, port : port,
@ -845,29 +845,29 @@
sockets : [], sockets : [],
emit : emit, emit : emit,
broadcast : broadcast, broadcast : broadcast,
onStart : <span class="fstat-no" title="function not covered" >function(socket){</span> onStart : function(socket){
<span class="cstat-no" title="statement not covered" > this.trigger(</span> this.trigger(
'start', 'start',
socket socket
); );
}, },
stop:<span class="fstat-no" title="function not covered" >function(){</span> stop:function(){
<span class="cstat-no" title="statement not covered" > server.server.close();</span> server.server.close();
}, },
start : <span class="fstat-no" title="function not covered" >function(){</span> start : function(){
<span class="cstat-no" title="statement not covered" > if(!this.path){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(!this.path){
<span class="cstat-no" title="statement not covered" > server.log('Socket Server Path not specified, refusing to start'.warn);</span> <span class="cstat-no" title="statement not covered" > server.log('Socket Server Path not specified, refusing to start'.warn);</span>
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > fs.unlink(</span> fs.unlink(
this.path, this.path,
( (
<span class="fstat-no" title="function not covered" > function(server){</span> function(server){
<span class="cstat-no" title="statement not covered" > return <span class="fstat-no" title="function not covered" >function () {</span></span> return function () {
<span class="cstat-no" title="statement not covered" > server.log('starting server on '.debug,server.path.variable,((server.port)?':'+server.port:'').variable);</span> server.log('starting server on '.debug,server.path.variable,((server.port)?':'+server.port:<span class="branch-1 cbranch-no" title="branch not covered" >'')</span>.variable);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(!server.udp4 &amp;&amp; !server.udp6){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(!server.udp4 &amp;&amp; <span class="branch-1 cbranch-no" title="branch not covered" >!server.udp6)</span>{
<span class="cstat-no" title="statement not covered" > if(!server.config.tls){</span> <span class="cstat-no" title="statement not covered" > if(!server.config.tls){</span>
<span class="cstat-no" title="statement not covered" > server.server=net.createServer(</span> <span class="cstat-no" title="statement not covered" > server.server=net.createServer(</span>
serverCreated serverCreated
@ -904,16 +904,16 @@
); );
} }
}else{ }else{
<span class="fstat-no" title="function not covered" > function UDPWrite(message,socket){</span> function UDPWrite(message,socket){
<span class="cstat-no" title="statement not covered" > var data=new Buffer(message, server.config.encoding);</span> var data=new Buffer(message, server.config.encoding);
<span class="cstat-no" title="statement not covered" > server.server.send(</span> server.server.send(
data, data,
0, 0,
data.length, data.length,
socket.port, socket.port,
socket.address, socket.address,
<span class="fstat-no" title="function not covered" > function(err, bytes) {</span> function(err, bytes) {
<span class="cstat-no" title="statement not covered" > if(err){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(err){
<span class="cstat-no" title="statement not covered" > server.log('error writing data to socket'.warn,err);</span> <span class="cstat-no" title="statement not covered" > server.log('error writing data to socket'.warn,err);</span>
<span class="cstat-no" title="statement not covered" > server.trigger(</span> <span class="cstat-no" title="statement not covered" > server.trigger(</span>
'error', 'error',
@ -926,19 +926,19 @@
); );
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > server.server=dgram.createSocket(</span> server.server=dgram.createSocket(
((server.udp4)? 'udp4':'udp6') ((server.udp4)? 'udp4':<span class="branch-1 cbranch-no" title="branch not covered" >'udp6')</span>
); );
<span class="cstat-no" title="statement not covered" > server.server.write=UDPWrite;</span> server.server.write=UDPWrite;
<span class="cstat-no" title="statement not covered" > server.server.on(</span> server.server.on(
'listening', 'listening',
<span class="fstat-no" title="function not covered" > function () {</span> function () {
<span class="cstat-no" title="statement not covered" > serverCreated(server.server)</span> serverCreated(server.server)
} }
); );
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > server.server.on(</span> server.server.on(
'error', 'error',
<span class="fstat-no" title="function not covered" > function(err){</span> <span class="fstat-no" title="function not covered" > function(err){</span>
<span class="cstat-no" title="statement not covered" > server.log('server error'.warn,err);</span> <span class="cstat-no" title="statement not covered" > server.log('server error'.warn,err);</span>
@ -950,26 +950,26 @@
} }
); );
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > server.server.maxConnections=server.config.maxConnections;</span> server.server.maxConnections=server.config.maxConnections;
&nbsp; &nbsp;
<span class="fstat-no" title="function not covered" > function serverCreated(socket) {</span> function serverCreated(socket) {
<span class="cstat-no" title="statement not covered" > server.sockets.push(socket);</span> server.sockets.push(socket);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(socket.setEncoding)</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(socket.setEncoding)
<span class="cstat-no" title="statement not covered" > socket.setEncoding(server.config.encoding);</span> <span class="cstat-no" title="statement not covered" > socket.setEncoding(server.config.encoding);</span>
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > server.log('## socket connection to server detected ##'.rainbow);</span> server.log('## socket connection to server detected ##'.rainbow);
<span class="cstat-no" title="statement not covered" > socket.on(</span> socket.on(
'close', 'close',
<span class="fstat-no" title="function not covered" > function(socket){</span> function(socket){
<span class="cstat-no" title="statement not covered" > server.trigger(</span> server.trigger(
'close', 'close',
socket socket
); );
} }
); );
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > socket.on(</span> socket.on(
'error', 'error',
<span class="fstat-no" title="function not covered" > function(err){</span> <span class="fstat-no" title="function not covered" > function(err){</span>
<span class="cstat-no" title="statement not covered" > server.log('server socket error'.warn,err);</span> <span class="cstat-no" title="statement not covered" > server.log('server socket error'.warn,err);</span>
@ -978,11 +978,11 @@
} }
); );
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > socket.on(</span> socket.on(
'data', 'data',
<span class="fstat-no" title="function not covered" > function(data,UDPSocket){</span> function(data,UDPSocket){
<span class="cstat-no" title="statement not covered" > var sock=((server.udp4 || server.udp6)? UDPSocket : socket);</span> var sock=((server.udp4 || <span class="branch-1 cbranch-no" title="branch not covered" >server.udp6)</span>? UDPSocket : <span class="branch-1 cbranch-no" title="branch not covered" >socket)</span>;
<span class="cstat-no" title="statement not covered" > if(server.config.rawBuffer){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(server.config.rawBuffer){
<span class="cstat-no" title="statement not covered" > data=new Buffer(data,this.encoding);</span> <span class="cstat-no" title="statement not covered" > data=new Buffer(data,this.encoding);</span>
<span class="cstat-no" title="statement not covered" > server.trigger(</span> <span class="cstat-no" title="statement not covered" > server.trigger(</span>
'data', 'data',
@ -992,30 +992,30 @@
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(!this.ipcBuffer)</span> <span class="missing-if-branch" title="else path not taken" >E</span>if(!this.ipcBuffer)
<span class="cstat-no" title="statement not covered" > this.ipcBuffer='';</span> this.ipcBuffer='';
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > data=(this.ipcBuffer+=data);</span> data=(this.ipcBuffer+=data);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(data.slice(-1)!=eventParser.delimiter || data.indexOf(eventParser.delimiter) == -1){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(data.slice(-1)!=eventParser.delimiter || data.indexOf(eventParser.delimiter) == -1){
<span class="cstat-no" title="statement not covered" > server.log('Implementing larger buffer for this socket message. You may want to consider smaller messages'.notice);</span> <span class="cstat-no" title="statement not covered" > server.log('Implementing larger buffer for this socket message. You may want to consider smaller messages'.notice);</span>
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > this.ipcBuffer='';</span> this.ipcBuffer='';
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > data=eventParser.parse(data);</span> data=eventParser.parse(data);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > while(data.length&gt;0){</span> while(data.length&gt;0){
<span class="cstat-no" title="statement not covered" > var message=new Message;</span> var message=new Message;
<span class="cstat-no" title="statement not covered" > message.load(data.shift());</span> message.load(data.shift());
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > server.log('received event of : '.debug,message.type.data,message.data);</span> server.log('received event of : '.debug,message.type.data,message.data);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(message.data.id)</span> <span class="missing-if-branch" title="else path not taken" >E</span>if(message.data.id)
<span class="cstat-no" title="statement not covered" > sock.id=message.data.id;</span> sock.id=message.data.id;
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > server.trigger(</span> server.trigger(
message.type, message.type,
message.data, message.data,
sock sock
@ -1024,38 +1024,38 @@
} }
); );
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > socket.on(</span> socket.on(
'message', 'message',
<span class="fstat-no" title="function not covered" > function(msg,rinfo) {</span> function(msg,rinfo) {
<span class="cstat-no" title="statement not covered" > if (!rinfo)</span> <span class="missing-if-branch" title="if path not taken" >I</span>if (!rinfo)
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
<span class="cstat-no" title="statement not covered" > server.log('Received UDP message from '.debug, rinfo.address.variable, rinfo.port);</span> server.log('Received UDP message from '.debug, rinfo.address.variable, rinfo.port);
<span class="cstat-no" title="statement not covered" > var data;</span> var data;
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(server.config.rawSocket){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(server.config.rawSocket){
<span class="cstat-no" title="statement not covered" > data=new Buffer(msg,this.encoding);</span> <span class="cstat-no" title="statement not covered" > data=new Buffer(msg,this.encoding);</span>
}else{ }else{
<span class="cstat-no" title="statement not covered" > data=msg.toString();</span> data=msg.toString();
} }
<span class="cstat-no" title="statement not covered" > socket.emit('data',data,rinfo);</span> socket.emit('data',data,rinfo);
} }
); );
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > server.trigger(</span> server.trigger(
'connect', 'connect',
socket socket
); );
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(server.config.rawBuffer){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(server.config.rawBuffer){
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
} }
} }
&nbsp; &nbsp;
<span class="fstat-no" title="function not covered" > function started(socket){</span> function started(socket){
<span class="cstat-no" title="statement not covered" > server.onStart(socket)</span> server.onStart(socket)
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(!port){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(!port){
<span class="cstat-no" title="statement not covered" > server.log('starting server as'.debug, 'Unix || Windows Socket'.variable);</span> <span class="cstat-no" title="statement not covered" > server.log('starting server as'.debug, 'Unix || Windows Socket'.variable);</span>
<span class="cstat-no" title="statement not covered" > if (process.platform ==='win32'){</span> <span class="cstat-no" title="statement not covered" > if (process.platform ==='win32'){</span>
<span class="cstat-no" title="statement not covered" > server.path = server.path.replace(/^\//, '');</span> <span class="cstat-no" title="statement not covered" > server.path = server.path.replace(/^\//, '');</span>
@ -1071,7 +1071,7 @@
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(!server.udp4 &amp;&amp; !server.udp6){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(!server.udp4 &amp;&amp; <span class="branch-1 cbranch-no" title="branch not covered" >!server.udp6)</span>{
<span class="cstat-no" title="statement not covered" > server.log('starting server as'.debug, (server.config.tls?'TLS':'TCP').variable);</span> <span class="cstat-no" title="statement not covered" > server.log('starting server as'.debug, (server.config.tls?'TLS':'TCP').variable);</span>
<span class="cstat-no" title="statement not covered" > server.server.listen(</span> <span class="cstat-no" title="statement not covered" > server.server.listen(</span>
server.port, server.port,
@ -1081,13 +1081,13 @@
<span class="cstat-no" title="statement not covered" > return;</span> <span class="cstat-no" title="statement not covered" > return;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > server.log('starting server as'.debug,((server.udp4)? 'udp4':'udp6').variable);</span> server.log('starting server as'.debug,((server.udp4)? 'udp4':<span class="branch-1 cbranch-no" title="branch not covered" >'udp6')</span>.variable);
<span class="cstat-no" title="statement not covered" > server.server.bind(</span> server.server.bind(
server.port, server.port,
server.path server.path
); );
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > started(</span> started(
{ {
address : server.path, address : server.path,
port : server.port port : server.port
@ -1100,27 +1100,27 @@
} }
}; };
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > new pubsub(server);</span> new pubsub(server);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > server.on(</span> server.on(
'close', 'close',
<span class="fstat-no" title="function not covered" > function(){</span> function(){
<span class="cstat-no" title="statement not covered" > for(var i=0, count=server.sockets.length; i&lt;count; i++){</span> for(var i=0, count=server.sockets.length; i&lt;count; i++){
<span class="cstat-no" title="statement not covered" > var socket=server.sockets[i];</span> var socket=server.sockets[i];
<span class="cstat-no" title="statement not covered" > var destroyedSocketId=false;</span> var destroyedSocketId=false;
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(socket){</span> <span class="missing-if-branch" title="else path not taken" >E</span>if(socket){
<span class="cstat-no" title="statement not covered" > if(socket.readable)</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(socket.readable)
<span class="cstat-no" title="statement not covered" > continue;</span> <span class="cstat-no" title="statement not covered" > continue;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(socket.id)</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(socket.id)
<span class="cstat-no" title="statement not covered" > destroyedSocketId=socket.id;</span> <span class="cstat-no" title="statement not covered" > destroyedSocketId=socket.id;</span>
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > server.log('socket disconnected'.notice,' '+destroyedSocketId.variable);</span> server.log('socket disconnected'.notice,' '+destroyedSocketId.variable);
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(socket)</span> <span class="missing-if-branch" title="else path not taken" >E</span>if(socket)
<span class="cstat-no" title="statement not covered" > socket.destroy();</span> socket.destroy();
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > server.sockets.splice(i,1);</span> <span class="cstat-no" title="statement not covered" > server.sockets.splice(i,1);</span>
&nbsp; &nbsp;
@ -1131,7 +1131,7 @@
} }
); );
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > return server;</span> return server;
} }
&nbsp; &nbsp;
module.exports=init; module.exports=init;
@ -1141,7 +1141,7 @@ module.exports=init;
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 01:14:00 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 01:26:19 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -20,24 +20,24 @@
</h1> </h1>
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">29.63% </span> <span class="strong">43.7% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>40/135</span> <span class='fraction'>59/135</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">19.44% </span> <span class="strong">38.89% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>14/72</span> <span class='fraction'>28/72</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">30% </span> <span class="strong">40% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>3/10</span> <span class='fraction'>4/10</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">29.63% </span> <span class="strong">43.7% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>40/135</span> <span class='fraction'>59/135</span>
</div> </div>
</div> </div>
</div> </div>
@ -415,21 +415,21 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">55×</span> <span class="cline-any cline-yes">65×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">55×</span> <span class="cline-any cline-yes">65×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">55×</span> <span class="cline-any cline-yes">65×</span>
<span class="cline-any cline-yes">177×</span> <span class="cline-any cline-yes">205×</span>
<span class="cline-any cline-yes">160×</span> <span class="cline-any cline-yes">186×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">17×</span> <span class="cline-any cline-yes">19×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">55×</span> <span class="cline-any cline-yes">65×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -482,44 +482,44 @@
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -528,27 +528,27 @@
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span> <span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span>
@ -797,45 +797,45 @@ function disconnect(id){
); );
} }
&nbsp; &nbsp;
<span class="fstat-no" title="function not covered" >function serveNet(host,port,UDPType,callback){</span> function serveNet(host,port,UDPType,callback){
<span class="cstat-no" title="statement not covered" > if(typeof host=='number'){</span> if(typeof host=='number'){
<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=host;</span> port=host;
<span class="cstat-no" title="statement not covered" > host=false;</span> host=false;
} }
<span class="cstat-no" title="statement not covered" > if(typeof host=='function'){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(typeof host=='function'){
<span class="cstat-no" title="statement not covered" > callback=host;</span> <span class="cstat-no" title="statement not covered" > callback=host;</span>
<span class="cstat-no" title="statement not covered" > UDPType=false;</span> <span class="cstat-no" title="statement not covered" > UDPType=false;</span>
<span class="cstat-no" title="statement not covered" > host=false;</span> <span class="cstat-no" title="statement not covered" > host=false;</span>
<span class="cstat-no" title="statement not covered" > port=false;</span> <span class="cstat-no" title="statement not covered" > port=false;</span>
} }
<span class="cstat-no" title="statement not covered" > if(!host){</span> if(!host){
<span class="cstat-no" title="statement not covered" > ipc.log(</span> ipc.log(
'Server host not specified, so defaulting to'.notice, 'Server host not specified, so defaulting to'.notice,
'ipc.config.networkHost'.variable, 'ipc.config.networkHost'.variable,
ipc.config.networkHost.data ipc.config.networkHost.data
); );
<span class="cstat-no" title="statement not covered" > host=ipc.config.networkHost;</span> host=ipc.config.networkHost;
} }
<span class="cstat-no" title="statement not covered" > if(host.toLowerCase()=='udp4' || host.toLowerCase()=='udp6'){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(host.toLowerCase()=='udp4' || host.toLowerCase()=='udp6'){
<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=host.toLowerCase();</span> <span class="cstat-no" title="statement not covered" > UDPType=host.toLowerCase();</span>
<span class="cstat-no" title="statement not covered" > port=false;</span> <span class="cstat-no" title="statement not covered" > port=false;</span>
<span class="cstat-no" title="statement not covered" > host=ipc.config.networkHost;</span> <span class="cstat-no" title="statement not covered" > host=ipc.config.networkHost;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(typeof port=='string'){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(typeof port=='string'){
<span class="cstat-no" title="statement not covered" > callback=UDPType;</span> <span class="cstat-no" title="statement not covered" > callback=UDPType;</span>
<span class="cstat-no" title="statement not covered" > UDPType=port;</span> <span class="cstat-no" title="statement not covered" > UDPType=port;</span>
<span class="cstat-no" title="statement not covered" > port=false;</span> <span class="cstat-no" title="statement not covered" > port=false;</span>
} }
<span class="cstat-no" title="statement not covered" > if(typeof port=='function'){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(typeof port=='function'){
<span class="cstat-no" title="statement not covered" > callback=port;</span> <span class="cstat-no" title="statement not covered" > callback=port;</span>
<span class="cstat-no" title="statement not covered" > UDPType=false;</span> <span class="cstat-no" title="statement not covered" > UDPType=false;</span>
<span class="cstat-no" title="statement not covered" > port=false;</span> <span class="cstat-no" title="statement not covered" > port=false;</span>
} }
<span class="cstat-no" title="statement not covered" > if(!port){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(!port){
<span class="cstat-no" title="statement not covered" > ipc.log(</span> <span class="cstat-no" title="statement not covered" > ipc.log(</span>
'Server port not specified, so defaulting to'.notice, 'Server port not specified, so defaulting to'.notice,
'ipc.config.networkPort'.variable, 'ipc.config.networkPort'.variable,
@ -844,27 +844,27 @@ function disconnect(id){
<span class="cstat-no" title="statement not covered" > port=ipc.config.networkPort;</span> <span class="cstat-no" title="statement not covered" > port=ipc.config.networkPort;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(typeof UDPType=='function'){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(typeof UDPType=='function'){
<span class="cstat-no" title="statement not covered" > callback=UDPType;</span> <span class="cstat-no" title="statement not covered" > callback=UDPType;</span>
<span class="cstat-no" title="statement not covered" > UDPType=false;</span> <span class="cstat-no" title="statement not covered" > UDPType=false;</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(!callback){</span> <span class="missing-if-branch" title="if path not taken" >I</span>if(!callback){
<span class="cstat-no" title="statement not covered" > callback=<span class="fstat-no" title="function not covered" >function(){</span>};</span> <span class="cstat-no" title="statement not covered" > callback=<span class="fstat-no" title="function not covered" >function(){</span>};</span>
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > ipc.server=new Server(</span> ipc.server=new Server(
host, host,
ipc.config, ipc.config,
log, log,
port port
); );
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > if(UDPType){</span> <span class="missing-if-branch" title="else path not taken" >E</span>if(UDPType){
<span class="cstat-no" title="statement not covered" > ipc.server[UDPType]=true;</span> ipc.server[UDPType]=true;
} }
&nbsp; &nbsp;
<span class="cstat-no" title="statement not covered" > ipc.server.on(</span> ipc.server.on(
'start', 'start',
callback callback
); );
@ -997,7 +997,7 @@ module.exports=ipc;
</div><!-- /wrapper --> </div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 01:14:00 GMT-0800 (PST) generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jan 10 2016 01:26:19 GMT-0800 (PST)
</div> </div>
</div> </div>
<script src="../prettify.js"></script> <script src="../prettify.js"></script>

View file

@ -11,12 +11,12 @@ FN:203,(anonymous_8)
FN:245,connectNet FN:245,connectNet
FN:290,(anonymous_10) FN:290,(anonymous_10)
FNF:10 FNF:10
FNH:3 FNH:4
FNDA:55,log FNDA:65,log
FNDA:4,disconnect FNDA:4,disconnect
FNDA:0,serve FNDA:0,serve
FNDA:0,(anonymous_4) FNDA:0,(anonymous_4)
FNDA:0,serveNet FNDA:2,serveNet
FNDA:0,(anonymous_6) FNDA:0,(anonymous_6)
FNDA:4,connect FNDA:4,connect
FNDA:0,(anonymous_8) FNDA:0,(anonymous_8)
@ -28,14 +28,14 @@ DA:22,1
DA:26,1 DA:26,1
DA:44,1 DA:44,1
DA:56,1 DA:56,1
DA:57,55 DA:57,65
DA:58,0 DA:58,0
DA:61,55 DA:61,65
DA:63,55 DA:63,65
DA:64,177 DA:64,205
DA:65,160 DA:65,186
DA:68,17 DA:68,19
DA:71,55 DA:71,65
DA:76,1 DA:76,1
DA:77,4 DA:77,4
DA:78,0 DA:78,0
@ -57,44 +57,44 @@ DA:108,0
DA:111,0 DA:111,0
DA:117,0 DA:117,0
DA:123,1 DA:123,1
DA:124,0 DA:124,2
DA:125,0 DA:125,1
DA:126,0 DA:126,1
DA:127,0 DA:127,1
DA:128,0 DA:128,1
DA:130,0 DA:130,2
DA:131,0 DA:131,0
DA:132,0 DA:132,0
DA:133,0 DA:133,0
DA:134,0 DA:134,0
DA:136,0 DA:136,2
DA:137,0 DA:137,1
DA:142,0 DA:142,1
DA:144,0 DA:144,2
DA:145,0 DA:145,0
DA:146,0 DA:146,0
DA:147,0 DA:147,0
DA:148,0 DA:148,0
DA:151,0 DA:151,2
DA:152,0 DA:152,0
DA:153,0 DA:153,0
DA:154,0 DA:154,0
DA:156,0 DA:156,2
DA:157,0 DA:157,0
DA:158,0 DA:158,0
DA:159,0 DA:159,0
DA:161,0 DA:161,2
DA:162,0 DA:162,0
DA:167,0 DA:167,0
DA:170,0 DA:170,2
DA:171,0 DA:171,0
DA:172,0 DA:172,0
DA:175,0 DA:175,2
DA:176,0 DA:176,0
DA:179,0 DA:179,2
DA:186,0 DA:186,2
DA:187,0 DA:187,2
DA:190,0 DA:190,2
DA:196,1 DA:196,1
DA:197,4 DA:197,4
DA:198,2 DA:198,2
@ -158,13 +158,13 @@ DA:311,0
DA:313,0 DA:313,0
DA:316,1 DA:316,1
LF:135 LF:135
LH:40 LH:59
BRDA:29,1,0,0 BRDA:29,1,0,0
BRDA:29,1,1,1 BRDA:29,1,1,1
BRDA:57,2,0,0 BRDA:57,2,0,0
BRDA:57,2,1,55 BRDA:57,2,1,65
BRDA:64,3,0,160 BRDA:64,3,0,186
BRDA:64,3,1,17 BRDA:64,3,1,19
BRDA:77,4,0,0 BRDA:77,4,0,0
BRDA:77,4,1,4 BRDA:77,4,1,4
BRDA:84,5,0,4 BRDA:84,5,0,4
@ -177,27 +177,27 @@ BRDA:98,8,0,0
BRDA:98,8,1,0 BRDA:98,8,1,0
BRDA:107,9,0,0 BRDA:107,9,0,0
BRDA:107,9,1,0 BRDA:107,9,1,0
BRDA:124,10,0,0 BRDA:124,10,0,1
BRDA:124,10,1,0 BRDA:124,10,1,1
BRDA:130,11,0,0 BRDA:130,11,0,0
BRDA:130,11,1,0 BRDA:130,11,1,2
BRDA:136,12,0,0 BRDA:136,12,0,1
BRDA:136,12,1,0 BRDA:136,12,1,1
BRDA:144,13,0,0 BRDA:144,13,0,0
BRDA:144,13,1,0 BRDA:144,13,1,2
BRDA:144,14,0,0 BRDA:144,14,0,2
BRDA:144,14,1,0 BRDA:144,14,1,2
BRDA:151,15,0,0 BRDA:151,15,0,0
BRDA:151,15,1,0 BRDA:151,15,1,2
BRDA:156,16,0,0 BRDA:156,16,0,0
BRDA:156,16,1,0 BRDA:156,16,1,2
BRDA:161,17,0,0 BRDA:161,17,0,0
BRDA:161,17,1,0 BRDA:161,17,1,2
BRDA:170,18,0,0 BRDA:170,18,0,0
BRDA:170,18,1,0 BRDA:170,18,1,2
BRDA:175,19,0,0 BRDA:175,19,0,0
BRDA:175,19,1,0 BRDA:175,19,1,2
BRDA:186,20,0,0 BRDA:186,20,0,2
BRDA:186,20,1,0 BRDA:186,20,1,0
BRDA:197,21,0,2 BRDA:197,21,0,2
BRDA:197,21,1,2 BRDA:197,21,1,2
@ -232,7 +232,7 @@ BRDA:293,35,1,0
BRDA:294,36,0,0 BRDA:294,36,0,0
BRDA:294,36,1,0 BRDA:294,36,1,0
BRF:72 BRF:72
BRH:14 BRH:28
end_of_record end_of_record
TN: TN:
SF:/home/bmiller/git/node-ipc/lib/eventParser.js SF:/home/bmiller/git/node-ipc/lib/eventParser.js
@ -240,28 +240,28 @@ FN:3,formatData
FN:15,parseDataEvents FN:15,parseDataEvents
FNF:2 FNF:2
FNH:2 FNH:2
FNDA:6,formatData FNDA:7,formatData
FNDA:6,parseDataEvents FNDA:7,parseDataEvents
DA:1,1 DA:1,1
DA:3,1 DA:3,1
DA:4,6 DA:4,7
DA:5,0 DA:5,0
DA:7,6 DA:7,7
DA:8,0 DA:8,0
DA:11,6 DA:11,7
DA:12,6 DA:12,7
DA:15,1 DA:15,1
DA:16,6 DA:16,7
DA:17,6 DA:17,7
DA:18,6 DA:18,7
DA:21,1 DA:21,1
DA:27,1 DA:27,1
LF:14 LF:14
LH:12 LH:12
BRDA:4,1,0,0 BRDA:4,1,0,0
BRDA:4,1,1,6 BRDA:4,1,1,7
BRDA:7,2,0,0 BRDA:7,2,0,0
BRDA:7,2,1,6 BRDA:7,2,1,7
BRF:4 BRF:4
BRH:2 BRH:2
end_of_record end_of_record
@ -286,7 +286,7 @@ FNDA:5,syncEmit
FNDA:7,connect FNDA:7,connect
FNDA:5,(anonymous_5) FNDA:5,(anonymous_5)
FNDA:2,(anonymous_6) FNDA:2,(anonymous_6)
FNDA:6,(anonymous_7) FNDA:7,(anonymous_7)
FNDA:3,(anonymous_8) FNDA:3,(anonymous_8)
FNDA:3,(anonymous_9) FNDA:3,(anonymous_9)
FNDA:3,(anonymous_10) FNDA:3,(anonymous_10)
@ -351,14 +351,14 @@ DA:129,2
DA:130,2 DA:130,2
DA:131,2 DA:131,2
DA:135,7 DA:135,7
DA:138,6 DA:138,7
DA:140,6 DA:140,7
DA:144,3 DA:144,4
DA:145,3 DA:145,4
DA:151,3 DA:151,4
DA:152,3 DA:152,4
DA:153,3 DA:153,4
DA:155,3 DA:155,4
DA:158,3 DA:158,3
DA:160,3 DA:160,3
DA:163,3 DA:163,3
@ -391,9 +391,9 @@ DA:216,6
DA:217,6 DA:217,6
DA:219,6 DA:219,6
DA:220,6 DA:220,6
DA:226,5 DA:226,6
DA:227,0 DA:227,0
DA:230,5 DA:230,6
DA:235,1 DA:235,1
LF:104 LF:104
LH:73 LH:73
@ -421,9 +421,9 @@ BRDA:94,11,0,0
BRDA:94,11,1,0 BRDA:94,11,1,0
BRDA:95,12,0,0 BRDA:95,12,0,0
BRDA:95,12,1,0 BRDA:95,12,1,0
BRDA:140,13,0,3 BRDA:140,13,0,4
BRDA:140,13,1,3 BRDA:140,13,1,3
BRDA:141,14,0,6 BRDA:141,14,0,7
BRDA:141,14,1,4 BRDA:141,14,1,4
BRDA:169,15,0,1 BRDA:169,15,0,1
BRDA:169,15,1,2 BRDA:169,15,1,2
@ -438,7 +438,7 @@ BRDA:206,19,1,6
BRDA:206,20,0,6 BRDA:206,20,0,6
BRDA:206,20,1,6 BRDA:206,20,1,6
BRDA:226,21,0,0 BRDA:226,21,0,0
BRDA:226,21,1,5 BRDA:226,21,1,6
BRF:42 BRF:42
BRH:20 BRH:20
end_of_record end_of_record
@ -465,43 +465,43 @@ FN:256,(anonymous_18)
FN:281,started FN:281,started
FN:334,(anonymous_20) FN:334,(anonymous_20)
FNF:20 FNF:20
FNH:0 FNH:16
FNDA:0,emit FNDA:1,emit
FNDA:0,broadcast FNDA:0,broadcast
FNDA:0,init FNDA:2,init
FNDA:0,(anonymous_4) FNDA:1,(anonymous_4)
FNDA:0,(anonymous_5) FNDA:1,(anonymous_5)
FNDA:0,(anonymous_6) FNDA:2,(anonymous_6)
FNDA:0,(anonymous_7) FNDA:2,(anonymous_7)
FNDA:0,(anonymous_8) FNDA:1,(anonymous_8)
FNDA:0,UDPWrite FNDA:1,UDPWrite
FNDA:0,(anonymous_10) FNDA:1,(anonymous_10)
FNDA:0,(anonymous_11) FNDA:0,(anonymous_11)
FNDA:0,(anonymous_12) FNDA:1,(anonymous_12)
FNDA:0,(anonymous_13) FNDA:0,(anonymous_13)
FNDA:0,serverCreated FNDA:1,serverCreated
FNDA:0,(anonymous_15) FNDA:1,(anonymous_15)
FNDA:0,(anonymous_16) FNDA:0,(anonymous_16)
FNDA:0,(anonymous_17) FNDA:1,(anonymous_17)
FNDA:0,(anonymous_18) FNDA:1,(anonymous_18)
FNDA:0,started FNDA:1,started
FNDA:0,(anonymous_20) FNDA:1,(anonymous_20)
DA:1,1 DA:1,1
DA:9,1 DA:9,1
DA:10,0 DA:10,1
DA:12,0 DA:12,1
DA:13,0 DA:13,1
DA:14,0 DA:14,1
DA:16,0 DA:16,1
DA:17,0 DA:17,0
DA:19,0 DA:19,1
DA:22,0 DA:22,1
DA:24,0 DA:24,1
DA:25,0 DA:25,0
DA:26,0 DA:26,0
DA:27,0 DA:27,0
DA:30,0 DA:30,1
DA:34,0 DA:34,1
DA:37,0 DA:37,0
DA:40,1 DA:40,1
DA:41,0 DA:41,0
@ -517,16 +517,16 @@ DA:54,0
DA:57,0 DA:57,0
DA:58,0 DA:58,0
DA:63,1 DA:63,1
DA:64,0 DA:64,2
DA:76,0 DA:76,1
DA:82,0 DA:82,1
DA:85,0 DA:85,2
DA:86,0 DA:86,0
DA:87,0 DA:87,0
DA:90,0 DA:90,2
DA:94,0 DA:94,2
DA:95,0 DA:95,1
DA:97,0 DA:97,1
DA:98,0 DA:98,0
DA:99,0 DA:99,0
DA:103,0 DA:103,0
@ -546,66 +546,66 @@ DA:122,0
DA:123,0 DA:123,0
DA:128,0 DA:128,0
DA:134,1 DA:134,1
DA:135,0 DA:135,1
DA:136,0 DA:136,1
DA:143,0 DA:143,1
DA:144,0 DA:144,0
DA:145,0 DA:145,0
DA:148,0 DA:148,0
DA:156,0 DA:156,1
DA:159,0 DA:159,1
DA:160,0 DA:160,1
DA:163,0 DA:163,1
DA:168,0 DA:168,1
DA:171,0 DA:171,0
DA:173,0 DA:173,0
DA:180,0 DA:180,1
DA:182,1 DA:182,1
DA:183,0 DA:183,1
DA:185,0 DA:185,1
DA:186,0 DA:186,0
DA:188,0 DA:188,1
DA:189,0 DA:189,1
DA:192,0 DA:192,1
DA:199,0 DA:199,1
DA:202,0 DA:202,0
DA:204,0 DA:204,0
DA:208,0 DA:208,1
DA:211,0 DA:211,1
DA:212,0 DA:212,1
DA:213,0 DA:213,0
DA:214,0 DA:214,0
DA:219,0 DA:219,0
DA:222,0 DA:222,1
DA:223,0 DA:223,1
DA:225,0 DA:225,1
DA:227,0 DA:227,1
DA:228,0 DA:228,0
DA:229,0 DA:229,0
DA:232,0 DA:232,1
DA:234,0 DA:234,1
DA:236,0 DA:236,1
DA:237,0 DA:237,1
DA:238,0 DA:238,1
DA:240,0 DA:240,1
DA:242,0 DA:242,1
DA:243,0 DA:243,1
DA:245,0 DA:245,1
DA:254,0 DA:254,1
DA:257,0 DA:257,1
DA:258,0 DA:258,0
DA:259,0 DA:259,1
DA:260,0 DA:260,1
DA:262,0 DA:262,1
DA:263,0 DA:263,0
DA:265,0 DA:265,1
DA:267,0 DA:267,1
DA:271,0 DA:271,1
DA:276,0 DA:276,1
DA:277,0 DA:277,0
DA:281,1 DA:281,1
DA:282,0 DA:282,1
DA:285,0 DA:285,1
DA:286,0 DA:286,0
DA:287,0 DA:287,0
DA:288,0 DA:288,0
@ -613,43 +613,43 @@ DA:289,0
DA:290,0 DA:290,0
DA:293,0 DA:293,0
DA:298,0 DA:298,0
DA:301,0 DA:301,1
DA:302,0 DA:302,0
DA:303,0 DA:303,0
DA:308,0 DA:308,0
DA:311,0 DA:311,1
DA:312,0 DA:312,1
DA:317,0 DA:317,1
DA:330,0 DA:330,2
DA:332,0 DA:332,2
DA:335,0 DA:335,1
DA:336,0 DA:336,1
DA:337,0 DA:337,1
DA:339,0 DA:339,1
DA:340,0 DA:340,1
DA:341,0 DA:341,0
DA:344,0 DA:344,1
DA:345,0 DA:345,0
DA:347,0 DA:347,1
DA:349,0 DA:349,1
DA:350,0 DA:350,1
DA:352,0 DA:352,0
DA:354,0 DA:354,0
DA:356,0 DA:356,0
DA:361,0 DA:361,2
DA:364,1 DA:364,1
LF:152 LF:152
LH:8 LH:84
BRDA:16,1,0,0 BRDA:16,1,0,0
BRDA:16,1,1,0 BRDA:16,1,1,1
BRDA:22,2,0,0 BRDA:22,2,0,1
BRDA:22,2,1,0 BRDA:22,2,1,0
BRDA:22,3,0,0 BRDA:22,3,0,1
BRDA:22,3,1,0 BRDA:22,3,1,0
BRDA:24,4,0,0 BRDA:24,4,0,0
BRDA:24,4,1,0 BRDA:24,4,1,1
BRDA:24,5,0,0 BRDA:24,5,0,1
BRDA:24,5,1,0 BRDA:24,5,1,1
BRDA:41,6,0,0 BRDA:41,6,0,0
BRDA:41,6,1,0 BRDA:41,6,1,0
BRDA:46,7,0,0 BRDA:46,7,0,0
@ -659,12 +659,12 @@ BRDA:52,8,1,0
BRDA:52,9,0,0 BRDA:52,9,0,0
BRDA:52,9,1,0 BRDA:52,9,1,0
BRDA:85,10,0,0 BRDA:85,10,0,0
BRDA:85,10,1,0 BRDA:85,10,1,2
BRDA:95,11,0,0 BRDA:95,11,0,1
BRDA:95,11,1,0 BRDA:95,11,1,0
BRDA:97,12,0,0 BRDA:97,12,0,0
BRDA:97,12,1,0 BRDA:97,12,1,1
BRDA:97,13,0,0 BRDA:97,13,0,1
BRDA:97,13,1,0 BRDA:97,13,1,0
BRDA:98,14,0,0 BRDA:98,14,0,0
BRDA:98,14,1,0 BRDA:98,14,1,0
@ -679,51 +679,51 @@ BRDA:117,18,1,0
BRDA:118,19,0,0 BRDA:118,19,0,0
BRDA:118,19,1,0 BRDA:118,19,1,0
BRDA:143,20,0,0 BRDA:143,20,0,0
BRDA:143,20,1,0 BRDA:143,20,1,1
BRDA:157,21,0,0 BRDA:157,21,0,1
BRDA:157,21,1,0 BRDA:157,21,1,0
BRDA:185,22,0,0 BRDA:185,22,0,0
BRDA:185,22,1,0 BRDA:185,22,1,1
BRDA:211,23,0,0 BRDA:211,23,0,1
BRDA:211,23,1,0 BRDA:211,23,1,0
BRDA:211,24,0,0 BRDA:211,24,0,1
BRDA:211,24,1,0 BRDA:211,24,1,0
BRDA:212,25,0,0 BRDA:212,25,0,0
BRDA:212,25,1,0 BRDA:212,25,1,1
BRDA:222,26,0,0 BRDA:222,26,0,1
BRDA:222,26,1,0 BRDA:222,26,1,0
BRDA:227,27,0,0 BRDA:227,27,0,0
BRDA:227,27,1,0 BRDA:227,27,1,1
BRDA:227,28,0,0 BRDA:227,28,0,1
BRDA:227,28,1,0 BRDA:227,28,1,1
BRDA:242,29,0,0 BRDA:242,29,0,1
BRDA:242,29,1,0 BRDA:242,29,1,0
BRDA:257,30,0,0 BRDA:257,30,0,0
BRDA:257,30,1,0 BRDA:257,30,1,1
BRDA:262,31,0,0 BRDA:262,31,0,0
BRDA:262,31,1,0 BRDA:262,31,1,1
BRDA:276,32,0,0 BRDA:276,32,0,0
BRDA:276,32,1,0 BRDA:276,32,1,1
BRDA:285,33,0,0 BRDA:285,33,0,0
BRDA:285,33,1,0 BRDA:285,33,1,1
BRDA:287,34,0,0 BRDA:287,34,0,0
BRDA:287,34,1,0 BRDA:287,34,1,0
BRDA:301,35,0,0 BRDA:301,35,0,0
BRDA:301,35,1,0 BRDA:301,35,1,1
BRDA:301,36,0,0 BRDA:301,36,0,1
BRDA:301,36,1,0 BRDA:301,36,1,0
BRDA:302,37,0,0 BRDA:302,37,0,0
BRDA:302,37,1,0 BRDA:302,37,1,0
BRDA:311,38,0,0 BRDA:311,38,0,1
BRDA:311,38,1,0 BRDA:311,38,1,0
BRDA:339,39,0,0 BRDA:339,39,0,1
BRDA:339,39,1,0 BRDA:339,39,1,0
BRDA:340,40,0,0 BRDA:340,40,0,0
BRDA:340,40,1,0 BRDA:340,40,1,1
BRDA:344,41,0,0 BRDA:344,41,0,0
BRDA:344,41,1,0 BRDA:344,41,1,1
BRDA:349,42,0,0 BRDA:349,42,0,1
BRDA:349,42,1,0 BRDA:349,42,1,0
BRF:84 BRF:84
BRH:0 BRH:32
end_of_record end_of_record

View file

@ -21,7 +21,7 @@ describe(
function gotMessage(data,socket){ function gotMessage(data,socket){
expect(data.id).toBe('udpServer'); expect(data.id).toBe('udpServer');
expect(data.message).toBe('I am UDP4 server!'); expect(data.message).toBe('I am UDP4 server!');
done(); testDone();
} }
); );
@ -40,11 +40,18 @@ describe(
ipc.server.on( ipc.server.on(
'error', 'error',
function(err){ function(err){
console.log('Error is: ', err); expect(err).toBe(false);
testDone();
} }
); );
} }
); );
function testDone(){
ipc.server.stop();
done();
}
ipc.server.start(); ipc.server.start();
} }
); );
@ -52,6 +59,7 @@ describe(
it( it(
'Verify UDP server of type udp6 connects to UDP server named "udp6Server" and receives message.', 'Verify UDP server of type udp6 connects to UDP server named "udp6Server" and receives message.',
function(done){ function(done){
ipc.config.networkPort=8099;
ipc.serveNet( ipc.serveNet(
'::1', '::1',
@ -63,14 +71,14 @@ describe(
function(data,socket){ function(data,socket){
expect(data.id).toBe('udp6Server'); expect(data.id).toBe('udp6Server');
expect(data.message).toBe('I am UDP6 server!'); expect(data.message).toBe('I am UDP6 server!');
done(); testDone();
} }
); );
ipc.server.emit( ipc.server.emit(
{ {
address : '::1', address : '::1',
port : 8099 port : ipc.config.networkPort
}, },
'message', 'message',
{ {
@ -82,11 +90,17 @@ describe(
ipc.server.on( ipc.server.on(
'error', 'error',
function(err){ function(err){
console.log('Error is: ', err); expect(err).toBe(false);
testDone();
} }
); );
} }
); );
function testDone(){
ipc.server.stop();
}
ipc.server.start(); ipc.server.start();
} }
); );