@featurevisor/sdk 2.7.0 → 2.12.0
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/CHANGELOG.md +22 -0
- package/coverage/clover.xml +182 -182
- package/coverage/coverage-final.json +9 -9
- package/coverage/lcov-report/bucketer.ts.html +16 -16
- package/coverage/lcov-report/child.ts.html +4 -4
- package/coverage/lcov-report/conditions.ts.html +3 -3
- package/coverage/lcov-report/datafileReader.ts.html +30 -30
- package/coverage/lcov-report/emitter.ts.html +2 -2
- package/coverage/lcov-report/evaluate.ts.html +71 -71
- package/coverage/lcov-report/events.ts.html +1 -1
- package/coverage/lcov-report/helpers.ts.html +8 -8
- package/coverage/lcov-report/hooks.ts.html +6 -6
- package/coverage/lcov-report/index.html +5 -5
- package/coverage/lcov-report/instance.ts.html +43 -43
- package/coverage/lcov-report/logger.ts.html +17 -17
- package/coverage/lcov.info +306 -306
- package/dist/child.d.ts +1 -1
- package/dist/evaluate.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.gz +0 -0
- package/dist/index.mjs.map +1 -1
- package/dist/instance.d.ts +1 -1
- package/lib/child.d.ts +1 -1
- package/lib/evaluate.d.ts +2 -2
- package/lib/instance.d.ts +1 -1
- package/package.json +3 -3
- package/src/child.ts +3 -3
- package/src/evaluate.ts +4 -4
- package/src/instance.spec.ts +324 -0
- package/src/instance.ts +3 -3
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="693" coveredstatements="633" conditionals="458" coveredconditionals="
|
|
2
|
+
<coverage generated="1771702382738" clover="3.2.0">
|
|
3
|
+
<project timestamp="1771702382738" name="All files">
|
|
4
|
+
<metrics statements="693" coveredstatements="633" conditionals="458" coveredconditionals="391" methods="116" coveredmethods="105" elements="1267" coveredelements="1129" complexity="0" loc="693" ncloc="693" packages="1" files="11" classes="11"/>
|
|
5
5
|
<file name="bucketer.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucketer.ts">
|
|
6
6
|
<metrics statements="34" coveredstatements="32" conditionals="14" coveredconditionals="13" methods="3" coveredmethods="3"/>
|
|
7
7
|
<line num="4" count="3" type="stmt"/>
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
<line num="14" count="3" type="stmt"/>
|
|
11
11
|
<line num="16" count="3" type="stmt"/>
|
|
12
12
|
<line num="18" count="3" type="stmt"/>
|
|
13
|
-
<line num="19" count="
|
|
14
|
-
<line num="20" count="
|
|
15
|
-
<line num="22" count="
|
|
13
|
+
<line num="19" count="235" type="stmt"/>
|
|
14
|
+
<line num="20" count="235" type="stmt"/>
|
|
15
|
+
<line num="22" count="235" type="stmt"/>
|
|
16
16
|
<line num="28" count="3" type="stmt"/>
|
|
17
17
|
<line num="38" count="3" type="stmt"/>
|
|
18
|
-
<line num="45" count="
|
|
19
|
-
<line num="50" count="
|
|
20
|
-
<line num="51" count="
|
|
21
|
-
<line num="52" count="
|
|
18
|
+
<line num="45" count="232" type="stmt"/>
|
|
19
|
+
<line num="50" count="232" type="cond" truecount="2" falsecount="0"/>
|
|
20
|
+
<line num="51" count="220" type="stmt"/>
|
|
21
|
+
<line num="52" count="220" type="stmt"/>
|
|
22
22
|
<line num="53" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
23
23
|
<line num="54" count="5" type="stmt"/>
|
|
24
24
|
<line num="55" count="5" type="stmt"/>
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
<line num="58" count="7" type="stmt"/>
|
|
28
28
|
<line num="60" count="0" type="stmt"/>
|
|
29
29
|
<line num="62" count="0" type="stmt"/>
|
|
30
|
-
<line num="65" count="
|
|
31
|
-
<line num="67" count="
|
|
32
|
-
<line num="68" count="
|
|
33
|
-
<line num="70" count="
|
|
30
|
+
<line num="65" count="232" type="stmt"/>
|
|
31
|
+
<line num="67" count="232" type="stmt"/>
|
|
32
|
+
<line num="68" count="244" type="stmt"/>
|
|
33
|
+
<line num="70" count="244" type="cond" truecount="1" falsecount="0"/>
|
|
34
34
|
<line num="71" count="16" type="stmt"/>
|
|
35
|
-
<line num="74" count="
|
|
36
|
-
<line num="75" count="
|
|
35
|
+
<line num="74" count="228" type="cond" truecount="4" falsecount="0"/>
|
|
36
|
+
<line num="75" count="217" type="stmt"/>
|
|
37
37
|
<line num="78" count="11" type="cond" truecount="1" falsecount="0"/>
|
|
38
38
|
<line num="79" count="7" type="stmt"/>
|
|
39
|
-
<line num="84" count="
|
|
40
|
-
<line num="86" count="
|
|
39
|
+
<line num="84" count="232" type="stmt"/>
|
|
40
|
+
<line num="86" count="232" type="stmt"/>
|
|
41
41
|
</file>
|
|
42
42
|
<file name="child.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/child.ts">
|
|
43
43
|
<metrics statements="33" coveredstatements="30" conditionals="36" coveredconditionals="32" methods="17" coveredmethods="17"/>
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
<metrics statements="72" coveredstatements="71" conditionals="77" coveredconditionals="74" methods="3" coveredmethods="3"/>
|
|
80
80
|
<line num="4" count="6" type="stmt"/>
|
|
81
81
|
<line num="6" count="6" type="stmt"/>
|
|
82
|
-
<line num="7" count="
|
|
83
|
-
<line num="8" count="
|
|
82
|
+
<line num="7" count="989" type="cond" truecount="1" falsecount="0"/>
|
|
83
|
+
<line num="8" count="977" type="stmt"/>
|
|
84
84
|
<line num="11" count="24" type="cond" truecount="2" falsecount="0"/>
|
|
85
85
|
<line num="14" count="6" type="stmt"/>
|
|
86
86
|
<line num="19" count="745" type="stmt"/>
|
|
@@ -154,13 +154,13 @@
|
|
|
154
154
|
<metrics statements="113" coveredstatements="105" conditionals="60" coveredconditionals="57" methods="27" coveredmethods="27"/>
|
|
155
155
|
<line num="15" count="5" type="stmt"/>
|
|
156
156
|
<line num="30" count="5" type="stmt"/>
|
|
157
|
-
<line num="45" count="
|
|
158
|
-
<line num="47" count="
|
|
159
|
-
<line num="49" count="
|
|
160
|
-
<line num="50" count="
|
|
161
|
-
<line num="52" count="
|
|
162
|
-
<line num="53" count="
|
|
163
|
-
<line num="55" count="
|
|
157
|
+
<line num="45" count="59" type="stmt"/>
|
|
158
|
+
<line num="47" count="59" type="stmt"/>
|
|
159
|
+
<line num="49" count="59" type="stmt"/>
|
|
160
|
+
<line num="50" count="59" type="stmt"/>
|
|
161
|
+
<line num="52" count="59" type="stmt"/>
|
|
162
|
+
<line num="53" count="59" type="stmt"/>
|
|
163
|
+
<line num="55" count="59" type="stmt"/>
|
|
164
164
|
<line num="59" count="9" type="stmt"/>
|
|
165
165
|
<line num="63" count="1" type="stmt"/>
|
|
166
166
|
<line num="67" count="212" type="stmt"/>
|
|
@@ -168,16 +168,16 @@
|
|
|
168
168
|
<line num="70" count="3" type="stmt"/>
|
|
169
169
|
<line num="73" count="209" type="stmt"/>
|
|
170
170
|
<line num="75" count="209" type="stmt"/>
|
|
171
|
-
<line num="79" count="
|
|
172
|
-
<line num="83" count="
|
|
173
|
-
<line num="87" count="
|
|
174
|
-
<line num="89" count="
|
|
171
|
+
<line num="79" count="11" type="stmt"/>
|
|
172
|
+
<line num="83" count="284" type="stmt"/>
|
|
173
|
+
<line num="87" count="8" type="stmt"/>
|
|
174
|
+
<line num="89" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
175
175
|
<line num="90" count="1" type="stmt"/>
|
|
176
|
-
<line num="93" count="
|
|
177
|
-
<line num="97" count="
|
|
178
|
-
<line num="99" count="
|
|
176
|
+
<line num="93" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
177
|
+
<line num="97" count="8" type="stmt"/>
|
|
178
|
+
<line num="99" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
179
179
|
<line num="100" count="1" type="stmt"/>
|
|
180
|
-
<line num="103" count="
|
|
180
|
+
<line num="103" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
181
181
|
<line num="107" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
182
182
|
<line num="108" count="18" type="stmt"/>
|
|
183
183
|
<line num="110" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
@@ -207,8 +207,8 @@
|
|
|
207
207
|
<line num="169" count="711" type="stmt"/>
|
|
208
208
|
<line num="172" count="0" type="stmt"/>
|
|
209
209
|
<line num="176" count="207" type="stmt"/>
|
|
210
|
-
<line num="183" count="
|
|
211
|
-
<line num="184" count="
|
|
210
|
+
<line num="183" count="570" type="cond" truecount="1" falsecount="0"/>
|
|
211
|
+
<line num="184" count="161" type="stmt"/>
|
|
212
212
|
<line num="187" count="409" type="cond" truecount="1" falsecount="0"/>
|
|
213
213
|
<line num="188" count="209" type="stmt"/>
|
|
214
214
|
<line num="190" count="209" type="cond" truecount="1" falsecount="0"/>
|
|
@@ -228,21 +228,21 @@
|
|
|
228
228
|
<line num="218" count="166" type="stmt"/>
|
|
229
229
|
<line num="219" count="177" type="stmt"/>
|
|
230
230
|
<line num="223" count="0" type="stmt"/>
|
|
231
|
-
<line num="227" count="
|
|
232
|
-
<line num="228" count="
|
|
231
|
+
<line num="227" count="225" type="stmt"/>
|
|
232
|
+
<line num="228" count="288" type="cond" truecount="1" falsecount="0"/>
|
|
233
233
|
<line num="229" count="67" type="stmt"/>
|
|
234
|
-
<line num="232" count="
|
|
235
|
-
<line num="237" count="
|
|
234
|
+
<line num="232" count="221" type="stmt"/>
|
|
235
|
+
<line num="237" count="101" type="cond" truecount="0" falsecount="1"/>
|
|
236
236
|
<line num="238" count="0" type="stmt"/>
|
|
237
|
-
<line num="241" count="
|
|
237
|
+
<line num="241" count="101" type="stmt"/>
|
|
238
238
|
<line num="242" count="132" type="stmt"/>
|
|
239
239
|
<line num="244" count="132" type="cond" truecount="4" falsecount="0"/>
|
|
240
240
|
<line num="245" count="70" type="stmt"/>
|
|
241
|
-
<line num="249" count="
|
|
242
|
-
<line num="253" count="
|
|
243
|
-
<line num="258" count="
|
|
244
|
-
<line num="260" count="
|
|
245
|
-
<line num="261" count="
|
|
241
|
+
<line num="249" count="31" type="stmt"/>
|
|
242
|
+
<line num="253" count="238" type="stmt"/>
|
|
243
|
+
<line num="258" count="238" type="cond" truecount="1" falsecount="1"/>
|
|
244
|
+
<line num="260" count="238" type="cond" truecount="3" falsecount="0"/>
|
|
245
|
+
<line num="261" count="109" type="stmt"/>
|
|
246
246
|
<line num="264" count="129" type="stmt"/>
|
|
247
247
|
<line num="265" count="369" type="stmt"/>
|
|
248
248
|
<line num="267" count="369" type="cond" truecount="1" falsecount="0"/>
|
|
@@ -262,14 +262,14 @@
|
|
|
262
262
|
<line num="304" count="10" type="stmt"/>
|
|
263
263
|
<line num="306" count="0" type="stmt"/>
|
|
264
264
|
<line num="313" count="0" type="stmt"/>
|
|
265
|
-
<line num="320" count="
|
|
265
|
+
<line num="320" count="302" type="cond" truecount="4" falsecount="0"/>
|
|
266
266
|
<line num="321" count="5" type="stmt"/>
|
|
267
|
-
<line num="324" count="
|
|
267
|
+
<line num="324" count="297" type="stmt"/>
|
|
268
268
|
</file>
|
|
269
269
|
<file name="emitter.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/emitter.ts">
|
|
270
270
|
<metrics statements="22" coveredstatements="20" conditionals="5" coveredconditionals="3" methods="6" coveredmethods="6"/>
|
|
271
271
|
<line num="9" count="3" type="stmt"/>
|
|
272
|
-
<line num="13" count="
|
|
272
|
+
<line num="13" count="27" type="stmt"/>
|
|
273
273
|
<line num="17" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
274
274
|
<line num="18" count="2" type="stmt"/>
|
|
275
275
|
<line num="21" count="2" type="stmt"/>
|
|
@@ -312,33 +312,33 @@
|
|
|
312
312
|
<line num="45" count="2" type="stmt"/>
|
|
313
313
|
<line num="47" count="2" type="stmt"/>
|
|
314
314
|
<line num="102" count="2" type="stmt"/>
|
|
315
|
-
<line num="103" count="
|
|
316
|
-
<line num="104" count="
|
|
317
|
-
<line num="105" count="
|
|
318
|
-
<line num="108" count="
|
|
319
|
-
<line num="109" count="
|
|
315
|
+
<line num="103" count="143" type="stmt"/>
|
|
316
|
+
<line num="104" count="143" type="stmt"/>
|
|
317
|
+
<line num="105" count="143" type="stmt"/>
|
|
318
|
+
<line num="108" count="143" type="stmt"/>
|
|
319
|
+
<line num="109" count="143" type="stmt"/>
|
|
320
320
|
<line num="110" count="12" type="cond" truecount="1" falsecount="0"/>
|
|
321
321
|
<line num="111" count="1" type="stmt"/>
|
|
322
|
-
<line num="116" count="
|
|
323
|
-
<line num="119" count="
|
|
322
|
+
<line num="116" count="143" type="stmt"/>
|
|
323
|
+
<line num="119" count="143" type="cond" truecount="0" falsecount="1"/>
|
|
324
324
|
<line num="124" count="0" type="stmt"/>
|
|
325
|
-
<line num="128" count="
|
|
325
|
+
<line num="128" count="143" type="cond" truecount="0" falsecount="1"/>
|
|
326
326
|
<line num="133" count="0" type="stmt"/>
|
|
327
|
-
<line num="137" count="
|
|
327
|
+
<line num="137" count="143" type="stmt"/>
|
|
328
328
|
<line num="138" count="12" type="cond" truecount="1" falsecount="0"/>
|
|
329
329
|
<line num="139" count="1" type="stmt"/>
|
|
330
|
-
<line num="143" count="
|
|
330
|
+
<line num="143" count="143" type="stmt"/>
|
|
331
331
|
<line num="145" count="0" type="stmt"/>
|
|
332
332
|
<line num="147" count="0" type="stmt"/>
|
|
333
333
|
<line num="155" count="0" type="stmt"/>
|
|
334
334
|
<line num="157" count="0" type="stmt"/>
|
|
335
335
|
<line num="161" count="2" type="stmt"/>
|
|
336
|
-
<line num="163" count="
|
|
337
|
-
<line num="165" count="
|
|
338
|
-
<line num="168" count="
|
|
339
|
-
<line num="173" count="
|
|
340
|
-
<line num="175" count="
|
|
341
|
-
<line num="180" count="
|
|
336
|
+
<line num="163" count="267" type="stmt"/>
|
|
337
|
+
<line num="165" count="267" type="stmt"/>
|
|
338
|
+
<line num="168" count="267" type="stmt"/>
|
|
339
|
+
<line num="173" count="267" type="cond" truecount="1" falsecount="0"/>
|
|
340
|
+
<line num="175" count="118" type="stmt"/>
|
|
341
|
+
<line num="180" count="118" type="cond" truecount="1" falsecount="0"/>
|
|
342
342
|
<line num="181" count="4" type="stmt"/>
|
|
343
343
|
<line num="187" count="4" type="stmt"/>
|
|
344
344
|
<line num="190" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
@@ -352,7 +352,7 @@
|
|
|
352
352
|
<line num="227" count="0" type="stmt"/>
|
|
353
353
|
<line num="236" count="4" type="stmt"/>
|
|
354
354
|
<line num="238" count="4" type="stmt"/>
|
|
355
|
-
<line num="245" count="
|
|
355
|
+
<line num="245" count="263" type="cond" truecount="3" falsecount="0"/>
|
|
356
356
|
<line num="247" count="7" type="cond" truecount="3" falsecount="0"/>
|
|
357
357
|
<line num="248" count="4" type="stmt"/>
|
|
358
358
|
<line num="256" count="4" type="stmt"/>
|
|
@@ -371,28 +371,28 @@
|
|
|
371
371
|
<line num="287" count="1" type="stmt"/>
|
|
372
372
|
<line num="295" count="1" type="stmt"/>
|
|
373
373
|
<line num="297" count="1" type="stmt"/>
|
|
374
|
-
<line num="307" count="
|
|
375
|
-
<line num="310" count="
|
|
376
|
-
<line num="311" count="
|
|
377
|
-
<line num="317" count="
|
|
378
|
-
<line num="319" count="
|
|
379
|
-
<line num="323" count="
|
|
374
|
+
<line num="307" count="256" type="cond" truecount="1" falsecount="1"/>
|
|
375
|
+
<line num="310" count="256" type="cond" truecount="1" falsecount="0"/>
|
|
376
|
+
<line num="311" count="11" type="stmt"/>
|
|
377
|
+
<line num="317" count="11" type="stmt"/>
|
|
378
|
+
<line num="319" count="11" type="stmt"/>
|
|
379
|
+
<line num="323" count="245" type="cond" truecount="3" falsecount="0"/>
|
|
380
380
|
<line num="324" count="1" type="stmt"/>
|
|
381
|
-
<line num="330" count="
|
|
382
|
-
<line num="331" count="
|
|
383
|
-
<line num="332" count="
|
|
384
|
-
<line num="336" count="
|
|
385
|
-
<line num="337" count="
|
|
386
|
-
<line num="344" count="
|
|
387
|
-
<line num="346" count="
|
|
388
|
-
<line num="349" count="
|
|
381
|
+
<line num="330" count="245" type="cond" truecount="1" falsecount="0"/>
|
|
382
|
+
<line num="331" count="175" type="cond" truecount="3" falsecount="0"/>
|
|
383
|
+
<line num="332" count="169" type="stmt"/>
|
|
384
|
+
<line num="336" count="175" type="cond" truecount="1" falsecount="0"/>
|
|
385
|
+
<line num="337" count="6" type="stmt"/>
|
|
386
|
+
<line num="344" count="6" type="stmt"/>
|
|
387
|
+
<line num="346" count="6" type="stmt"/>
|
|
388
|
+
<line num="349" count="169" type="cond" truecount="0" falsecount="1"/>
|
|
389
389
|
<line num="350" count="0" type="stmt"/>
|
|
390
|
-
<line num="358" count="
|
|
390
|
+
<line num="358" count="239" type="cond" truecount="4" falsecount="0"/>
|
|
391
391
|
<line num="359" count="1" type="stmt"/>
|
|
392
392
|
<line num="365" count="1" type="stmt"/>
|
|
393
393
|
<line num="367" count="1" type="stmt"/>
|
|
394
|
-
<line num="373" count="
|
|
395
|
-
<line num="375" count="
|
|
394
|
+
<line num="373" count="238" type="stmt"/>
|
|
395
|
+
<line num="375" count="238" type="cond" truecount="1" falsecount="0"/>
|
|
396
396
|
<line num="377" count="14" type="cond" truecount="3" falsecount="0"/>
|
|
397
397
|
<line num="378" count="9" type="stmt"/>
|
|
398
398
|
<line num="387" count="9" type="stmt"/>
|
|
@@ -407,7 +407,7 @@
|
|
|
407
407
|
<line num="414" count="1" type="stmt"/>
|
|
408
408
|
<line num="425" count="1" type="stmt"/>
|
|
409
409
|
<line num="427" count="1" type="stmt"/>
|
|
410
|
-
<line num="434" count="
|
|
410
|
+
<line num="434" count="227" type="cond" truecount="4" falsecount="0"/>
|
|
411
411
|
<line num="435" count="4" type="stmt"/>
|
|
412
412
|
<line num="439" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
413
413
|
<line num="440" count="2" type="stmt"/>
|
|
@@ -429,26 +429,26 @@
|
|
|
429
429
|
<line num="479" count="2" type="stmt"/>
|
|
430
430
|
<line num="487" count="2" type="stmt"/>
|
|
431
431
|
<line num="489" count="2" type="stmt"/>
|
|
432
|
-
<line num="497" count="
|
|
433
|
-
<line num="504" count="
|
|
432
|
+
<line num="497" count="225" type="stmt"/>
|
|
433
|
+
<line num="504" count="225" type="stmt"/>
|
|
434
434
|
<line num="505" count="16" type="cond" truecount="1" falsecount="0"/>
|
|
435
435
|
<line num="506" count="10" type="stmt"/>
|
|
436
|
-
<line num="516" count="
|
|
437
|
-
<line num="518" count="
|
|
436
|
+
<line num="516" count="225" type="stmt"/>
|
|
437
|
+
<line num="518" count="225" type="stmt"/>
|
|
438
438
|
<line num="519" count="16" type="cond" truecount="1" falsecount="0"/>
|
|
439
439
|
<line num="520" count="2" type="stmt"/>
|
|
440
|
-
<line num="532" count="
|
|
441
|
-
<line num="533" count="
|
|
442
|
-
<line num="535" count="
|
|
443
|
-
<line num="536" count="
|
|
444
|
-
<line num="539" count="
|
|
445
|
-
<line num="542" count="
|
|
446
|
-
<line num="544" count="
|
|
440
|
+
<line num="532" count="225" type="cond" truecount="2" falsecount="0"/>
|
|
441
|
+
<line num="533" count="101" type="stmt"/>
|
|
442
|
+
<line num="535" count="101" type="cond" truecount="1" falsecount="0"/>
|
|
443
|
+
<line num="536" count="101" type="stmt"/>
|
|
444
|
+
<line num="539" count="124" type="stmt"/>
|
|
445
|
+
<line num="542" count="225" type="cond" truecount="1" falsecount="0"/>
|
|
446
|
+
<line num="544" count="221" type="cond" truecount="1" falsecount="0"/>
|
|
447
447
|
<line num="545" count="1" type="stmt"/>
|
|
448
448
|
<line num="556" count="1" type="stmt"/>
|
|
449
449
|
<line num="558" count="1" type="stmt"/>
|
|
450
|
-
<line num="562" count="
|
|
451
|
-
<line num="564" count="
|
|
450
|
+
<line num="562" count="220" type="cond" truecount="1" falsecount="0"/>
|
|
451
|
+
<line num="564" count="119" type="cond" truecount="3" falsecount="0"/>
|
|
452
452
|
<line num="565" count="2" type="stmt"/>
|
|
453
453
|
<line num="566" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
454
454
|
<line num="570" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
@@ -458,15 +458,15 @@
|
|
|
458
458
|
<line num="589" count="1" type="stmt"/>
|
|
459
459
|
<line num="598" count="1" type="stmt"/>
|
|
460
460
|
<line num="600" count="1" type="stmt"/>
|
|
461
|
-
<line num="604" count="
|
|
461
|
+
<line num="604" count="117" type="cond" truecount="1" falsecount="0"/>
|
|
462
462
|
<line num="605" count="1" type="stmt"/>
|
|
463
463
|
<line num="616" count="1" type="stmt"/>
|
|
464
464
|
<line num="618" count="1" type="stmt"/>
|
|
465
|
-
<line num="622" count="
|
|
466
|
-
<line num="623" count="
|
|
467
|
-
<line num="634" count="
|
|
468
|
-
<line num="636" count="
|
|
469
|
-
<line num="641" count="
|
|
465
|
+
<line num="622" count="116" type="cond" truecount="1" falsecount="0"/>
|
|
466
|
+
<line num="623" count="116" type="stmt"/>
|
|
467
|
+
<line num="634" count="116" type="stmt"/>
|
|
468
|
+
<line num="636" count="116" type="stmt"/>
|
|
469
|
+
<line num="641" count="101" type="cond" truecount="3" falsecount="0"/>
|
|
470
470
|
<line num="643" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
471
471
|
<line num="644" count="3" type="stmt"/>
|
|
472
472
|
<line num="646" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
@@ -479,18 +479,18 @@
|
|
|
479
479
|
<line num="669" count="15" type="stmt"/>
|
|
480
480
|
<line num="680" count="15" type="stmt"/>
|
|
481
481
|
<line num="682" count="15" type="stmt"/>
|
|
482
|
-
<line num="689" count="
|
|
483
|
-
<line num="691" count="
|
|
482
|
+
<line num="689" count="87" type="cond" truecount="3" falsecount="0"/>
|
|
483
|
+
<line num="691" count="83" type="cond" truecount="1" falsecount="0"/>
|
|
484
484
|
<line num="696" count="5" type="stmt"/>
|
|
485
485
|
<line num="709" count="5" type="stmt"/>
|
|
486
486
|
<line num="711" count="5" type="stmt"/>
|
|
487
|
-
<line num="717" count="
|
|
487
|
+
<line num="717" count="78" type="cond" truecount="4" falsecount="0"/>
|
|
488
488
|
<line num="718" count="3" type="stmt"/>
|
|
489
|
-
<line num="719" count="
|
|
489
|
+
<line num="719" count="75" type="cond" truecount="4" falsecount="0"/>
|
|
490
490
|
<line num="720" count="21" type="stmt"/>
|
|
491
|
-
<line num="721" count="
|
|
491
|
+
<line num="721" count="54" type="cond" truecount="3" falsecount="0"/>
|
|
492
492
|
<line num="722" count="24" type="stmt"/>
|
|
493
|
-
<line num="725" count="
|
|
493
|
+
<line num="725" count="78" type="cond" truecount="3" falsecount="0"/>
|
|
494
494
|
<line num="726" count="75" type="stmt"/>
|
|
495
495
|
<line num="728" count="48" type="cond" truecount="4" falsecount="0"/>
|
|
496
496
|
<line num="729" count="9" type="stmt"/>
|
|
@@ -508,15 +508,15 @@
|
|
|
508
508
|
<line num="776" count="5" type="stmt"/>
|
|
509
509
|
<line num="789" count="5" type="stmt"/>
|
|
510
510
|
<line num="791" count="5" type="stmt"/>
|
|
511
|
-
<line num="799" count="
|
|
511
|
+
<line num="799" count="73" type="cond" truecount="0" falsecount="1"/>
|
|
512
512
|
<line num="800" count="0" type="stmt"/>
|
|
513
513
|
<line num="808" count="0" type="stmt"/>
|
|
514
514
|
<line num="810" count="0" type="stmt"/>
|
|
515
|
-
<line num="813" count="
|
|
516
|
-
<line num="814" count="
|
|
517
|
-
<line num="815" count="
|
|
518
|
-
<line num="826" count="
|
|
519
|
-
<line num="828" count="
|
|
515
|
+
<line num="813" count="73" type="cond" truecount="1" falsecount="0"/>
|
|
516
|
+
<line num="814" count="69" type="cond" truecount="1" falsecount="0"/>
|
|
517
|
+
<line num="815" count="69" type="stmt"/>
|
|
518
|
+
<line num="826" count="69" type="stmt"/>
|
|
519
|
+
<line num="828" count="69" type="stmt"/>
|
|
520
520
|
<line num="831" count="0" type="stmt"/>
|
|
521
521
|
<line num="840" count="0" type="stmt"/>
|
|
522
522
|
<line num="842" count="0" type="stmt"/>
|
|
@@ -561,26 +561,26 @@
|
|
|
561
561
|
<line num="82" count="4" type="stmt"/>
|
|
562
562
|
</file>
|
|
563
563
|
<file name="helpers.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/helpers.ts">
|
|
564
|
-
<metrics statements="11" coveredstatements="11" conditionals="14" coveredconditionals="
|
|
564
|
+
<metrics statements="11" coveredstatements="11" conditionals="14" coveredconditionals="13" methods="1" coveredmethods="1"/>
|
|
565
565
|
<line num="6" count="3" type="stmt"/>
|
|
566
|
-
<line num="7" count="
|
|
566
|
+
<line num="7" count="47" type="cond" truecount="1" falsecount="0"/>
|
|
567
567
|
<line num="8" count="1" type="stmt"/>
|
|
568
|
-
<line num="11" count="
|
|
568
|
+
<line num="11" count="46" type="cond" truecount="7" falsecount="0"/>
|
|
569
569
|
<line num="13" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
570
570
|
<line num="15" count="3" type="stmt"/>
|
|
571
571
|
<line num="17" count="3" type="stmt"/>
|
|
572
572
|
<line num="19" count="5" type="stmt"/>
|
|
573
|
-
<line num="21" count="
|
|
574
|
-
<line num="23" count="
|
|
573
|
+
<line num="21" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
574
|
+
<line num="23" count="12" type="cond" truecount="1" falsecount="1"/>
|
|
575
575
|
<line num="26" count="3" type="stmt"/>
|
|
576
576
|
</file>
|
|
577
577
|
<file name="hooks.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/hooks.ts">
|
|
578
578
|
<metrics statements="14" coveredstatements="10" conditionals="2" coveredconditionals="1" methods="8" coveredmethods="4"/>
|
|
579
579
|
<line num="51" count="2" type="stmt"/>
|
|
580
|
-
<line num="52" count="
|
|
581
|
-
<line num="56" count="
|
|
582
|
-
<line num="58" count="
|
|
583
|
-
<line num="59" count="
|
|
580
|
+
<line num="52" count="25" type="stmt"/>
|
|
581
|
+
<line num="56" count="25" type="stmt"/>
|
|
582
|
+
<line num="58" count="25" type="cond" truecount="1" falsecount="0"/>
|
|
583
|
+
<line num="59" count="25" type="stmt"/>
|
|
584
584
|
<line num="60" count="6" type="stmt"/>
|
|
585
585
|
<line num="66" count="6" type="cond" truecount="0" falsecount="1"/>
|
|
586
586
|
<line num="67" count="0" type="stmt"/>
|
|
@@ -589,7 +589,7 @@
|
|
|
589
589
|
<line num="77" count="6" type="stmt"/>
|
|
590
590
|
<line num="78" count="0" type="stmt"/>
|
|
591
591
|
<line num="83" count="0" type="stmt"/>
|
|
592
|
-
<line num="87" count="
|
|
592
|
+
<line num="87" count="553" type="stmt"/>
|
|
593
593
|
</file>
|
|
594
594
|
<file name="instance.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/instance.ts">
|
|
595
595
|
<metrics statements="105" coveredstatements="86" conditionals="72" coveredconditionals="42" methods="28" coveredmethods="21"/>
|
|
@@ -603,16 +603,16 @@
|
|
|
603
603
|
<line num="21" count="2" type="stmt"/>
|
|
604
604
|
<line num="23" count="2" type="stmt"/>
|
|
605
605
|
<line num="46" count="2" type="stmt"/>
|
|
606
|
-
<line num="48" count="
|
|
607
|
-
<line num="59" count="
|
|
608
|
-
<line num="60" count="
|
|
609
|
-
<line num="65" count="
|
|
610
|
-
<line num="69" count="
|
|
611
|
-
<line num="70" count="
|
|
612
|
-
<line num="73" count="
|
|
613
|
-
<line num="77" count="
|
|
614
|
-
<line num="78" count="
|
|
615
|
-
<line num="85" count="
|
|
606
|
+
<line num="48" count="25" type="stmt"/>
|
|
607
|
+
<line num="59" count="25" type="cond" truecount="2" falsecount="0"/>
|
|
608
|
+
<line num="60" count="25" type="stmt"/>
|
|
609
|
+
<line num="65" count="25" type="stmt"/>
|
|
610
|
+
<line num="69" count="25" type="stmt"/>
|
|
611
|
+
<line num="70" count="25" type="stmt"/>
|
|
612
|
+
<line num="73" count="25" type="stmt"/>
|
|
613
|
+
<line num="77" count="25" type="cond" truecount="1" falsecount="0"/>
|
|
614
|
+
<line num="78" count="24" type="stmt"/>
|
|
615
|
+
<line num="85" count="25" type="stmt"/>
|
|
616
616
|
<line num="89" count="0" type="stmt"/>
|
|
617
617
|
<line num="93" count="1" type="stmt"/>
|
|
618
618
|
<line num="94" count="1" type="stmt"/>
|
|
@@ -638,13 +638,13 @@
|
|
|
638
638
|
<line num="155" count="0" type="stmt"/>
|
|
639
639
|
<line num="158" count="0" type="stmt"/>
|
|
640
640
|
<line num="162" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
641
|
-
<line num="169" count="
|
|
641
|
+
<line num="169" count="147" type="cond" truecount="2" falsecount="0"/>
|
|
642
642
|
<line num="178" count="1" type="stmt"/>
|
|
643
|
-
<line num="192" count="
|
|
644
|
-
<line num="216" count="
|
|
645
|
-
<line num="224" count="
|
|
646
|
-
<line num="225" count="
|
|
647
|
-
<line num="227" count="
|
|
643
|
+
<line num="192" count="143" type="stmt"/>
|
|
644
|
+
<line num="216" count="27" type="stmt"/>
|
|
645
|
+
<line num="224" count="27" type="stmt"/>
|
|
646
|
+
<line num="225" count="27" type="stmt"/>
|
|
647
|
+
<line num="227" count="27" type="stmt"/>
|
|
648
648
|
<line num="229" count="0" type="stmt"/>
|
|
649
649
|
<line num="231" count="0" type="stmt"/>
|
|
650
650
|
<line num="243" count="24" type="stmt"/>
|
|
@@ -657,14 +657,14 @@
|
|
|
657
657
|
<line num="266" count="5" type="stmt"/>
|
|
658
658
|
<line num="268" count="0" type="stmt"/>
|
|
659
659
|
<line num="270" count="0" type="stmt"/>
|
|
660
|
-
<line num="283" count="
|
|
661
|
-
<line num="297" count="
|
|
662
|
-
<line num="298" count="
|
|
663
|
-
<line num="300" count="
|
|
664
|
-
<line num="301" count="
|
|
660
|
+
<line num="283" count="92" type="stmt"/>
|
|
661
|
+
<line num="297" count="92" type="stmt"/>
|
|
662
|
+
<line num="298" count="92" type="stmt"/>
|
|
663
|
+
<line num="300" count="92" type="cond" truecount="1" falsecount="0"/>
|
|
664
|
+
<line num="301" count="85" type="cond" truecount="1" falsecount="0"/>
|
|
665
665
|
<line num="306" count="6" type="stmt"/>
|
|
666
|
-
<line num="309" count="
|
|
667
|
-
<line num="312" count="
|
|
666
|
+
<line num="309" count="79" type="stmt"/>
|
|
667
|
+
<line num="312" count="7" type="stmt"/>
|
|
668
668
|
<line num="314" count="0" type="stmt"/>
|
|
669
669
|
<line num="316" count="0" type="stmt"/>
|
|
670
670
|
<line num="326" count="4" type="stmt"/>
|
|
@@ -675,58 +675,58 @@
|
|
|
675
675
|
<line num="350" count="2" type="stmt"/>
|
|
676
676
|
<line num="359" count="2" type="stmt"/>
|
|
677
677
|
<line num="361" count="2" type="stmt"/>
|
|
678
|
-
<line num="370" count="
|
|
679
|
-
<line num="372" count="
|
|
680
|
-
<line num="381" count="
|
|
681
|
-
<line num="383" count="
|
|
678
|
+
<line num="370" count="9" type="stmt"/>
|
|
679
|
+
<line num="372" count="9" type="stmt"/>
|
|
680
|
+
<line num="381" count="11" type="stmt"/>
|
|
681
|
+
<line num="383" count="11" type="stmt"/>
|
|
682
682
|
<line num="392" count="2" type="stmt"/>
|
|
683
683
|
<line num="394" count="2" type="stmt"/>
|
|
684
|
-
<line num="402" count="
|
|
685
|
-
<line num="404" count="
|
|
686
|
-
<line num="405" count="
|
|
687
|
-
<line num="407" count="
|
|
688
|
-
<line num="412" count="
|
|
684
|
+
<line num="402" count="3" type="stmt"/>
|
|
685
|
+
<line num="404" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
686
|
+
<line num="405" count="3" type="stmt"/>
|
|
687
|
+
<line num="407" count="6" type="stmt"/>
|
|
688
|
+
<line num="412" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
689
689
|
<line num="413" count="2" type="stmt"/>
|
|
690
690
|
<line num="415" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
691
691
|
<line num="416" count="2" type="stmt"/>
|
|
692
|
-
<line num="421" count="
|
|
693
|
-
<line num="422" count="
|
|
694
|
-
<line num="423" count="
|
|
695
|
-
<line num="425" count="
|
|
696
|
-
<line num="426" count="
|
|
697
|
-
<line num="435" count="
|
|
698
|
-
<line num="438" count="
|
|
692
|
+
<line num="421" count="6" type="stmt"/>
|
|
693
|
+
<line num="422" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
694
|
+
<line num="423" count="4" type="stmt"/>
|
|
695
|
+
<line num="425" count="4" type="stmt"/>
|
|
696
|
+
<line num="426" count="26" type="stmt"/>
|
|
697
|
+
<line num="435" count="6" type="stmt"/>
|
|
698
|
+
<line num="438" count="3" type="stmt"/>
|
|
699
699
|
<line num="442" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
700
|
-
<line num="443" count="
|
|
700
|
+
<line num="443" count="25" type="stmt"/>
|
|
701
701
|
</file>
|
|
702
702
|
<file name="logger.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/logger.ts">
|
|
703
703
|
<metrics statements="26" coveredstatements="26" conditionals="12" coveredconditionals="12" methods="9" coveredmethods="9"/>
|
|
704
704
|
<line num="16" count="7" type="stmt"/>
|
|
705
705
|
<line num="18" count="7" type="stmt"/>
|
|
706
|
-
<line num="23" count="
|
|
707
|
-
<line num="25" count="
|
|
708
|
-
<line num="26" count="
|
|
709
|
-
<line num="27" count="
|
|
710
|
-
<line num="28" count="
|
|
706
|
+
<line num="23" count="68" type="stmt"/>
|
|
707
|
+
<line num="25" count="68" type="cond" truecount="2" falsecount="0"/>
|
|
708
|
+
<line num="26" count="33" type="stmt"/>
|
|
709
|
+
<line num="27" count="35" type="cond" truecount="2" falsecount="0"/>
|
|
710
|
+
<line num="28" count="22" type="stmt"/>
|
|
711
711
|
<line num="29" count="13" type="cond" truecount="1" falsecount="0"/>
|
|
712
712
|
<line num="30" count="8" type="stmt"/>
|
|
713
|
-
<line num="33" count="
|
|
713
|
+
<line num="33" count="68" type="stmt"/>
|
|
714
714
|
<line num="36" count="7" type="stmt"/>
|
|
715
715
|
<line num="37" count="7" type="stmt"/>
|
|
716
716
|
<line num="47" count="7" type="stmt"/>
|
|
717
|
-
<line num="53" count="
|
|
718
|
-
<line num="54" count="
|
|
717
|
+
<line num="53" count="52" type="cond" truecount="2" falsecount="0"/>
|
|
718
|
+
<line num="54" count="52" type="cond" truecount="2" falsecount="0"/>
|
|
719
719
|
<line num="58" count="1" type="stmt"/>
|
|
720
|
-
<line num="62" count="
|
|
721
|
-
<line num="64" count="
|
|
722
|
-
<line num="65" count="
|
|
723
|
-
<line num="68" count="
|
|
724
|
-
<line num="72" count="
|
|
725
|
-
<line num="76" count="
|
|
726
|
-
<line num="80" count="
|
|
720
|
+
<line num="62" count="321" type="stmt"/>
|
|
721
|
+
<line num="64" count="321" type="cond" truecount="1" falsecount="0"/>
|
|
722
|
+
<line num="65" count="254" type="stmt"/>
|
|
723
|
+
<line num="68" count="67" type="stmt"/>
|
|
724
|
+
<line num="72" count="256" type="stmt"/>
|
|
725
|
+
<line num="76" count="34" type="stmt"/>
|
|
726
|
+
<line num="80" count="22" type="stmt"/>
|
|
727
727
|
<line num="84" count="7" type="stmt"/>
|
|
728
728
|
<line num="88" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
729
|
-
<line num="89" count="
|
|
729
|
+
<line num="89" count="32" type="stmt"/>
|
|
730
730
|
</file>
|
|
731
731
|
</project>
|
|
732
732
|
</coverage>
|