Skip to content

Commit

Permalink
fix(automapper.ts): clean up utils
Browse files Browse the repository at this point in the history
  • Loading branch information
nartc committed Mar 29, 2020
1 parent f7423c8 commit 1428e7a
Show file tree
Hide file tree
Showing 79 changed files with 1,808 additions and 1,662 deletions.
693 changes: 334 additions & 359 deletions coverage/clover.xml

Large diffs are not rendered by default.

72 changes: 34 additions & 38 deletions coverage/coverage-final.json

Large diffs are not rendered by default.

56 changes: 28 additions & 28 deletions coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ <h1>All files</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">98.89% </span>
<span class="strong">98.62% </span>
<span class="quiet">Statements</span>
<span class='fraction'>803/812</span>
<span class='fraction'>788/799</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">90.15% </span>
<span class="strong">89.65% </span>
<span class="quiet">Branches</span>
<span class='fraction'>357/396</span>
<span class='fraction'>355/396</span>
</div>


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


<div class='fl pad1y space-right2'>
<span class="strong">98.89% </span>
<span class="strong">98.58% </span>
<span class="quiet">Lines</span>
<span class='fraction'>711/719</span>
<span class='fraction'>696/706</span>
</div>


Expand Down Expand Up @@ -103,17 +103,17 @@ <h1>All files</h1>

<tr>
<td class="file high" data-value="src/core"><a href="src/core/index.html">src/core</a></td>
<td data-value="100" class="pic high">
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
<td data-value="99.45" class="pic high">
<div class="chart"><div class="cover-fill" style="width: 99%"></div><div class="cover-empty" style="width: 1%"></div></div>
</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="333" class="abs high">333/333</td>
<td data-value="93.33" class="pct high">93.33%</td>
<td data-value="210" class="abs high">196/210</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="27" class="abs high">27/27</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="297" class="abs high">297/297</td>
<td data-value="99.45" class="pct high">99.45%</td>
<td data-value="364" class="abs high">362/364</td>
<td data-value="92.86" class="pct high">92.86%</td>
<td data-value="238" class="abs high">221/238</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="29" class="abs high">29/29</td>
<td data-value="99.38" class="pct high">99.38%</td>
<td data-value="322" class="abs high">320/322</td>
</tr>

<tr>
Expand Down Expand Up @@ -156,7 +156,7 @@ <h1>All files</h1>
<td data-value="100" class="pct high">100%</td>
<td data-value="14" class="abs high">14/14</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="18" class="abs high">18/18</td>
<td data-value="19" class="abs high">19/19</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="65" class="abs high">65/65</td>
</tr>
Expand All @@ -178,17 +178,17 @@ <h1>All files</h1>

<tr>
<td class="file high" data-value="src/utils"><a href="src/utils/index.html">src/utils</a></td>
<td data-value="94.44" class="pic high">
<div class="chart"><div class="cover-fill" style="width: 94%"></div><div class="cover-empty" style="width: 6%"></div></div>
<td data-value="92" class="pic high">
<div class="chart"><div class="cover-fill" style="width: 92%"></div><div class="cover-empty" style="width: 8%"></div></div>
</td>
<td data-value="94.44" class="pct high">94.44%</td>
<td data-value="144" class="abs high">136/144</td>
<td data-value="79.76" class="pct medium">79.76%</td>
<td data-value="84" class="abs medium">67/84</td>
<td data-value="96.15" class="pct high">96.15%</td>
<td data-value="26" class="abs high">25/26</td>
<td data-value="93.8" class="pct high">93.8%</td>
<td data-value="129" class="abs high">121/129</td>
<td data-value="92" class="pct high">92%</td>
<td data-value="100" class="abs high">92/100</td>
<td data-value="71.43" class="pct medium">71.43%</td>
<td data-value="56" class="abs medium">40/56</td>
<td data-value="95.65" class="pct high">95.65%</td>
<td data-value="23" class="abs high">22/23</td>
<td data-value="91.21" class="pct high">91.21%</td>
<td data-value="91" class="abs high">83/91</td>
</tr>

