Skip to content

Commit

Permalink
Merge pull request #101 from mithunsatheesh/6.0.0
Browse files Browse the repository at this point in the history
[Coverage] Improve coverage and add UTs for uncovered cases
  • Loading branch information
mithunsatheesh authored Dec 13, 2020
2 parents 54dc095 + 3d12a42 commit 08e350d
Show file tree
Hide file tree
Showing 9 changed files with 349 additions and 385 deletions.
2 changes: 1 addition & 1 deletion coverage/coverage.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,24 @@ <h1>
</h1>
<div class='clearfix'>
<div class='fl pad1y space-right2'>
<span class="strong">89.72% </span>
<span class="strong">100% </span>
<span class="quiet">Statements</span>
<span class='fraction'>96/107</span>
<span class='fraction'>93/93</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">77.55% </span>
<span class="strong">97.67% </span>
<span class="quiet">Branches</span>
<span class='fraction'>38/49</span>
<span class='fraction'>42/43</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">92.59% </span>
<span class="strong">100% </span>
<span class="quiet">Functions</span>
<span class='fraction'>25/27</span>
<span class='fraction'>26/26</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">89.72% </span>
<span class="strong">100% </span>
<span class="quiet">Lines</span>
<span class='fraction'>96/107</span>
<span class='fraction'>92/92</span>
</div>
</div>
</div>
Expand Down Expand Up @@ -73,15 +73,15 @@ <h1>

<tr>
<td class="file high" data-value="node-rules/lib/"><a href="node-rules/lib/index.html">node-rules/lib/</a></td>
<td data-value="89.52" class="pic high"><div class="chart"><div class="cover-fill" style="width: 89%;"></div><div class="cover-empty" style="width:11%;"></div></div></td>
<td data-value="89.52" class="pct high">89.52%</td>
<td data-value="105" class="abs high">94/105</td>
<td data-value="77.55" class="pct medium">77.55%</td>
<td data-value="49" class="abs medium">38/49</td>
<td data-value="92.31" class="pct high">92.31%</td>
<td data-value="26" class="abs high">24/26</td>
<td data-value="89.52" class="pct high">89.52%</td>
<td data-value="105" class="abs high">94/105</td>
<td data-value="100" class="pic high"><div class="chart"><div class="cover-fill cover-full" style="width: 100%;"></div><div class="cover-empty" style="width:0%;"></div></div></td>
<td data-value="100" class="pct high">100%</td>
<td data-value="91" class="abs high">91/91</td>
<td data-value="97.67" class="pct high">97.67%</td>
<td data-value="43" class="abs high">42/43</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="25" class="abs high">25/25</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="90" class="abs high">90/90</td>
</tr>

</tbody>
Expand All @@ -90,7 +90,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun May 13 2018 19:20:16 GMT+0530 (IST)
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Dec 13 2020 17:09:15 GMT+0530 (India Standard Time)
</div>
</div>
<script src="prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/node-rules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun May 13 2018 19:20:16 GMT+0530 (IST)
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Dec 13 2020 17:09:15 GMT+0530 (India Standard Time)
</div>
</div>
<script src="../prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/node-rules/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun May 13 2018 19:20:16 GMT+0530 (IST)
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Dec 13 2020 17:09:15 GMT+0530 (India Standard Time)
</div>
</div>
<script src="../prettify.js"></script>
Expand Down
36 changes: 18 additions & 18 deletions coverage/lcov-report/node-rules/lib/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,24 @@ <h1>
</h1>
<div class='clearfix'>
<div class='fl pad1y space-right2'>
<span class="strong">89.52% </span>
<span class="strong">100% </span>
<span class="quiet">Statements</span>
<span class='fraction'>94/105</span>
<span class='fraction'>91/91</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">77.55% </span>
<span class="strong">97.67% </span>
<span class="quiet">Branches</span>
<span class='fraction'>38/49</span>
<span class='fraction'>42/43</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">92.31% </span>
<span class="strong">100% </span>
<span class="quiet">Functions</span>
<span class='fraction'>24/26</span>
<span class='fraction'>25/25</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">89.52% </span>
<span class="strong">100% </span>
<span class="quiet">Lines</span>
<span class='fraction'>94/105</span>
<span class='fraction'>90/90</span>
</div>
</div>
</div>
Expand All @@ -60,15 +60,15 @@ <h1>
</thead>
<tbody><tr>
<td class="file high" data-value="node-rules.js"><a href="node-rules.js.html">node-rules.js</a></td>
<td data-value="89.52" class="pic high"><div class="chart"><div class="cover-fill" style="width: 89%;"></div><div class="cover-empty" style="width:11%;"></div></div></td>
<td data-value="89.52" class="pct high">89.52%</td>
<td data-value="105" class="abs high">94/105</td>
<td data-value="77.55" class="pct medium">77.55%</td>
<td data-value="49" class="abs medium">38/49</td>
<td data-value="92.31" class="pct high">92.31%</td>
<td data-value="26" class="abs high">24/26</td>
<td data-value="89.52" class="pct high">89.52%</td>
<td data-value="105" class="abs high">94/105</td>
<td data-value="100" class="pic high"><div class="chart"><div class="cover-fill cover-full" style="width: 100%;"></div><div class="cover-empty" style="width:0%;"></div></div></td>
<td data-value="100" class="pct high">100%</td>
<td data-value="91" class="abs high">91/91</td>
<td data-value="97.67" class="pct high">97.67%</td>
<td data-value="43" class="abs high">42/43</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="25" class="abs high">25/25</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="90" class="abs high">90/90</td>
</tr>

</tbody>
Expand All @@ -77,7 +77,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun May 13 2018 19:20:16 GMT+0530 (IST)
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Dec 13 2020 17:09:15 GMT+0530 (India Standard Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
Loading

0 comments on commit 08e350d

Please sign in to comment.