Skip to content

Commit

Permalink
chore: coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaldcwl committed Apr 12, 2022
1 parent da460c0 commit 64bde38
Show file tree
Hide file tree
Showing 6 changed files with 382 additions and 376 deletions.
2 changes: 1 addition & 1 deletion coverage/badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions coverage/coverage-final.json

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions coverage/coverage-summary.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{"total": {"lines":{"total":289,"covered":213,"skipped":0,"pct":73.7},"statements":{"total":297,"covered":216,"skipped":0,"pct":72.72},"functions":{"total":30,"covered":27,"skipped":0,"pct":90},"branches":{"total":160,"covered":93,"skipped":0,"pct":58.12}}
,"D:\\Projects\\browser-image-compression\\lib\\image-compression.js": {"lines":{"total":55,"covered":50,"skipped":0,"pct":90.9},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":55,"covered":50,"skipped":0,"pct":90.9},"branches":{"total":29,"covered":22,"skipped":0,"pct":75.86}}
,"D:\\Projects\\browser-image-compression\\lib\\index.js": {"lines":{"total":46,"covered":35,"skipped":0,"pct":76.08},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":46,"covered":35,"skipped":0,"pct":76.08},"branches":{"total":30,"covered":14,"skipped":0,"pct":46.66}}
,"D:\\Projects\\browser-image-compression\\lib\\polyfill.js": {"lines":{"total":0,"covered":0,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":0,"covered":0,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"D:\\Projects\\browser-image-compression\\lib\\utils.js": {"lines":{"total":188,"covered":128,"skipped":0,"pct":68.08},"functions":{"total":25,"covered":22,"skipped":0,"pct":88},"statements":{"total":196,"covered":131,"skipped":0,"pct":66.83},"branches":{"total":101,"covered":57,"skipped":0,"pct":56.43}}
{"total": {"lines":{"total":295,"covered":239,"skipped":0,"pct":81.01},"statements":{"total":303,"covered":242,"skipped":0,"pct":79.86},"functions":{"total":30,"covered":27,"skipped":0,"pct":90},"branches":{"total":171,"covered":115,"skipped":0,"pct":67.25}}
,"D:\\Projects\\browser-image-compression\\lib\\image-compression.js": {"lines":{"total":61,"covered":60,"skipped":0,"pct":98.36},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":61,"covered":60,"skipped":0,"pct":98.36},"branches":{"total":39,"covered":32,"skipped":0,"pct":82.05}}
,"D:\\Projects\\browser-image-compression\\lib\\index.js": {"lines":{"total":46,"covered":37,"skipped":0,"pct":80.43},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":46,"covered":37,"skipped":0,"pct":80.43},"branches":{"total":30,"covered":17,"skipped":0,"pct":56.66}}
,"D:\\Projects\\browser-image-compression\\lib\\utils.js": {"lines":{"total":188,"covered":142,"skipped":0,"pct":75.53},"functions":{"total":25,"covered":22,"skipped":0,"pct":88},"statements":{"total":196,"covered":145,"skipped":0,"pct":73.97},"branches":{"total":102,"covered":66,"skipped":0,"pct":64.7}}
,"D:\\Projects\\browser-image-compression\\lib\\config\\browser-name.js": {"lines":{"total":0,"covered":0,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":0,"covered":0,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"D:\\Projects\\browser-image-compression\\lib\\config\\max-canvas-size.js": {"lines":{"total":0,"covered":0,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":0,"covered":0,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
}
30 changes: 15 additions & 15 deletions coverage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ <h1>All files</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">72.72% </span>
<span class="strong">79.86% </span>
<span class="quiet">Statements</span>
<span class='fraction'>216/297</span>
<span class='fraction'>242/303</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">58.12% </span>
<span class="strong">67.25% </span>
<span class="quiet">Branches</span>
<span class='fraction'>93/160</span>
<span class='fraction'>115/171</span>
</div>


Expand All @@ -44,9 +44,9 @@ <h1>All files</h1>


<div class='fl pad1y space-right2'>
<span class="strong">73.7% </span>
<span class="strong">81.01% </span>
<span class="quiet">Lines</span>
<span class='fraction'>213/289</span>
<span class='fraction'>239/295</span>
</div>


Expand Down Expand Up @@ -74,17 +74,17 @@ <h1>All files</h1>
</thead>
<tbody><tr>
<td class="file medium" data-value="lib"><a href="lib/index.html">lib</a></td>
<td data-value="72.72" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 72%"></div><div class="cover-empty" style="width: 28%"></div></div>
<td data-value="79.86" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 79%"></div><div class="cover-empty" style="width: 21%"></div></div>
</td>
<td data-value="72.72" class="pct medium">72.72%</td>
<td data-value="297" class="abs medium">216/297</td>
<td data-value="58.12" class="pct medium">58.12%</td>
<td data-value="160" class="abs medium">93/160</td>
<td data-value="79.86" class="pct medium">79.86%</td>
<td data-value="303" class="abs medium">242/303</td>
<td data-value="67.25" class="pct medium">67.25%</td>
<td data-value="171" class="abs medium">115/171</td>
<td data-value="90" class="pct high">90%</td>
<td data-value="30" class="abs high">27/30</td>
<td data-value="73.7" class="pct medium">73.7%</td>
<td data-value="289" class="abs medium">213/289</td>
<td data-value="81.01" class="pct high">81.01%</td>
<td data-value="295" class="abs high">239/295</td>
</tr>

<tr>
Expand All @@ -110,7 +110,7 @@ <h1>All files</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Mon Nov 15 2021 01:19:36 GMT+0800 (Hong Kong Standard Time)
at Wed Apr 13 2022 03:48:38 GMT+0800 (Hong Kong Standard Time)
</div>
</div>
<script src="prettify.js"></script>
Expand Down
30 changes: 15 additions & 15 deletions coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ <h1>All files</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">72.72% </span>
<span class="strong">79.86% </span>
<span class="quiet">Statements</span>
<span class='fraction'>216/297</span>
<span class='fraction'>242/303</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">58.12% </span>
<span class="strong">67.25% </span>
<span class="quiet">Branches</span>
<span class='fraction'>93/160</span>
<span class='fraction'>115/171</span>
</div>


Expand All @@ -44,9 +44,9 @@ <h1>All files</h1>


<div class='fl pad1y space-right2'>
<span class="strong">73.7% </span>
<span class="strong">81.01% </span>
<span class="quiet">Lines</span>
<span class='fraction'>213/289</span>
<span class='fraction'>239/295</span>
</div>


Expand Down Expand Up @@ -74,17 +74,17 @@ <h1>All files</h1>
</thead>
<tbody><tr>
<td class="file medium" data-value="lib"><a href="lib/index.html">lib</a></td>
<td data-value="72.72" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 72%"></div><div class="cover-empty" style="width: 28%"></div></div>
<td data-value="79.86" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 79%"></div><div class="cover-empty" style="width: 21%"></div></div>
</td>
<td data-value="72.72" class="pct medium">72.72%</td>
<td data-value="297" class="abs medium">216/297</td>
<td data-value="58.12" class="pct medium">58.12%</td>
<td data-value="160" class="abs medium">93/160</td>
<td data-value="79.86" class="pct medium">79.86%</td>
<td data-value="303" class="abs medium">242/303</td>
<td data-value="67.25" class="pct medium">67.25%</td>
<td data-value="171" class="abs medium">115/171</td>
<td data-value="90" class="pct high">90%</td>
<td data-value="30" class="abs high">27/30</td>
<td data-value="73.7" class="pct medium">73.7%</td>
<td data-value="289" class="abs medium">213/289</td>
<td data-value="81.01" class="pct high">81.01%</td>
<td data-value="295" class="abs high">239/295</td>
</tr>

<tr>
Expand All @@ -110,7 +110,7 @@ <h1>All files</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Mon Nov 15 2021 01:19:36 GMT+0800 (Hong Kong Standard Time)
at Wed Apr 13 2022 03:48:38 GMT+0800 (Hong Kong Standard Time)
</div>
</div>
<script src="prettify.js"></script>
Expand Down
Loading

0 comments on commit 64bde38

Please sign in to comment.