</tbody>
Expand All @@ -199,7 +199,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 Sun Mar 29 2020 13:51:11 GMT-0500 (Central Daylight Time)
at Sun Mar 29 2020 14:17:41 GMT-0500 (Central Daylight Time)
</div>
</div>
<script src="prettify.js"></script>
Expand Down
26 changes: 13 additions & 13 deletions coverage/lcov-report/src/automapper.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">src</a> automap
<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">121x</span>
<span class="cline-any cline-yes">121x</span>
<span class="cline-any cline-yes">123x</span>
<span class="cline-any cline-yes">123x</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 @@ -404,13 +404,13 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">src</a> automap
<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">121x</span>
<span class="cline-any cline-yes">123x</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">120x</span>
<span class="cline-any cline-yes">122x</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 @@ -433,14 +433,14 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">src</a> automap
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">81x</span>
<span class="cline-any cline-yes">25x</span>
<span class="cline-any cline-yes">25x</span>
<span class="cline-any cline-yes">90x</span>
<span class="cline-any cline-yes">28x</span>
<span class="cline-any cline-yes">28x</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">24x</span>
<span class="cline-any cline-yes">27x</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 @@ -558,8 +558,8 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">src</a> automap
<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">27x</span>
<span class="cline-any cline-yes">27x</span>
<span class="cline-any cline-yes">29x</span>
<span class="cline-any cline-yes">29x</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>
Expand All @@ -571,8 +571,8 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">src</a> automap
<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">35x</span>
<span class="cline-any cline-yes">35x</span>
<span class="cline-any cline-yes">37x</span>
<span class="cline-any cline-yes">37x</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 @@ -849,7 +849,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">src</a> automap
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Mar 29 2020 13:51:11 GMT-0500 (Central Daylight Time)
at Sun Mar 29 2020 14:17:41 GMT-0500 (Central Daylight Time)
</div>
</div>
<script src="../prettify.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,25 +89,25 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/conventi
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">2988x</span>
<span class="cline-any cline-yes">2988x</span>
<span class="cline-any cline-yes">3008x</span>
<span class="cline-any cline-yes">3008x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1432x</span>
<span class="cline-any cline-yes">1441x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1432x</span>
<span class="cline-any cline-yes">2116x</span>
<span class="cline-any cline-yes">1432x</span>
<span class="cline-any cline-yes">1441x</span>
<span class="cline-any cline-yes">2136x</span>
<span class="cline-any cline-yes">1441x</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">684x</span>
<span class="cline-any cline-yes">695x</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">1432x</span>
<span class="cline-any cline-yes">1441x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import { NamingConvention } from '../types';
Expand Down Expand Up @@ -144,7 +144,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/conventi
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Mar 29 2020 13:51:11 GMT-0500 (Central Daylight Time)
at Sun Mar 29 2020 14:17:41 GMT-0500 (Central Daylight Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/conventions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ <h1><a href="../../index.html">All files</a> src/conventions</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 Sun Mar 29 2020 13:51:11 GMT-0500 (Central Daylight Time)
at Sun Mar 29 2020 14:17:41 GMT-0500 (Central Daylight Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/conventions/index.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/conventi
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Mar 29 2020 13:51:11 GMT-0500 (Central Daylight Time)
at Sun Mar 29 2020 14:17:41 GMT-0500 (Central Daylight Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/conventi
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Mar 29 2020 13:51:11 GMT-0500 (Central Daylight Time)
at Sun Mar 29 2020 14:17:41 GMT-0500 (Central Daylight Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/conventi
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Mar 29 2020 13:51:11 GMT-0500 (Central Daylight Time)
at Sun Mar 29 2020 14:17:41 GMT-0500 (Central Daylight Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
18 changes: 9 additions & 9 deletions coverage/lcov-report/src/core/create-map-fluent-function.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/core</a>
<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">120x</span>
<span class="cline-any cline-yes">122x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">120x</span>
<span class="cline-any cline-yes">122x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand All @@ -218,10 +218,10 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/core</a>
<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">120x</span>
<span class="cline-any cline-yes">122x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">681x</span>
<span class="cline-any cline-yes">687x</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 @@ -238,7 +238,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/core</a>
<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">221x</span>
<span class="cline-any cline-yes">223x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
Expand All @@ -250,15 +250,15 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/core</a>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">77x</span>
<span class="cline-any cline-yes">78x</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">77x</span>
<span class="cline-any cline-yes">78x</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">120x</span>
<span class="cline-any cline-yes">122x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import { MappingStorage } from '../storages';
import {
Expand Down Expand Up @@ -369,7 +369,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/core</a>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Mar 29 2020 13:51:11 GMT-0500 (Central Daylight Time)
at Sun Mar 29 2020 14:17:41 GMT-0500 (Central Daylight Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
Loading

0 comments on commit 1428e7a

Please sign in to comment.