Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit d5ef0dc

Browse files
author
Simon Gattner
committed
update to version 1.0.2
1 parent 4c91bfa commit d5ef0dc

36 files changed

+268
-268
lines changed

coverage/cobertura.txt

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" ?>
22
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
3-
<coverage lines-valid="159" lines-covered="150" line-rate="0.9434" branches-valid="126" branches-covered="111" branch-rate="0.8809999999999999" timestamp="1554492279749" complexity="0" version="0.1">
3+
<coverage lines-valid="159" lines-covered="150" line-rate="0.9434" branches-valid="126" branches-covered="112" branch-rate="0.8889" timestamp="1554492859099" complexity="0" version="0.1">
44
<sources>
55
<source>/home/simon/Documents/projects/js.randrix</source>
66
</sources>
77
<packages>
8-
<package name="js" line-rate="0.9558" branch-rate="0.8" >
8+
<package name="js" line-rate="0.9558" branch-rate="0.8143" >
99
<classes>
10-
<class name="Randrix.class.js" filename="src/js/Randrix.class.js" line-rate="0.9405" branch-rate="0.7759" >
10+
<class name="Randrix.class.js" filename="src/js/Randrix.class.js" line-rate="0.9405" branch-rate="0.7931" >
1111
<methods>
1212
<method name="(anonymous_0)" hits="370" signature="()V" >
1313
<lines><line number="32" hits="370" /></lines>
@@ -18,11 +18,11 @@
1818
<method name="(anonymous_2)" hits="9" signature="()V" >
1919
<lines><line number="78" hits="9" /></lines>
2020
</method>
21-
<method name="(anonymous_3)" hits="6136" signature="()V" >
22-
<lines><line number="87" hits="6136" /></lines>
21+
<method name="(anonymous_3)" hits="6004" signature="()V" >
22+
<lines><line number="87" hits="6004" /></lines>
2323
</method>
24-
<method name="(anonymous_4)" hits="2445" signature="()V" >
25-
<lines><line number="100" hits="2445" /></lines>
24+
<method name="(anonymous_4)" hits="2327" signature="()V" >
25+
<lines><line number="100" hits="2327" /></lines>
2626
</method>
2727
<method name="(anonymous_5)" hits="5373" signature="()V" >
2828
<lines><line number="113" hits="5373" /></lines>
@@ -33,26 +33,26 @@
3333
<method name="(anonymous_7)" hits="5382" signature="()V" >
3434
<lines><line number="130" hits="5382" /></lines>
3535
</method>
36-
<method name="(anonymous_8)" hits="754" signature="()V" >
37-
<lines><line number="152" hits="754" /></lines>
36+
<method name="(anonymous_8)" hits="622" signature="()V" >
37+
<lines><line number="152" hits="622" /></lines>
3838
</method>
39-
<method name="(anonymous_9)" hits="745" signature="()V" >
40-
<lines><line number="161" hits="745" /></lines>
39+
<method name="(anonymous_9)" hits="613" signature="()V" >
40+
<lines><line number="161" hits="613" /></lines>
4141
</method>
42-
<method name="(anonymous_10)" hits="745" signature="()V" >
43-
<lines><line number="174" hits="745" /></lines>
42+
<method name="(anonymous_10)" hits="613" signature="()V" >
43+
<lines><line number="174" hits="613" /></lines>
4444
</method>
45-
<method name="(anonymous_11)" hits="745" signature="()V" >
46-
<lines><line number="190" hits="745" /></lines>
45+
<method name="(anonymous_11)" hits="613" signature="()V" >
46+
<lines><line number="190" hits="613" /></lines>
4747
</method>
48-
<method name="(anonymous_12)" hits="754" signature="()V" >
49-
<lines><line number="207" hits="754" /></lines>
48+
<method name="(anonymous_12)" hits="622" signature="()V" >
49+
<lines><line number="207" hits="622" /></lines>
5050
</method>
51-
<method name="(anonymous_13)" hits="763" signature="()V" >
52-
<lines><line number="227" hits="763" /></lines>
51+
<method name="(anonymous_13)" hits="631" signature="()V" >
52+
<lines><line number="227" hits="631" /></lines>
5353
</method>
54-
<method name="(anonymous_14)" hits="23" signature="()V" >
55-
<lines><line number="237" hits="23" /></lines>
54+
<method name="(anonymous_14)" hits="20" signature="()V" >
55+
<lines><line number="237" hits="20" /></lines>
5656
</method>
5757
<method name="(anonymous_15)" hits="11" signature="()V" >
5858
<lines><line number="254" hits="11" /></lines>
@@ -66,8 +66,8 @@
6666
<method name="(anonymous_18)" hits="5382" signature="()V" >
6767
<lines><line number="285" hits="5382" /></lines>
6868
</method>
69-
<method name="(anonymous_19)" hits="745" signature="()V" >
70-
<lines><line number="286" hits="745" /></lines>
69+
<method name="(anonymous_19)" hits="613" signature="()V" >
70+
<lines><line number="286" hits="613" /></lines>
7171
</method>
7272
<method name="(anonymous_20)" hits="162" signature="()V" >
7373
<lines><line number="296" hits="162" /></lines>
@@ -108,8 +108,8 @@
108108
<line number="62" hits="351" branch="false" />
109109
<line number="70" hits="19" branch="false" />
110110
<line number="79" hits="9" branch="true" condition-coverage="100% (2/2)" />
111-
<line number="88" hits="6136" branch="false" />
112-
<line number="101" hits="2445" branch="true" condition-coverage="100% (2/2)" />
111+
<line number="88" hits="6004" branch="false" />
112+
<line number="101" hits="2327" branch="true" condition-coverage="100% (2/2)" />
113113
<line number="114" hits="5373" branch="false" />
114114
<line number="115" hits="5373" branch="false" />
115115
<line number="119" hits="0" branch="true" condition-coverage="50% (1/2)" />
@@ -123,25 +123,25 @@
123123
<line number="139" hits="1084" branch="false" />
124124
<line number="141" hits="5382" branch="false" />
125125
<line number="143" hits="5382" branch="false" />
126-
<line number="153" hits="754" branch="true" condition-coverage="50% (1/2)" />
127-
<line number="162" hits="745" branch="false" />
128-
<line number="164" hits="745" branch="false" />
129-
<line number="165" hits="745" branch="false" />
130-
<line number="175" hits="745" branch="true" condition-coverage="100% (4/4)" />
131-
<line number="176" hits="734" branch="true" condition-coverage="100% (2/2)" />
132-
<line number="177" hits="268" branch="false" />
133-
<line number="180" hits="734" branch="false" />
134-
<line number="191" hits="745" branch="true" condition-coverage="50% (1/2)" />
135-
<line number="192" hits="745" branch="true" condition-coverage="50% (1/2)" />
126+
<line number="153" hits="622" branch="true" condition-coverage="50% (1/2)" />
127+
<line number="162" hits="613" branch="false" />
128+
<line number="164" hits="613" branch="false" />
129+
<line number="165" hits="613" branch="false" />
130+
<line number="175" hits="613" branch="true" condition-coverage="100% (4/4)" />
131+
<line number="176" hits="604" branch="true" condition-coverage="100% (2/2)" />
132+
<line number="177" hits="150" branch="false" />
133+
<line number="180" hits="604" branch="false" />
134+
<line number="191" hits="613" branch="true" condition-coverage="50% (1/2)" />
135+
<line number="192" hits="613" branch="true" condition-coverage="50% (1/2)" />
136136
<line number="195" hits="0" branch="false" />
137137
<line number="196" hits="0" branch="true" condition-coverage="0% (0/4)" />
138-
<line number="208" hits="754" branch="true" condition-coverage="100% (4/4)" />
138+
<line number="208" hits="622" branch="true" condition-coverage="100% (4/4)" />
139139
<line number="209" hits="2" branch="true" condition-coverage="50% (1/2)" />
140140
<line number="211" hits="0" branch="false" />
141141
<line number="215" hits="2" branch="false" />
142-
<line number="217" hits="752" branch="false" />
143-
<line number="228" hits="763" branch="false" />
144-
<line number="238" hits="23" branch="true" condition-coverage="100% (2/2)" />
142+
<line number="217" hits="620" branch="false" />
143+
<line number="228" hits="631" branch="false" />
144+
<line number="238" hits="20" branch="true" condition-coverage="100% (2/2)" />
145145
<line number="255" hits="11" branch="true" condition-coverage="100% (2/2)" />
146146
<line number="256" hits="2" branch="false" />
147147
<line number="257" hits="2" branch="false" />
@@ -153,7 +153,7 @@
153153
<line number="275" hits="11" branch="true" condition-coverage="100% (2/2)" />
154154
<line number="276" hits="0" branch="false" />
155155
<line number="286" hits="5382" branch="false" />
156-
<line number="287" hits="745" branch="false" />
156+
<line number="287" hits="613" branch="false" />
157157
<line number="297" hits="162" branch="false" />
158158
<line number="298" hits="864" branch="false" />
159159
<line number="299" hits="5364" branch="false" />

