Skip to content

Commit

Permalink
update coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Jani Anttonen committed Jan 29, 2019
1 parent e06e5a5 commit f9c898d
Show file tree
Hide file tree
Showing 10 changed files with 87 additions and 85 deletions.
36 changes: 18 additions & 18 deletions test/coverage/clover.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1548765559413" clover="3.2.0">
<project timestamp="1548765559413" name="All files">
<metrics statements="104" coveredstatements="104" conditionals="60" coveredconditionals="58" methods="24" coveredmethods="24" elements="188" coveredelements="186" complexity="0" loc="104" ncloc="104" packages="3" files="3" classes="3">
<coverage generated="1548767408307" clover="3.2.0">
<project timestamp="1548767408308" name="All files">
<metrics statements="104" coveredstatements="104" conditionals="62" coveredconditionals="60" methods="24" coveredmethods="24" elements="190" coveredelements="188" complexity="0" loc="104" ncloc="104" packages="3" files="3" classes="3">
<package name="winston-loki">
<metrics statements="11" coveredstatements="11" conditionals="4" coveredconditionals="4" methods="3" coveredmethods="3"/>
<metrics statements="11" coveredstatements="11" conditionals="6" coveredconditionals="5" methods="3" coveredmethods="3"/>
<file name="index.js" path="/home/jani/dev/devops/winston-loki/index.js">
<metrics statements="11" coveredstatements="11" conditionals="4" coveredconditionals="4" methods="3" coveredmethods="3"/>
<metrics statements="11" coveredstatements="11" conditionals="6" coveredconditionals="5" methods="3" coveredmethods="3"/>
<line num="1" count="1" type="stmt"/>
<line num="2" count="1" type="stmt"/>
<line num="4" count="1" type="stmt"/>
Expand All @@ -20,9 +20,9 @@
</file>
</package>
<package name="winston-loki.src">
<metrics statements="63" coveredstatements="63" conditionals="36" coveredconditionals="34" methods="12" coveredmethods="12"/>
<metrics statements="63" coveredstatements="63" conditionals="36" coveredconditionals="35" methods="12" coveredmethods="12"/>
<file name="batcher.js" path="/home/jani/dev/devops/winston-loki/src/batcher.js">
<metrics statements="63" coveredstatements="63" conditionals="36" coveredconditionals="34" methods="12" coveredmethods="12"/>
<metrics statements="63" coveredstatements="63" conditionals="36" coveredconditionals="35" methods="12" coveredmethods="12"/>
<line num="1" count="3" type="stmt"/>
<line num="2" count="3" type="stmt"/>
<line num="3" count="3" type="stmt"/>
Expand All @@ -37,9 +37,9 @@
<line num="18" count="38" type="stmt"/>
<line num="19" count="38" type="cond" truecount="2" falsecount="0"/>
<line num="20" count="28" type="stmt"/>
<line num="22" count="38" type="cond" truecount="1" falsecount="1"/>
<line num="26" count="5" type="stmt"/>
<line num="27" count="5" type="stmt"/>
<line num="22" count="38" type="cond" truecount="2" falsecount="0"/>
<line num="26" count="13" type="stmt"/>
<line num="27" count="13" type="stmt"/>
<line num="32" count="36" type="cond" truecount="2" falsecount="0"/>
<line num="33" count="1" type="stmt"/>
<line num="36" count="36" type="cond" truecount="2" falsecount="0"/>
Expand All @@ -57,9 +57,9 @@
<line num="58" count="3" type="stmt"/>
<line num="61" count="7" type="stmt"/>
<line num="68" count="28" type="stmt"/>
<line num="72" count="11" type="stmt"/>
<line num="73" count="11" type="cond" truecount="4" falsecount="0"/>
<line num="74" count="1" type="stmt"/>
<line num="72" count="19" type="stmt"/>
<line num="73" count="19" type="cond" truecount="4" falsecount="0"/>
<line num="74" count="9" type="stmt"/>
<line num="77" count="10" type="cond" truecount="2" falsecount="0"/>
<line num="78" count="7" type="cond" truecount="2" falsecount="0"/>
<line num="79" count="1" type="stmt"/>
Expand All @@ -79,13 +79,13 @@
<line num="109" count="5" type="stmt"/>
<line num="112" count="3" type="cond" truecount="2" falsecount="0"/>
<line num="113" count="3" type="stmt"/>
<line num="120" count="1" type="stmt"/>
<line num="121" count="3" type="stmt"/>
<line num="122" count="3" type="stmt"/>
<line num="123" count="2" type="cond" truecount="2" falsecount="0"/>
<line num="120" count="9" type="stmt"/>
<line num="121" count="11" type="stmt"/>
<line num="122" count="11" type="stmt"/>
<line num="123" count="10" type="cond" truecount="2" falsecount="0"/>
<line num="124" count="1" type="stmt"/>
<line num="127" count="1" type="stmt"/>
<line num="129" count="3" type="stmt"/>
<line num="129" count="11" type="stmt"/>
</file>
</package>
<package name="winston-loki.src.proto">
Expand Down
4 changes: 2 additions & 2 deletions test/coverage/coverage-final.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions test/coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ <h1>
<span class='fraction'>104/105</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">96.67% </span>
<span class="strong">96.77% </span>
<span class="quiet">Branches</span>
<span class='fraction'>58/60</span>
<span class='fraction'>60/62</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
Expand Down Expand Up @@ -63,8 +63,8 @@ <h1>
<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="11" class="abs high">11/11</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="4" class="abs high">4/4</td>
<td data-value="83.33" class="pct high">83.33%</td>
<td data-value="6" class="abs high">5/6</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="3" class="abs high">3/3</td>
<td data-value="100" class="pct high">100%</td>
Expand All @@ -76,8 +76,8 @@ <h1>
<td data-value="98.44" class="pic high"><div class="chart"><div class="cover-fill" style="width: 98%;"></div><div class="cover-empty" style="width:2%;"></div></div></td>
<td data-value="98.44" class="pct high">98.44%</td>
<td data-value="64" class="abs high">63/64</td>
<td data-value="94.44" class="pct high">94.44%</td>
<td data-value="36" class="abs high">34/36</td>
<td data-value="97.22" class="pct high">97.22%</td>
<td data-value="36" class="abs high">35/36</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="12" class="abs high">12/12</td>
<td data-value="100" class="pct high">100%</td>
Expand All @@ -103,7 +103,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Jan 29 2019 14:39:19 GMT+0200 (Eastern European Standard Time)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Jan 29 2019 15:10:08 GMT+0200 (Eastern European Standard Time)
</div>
</div>
<script src="prettify.js"></script>
Expand Down
10 changes: 5 additions & 5 deletions test/coverage/lcov-report/winston-loki/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ <h1>
<span class='fraction'>11/11</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="strong">83.33% </span>
<span class="quiet">Branches</span>
<span class='fraction'>4/4</span>
<span class='fraction'>5/6</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
Expand Down Expand Up @@ -63,8 +63,8 @@ <h1>
<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="11" class="abs high">11/11</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="4" class="abs high">4/4</td>
<td data-value="83.33" class="pct high">83.33%</td>
<td data-value="6" class="abs high">5/6</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="3" class="abs high">3/3</td>
<td data-value="100" class="pct high">100%</td>
Expand All @@ -77,7 +77,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Jan 29 2019 14:39:19 GMT+0200 (Eastern European Standard Time)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Jan 29 2019 15:10:08 GMT+0200 (Eastern European Standard Time)
</div>
</div>
<script src="../prettify.js"></script>
Expand Down
8 changes: 4 additions & 4 deletions test/coverage/lcov-report/winston-loki/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ <h1>
<span class='fraction'>11/11</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="strong">83.33% </span>
<span class="quiet">Branches</span>
<span class='fraction'>4/4</span>
<span class='fraction'>5/6</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
Expand Down Expand Up @@ -131,7 +131,7 @@ <h1>
host: options.host,
interval: options.interval,
json: options.json,
batching: options.batching,
batching: options.batching !== undefined ? <span class="branch-0 cbranch-no" title="branch not covered" >options.batching </span>: true,
clearOnError: options.clearOnError,
replaceTimestamp: options.replaceTimestamp
})
Expand Down Expand Up @@ -166,7 +166,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Jan 29 2019 14:39:19 GMT+0200 (Eastern European Standard Time)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Jan 29 2019 15:10:08 GMT+0200 (Eastern European Standard Time)
</div>
</div>
<script src="../prettify.js"></script>
Expand Down
28 changes: 14 additions & 14 deletions test/coverage/lcov-report/winston-loki/src/batcher.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ <h1>
<span class='fraction'>63/64</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">94.44% </span>
<span class="strong">97.22% </span>
<span class="quiet">Branches</span>
<span class='fraction'>34/36</span>
<span class='fraction'>35/36</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
Expand Down Expand Up @@ -200,8 +200,8 @@ <h1>
<span class="cline-any cline-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">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand Down Expand Up @@ -246,9 +246,9 @@ <h1>
<span class="cline-any cline-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">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">9x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">10x</span>
Expand Down Expand Up @@ -294,16 +294,16 @@ <h1>
<span class="cline-any cline-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">1x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">9x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">10x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand All @@ -328,7 +328,7 @@ <h1>
if (this.options.json) {
this.contentType = 'application/json'
}
this.options.batching &amp;&amp; <span class="branch-1 cbranch-no" title="branch not covered" >this.run()</span>
this.options.batching &amp;&amp; this.run()
}
&nbsp;
wait (duration) {
Expand Down Expand Up @@ -445,7 +445,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Jan 29 2019 14:39:19 GMT+0200 (Eastern European Standard Time)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Jan 29 2019 15:10:08 GMT+0200 (Eastern European Standard Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
10 changes: 5 additions & 5 deletions test/coverage/lcov-report/winston-loki/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ <h1>
<span class='fraction'>63/64</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">94.44% </span>
<span class="strong">97.22% </span>
<span class="quiet">Branches</span>
<span class='fraction'>34/36</span>
<span class='fraction'>35/36</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
Expand Down Expand Up @@ -63,8 +63,8 @@ <h1>
<td data-value="98.44" class="pic high"><div class="chart"><div class="cover-fill" style="width: 98%;"></div><div class="cover-empty" style="width:2%;"></div></div></td>
<td data-value="98.44" class="pct high">98.44%</td>
<td data-value="64" class="abs high">63/64</td>
<td data-value="94.44" class="pct high">94.44%</td>
<td data-value="36" class="abs high">34/36</td>
<td data-value="97.22" class="pct high">97.22%</td>
<td data-value="36" class="abs high">35/36</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="12" class="abs high">12/12</td>
<td data-value="100" class="pct high">100%</td>
Expand All @@ -77,7 +77,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Jan 29 2019 14:39:19 GMT+0200 (Eastern European Standard Time)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Jan 29 2019 15:10:08 GMT+0200 (Eastern European Standard Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Jan 29 2019 14:39:19 GMT+0200 (Eastern European Standard Time)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Jan 29 2019 15:10:08 GMT+0200 (Eastern European Standard Time)
</div>
</div>
<script src="../../../prettify.js"></script>
Expand Down
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="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Jan 29 2019 14:39:19 GMT+0200 (Eastern European Standard Time)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Jan 29 2019 15:10:08 GMT+0200 (Eastern European Standard Time)
</div>
</div>
<script src="../../../prettify.js"></script>
Expand Down
Loading

0 comments on commit f9c898d

Please sign in to comment.