@featurevisor/sdk 1.2.3 → 1.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintcache +1 -1
- package/CHANGELOG.md +19 -0
- package/coverage/clover.xml +325 -322
- package/coverage/coverage-final.json +5 -5
- package/coverage/lcov-report/bucket.ts.html +1 -1
- package/coverage/lcov-report/conditions.ts.html +58 -10
- package/coverage/lcov-report/datafileReader.ts.html +1 -1
- package/coverage/lcov-report/emitter.ts.html +1 -1
- package/coverage/lcov-report/feature.ts.html +35 -5
- package/coverage/lcov-report/index.html +11 -11
- package/coverage/lcov-report/instance.ts.html +33 -6
- package/coverage/lcov-report/logger.ts.html +11 -11
- package/coverage/lcov-report/segments.ts.html +15 -9
- package/coverage/lcov.info +575 -572
- package/dist/index.js +1 -1
- package/dist/index.js.gz +0 -0
- package/dist/index.js.map +1 -1
- package/lib/conditions.d.ts +2 -1
- package/lib/conditions.js +18 -6
- package/lib/conditions.js.map +1 -1
- package/lib/feature.d.ts +4 -3
- package/lib/feature.js +7 -7
- package/lib/feature.js.map +1 -1
- package/lib/instance.js +8 -8
- package/lib/instance.js.map +1 -1
- package/lib/segments.d.ts +3 -2
- package/lib/segments.js +8 -8
- package/lib/segments.js.map +1 -1
- package/package.json +3 -3
- package/src/conditions.spec.ts +358 -192
- package/src/conditions.ts +20 -4
- package/src/feature.ts +13 -3
- package/src/instance.ts +13 -4
- package/src/segments.spec.ts +56 -28
- package/src/segments.ts +9 -7
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1710435879225" clover="3.2.0">
|
|
3
|
+
<project timestamp="1710435879225" name="All files">
|
|
4
|
+
<metrics statements="612" coveredstatements="561" conditionals="325" coveredconditionals="279" methods="100" coveredmethods="94" elements="1037" coveredelements="934" complexity="0" loc="612" ncloc="612" packages="1" files="8" classes="8"/>
|
|
5
5
|
<file name="bucket.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.ts">
|
|
6
6
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
7
7
|
<line num="1" count="2" type="stmt"/>
|
|
@@ -14,71 +14,74 @@
|
|
|
14
14
|
<line num="12" count="105" type="stmt"/>
|
|
15
15
|
</file>
|
|
16
16
|
<file name="conditions.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/conditions.ts">
|
|
17
|
-
<metrics statements="
|
|
17
|
+
<metrics statements="67" coveredstatements="63" conditionals="65" coveredconditionals="64" methods="6" coveredmethods="6"/>
|
|
18
18
|
<line num="1" count="3" type="stmt"/>
|
|
19
|
-
<line num="
|
|
20
|
-
<line num="
|
|
21
|
-
<line num="
|
|
22
|
-
<line num="
|
|
23
|
-
<line num="
|
|
24
|
-
<line num="
|
|
25
|
-
<line num="
|
|
26
|
-
<line num="
|
|
27
|
-
<line num="
|
|
28
|
-
<line num="
|
|
29
|
-
<line num="
|
|
30
|
-
<line num="
|
|
31
|
-
<line num="
|
|
32
|
-
<line num="
|
|
33
|
-
<line num="28" count="4" type="stmt"/>
|
|
34
|
-
<line num="29" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
19
|
+
<line num="7" count="3" type="stmt"/>
|
|
20
|
+
<line num="8" count="414" type="stmt"/>
|
|
21
|
+
<line num="10" count="414" type="cond" truecount="2" falsecount="0"/>
|
|
22
|
+
<line num="11" count="359" type="stmt"/>
|
|
23
|
+
<line num="12" count="55" type="cond" truecount="2" falsecount="0"/>
|
|
24
|
+
<line num="13" count="2" type="stmt"/>
|
|
25
|
+
<line num="14" count="53" type="cond" truecount="4" falsecount="0"/>
|
|
26
|
+
<line num="16" count="8" type="stmt"/>
|
|
27
|
+
<line num="19" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
28
|
+
<line num="20" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
29
|
+
<line num="22" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
30
|
+
<line num="25" count="45" type="cond" truecount="4" falsecount="0"/>
|
|
31
|
+
<line num="27" count="8" type="stmt"/>
|
|
32
|
+
<line num="29" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
35
33
|
<line num="30" count="4" type="stmt"/>
|
|
36
|
-
<line num="
|
|
37
|
-
<line num="
|
|
38
|
-
<line num="
|
|
39
|
-
<line num="
|
|
40
|
-
<line num="38" count="
|
|
34
|
+
<line num="31" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
35
|
+
<line num="32" count="4" type="stmt"/>
|
|
36
|
+
<line num="34" count="37" type="cond" truecount="4" falsecount="0"/>
|
|
37
|
+
<line num="36" count="25" type="stmt"/>
|
|
38
|
+
<line num="38" count="25" type="cond" truecount="2" falsecount="0"/>
|
|
41
39
|
<line num="39" count="3" type="stmt"/>
|
|
42
|
-
<line num="40" count="
|
|
40
|
+
<line num="40" count="22" type="cond" truecount="2" falsecount="0"/>
|
|
43
41
|
<line num="41" count="3" type="stmt"/>
|
|
44
|
-
<line num="42" count="
|
|
42
|
+
<line num="42" count="19" type="cond" truecount="2" falsecount="0"/>
|
|
45
43
|
<line num="43" count="3" type="stmt"/>
|
|
46
|
-
<line num="44" count="
|
|
47
|
-
<line num="45" count="
|
|
48
|
-
<line num="46" count="
|
|
44
|
+
<line num="44" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
45
|
+
<line num="45" count="3" type="stmt"/>
|
|
46
|
+
<line num="46" count="13" type="cond" truecount="2" falsecount="0"/>
|
|
49
47
|
<line num="47" count="2" type="stmt"/>
|
|
50
|
-
<line num="48" count="
|
|
48
|
+
<line num="48" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
51
49
|
<line num="49" count="2" type="stmt"/>
|
|
52
|
-
<line num="50" count="
|
|
53
|
-
<line num="51" count="
|
|
54
|
-
<line num="52" count="
|
|
55
|
-
<line num="53" count="
|
|
56
|
-
<line num="54" count="
|
|
50
|
+
<line num="50" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
51
|
+
<line num="51" count="2" type="stmt"/>
|
|
52
|
+
<line num="52" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
53
|
+
<line num="53" count="3" type="stmt"/>
|
|
54
|
+
<line num="54" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
57
55
|
<line num="55" count="2" type="stmt"/>
|
|
58
|
-
<line num="
|
|
59
|
-
<line num="
|
|
60
|
-
<line num="
|
|
61
|
-
<line num="
|
|
62
|
-
<line num="63" count="
|
|
63
|
-
<line num="64" count="
|
|
64
|
-
<line num="65" count="
|
|
65
|
-
<line num="66" count="
|
|
66
|
-
<line num="67" count="
|
|
67
|
-
<line num="68" count="
|
|
68
|
-
<line num="
|
|
69
|
-
<line num="
|
|
70
|
-
<line num="
|
|
71
|
-
<line num="
|
|
72
|
-
<line num="
|
|
73
|
-
<line num="
|
|
74
|
-
<line num="
|
|
75
|
-
<line num="
|
|
76
|
-
<line num="
|
|
77
|
-
<line num="
|
|
78
|
-
<line num="
|
|
79
|
-
<line num="
|
|
80
|
-
<line num="
|
|
81
|
-
<line num="
|
|
56
|
+
<line num="56" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
57
|
+
<line num="57" count="2" type="stmt"/>
|
|
58
|
+
<line num="59" count="12" type="cond" truecount="3" falsecount="0"/>
|
|
59
|
+
<line num="61" count="12" type="stmt"/>
|
|
60
|
+
<line num="63" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
61
|
+
<line num="64" count="2" type="stmt"/>
|
|
62
|
+
<line num="65" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
63
|
+
<line num="66" count="4" type="stmt"/>
|
|
64
|
+
<line num="67" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
65
|
+
<line num="68" count="2" type="stmt"/>
|
|
66
|
+
<line num="69" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
67
|
+
<line num="70" count="4" type="stmt"/>
|
|
68
|
+
<line num="74" count="0" type="stmt"/>
|
|
69
|
+
<line num="77" count="3" type="stmt"/>
|
|
70
|
+
<line num="82" count="842" type="cond" truecount="1" falsecount="0"/>
|
|
71
|
+
<line num="83" count="414" type="stmt"/>
|
|
72
|
+
<line num="84" count="414" type="stmt"/>
|
|
73
|
+
<line num="86" count="0" type="stmt"/>
|
|
74
|
+
<line num="94" count="0" type="stmt"/>
|
|
75
|
+
<line num="98" count="428" type="cond" truecount="3" falsecount="0"/>
|
|
76
|
+
<line num="99" count="37" type="stmt"/>
|
|
77
|
+
<line num="102" count="405" type="cond" truecount="3" falsecount="0"/>
|
|
78
|
+
<line num="103" count="38" type="stmt"/>
|
|
79
|
+
<line num="106" count="383" type="cond" truecount="3" falsecount="0"/>
|
|
80
|
+
<line num="107" count="6" type="stmt"/>
|
|
81
|
+
<line num="109" count="9" type="stmt"/>
|
|
82
|
+
<line num="119" count="377" type="cond" truecount="1" falsecount="0"/>
|
|
83
|
+
<line num="120" count="380" type="stmt"/>
|
|
84
|
+
<line num="123" count="0" type="stmt"/>
|
|
82
85
|
</file>
|
|
83
86
|
<file name="datafileReader.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/datafileReader.ts">
|
|
84
87
|
<metrics statements="24" coveredstatements="23" conditionals="5" coveredconditionals="5" methods="11" coveredmethods="11"/>
|
|
@@ -132,37 +135,37 @@
|
|
|
132
135
|
<metrics statements="33" coveredstatements="31" conditionals="13" coveredconditionals="12" methods="8" coveredmethods="8"/>
|
|
133
136
|
<line num="3" count="1" type="stmt"/>
|
|
134
137
|
<line num="4" count="1" type="stmt"/>
|
|
135
|
-
<line num="
|
|
136
|
-
<line num="
|
|
137
|
-
<line num="
|
|
138
|
-
<line num="
|
|
139
|
-
<line num="
|
|
140
|
-
<line num="
|
|
141
|
-
<line num="
|
|
142
|
-
<line num="
|
|
143
|
-
<line num="
|
|
144
|
-
<line num="
|
|
145
|
-
<line num="
|
|
146
|
-
<line num="
|
|
147
|
-
<line num="
|
|
148
|
-
<line num="
|
|
149
|
-
<line num="
|
|
150
|
-
<line num="
|
|
151
|
-
<line num="
|
|
152
|
-
<line num="
|
|
153
|
-
<line num="
|
|
154
|
-
<line num="
|
|
155
|
-
<line num="
|
|
156
|
-
<line num="
|
|
157
|
-
<line num="
|
|
158
|
-
<line num="
|
|
159
|
-
<line num="
|
|
160
|
-
<line num="
|
|
161
|
-
<line num="
|
|
162
|
-
<line num="
|
|
163
|
-
<line num="
|
|
164
|
-
<line num="
|
|
165
|
-
<line num="
|
|
138
|
+
<line num="7" count="1" type="stmt"/>
|
|
139
|
+
<line num="11" count="39" type="stmt"/>
|
|
140
|
+
<line num="12" count="65" type="stmt"/>
|
|
141
|
+
<line num="14" count="65" type="cond" truecount="4" falsecount="0"/>
|
|
142
|
+
<line num="15" count="37" type="stmt"/>
|
|
143
|
+
<line num="19" count="2" type="stmt"/>
|
|
144
|
+
<line num="22" count="1" type="stmt"/>
|
|
145
|
+
<line num="23" count="147" type="cond" truecount="4" falsecount="0"/>
|
|
146
|
+
<line num="24" count="5" type="stmt"/>
|
|
147
|
+
<line num="27" count="142" type="stmt"/>
|
|
148
|
+
<line num="30" count="1" type="stmt"/>
|
|
149
|
+
<line num="36" count="56" type="stmt"/>
|
|
150
|
+
<line num="37" count="81" type="cond" truecount="1" falsecount="0"/>
|
|
151
|
+
<line num="45" count="29" type="stmt"/>
|
|
152
|
+
<line num="48" count="52" type="stmt"/>
|
|
153
|
+
<line num="57" count="1" type="stmt"/>
|
|
154
|
+
<line num="64" count="39" type="stmt"/>
|
|
155
|
+
<line num="65" count="59" type="stmt"/>
|
|
156
|
+
<line num="73" count="39" type="cond" truecount="0" falsecount="1"/>
|
|
157
|
+
<line num="74" count="0" type="stmt"/>
|
|
158
|
+
<line num="80" count="39" type="stmt"/>
|
|
159
|
+
<line num="82" count="39" type="stmt"/>
|
|
160
|
+
<line num="88" count="1" type="stmt"/>
|
|
161
|
+
<line num="94" count="108" type="cond" truecount="1" falsecount="0"/>
|
|
162
|
+
<line num="95" count="51" type="stmt"/>
|
|
163
|
+
<line num="98" count="57" type="stmt"/>
|
|
164
|
+
<line num="99" count="153" type="cond" truecount="1" falsecount="0"/>
|
|
165
|
+
<line num="100" count="148" type="stmt"/>
|
|
166
|
+
<line num="103" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
167
|
+
<line num="104" count="5" type="stmt"/>
|
|
168
|
+
<line num="107" count="0" type="stmt"/>
|
|
166
169
|
</file>
|
|
167
170
|
<file name="instance.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/instance.ts">
|
|
168
171
|
<metrics statements="411" coveredstatements="369" conditionals="211" coveredconditionals="167" methods="52" coveredmethods="46"/>
|
|
@@ -365,224 +368,224 @@
|
|
|
365
368
|
<line num="575" count="2" type="stmt"/>
|
|
366
369
|
<line num="580" count="56" type="stmt"/>
|
|
367
370
|
<line num="582" count="56" type="stmt"/>
|
|
368
|
-
<line num="
|
|
369
|
-
<line num="
|
|
370
|
-
<line num="
|
|
371
|
-
<line num="
|
|
372
|
-
<line num="
|
|
373
|
-
<line num="
|
|
374
|
-
<line num="
|
|
375
|
-
<line num="
|
|
376
|
-
<line num="
|
|
377
|
-
<line num="
|
|
378
|
-
<line num="616" count="1" type="stmt"/>
|
|
379
|
-
<line num="620" count="50" type="cond" truecount="1" falsecount="0"/>
|
|
371
|
+
<line num="589" count="56" type="cond" truecount="1" falsecount="0"/>
|
|
372
|
+
<line num="591" count="52" type="cond" truecount="3" falsecount="0"/>
|
|
373
|
+
<line num="592" count="2" type="stmt"/>
|
|
374
|
+
<line num="593" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
375
|
+
<line num="597" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
376
|
+
<line num="598" count="1" type="stmt"/>
|
|
377
|
+
<line num="606" count="1" type="stmt"/>
|
|
378
|
+
<line num="608" count="1" type="stmt"/>
|
|
379
|
+
<line num="612" count="1" type="stmt"/>
|
|
380
|
+
<line num="619" count="1" type="stmt"/>
|
|
380
381
|
<line num="621" count="1" type="stmt"/>
|
|
381
|
-
<line num="
|
|
382
|
-
<line num="
|
|
383
|
-
<line num="
|
|
384
|
-
<line num="637" count="
|
|
385
|
-
<line num="
|
|
386
|
-
<line num="
|
|
387
|
-
<line num="
|
|
388
|
-
<line num="
|
|
389
|
-
<line num="
|
|
390
|
-
<line num="
|
|
391
|
-
<line num="
|
|
392
|
-
<line num="
|
|
393
|
-
<line num="
|
|
394
|
-
<line num="
|
|
395
|
-
<line num="
|
|
396
|
-
<line num="
|
|
397
|
-
<line num="
|
|
398
|
-
<line num="
|
|
399
|
-
<line num="
|
|
400
|
-
<line num="
|
|
401
|
-
<line num="
|
|
402
|
-
<line num="
|
|
382
|
+
<line num="625" count="50" type="cond" truecount="1" falsecount="0"/>
|
|
383
|
+
<line num="626" count="1" type="stmt"/>
|
|
384
|
+
<line num="635" count="1" type="stmt"/>
|
|
385
|
+
<line num="637" count="1" type="stmt"/>
|
|
386
|
+
<line num="641" count="49" type="cond" truecount="1" falsecount="0"/>
|
|
387
|
+
<line num="642" count="48" type="stmt"/>
|
|
388
|
+
<line num="651" count="48" type="stmt"/>
|
|
389
|
+
<line num="653" count="48" type="stmt"/>
|
|
390
|
+
<line num="658" count="5" type="stmt"/>
|
|
391
|
+
<line num="665" count="5" type="stmt"/>
|
|
392
|
+
<line num="667" count="5" type="stmt"/>
|
|
393
|
+
<line num="669" count="0" type="stmt"/>
|
|
394
|
+
<line num="675" count="0" type="stmt"/>
|
|
395
|
+
<line num="677" count="0" type="stmt"/>
|
|
396
|
+
<line num="682" count="22" type="stmt"/>
|
|
397
|
+
<line num="683" count="22" type="stmt"/>
|
|
398
|
+
<line num="685" count="22" type="stmt"/>
|
|
399
|
+
<line num="687" count="0" type="stmt"/>
|
|
400
|
+
<line num="689" count="0" type="stmt"/>
|
|
401
|
+
<line num="699" count="26" type="stmt"/>
|
|
402
|
+
<line num="700" count="26" type="cond" truecount="1" falsecount="1"/>
|
|
403
|
+
<line num="702" count="26" type="stmt"/>
|
|
404
|
+
<line num="704" count="26" type="cond" truecount="1" falsecount="0"/>
|
|
403
405
|
<line num="705" count="3" type="stmt"/>
|
|
404
|
-
<line num="
|
|
405
|
-
<line num="
|
|
406
|
-
<line num="
|
|
407
|
-
<line num="
|
|
408
|
-
<line num="
|
|
409
|
-
<line num="
|
|
410
|
-
<line num="
|
|
411
|
-
<line num="728" count="
|
|
412
|
-
<line num="
|
|
413
|
-
<line num="
|
|
414
|
-
<line num="
|
|
415
|
-
<line num="
|
|
416
|
-
<line num="
|
|
417
|
-
<line num="
|
|
418
|
-
<line num="
|
|
406
|
+
<line num="710" count="3" type="stmt"/>
|
|
407
|
+
<line num="712" count="3" type="stmt"/>
|
|
408
|
+
<line num="716" count="23" type="cond" truecount="3" falsecount="0"/>
|
|
409
|
+
<line num="717" count="2" type="stmt"/>
|
|
410
|
+
<line num="719" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
411
|
+
<line num="720" count="2" type="stmt"/>
|
|
412
|
+
<line num="726" count="2" type="stmt"/>
|
|
413
|
+
<line num="728" count="2" type="stmt"/>
|
|
414
|
+
<line num="733" count="21" type="cond" truecount="1" falsecount="0"/>
|
|
415
|
+
<line num="740" count="1" type="stmt"/>
|
|
416
|
+
<line num="742" count="1" type="stmt"/>
|
|
417
|
+
<line num="748" count="1" type="stmt"/>
|
|
418
|
+
<line num="750" count="1" type="stmt"/>
|
|
419
|
+
<line num="753" count="20" type="stmt"/>
|
|
420
|
+
<line num="756" count="20" type="cond" truecount="1" falsecount="0"/>
|
|
419
421
|
<line num="757" count="1" type="stmt"/>
|
|
420
|
-
<line num="
|
|
421
|
-
<line num="763" count="19" type="cond" truecount="3" falsecount="0"/>
|
|
422
|
+
<line num="762" count="1" type="stmt"/>
|
|
422
423
|
<line num="764" count="1" type="stmt"/>
|
|
424
|
+
<line num="768" count="19" type="cond" truecount="3" falsecount="0"/>
|
|
423
425
|
<line num="769" count="1" type="stmt"/>
|
|
424
|
-
<line num="
|
|
425
|
-
<line num="
|
|
426
|
-
<line num="
|
|
427
|
-
<line num="
|
|
428
|
-
<line num="
|
|
429
|
-
<line num="
|
|
430
|
-
<line num="
|
|
431
|
-
<line num="
|
|
432
|
-
<line num="
|
|
433
|
-
<line num="796" count="
|
|
434
|
-
<line num="
|
|
435
|
-
<line num="
|
|
436
|
-
<line num="
|
|
437
|
-
<line num="
|
|
438
|
-
<line num="
|
|
439
|
-
<line num="
|
|
440
|
-
<line num="
|
|
441
|
-
<line num="
|
|
442
|
-
<line num="
|
|
443
|
-
<line num="
|
|
444
|
-
<line num="
|
|
445
|
-
<line num="
|
|
446
|
-
<line num="
|
|
447
|
-
<line num="
|
|
448
|
-
<line num="845" count="
|
|
426
|
+
<line num="774" count="1" type="stmt"/>
|
|
427
|
+
<line num="776" count="1" type="stmt"/>
|
|
428
|
+
<line num="779" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
429
|
+
<line num="782" count="18" type="stmt"/>
|
|
430
|
+
<line num="784" count="18" type="cond" truecount="3" falsecount="0"/>
|
|
431
|
+
<line num="785" count="1" type="stmt"/>
|
|
432
|
+
<line num="787" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
433
|
+
<line num="788" count="1" type="stmt"/>
|
|
434
|
+
<line num="794" count="1" type="stmt"/>
|
|
435
|
+
<line num="796" count="1" type="stmt"/>
|
|
436
|
+
<line num="801" count="17" type="stmt"/>
|
|
437
|
+
<line num="803" count="17" type="stmt"/>
|
|
438
|
+
<line num="811" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
439
|
+
<line num="813" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
440
|
+
<line num="814" count="1" type="stmt"/>
|
|
441
|
+
<line num="816" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
442
|
+
<line num="817" count="1" type="stmt"/>
|
|
443
|
+
<line num="825" count="1" type="stmt"/>
|
|
444
|
+
<line num="827" count="1" type="stmt"/>
|
|
445
|
+
<line num="832" count="16" type="cond" truecount="3" falsecount="0"/>
|
|
446
|
+
<line num="833" count="23" type="stmt"/>
|
|
447
|
+
<line num="835" count="16" type="cond" truecount="1" falsecount="0"/>
|
|
448
|
+
<line num="836" count="16" type="stmt"/>
|
|
449
|
+
<line num="843" count="16" type="stmt"/>
|
|
450
|
+
<line num="845" count="16" type="stmt"/>
|
|
449
451
|
<line num="851" count="0" type="stmt"/>
|
|
450
|
-
<line num="
|
|
451
|
-
<line num="
|
|
452
|
+
<line num="857" count="0" type="stmt"/>
|
|
453
|
+
<line num="859" count="0" type="stmt"/>
|
|
452
454
|
<line num="861" count="0" type="stmt"/>
|
|
453
|
-
<line num="
|
|
454
|
-
<line num="
|
|
455
|
-
<line num="
|
|
456
|
-
<line num="
|
|
457
|
-
<line num="
|
|
458
|
-
<line num="
|
|
459
|
-
<line num="
|
|
460
|
-
<line num="
|
|
461
|
-
<line num="
|
|
462
|
-
<line num="
|
|
463
|
-
<line num="
|
|
464
|
-
<line num="
|
|
465
|
-
<line num="
|
|
466
|
-
<line num="
|
|
467
|
-
<line num="
|
|
468
|
-
<line num="
|
|
469
|
-
<line num="
|
|
470
|
-
<line num="908" count="1" type="stmt"/>
|
|
471
|
-
<line num="910" count="0" type="stmt"/>
|
|
455
|
+
<line num="867" count="0" type="stmt"/>
|
|
456
|
+
<line num="869" count="0" type="stmt"/>
|
|
457
|
+
<line num="877" count="25" type="stmt"/>
|
|
458
|
+
<line num="878" count="25" type="stmt"/>
|
|
459
|
+
<line num="880" count="25" type="cond" truecount="1" falsecount="0"/>
|
|
460
|
+
<line num="881" count="3" type="stmt"/>
|
|
461
|
+
<line num="884" count="22" type="cond" truecount="1" falsecount="0"/>
|
|
462
|
+
<line num="885" count="17" type="stmt"/>
|
|
463
|
+
<line num="888" count="5" type="stmt"/>
|
|
464
|
+
<line num="890" count="0" type="stmt"/>
|
|
465
|
+
<line num="892" count="0" type="stmt"/>
|
|
466
|
+
<line num="900" count="1" type="stmt"/>
|
|
467
|
+
<line num="901" count="1" type="stmt"/>
|
|
468
|
+
<line num="902" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
469
|
+
<line num="906" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
470
|
+
<line num="907" count="0" type="stmt"/>
|
|
471
|
+
<line num="910" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
472
472
|
<line num="912" count="1" type="stmt"/>
|
|
473
|
-
<line num="
|
|
474
|
-
<line num="
|
|
473
|
+
<line num="914" count="1" type="stmt"/>
|
|
474
|
+
<line num="916" count="0" type="stmt"/>
|
|
475
475
|
<line num="918" count="1" type="stmt"/>
|
|
476
|
-
<line num="
|
|
477
|
-
<line num="
|
|
478
|
-
<line num="
|
|
479
|
-
<line num="
|
|
480
|
-
<line num="
|
|
481
|
-
<line num="
|
|
482
|
-
<line num="
|
|
483
|
-
<line num="
|
|
484
|
-
<line num="
|
|
485
|
-
<line num="
|
|
486
|
-
<line num="
|
|
487
|
-
<line num="
|
|
488
|
-
<line num="
|
|
489
|
-
<line num="
|
|
490
|
-
<line num="968" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
476
|
+
<line num="919" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
477
|
+
<line num="920" count="0" type="stmt"/>
|
|
478
|
+
<line num="924" count="1" type="stmt"/>
|
|
479
|
+
<line num="933" count="1" type="stmt"/>
|
|
480
|
+
<line num="935" count="0" type="stmt"/>
|
|
481
|
+
<line num="937" count="0" type="stmt"/>
|
|
482
|
+
<line num="951" count="28" type="stmt"/>
|
|
483
|
+
<line num="952" count="28" type="cond" truecount="1" falsecount="1"/>
|
|
484
|
+
<line num="954" count="28" type="stmt"/>
|
|
485
|
+
<line num="956" count="28" type="cond" truecount="1" falsecount="0"/>
|
|
486
|
+
<line num="957" count="1" type="stmt"/>
|
|
487
|
+
<line num="962" count="1" type="stmt"/>
|
|
488
|
+
<line num="964" count="1" type="stmt"/>
|
|
489
|
+
<line num="968" count="27" type="cond" truecount="3" falsecount="0"/>
|
|
491
490
|
<line num="969" count="1" type="stmt"/>
|
|
492
|
-
<line num="
|
|
493
|
-
<line num="
|
|
494
|
-
<line num="
|
|
495
|
-
<line num="
|
|
496
|
-
<line num="
|
|
497
|
-
<line num="
|
|
498
|
-
<line num="
|
|
499
|
-
<line num="
|
|
500
|
-
<line num="
|
|
501
|
-
<line num="
|
|
502
|
-
<line num="
|
|
503
|
-
<line num="
|
|
491
|
+
<line num="971" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
492
|
+
<line num="972" count="1" type="stmt"/>
|
|
493
|
+
<line num="974" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
494
|
+
<line num="975" count="1" type="stmt"/>
|
|
495
|
+
<line num="982" count="1" type="stmt"/>
|
|
496
|
+
<line num="984" count="1" type="stmt"/>
|
|
497
|
+
<line num="990" count="26" type="cond" truecount="1" falsecount="0"/>
|
|
498
|
+
<line num="996" count="1" type="stmt"/>
|
|
499
|
+
<line num="998" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
500
|
+
<line num="999" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
501
|
+
<line num="1000" count="1" type="stmt"/>
|
|
502
|
+
<line num="1007" count="1" type="stmt"/>
|
|
503
|
+
<line num="1009" count="1" type="stmt"/>
|
|
504
|
+
<line num="1014" count="25" type="stmt"/>
|
|
505
|
+
<line num="1017" count="25" type="cond" truecount="1" falsecount="0"/>
|
|
504
506
|
<line num="1018" count="1" type="stmt"/>
|
|
505
|
-
<line num="
|
|
506
|
-
<line num="
|
|
507
|
-
<line num="
|
|
508
|
-
<line num="
|
|
509
|
-
<line num="
|
|
507
|
+
<line num="1024" count="1" type="stmt"/>
|
|
508
|
+
<line num="1026" count="1" type="stmt"/>
|
|
509
|
+
<line num="1029" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
510
|
+
<line num="1030" count="91" type="stmt"/>
|
|
511
|
+
<line num="1034" count="24" type="cond" truecount="1" falsecount="0"/>
|
|
510
512
|
<line num="1035" count="1" type="stmt"/>
|
|
511
|
-
<line num="
|
|
512
|
-
<line num="
|
|
513
|
-
<line num="
|
|
514
|
-
<line num="
|
|
515
|
-
<line num="
|
|
516
|
-
<line num="
|
|
517
|
-
<line num="
|
|
518
|
-
<line num="
|
|
519
|
-
<line num="
|
|
520
|
-
<line num="
|
|
521
|
-
<line num="
|
|
522
|
-
<line num="
|
|
523
|
-
<line num="
|
|
524
|
-
<line num="
|
|
525
|
-
<line num="
|
|
526
|
-
<line num="
|
|
527
|
-
<line num="
|
|
528
|
-
<line num="
|
|
529
|
-
<line num="
|
|
530
|
-
<line num="
|
|
531
|
-
<line num="
|
|
532
|
-
<line num="
|
|
533
|
-
<line num="
|
|
534
|
-
<line num="
|
|
535
|
-
<line num="
|
|
536
|
-
<line num="
|
|
537
|
-
<line num="
|
|
538
|
-
<line num="
|
|
539
|
-
<line num="
|
|
540
|
-
<line num="
|
|
541
|
-
<line num="
|
|
542
|
-
<line num="
|
|
543
|
-
<line num="
|
|
544
|
-
<line num="
|
|
545
|
-
<line num="
|
|
546
|
-
<line num="
|
|
547
|
-
<line num="
|
|
548
|
-
<line num="
|
|
549
|
-
<line num="
|
|
513
|
+
<line num="1041" count="1" type="stmt"/>
|
|
514
|
+
<line num="1043" count="1" type="stmt"/>
|
|
515
|
+
<line num="1046" count="23" type="cond" truecount="1" falsecount="1"/>
|
|
516
|
+
<line num="1049" count="23" type="stmt"/>
|
|
517
|
+
<line num="1051" count="23" type="cond" truecount="4" falsecount="0"/>
|
|
518
|
+
<line num="1052" count="1" type="stmt"/>
|
|
519
|
+
<line num="1060" count="1" type="stmt"/>
|
|
520
|
+
<line num="1062" count="1" type="stmt"/>
|
|
521
|
+
<line num="1066" count="22" type="stmt"/>
|
|
522
|
+
<line num="1068" count="22" type="stmt"/>
|
|
523
|
+
<line num="1076" count="22" type="cond" truecount="1" falsecount="0"/>
|
|
524
|
+
<line num="1078" count="22" type="cond" truecount="1" falsecount="0"/>
|
|
525
|
+
<line num="1082" count="2" type="stmt"/>
|
|
526
|
+
<line num="1092" count="2" type="stmt"/>
|
|
527
|
+
<line num="1094" count="2" type="stmt"/>
|
|
528
|
+
<line num="1100" count="20" type="cond" truecount="4" falsecount="0"/>
|
|
529
|
+
<line num="1101" count="3" type="stmt"/>
|
|
530
|
+
<line num="1102" count="17" type="cond" truecount="3" falsecount="0"/>
|
|
531
|
+
<line num="1103" count="16" type="stmt"/>
|
|
532
|
+
<line num="1106" count="20" type="cond" truecount="3" falsecount="0"/>
|
|
533
|
+
<line num="1107" count="38" type="stmt"/>
|
|
534
|
+
<line num="1109" count="19" type="cond" truecount="3" falsecount="0"/>
|
|
535
|
+
<line num="1110" count="34" type="stmt"/>
|
|
536
|
+
<line num="1112" count="19" type="cond" truecount="1" falsecount="0"/>
|
|
537
|
+
<line num="1113" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
538
|
+
<line num="1114" count="7" type="stmt"/>
|
|
539
|
+
<line num="1115" count="12" type="cond" truecount="1" falsecount="0"/>
|
|
540
|
+
<line num="1116" count="5" type="stmt"/>
|
|
541
|
+
<line num="1123" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
542
|
+
<line num="1124" count="7" type="stmt"/>
|
|
543
|
+
<line num="1132" count="0" type="stmt"/>
|
|
544
|
+
<line num="1135" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
545
|
+
<line num="1136" count="4" type="stmt"/>
|
|
546
|
+
<line num="1146" count="4" type="stmt"/>
|
|
547
|
+
<line num="1148" count="4" type="stmt"/>
|
|
548
|
+
<line num="1152" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
549
|
+
<line num="1153" count="3" type="stmt"/>
|
|
550
|
+
<line num="1163" count="3" type="stmt"/>
|
|
551
|
+
<line num="1165" count="3" type="stmt"/>
|
|
550
552
|
<line num="1173" count="13" type="stmt"/>
|
|
551
|
-
<line num="
|
|
552
|
-
<line num="
|
|
553
|
-
<line num="1184" count="0" type="stmt"/>
|
|
553
|
+
<line num="1182" count="13" type="stmt"/>
|
|
554
|
+
<line num="1184" count="13" type="stmt"/>
|
|
554
555
|
<line num="1186" count="0" type="stmt"/>
|
|
555
|
-
<line num="
|
|
556
|
-
<line num="
|
|
557
|
-
<line num="
|
|
558
|
-
<line num="
|
|
559
|
-
<line num="
|
|
560
|
-
<line num="
|
|
561
|
-
<line num="
|
|
562
|
-
<line num="
|
|
563
|
-
<line num="
|
|
564
|
-
<line num="
|
|
565
|
-
<line num="
|
|
566
|
-
<line num="
|
|
567
|
-
<line num="
|
|
568
|
-
<line num="
|
|
569
|
-
<line num="
|
|
570
|
-
<line num="
|
|
571
|
-
<line num="
|
|
572
|
-
<line num="
|
|
573
|
-
<line num="
|
|
574
|
-
<line num="
|
|
575
|
-
<line num="
|
|
576
|
-
<line num="
|
|
577
|
-
<line num="
|
|
578
|
-
<line num="
|
|
579
|
-
<line num="
|
|
556
|
+
<line num="1193" count="0" type="stmt"/>
|
|
557
|
+
<line num="1195" count="0" type="stmt"/>
|
|
558
|
+
<line num="1204" count="28" type="stmt"/>
|
|
559
|
+
<line num="1205" count="28" type="stmt"/>
|
|
560
|
+
<line num="1207" count="28" type="cond" truecount="1" falsecount="0"/>
|
|
561
|
+
<line num="1208" count="25" type="cond" truecount="1" falsecount="0"/>
|
|
562
|
+
<line num="1213" count="2" type="stmt"/>
|
|
563
|
+
<line num="1216" count="23" type="stmt"/>
|
|
564
|
+
<line num="1219" count="3" type="stmt"/>
|
|
565
|
+
<line num="1221" count="0" type="stmt"/>
|
|
566
|
+
<line num="1223" count="0" type="stmt"/>
|
|
567
|
+
<line num="1232" count="3" type="stmt"/>
|
|
568
|
+
<line num="1234" count="3" type="stmt"/>
|
|
569
|
+
<line num="1242" count="4" type="stmt"/>
|
|
570
|
+
<line num="1244" count="4" type="stmt"/>
|
|
571
|
+
<line num="1252" count="1" type="stmt"/>
|
|
572
|
+
<line num="1254" count="1" type="stmt"/>
|
|
573
|
+
<line num="1262" count="1" type="stmt"/>
|
|
574
|
+
<line num="1264" count="1" type="stmt"/>
|
|
575
|
+
<line num="1272" count="1" type="stmt"/>
|
|
576
|
+
<line num="1274" count="1" type="stmt"/>
|
|
577
|
+
<line num="1282" count="1" type="stmt"/>
|
|
578
|
+
<line num="1284" count="1" type="stmt"/>
|
|
579
|
+
<line num="1292" count="1" type="stmt"/>
|
|
580
|
+
<line num="1294" count="1" type="stmt"/>
|
|
581
|
+
<line num="1298" count="1" type="stmt"/>
|
|
582
|
+
<line num="1299" count="23" type="stmt"/>
|
|
580
583
|
</file>
|
|
581
584
|
<file name="logger.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/logger.ts">
|
|
582
585
|
<metrics statements="26" coveredstatements="26" conditionals="11" coveredconditionals="11" methods="9" coveredmethods="9"/>
|
|
583
|
-
<line num="16" count="
|
|
584
|
-
<line num="18" count="
|
|
585
|
-
<line num="28" count="
|
|
586
|
+
<line num="16" count="4" type="stmt"/>
|
|
587
|
+
<line num="18" count="4" type="stmt"/>
|
|
588
|
+
<line num="28" count="4" type="stmt"/>
|
|
586
589
|
<line num="33" count="12" type="cond" truecount="4" falsecount="0"/>
|
|
587
590
|
<line num="35" count="1" type="stmt"/>
|
|
588
591
|
<line num="36" count="1" type="stmt"/>
|
|
@@ -592,9 +595,9 @@
|
|
|
592
595
|
<line num="42" count="9" type="stmt"/>
|
|
593
596
|
<line num="44" count="1" type="stmt"/>
|
|
594
597
|
<line num="45" count="1" type="stmt"/>
|
|
595
|
-
<line num="49" count="
|
|
596
|
-
<line num="54" count="
|
|
597
|
-
<line num="55" count="
|
|
598
|
+
<line num="49" count="4" type="stmt"/>
|
|
599
|
+
<line num="54" count="30" type="stmt"/>
|
|
600
|
+
<line num="55" count="30" type="stmt"/>
|
|
598
601
|
<line num="59" count="1" type="stmt"/>
|
|
599
602
|
<line num="63" count="153" type="cond" truecount="1" falsecount="0"/>
|
|
600
603
|
<line num="64" count="25" type="stmt"/>
|
|
@@ -602,38 +605,38 @@
|
|
|
602
605
|
<line num="73" count="6" type="stmt"/>
|
|
603
606
|
<line num="77" count="14" type="stmt"/>
|
|
604
607
|
<line num="81" count="5" type="stmt"/>
|
|
605
|
-
<line num="85" count="
|
|
606
|
-
<line num="86" count="
|
|
607
|
-
<line num="87" count="
|
|
608
|
-
<line num="89" count="
|
|
608
|
+
<line num="85" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
609
|
+
<line num="86" count="30" type="cond" truecount="2" falsecount="0"/>
|
|
610
|
+
<line num="87" count="30" type="cond" truecount="2" falsecount="0"/>
|
|
611
|
+
<line num="89" count="30" type="stmt"/>
|
|
609
612
|
</file>
|
|
610
613
|
<file name="segments.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/segments.ts">
|
|
611
614
|
<metrics statements="25" coveredstatements="23" conditionals="14" coveredconditionals="14" methods="6" coveredmethods="6"/>
|
|
612
615
|
<line num="2" count="2" type="stmt"/>
|
|
613
|
-
<line num="
|
|
614
|
-
<line num="
|
|
615
|
-
<line num="
|
|
616
|
-
<line num="
|
|
617
|
-
<line num="
|
|
618
|
-
<line num="
|
|
619
|
-
<line num="
|
|
620
|
-
<line num="
|
|
621
|
-
<line num="
|
|
622
|
-
<line num="
|
|
623
|
-
<line num="
|
|
624
|
-
<line num="
|
|
625
|
-
<line num="
|
|
626
|
-
<line num="
|
|
627
|
-
<line num="
|
|
628
|
-
<line num="
|
|
629
|
-
<line num="
|
|
630
|
-
<line num="
|
|
631
|
-
<line num="42" count="10" type="stmt"/>
|
|
616
|
+
<line num="6" count="2" type="stmt"/>
|
|
617
|
+
<line num="7" count="133" type="stmt"/>
|
|
618
|
+
<line num="10" count="2" type="stmt"/>
|
|
619
|
+
<line num="16" count="342" type="cond" truecount="1" falsecount="0"/>
|
|
620
|
+
<line num="17" count="84" type="stmt"/>
|
|
621
|
+
<line num="20" count="258" type="cond" truecount="1" falsecount="0"/>
|
|
622
|
+
<line num="21" count="133" type="stmt"/>
|
|
623
|
+
<line num="23" count="133" type="cond" truecount="1" falsecount="0"/>
|
|
624
|
+
<line num="24" count="133" type="stmt"/>
|
|
625
|
+
<line num="27" count="0" type="stmt"/>
|
|
626
|
+
<line num="30" count="125" type="cond" truecount="1" falsecount="0"/>
|
|
627
|
+
<line num="31" count="125" type="cond" truecount="3" falsecount="0"/>
|
|
628
|
+
<line num="32" count="15" type="stmt"/>
|
|
629
|
+
<line num="33" count="24" type="stmt"/>
|
|
630
|
+
<line num="37" count="110" type="cond" truecount="3" falsecount="0"/>
|
|
631
|
+
<line num="38" count="8" type="stmt"/>
|
|
632
|
+
<line num="39" count="12" type="stmt"/>
|
|
633
|
+
<line num="43" count="102" type="cond" truecount="3" falsecount="0"/>
|
|
632
634
|
<line num="44" count="10" type="stmt"/>
|
|
633
|
-
<line num="
|
|
634
|
-
<line num="
|
|
635
|
-
<line num="
|
|
636
|
-
<line num="
|
|
635
|
+
<line num="46" count="10" type="stmt"/>
|
|
636
|
+
<line num="51" count="92" type="cond" truecount="1" falsecount="0"/>
|
|
637
|
+
<line num="52" count="92" type="stmt"/>
|
|
638
|
+
<line num="53" count="103" type="stmt"/>
|
|
639
|
+
<line num="57" count="0" type="stmt"/>
|
|
637
640
|
</file>
|
|
638
641
|
</project>
|
|
639
642
|
</coverage>
|