coverage/report-html/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ <h1>
2525
<span class='fraction'>155/165</span>
2626
</div>
2727
<div class='fl pad1y space-right2'>
28-
<span class="strong">88.1% </span>
28+
<span class="strong">88.89% </span>
2929
<span class="quiet">Branches</span>
30-
<span class='fraction'>111/126</span>
30+
<span class='fraction'>112/126</span>
3131
</div>
3232
<div class='fl pad1y space-right2'>
3333
<span class="strong">88.37% </span>
@@ -63,8 +63,8 @@ <h1>
6363
<td data-value="94.96" class="pic high"><div class="chart"><div class="cover-fill" style="width: 94%;"></div><div class="cover-empty" style="width:6%;"></div></div></td>
6464
<td data-value="94.96" class="pct high">94.96%</td>
6565
<td data-value="119" class="abs high">113/119</td>
66-
<td data-value="80" class="pct high">80%</td>
67-
<td data-value="70" class="abs high">56/70</td>
66+
<td data-value="81.43" class="pct high">81.43%</td>
67+
<td data-value="70" class="abs high">57/70</td>
6868
<td data-value="94.29" class="pct high">94.29%</td>
6969
<td data-value="35" class="abs high">33/35</td>
7070
<td data-value="95.58" class="pct high">95.58%</td>
@@ -90,7 +90,7 @@ <h1>
9090
</div><!-- /wrapper -->
9191
<div class='footer quiet pad2 space-top1 center small'>
9292
Code coverage
93-
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri Apr 05 2019 21:24:39 GMT+0200 (Central European Summer Time)
93+
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri Apr 05 2019 21:34:18 GMT+0200 (Central European Summer Time)
9494
</div>
9595
</div>
9696
<script src="prettify.js"></script>

coverage/report-html/js/Randrix.class.js.html

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ <h1>
2525
<span class='fraction'>81/87</span>
2626
</div>
2727
<div class='fl pad1y space-right2'>
28-
<span class="strong">77.59% </span>
28+
<span class="strong">79.31% </span>
2929
<span class="quiet">Branches</span>
30-
<span class='fraction'>45/58</span>
30+
<span class='fraction'>46/58</span>
3131
</div>
3232
<div class='fl pad1y space-right2'>
3333
<span class="strong">92% </span>
@@ -476,7 +476,7 @@ <h1>
476476
<span class="cline-any cline-neutral">&nbsp;</span>
477477
<span class="cline-any cline-neutral">&nbsp;</span>
478478
<span class="cline-any cline-neutral">&nbsp;</span>
479-
<span class="cline-any cline-yes">6136×</span>
479+
<span class="cline-any cline-yes">6004×</span>
480480
<span class="cline-any cline-neutral">&nbsp;</span>
481481
<span class="cline-any cline-neutral">&nbsp;</span>
482482
<span class="cline-any cline-neutral">&nbsp;</span>
@@ -489,7 +489,7 @@ <h1>
489489
<span class="cline-any cline-neutral">&nbsp;</span>
490490
<span class="cline-any cline-neutral">&nbsp;</span>
491491
<span class="cline-any cline-neutral">&nbsp;</span>
492-
<span class="cline-any cline-yes">2445×</span>
492+
<span class="cline-any cline-yes">2327×</span>
493493
<span class="cline-any cline-neutral">&nbsp;</span>
494494
<span class="cline-any cline-neutral">&nbsp;</span>
495495
<span class="cline-any cline-neutral">&nbsp;</span>
@@ -541,7 +541,7 @@ <h1>
541541
<span class="cline-any cline-neutral">&nbsp;</span>
542542
<span class="cline-any cline-neutral">&nbsp;</span>
543543
<span class="cline-any cline-neutral">&nbsp;</span>
544-
<span class="cline-any cline-yes">754×</span>
544+
<span class="cline-any cline-yes">622×</span>
545545
<span class="cline-any cline-neutral">&nbsp;</span>
546546
<span class="cline-any cline-neutral">&nbsp;</span>
547547
<span class="cline-any cline-neutral">&nbsp;</span>
@@ -550,10 +550,10 @@ <h1>
550550
<span class="cline-any cline-neutral">&nbsp;</span>
551551
<span class="cline-any cline-neutral">&nbsp;</span>
552552
<span class="cline-any cline-neutral">&nbsp;</span>
553-
<span class="cline-any cline-yes">745×</span>
553+
<span class="cline-any cline-yes">613×</span>
554554
<span class="cline-any cline-neutral">&nbsp;</span>
555-
<span class="cline-any cline-yes">745×</span>
556-
<span class="cline-any cline-yes">745×</span>
555+
<span class="cline-any cline-yes">613×</span>
556+
<span class="cline-any cline-yes">613×</span>
557557
<span class="cline-any cline-neutral">&nbsp;</span>
558558
<span class="cline-any cline-neutral">&nbsp;</span>
559559
<span class="cline-any cline-neutral">&nbsp;</span>
@@ -563,12 +563,12 @@ <h1>
563563
<span class="cline-any cline-neutral">&nbsp;</span>
564564
<span class="cline-any cline-neutral">&nbsp;</span>
565565
<span class="cline-any cline-neutral">&nbsp;</span>
566-
<span class="cline-any cline-yes">745×</span>
567-
<span class="cline-any cline-yes">734×</span>
568-
<span class="cline-any cline-yes">268×</span>
566+
<span class="cline-any cline-yes">613×</span>
567+
<span class="cline-any cline-yes">604×</span>
568+
<span class="cline-any cline-yes">150×</span>
569569
<span class="cline-any cline-neutral">&nbsp;</span>
570570
<span class="cline-any cline-neutral">&nbsp;</span>
571-
<span class="cline-any cline-yes">734×</span>
571+
<span class="cline-any cline-yes">604×</span>
572572
<span class="cline-any cline-neutral">&nbsp;</span>
573573
<span class="cline-any cline-neutral">&nbsp;</span>
574574
<span class="cline-any cline-neutral">&nbsp;</span>
@@ -579,8 +579,8 @@ <h1>
579579
<span class="cline-any cline-neutral">&nbsp;</span>
580580
<span class="cline-any cline-neutral">&nbsp;</span>
581581
<span class="cline-any cline-neutral">&nbsp;</span>
582-
<span class="cline-any cline-yes">745×</span>
583-
<span class="cline-any cline-yes">745×</span>
582+
<span class="cline-any cline-yes">613×</span>
583+
<span class="cline-any cline-yes">613×</span>
584584
<span class="cline-any cline-neutral">&nbsp;</span>
585585
<span class="cline-any cline-neutral">&nbsp;</span>
586586
<span class="cline-any cline-no">&nbsp;</span>
@@ -596,7 +596,7 @@ <h1>
596596
<span class="cline-any cline-neutral">&nbsp;</span>
597597
<span class="cline-any cline-neutral">&nbsp;</span>
598598
<span class="cline-any cline-neutral">&nbsp;</span>
599-
<span class="cline-any cline-yes">754×</span>
599+
<span class="cline-any cline-yes">622×</span>
600600
<span class="cline-any cline-yes"></span>
601601
<span class="cline-any cline-neutral">&nbsp;</span>
602602
<span class="cline-any cline-no">&nbsp;</span>
@@ -605,7 +605,7 @@ <h1>
605605
<span class="cline-any cline-neutral">&nbsp;</span>
606606
<span class="cline-any cline-yes"></span>
607607
<span class="cline-any cline-neutral">&nbsp;</span>
608-
<span class="cline-any cline-yes">752×</span>
608+
<span class="cline-any cline-yes">620×</span>
609609
<span class="cline-any cline-neutral">&nbsp;</span>
610610
<span class="cline-any cline-neutral">&nbsp;</span>
611611
<span class="cline-any cline-neutral">&nbsp;</span>
@@ -616,7 +616,7 @@ <h1>
616616
<span class="cline-any cline-neutral">&nbsp;</span>
617617
<span class="cline-any cline-neutral">&nbsp;</span>
618618
<span class="cline-any cline-neutral">&nbsp;</span>
619-
<span class="cline-any cline-yes">763×</span>
619+
<span class="cline-any cline-yes">631×</span>
620620
<span class="cline-any cline-neutral">&nbsp;</span>
621621
<span class="cline-any cline-neutral">&nbsp;</span>
622622
<span class="cline-any cline-neutral">&nbsp;</span>
@@ -626,7 +626,7 @@ <h1>
626626
<span class="cline-any cline-neutral">&nbsp;</span>
627627
<span class="cline-any cline-neutral">&nbsp;</span>
628628
<span class="cline-any cline-neutral">&nbsp;</span>
629-
<span class="cline-any cline-yes">23×</span>
629+
<span class="cline-any cline-yes">20×</span>
630630
<span class="cline-any cline-neutral">&nbsp;</span>
631631
<span class="cline-any cline-neutral">&nbsp;</span>
632632
<span class="cline-any cline-neutral">&nbsp;</span>
@@ -675,7 +675,7 @@ <h1>
675675
<span class="cline-any cline-neutral">&nbsp;</span>
676676
<span class="cline-any cline-neutral">&nbsp;</span>
677677
<span class="cline-any cline-yes">5382×</span>
678-
<span class="cline-any cline-yes">745×</span>
678+
<span class="cline-any cline-yes">613×</span>
679679
<span class="cline-any cline-neutral">&nbsp;</span>
680680
<span class="cline-any cline-neutral">&nbsp;</span>
681681
<span class="cline-any cline-neutral">&nbsp;</span>
@@ -741,7 +741,7 @@ <h1>
741741
* @fileOverview Randrix Class.
742742
* @author Simon Gattner &lt;npm@0x38.de&gt;
743743
* @license MIT
744-
* @version 1.0.1
744+
* @version 1.0.2
745745
* @module {es6} Randrix
746746
*/
747747
export default class Randrix {
@@ -976,7 +976,7 @@ <h1>
976976
// start in the first lines
977977
(this._index === 0 &amp;&amp; this._matrix[id].x === 0) ||
978978
// forward in the current line
979-
(this._x === this._matrix[id].x &amp;&amp; <span class="branch-3 cbranch-no" title="branch not covered" >this._y + 1 === this._matrix[id].y)</span> ||
979+
(this._x === this._matrix[id].x &amp;&amp; this._y + 1 === this._matrix[id].y) ||
980980
// forward to the next line
981981
(this._x + 1 === this._matrix[id].x &amp;&amp; this._matrix[id].y === 0) :
982982
false;
@@ -1087,7 +1087,7 @@ <h1>
10871087
</div><!-- /wrapper -->
10881088
<div class='footer quiet pad2 space-top1 center small'>
10891089
Code coverage
1090-
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri Apr 05 2019 21:24:39 GMT+0200 (Central European Summer Time)
1090+
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri Apr 05 2019 21:34:18 GMT+0200 (Central European Summer Time)
10911091
</div>
10921092
</div>
10931093
<script src="../prettify.js"></script>

coverage/report-html/js/Randrix.class.test.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ <h1>
229229
</div><!-- /wrapper -->
230230
<div class='footer quiet pad2 space-top1 center small'>
231231
Code coverage
232-
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri Apr 05 2019 21:24:39 GMT+0200 (Central European Summer Time)
232+
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri Apr 05 2019 21:34:18 GMT+0200 (Central European Summer Time)
233233
</div>
234234
</div>
235235
<script src="../prettify.js"></script>

coverage/report-html/js/helper/TestData.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1216,7 +1216,7 @@ <h1>
12161216
</div><!-- /wrapper -->
12171217
<div class='footer quiet pad2 space-top1 center small'>
12181218
Code coverage
1219-
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri Apr 05 2019 21:24:39 GMT+0200 (Central European Summer Time)
1219+
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri Apr 05 2019 21:34:18 GMT+0200 (Central European Summer Time)
12201220
</div>
12211221
</div>
12221222
<script src="../../prettify.js"></script>

coverage/report-html/js/helper/TestHelper.class.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ <h1>
160160
</div><!-- /wrapper -->
161161
<div class='footer quiet pad2 space-top1 center small'>
162162
Code coverage
163-
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri Apr 05 2019 21:24:39 GMT+0200 (Central European Summer Time)
163+
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri Apr 05 2019 21:34:18 GMT+0200 (Central European Summer Time)
164164
</div>
165165
</div>
166166
<script src="../../prettify.js"></script>

coverage/report-html/js/helper/Validation.class.js.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ <h1>
239239
* @fileOverview Validation Class.
240240
* @author Simon Gattner &lt;npm@0x38.de&gt;
241241
* @license MIT
242-
* @version 1.0.1
242+
* @version 1.0.2
243243
*/
244244
export default class Validation {
245245
/**
@@ -337,7 +337,7 @@ <h1>
337337
</div><!-- /wrapper -->
338338
<div class='footer quiet pad2 space-top1 center small'>
339339
Code coverage
340-
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri Apr 05 2019 21:24:39 GMT+0200 (Central European Summer Time)
340+
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri Apr 05 2019 21:34:18 GMT+0200 (Central European Summer Time)
341341
</div>
342342
</div>
343343
<script src="../../prettify.js"></script>

coverage/report-html/js/helper/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ <h1>
103103
</div><!-- /wrapper -->
104104
<div class='footer quiet pad2 space-top1 center small'>
105105
Code coverage
106-
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri Apr 05 2019 21:24:39 GMT+0200 (Central European Summer Time)
106+
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri Apr 05 2019 21:34:18 GMT+0200 (Central European Summer Time)
107107
</div>
108108
</div>
109109
<script src="../../prettify.js"></script>

0 commit comments

Comments
 (0)