@featurevisor/sdk 1.35.3 → 2.0.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.
Files changed (86) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +2 -381
  3. package/coverage/clover.xml +707 -645
  4. package/coverage/coverage-final.json +11 -9
  5. package/coverage/lcov-report/{segments.ts.html → bucketer.ts.html} +155 -77
  6. package/coverage/lcov-report/child.ts.html +940 -0
  7. package/coverage/lcov-report/conditions.ts.html +107 -158
  8. package/coverage/lcov-report/datafileReader.ts.html +763 -103
  9. package/coverage/lcov-report/emitter.ts.html +77 -59
  10. package/coverage/lcov-report/evaluate.ts.html +689 -416
  11. package/coverage/lcov-report/events.ts.html +334 -0
  12. package/coverage/lcov-report/helpers.ts.html +184 -0
  13. package/coverage/lcov-report/{bucket.ts.html → hooks.ts.html} +86 -239
  14. package/coverage/lcov-report/index.html +119 -89
  15. package/coverage/lcov-report/instance.ts.html +341 -773
  16. package/coverage/lcov-report/logger.ts.html +64 -64
  17. package/coverage/lcov.info +1433 -1226
  18. package/dist/bucketer.d.ts +11 -0
  19. package/dist/child.d.ts +26 -0
  20. package/dist/compareVersions.d.ts +4 -0
  21. package/dist/conditions.d.ts +4 -4
  22. package/dist/datafileReader.d.ts +26 -6
  23. package/dist/emitter.d.ts +8 -9
  24. package/dist/evaluate.d.ts +31 -29
  25. package/dist/events.d.ts +5 -0
  26. package/dist/helpers.d.ts +5 -0
  27. package/dist/hooks.d.ts +45 -0
  28. package/dist/index.d.ts +3 -2
  29. package/dist/index.js +1 -1
  30. package/dist/index.js.map +1 -1
  31. package/dist/index.mjs +1 -1
  32. package/dist/index.mjs.gz +0 -0
  33. package/dist/index.mjs.map +1 -1
  34. package/dist/instance.d.ts +40 -72
  35. package/dist/logger.d.ts +6 -5
  36. package/dist/murmurhash.d.ts +1 -0
  37. package/jest.config.js +2 -0
  38. package/lib/bucketer.d.ts +11 -0
  39. package/lib/child.d.ts +26 -0
  40. package/lib/compareVersions.d.ts +4 -0
  41. package/lib/conditions.d.ts +4 -4
  42. package/lib/datafileReader.d.ts +26 -6
  43. package/lib/emitter.d.ts +8 -9
  44. package/lib/evaluate.d.ts +31 -29
  45. package/lib/events.d.ts +5 -0
  46. package/lib/helpers.d.ts +5 -0
  47. package/lib/hooks.d.ts +45 -0
  48. package/lib/index.d.ts +3 -2
  49. package/lib/instance.d.ts +40 -72
  50. package/lib/logger.d.ts +6 -5
  51. package/lib/murmurhash.d.ts +1 -0
  52. package/package.json +3 -5
  53. package/src/bucketer.spec.ts +165 -0
  54. package/src/bucketer.ts +84 -0
  55. package/src/child.spec.ts +267 -0
  56. package/src/child.ts +285 -0
  57. package/src/compareVersions.ts +93 -0
  58. package/src/conditions.spec.ts +563 -353
  59. package/src/conditions.ts +46 -63
  60. package/src/datafileReader.spec.ts +396 -84
  61. package/src/datafileReader.ts +280 -60
  62. package/src/emitter.spec.ts +27 -86
  63. package/src/emitter.ts +38 -32
  64. package/src/evaluate.ts +349 -258
  65. package/src/events.spec.ts +154 -0
  66. package/src/events.ts +83 -0
  67. package/src/helpers.ts +33 -0
  68. package/src/hooks.ts +88 -0
  69. package/src/index.ts +3 -2
  70. package/src/instance.spec.ts +305 -489
  71. package/src/instance.ts +247 -391
  72. package/src/logger.spec.ts +212 -134
  73. package/src/logger.ts +36 -36
  74. package/src/murmurhash.ts +71 -0
  75. package/coverage/lcov-report/feature.ts.html +0 -508
  76. package/dist/bucket.d.ts +0 -30
  77. package/dist/feature.d.ts +0 -16
  78. package/dist/segments.d.ts +0 -5
  79. package/lib/bucket.d.ts +0 -30
  80. package/lib/feature.d.ts +0 -16
  81. package/lib/segments.d.ts +0 -5
  82. package/src/bucket.spec.ts +0 -37
  83. package/src/bucket.ts +0 -139
  84. package/src/feature.ts +0 -141
  85. package/src/segments.spec.ts +0 -468
  86. package/src/segments.ts +0 -58
@@ -1,672 +1,734 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1744490095683" clover="3.2.0">
3
- <project timestamp="1744490095683" name="All files">
4
- <metrics statements="639" coveredstatements="590" conditionals="354" coveredconditionals="305" methods="101" coveredmethods="94" elements="1094" coveredelements="989" complexity="0" loc="639" ncloc="639" packages="1" files="9" classes="9"/>
5
- <file name="bucket.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.ts">
6
- <metrics statements="44" coveredstatements="42" conditionals="17" coveredconditionals="15" methods="4" coveredmethods="4"/>
7
- <line num="1" count="2" type="stmt"/>
8
- <line num="9" count="2" type="stmt"/>
2
+ <coverage generated="1752956672605" clover="3.2.0">
3
+ <project timestamp="1752956672605" name="All files">
4
+ <metrics statements="695" coveredstatements="630" conditionals="457" coveredconditionals="386" methods="116" coveredmethods="105" elements="1268" coveredelements="1121" complexity="0" loc="695" ncloc="695" packages="1" files="11" classes="11"/>
5
+ <file name="bucketer.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucketer.ts">
6
+ <metrics statements="34" coveredstatements="32" conditionals="14" coveredconditionals="13" methods="3" coveredmethods="3"/>
7
+ <line num="4" count="3" type="stmt"/>
8
+ <line num="5" count="3" type="stmt"/>
9
+ <line num="10" count="3" type="stmt"/>
10
+ <line num="11" count="3" type="stmt"/>
11
+ <line num="13" count="3" type="stmt"/>
12
+ <line num="15" count="3" type="stmt"/>
13
+ <line num="16" count="175" type="stmt"/>
14
+ <line num="17" count="175" type="stmt"/>
15
+ <line num="19" count="175" type="stmt"/>
16
+ <line num="25" count="3" type="stmt"/>
17
+ <line num="35" count="3" type="stmt"/>
18
+ <line num="42" count="172" type="stmt"/>
19
+ <line num="47" count="172" type="cond" truecount="2" falsecount="0"/>
20
+ <line num="48" count="160" type="stmt"/>
21
+ <line num="49" count="160" type="stmt"/>
22
+ <line num="50" count="12" type="cond" truecount="2" falsecount="0"/>
23
+ <line num="51" count="5" type="stmt"/>
24
+ <line num="52" count="5" type="stmt"/>
25
+ <line num="53" count="7" type="cond" truecount="3" falsecount="1"/>
26
+ <line num="54" count="7" type="stmt"/>
27
+ <line num="55" count="7" type="stmt"/>
28
+ <line num="57" count="0" type="stmt"/>
29
+ <line num="59" count="0" type="stmt"/>
30
+ <line num="62" count="172" type="stmt"/>
31
+ <line num="64" count="172" type="stmt"/>
32
+ <line num="65" count="184" type="stmt"/>
33
+ <line num="67" count="184" type="cond" truecount="1" falsecount="0"/>
34
+ <line num="68" count="16" type="stmt"/>
35
+ <line num="71" count="168" type="cond" truecount="4" falsecount="0"/>
36
+ <line num="72" count="157" type="stmt"/>
37
+ <line num="75" count="11" type="cond" truecount="1" falsecount="0"/>
38
+ <line num="76" count="7" type="stmt"/>
39
+ <line num="81" count="172" type="stmt"/>
40
+ <line num="83" count="172" type="stmt"/>
41
+ </file>
42
+ <file name="child.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/child.ts">
43
+ <metrics statements="33" coveredstatements="30" conditionals="36" coveredconditionals="32" methods="17" coveredmethods="17"/>
9
44
  <line num="10" count="2" type="stmt"/>
10
45
  <line num="12" count="2" type="stmt"/>
11
46
  <line num="14" count="2" type="stmt"/>
12
- <line num="15" count="105" type="stmt"/>
13
- <line num="16" count="105" type="stmt"/>
14
- <line num="18" count="105" type="stmt"/>
15
- <line num="38" count="2" type="stmt"/>
16
- <line num="39" count="95" type="cond" truecount="0" falsecount="1"/>
17
- <line num="41" count="95" type="stmt"/>
18
- <line num="46" count="95" type="cond" truecount="2" falsecount="0"/>
19
- <line num="47" count="88" type="stmt"/>
20
- <line num="48" count="88" type="stmt"/>
21
- <line num="49" count="7" type="cond" truecount="2" falsecount="0"/>
22
- <line num="50" count="2" type="stmt"/>
23
- <line num="51" count="2" type="stmt"/>
24
- <line num="52" count="5" type="cond" truecount="3" falsecount="1"/>
25
- <line num="53" count="5" type="stmt"/>
26
- <line num="54" count="5" type="stmt"/>
27
- <line num="56" count="0" type="stmt"/>
28
- <line num="58" count="0" type="stmt"/>
29
- <line num="61" count="95" type="stmt"/>
30
- <line num="63" count="95" type="stmt"/>
31
- <line num="64" count="102" type="stmt"/>
32
- <line num="66" count="102" type="cond" truecount="1" falsecount="0"/>
33
- <line num="67" count="13" type="stmt"/>
34
- <line num="70" count="89" type="cond" truecount="4" falsecount="0"/>
35
- <line num="71" count="81" type="stmt"/>
36
- <line num="74" count="8" type="cond" truecount="1" falsecount="0"/>
37
- <line num="75" count="5" type="stmt"/>
38
- <line num="80" count="95" type="stmt"/>
39
- <line num="82" count="95" type="stmt"/>
40
- <line num="84" count="95" type="cond" truecount="1" falsecount="0"/>
41
- <line num="85" count="10" type="stmt"/>
42
- <line num="88" count="85" type="stmt"/>
43
- <line num="114" count="2" type="stmt"/>
44
- <line num="116" count="95" type="stmt"/>
45
- <line num="117" count="95" type="stmt"/>
46
- <line num="124" count="95" type="stmt"/>
47
- <line num="126" count="95" type="cond" truecount="1" falsecount="0"/>
48
- <line num="127" count="2" type="stmt"/>
49
- <line num="129" count="2" type="stmt"/>
50
- <line num="135" count="93" type="stmt"/>
47
+ <line num="21" count="1" type="stmt"/>
48
+ <line num="22" count="1" type="stmt"/>
49
+ <line num="23" count="1" type="cond" truecount="2" falsecount="0"/>
50
+ <line num="24" count="1" type="stmt"/>
51
+ <line num="28" count="1" type="cond" truecount="2" falsecount="1"/>
52
+ <line num="29" count="1" type="stmt"/>
53
+ <line num="32" count="0" type="stmt"/>
54
+ <line num="36" count="1" type="stmt"/>
55
+ <line num="40" count="1" type="cond" truecount="1" falsecount="1"/>
56
+ <line num="41" count="0" type="stmt"/>
57
+ <line num="43" count="1" type="stmt"/>
58
+ <line num="46" count="1" type="stmt"/>
59
+ <line num="53" count="2" type="stmt"/>
60
+ <line num="60" count="1" type="cond" truecount="1" falsecount="1"/>
61
+ <line num="62" count="1" type="cond" truecount="1" falsecount="1"/>
62
+ <line num="63" count="0" type="stmt"/>
63
+ <line num="65" count="1" type="stmt"/>
64
+ <line num="71" count="1" type="stmt"/>
65
+ <line num="73" count="1" type="stmt"/>
66
+ <line num="77" count="3" type="stmt"/>
67
+ <line num="95" count="1" type="stmt"/>
68
+ <line num="114" count="8" type="stmt"/>
69
+ <line num="134" count="1" type="stmt"/>
70
+ <line num="154" count="2" type="stmt"/>
71
+ <line num="174" count="1" type="stmt"/>
72
+ <line num="194" count="1" type="stmt"/>
73
+ <line num="214" count="1" type="stmt"/>
74
+ <line num="234" count="1" type="stmt"/>
75
+ <line num="254" count="1" type="stmt"/>
76
+ <line num="273" count="1" type="stmt"/>
51
77
  </file>
52
78
  <file name="conditions.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/conditions.ts">
53
- <metrics statements="67" coveredstatements="63" conditionals="66" coveredconditionals="64" methods="6" coveredmethods="6"/>
54
- <line num="1" count="3" type="stmt"/>
55
- <line num="7" count="3" type="stmt"/>
56
- <line num="8" count="414" type="stmt"/>
57
- <line num="10" count="414" type="cond" truecount="2" falsecount="0"/>
58
- <line num="11" count="359" type="stmt"/>
59
- <line num="12" count="55" type="cond" truecount="2" falsecount="0"/>
60
- <line num="13" count="2" type="stmt"/>
61
- <line num="14" count="53" type="cond" truecount="4" falsecount="0"/>
62
- <line num="16" count="8" type="stmt"/>
63
- <line num="19" count="8" type="cond" truecount="2" falsecount="0"/>
64
- <line num="20" count="8" type="cond" truecount="1" falsecount="1"/>
65
- <line num="22" count="8" type="cond" truecount="2" falsecount="0"/>
66
- <line num="25" count="45" type="cond" truecount="2" falsecount="0"/>
67
- <line num="30" count="8" type="stmt"/>
68
- <line num="32" count="8" type="cond" truecount="2" falsecount="0"/>
69
- <line num="33" count="4" type="stmt"/>
70
- <line num="34" count="4" type="cond" truecount="1" falsecount="0"/>
71
- <line num="35" count="4" type="stmt"/>
72
- <line num="37" count="37" type="cond" truecount="4" falsecount="0"/>
73
- <line num="39" count="25" type="stmt"/>
74
- <line num="41" count="25" type="cond" truecount="2" falsecount="0"/>
75
- <line num="42" count="3" type="stmt"/>
76
- <line num="43" count="22" type="cond" truecount="2" falsecount="0"/>
77
- <line num="44" count="3" type="stmt"/>
78
- <line num="45" count="19" type="cond" truecount="2" falsecount="0"/>
79
- <line num="46" count="3" type="stmt"/>
80
- <line num="47" count="16" type="cond" truecount="2" falsecount="0"/>
81
- <line num="48" count="3" type="stmt"/>
82
- <line num="49" count="13" type="cond" truecount="2" falsecount="0"/>
83
- <line num="50" count="2" type="stmt"/>
84
- <line num="51" count="11" type="cond" truecount="2" falsecount="0"/>
85
- <line num="52" count="2" type="stmt"/>
86
- <line num="53" count="9" type="cond" truecount="2" falsecount="0"/>
87
- <line num="54" count="2" type="stmt"/>
88
- <line num="55" count="7" type="cond" truecount="2" falsecount="0"/>
89
- <line num="56" count="3" type="stmt"/>
90
- <line num="57" count="4" type="cond" truecount="2" falsecount="0"/>
91
- <line num="58" count="2" type="stmt"/>
92
- <line num="59" count="2" type="cond" truecount="1" falsecount="0"/>
93
- <line num="60" count="2" type="stmt"/>
94
- <line num="62" count="12" type="cond" truecount="3" falsecount="0"/>
95
- <line num="64" count="12" type="stmt"/>
96
- <line num="66" count="12" type="cond" truecount="2" falsecount="0"/>
79
+ <metrics statements="72" coveredstatements="71" conditionals="77" coveredconditionals="74" methods="3" coveredmethods="3"/>
80
+ <line num="4" count="6" type="stmt"/>
81
+ <line num="6" count="6" type="stmt"/>
82
+ <line num="7" count="929" type="cond" truecount="1" falsecount="0"/>
83
+ <line num="8" count="917" type="stmt"/>
84
+ <line num="11" count="24" type="cond" truecount="2" falsecount="0"/>
85
+ <line num="14" count="6" type="stmt"/>
86
+ <line num="19" count="745" type="stmt"/>
87
+ <line num="20" count="745" type="stmt"/>
88
+ <line num="22" count="745" type="cond" truecount="2" falsecount="0"/>
89
+ <line num="23" count="657" type="stmt"/>
90
+ <line num="24" count="88" type="cond" truecount="2" falsecount="0"/>
91
+ <line num="25" count="2" type="stmt"/>
92
+ <line num="26" count="86" type="cond" truecount="4" falsecount="0"/>
93
+ <line num="28" count="8" type="stmt"/>
94
+ <line num="31" count="8" type="cond" truecount="2" falsecount="0"/>
95
+ <line num="32" count="8" type="cond" truecount="1" falsecount="1"/>
96
+ <line num="34" count="8" type="cond" truecount="2" falsecount="0"/>
97
+ <line num="37" count="78" type="cond" truecount="2" falsecount="0"/>
98
+ <line num="43" count="8" type="stmt"/>
99
+ <line num="45" count="8" type="cond" truecount="2" falsecount="0"/>
100
+ <line num="46" count="4" type="stmt"/>
101
+ <line num="47" count="4" type="cond" truecount="1" falsecount="0"/>
102
+ <line num="48" count="4" type="stmt"/>
103
+ <line num="50" count="70" type="cond" truecount="4" falsecount="0"/>
104
+ <line num="52" count="40" type="stmt"/>
105
+ <line num="54" count="40" type="cond" truecount="2" falsecount="0"/>
106
+ <line num="55" count="3" type="stmt"/>
107
+ <line num="56" count="37" type="cond" truecount="2" falsecount="0"/>
108
+ <line num="57" count="3" type="stmt"/>
109
+ <line num="58" count="34" type="cond" truecount="1" falsecount="1"/>
110
+ <line num="59" count="0" type="stmt"/>
111
+ <line num="60" count="34" type="cond" truecount="2" falsecount="0"/>
112
+ <line num="61" count="3" type="stmt"/>
113
+ <line num="62" count="31" type="cond" truecount="2" falsecount="0"/>
114
+ <line num="63" count="2" type="stmt"/>
115
+ <line num="64" count="29" type="cond" truecount="2" falsecount="0"/>
116
+ <line num="65" count="2" type="stmt"/>
117
+ <line num="66" count="27" type="cond" truecount="2" falsecount="0"/>
97
118
  <line num="67" count="2" type="stmt"/>
98
- <line num="68" count="10" type="cond" truecount="2" falsecount="0"/>
99
- <line num="69" count="4" type="stmt"/>
100
- <line num="70" count="6" type="cond" truecount="2" falsecount="0"/>
119
+ <line num="68" count="25" type="cond" truecount="2" falsecount="0"/>
120
+ <line num="69" count="3" type="stmt"/>
121
+ <line num="70" count="22" type="cond" truecount="2" falsecount="0"/>
101
122
  <line num="71" count="2" type="stmt"/>
102
- <line num="72" count="4" type="cond" truecount="1" falsecount="0"/>
103
- <line num="73" count="4" type="stmt"/>
104
- <line num="77" count="0" type="stmt"/>
105
- <line num="80" count="3" type="stmt"/>
106
- <line num="85" count="842" type="cond" truecount="1" falsecount="0"/>
107
- <line num="86" count="414" type="stmt"/>
108
- <line num="87" count="414" type="stmt"/>
109
- <line num="89" count="0" type="stmt"/>
110
- <line num="97" count="0" type="stmt"/>
111
- <line num="101" count="428" type="cond" truecount="3" falsecount="0"/>
112
- <line num="102" count="37" type="stmt"/>
113
- <line num="105" count="405" type="cond" truecount="3" falsecount="0"/>
114
- <line num="106" count="38" type="stmt"/>
115
- <line num="109" count="383" type="cond" truecount="3" falsecount="0"/>
116
- <line num="110" count="6" type="stmt"/>
117
- <line num="112" count="9" type="stmt"/>
118
- <line num="122" count="377" type="cond" truecount="1" falsecount="0"/>
119
- <line num="123" count="380" type="stmt"/>
120
- <line num="126" count="0" type="stmt"/>
123
+ <line num="72" count="20" type="cond" truecount="2" falsecount="0"/>
124
+ <line num="73" count="2" type="stmt"/>
125
+ <line num="74" count="18" type="cond" truecount="2" falsecount="0"/>
126
+ <line num="75" count="10" type="cond" truecount="2" falsecount="0"/>
127
+ <line num="76" count="10" type="stmt"/>
128
+ <line num="77" count="8" type="cond" truecount="1" falsecount="0"/>
129
+ <line num="78" count="8" type="cond" truecount="2" falsecount="0"/>
130
+ <line num="79" count="8" type="stmt"/>
131
+ <line num="81" count="30" type="cond" truecount="4" falsecount="0"/>
132
+ <line num="83" count="12" type="stmt"/>
133
+ <line num="85" count="12" type="cond" truecount="2" falsecount="0"/>
134
+ <line num="86" count="2" type="stmt"/>
135
+ <line num="87" count="10" type="cond" truecount="2" falsecount="0"/>
136
+ <line num="88" count="4" type="stmt"/>
137
+ <line num="89" count="6" type="cond" truecount="2" falsecount="0"/>
138
+ <line num="90" count="2" type="stmt"/>
139
+ <line num="91" count="4" type="cond" truecount="1" falsecount="0"/>
140
+ <line num="92" count="4" type="stmt"/>
141
+ <line num="94" count="18" type="cond" truecount="2" falsecount="0"/>
142
+ <line num="95" count="6" type="stmt"/>
143
+ <line num="96" count="12" type="cond" truecount="2" falsecount="0"/>
144
+ <line num="97" count="6" type="stmt"/>
145
+ <line num="98" count="6" type="cond" truecount="3" falsecount="0"/>
146
+ <line num="100" count="4" type="stmt"/>
147
+ <line num="102" count="4" type="cond" truecount="2" falsecount="0"/>
148
+ <line num="103" count="2" type="stmt"/>
149
+ <line num="104" count="2" type="cond" truecount="1" falsecount="0"/>
150
+ <line num="105" count="2" type="stmt"/>
151
+ <line num="109" count="2" type="stmt"/>
121
152
  </file>
122
153
  <file name="datafileReader.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/datafileReader.ts">
123
- <metrics statements="40" coveredstatements="39" conditionals="7" coveredconditionals="7" methods="13" coveredmethods="13"/>
124
- <line num="12" count="3" type="stmt"/>
125
- <line num="13" count="137" type="cond" truecount="3" falsecount="0"/>
126
- <line num="14" count="10" type="stmt"/>
127
- <line num="15" count="10" type="stmt"/>
128
- <line num="17" count="0" type="stmt"/>
129
- <line num="21" count="137" type="stmt"/>
130
- <line num="24" count="3" type="stmt"/>
131
- <line num="33" count="31" type="stmt"/>
132
- <line num="34" count="31" type="stmt"/>
133
- <line num="36" count="31" type="cond" truecount="2" falsecount="0"/>
134
- <line num="38" count="1" type="stmt"/>
135
- <line num="40" count="1" type="stmt"/>
136
- <line num="41" count="1" type="stmt"/>
137
- <line num="42" count="1" type="stmt"/>
138
- <line num="45" count="30" type="stmt"/>
139
- <line num="47" count="30" type="stmt"/>
140
- <line num="48" count="30" type="stmt"/>
141
- <line num="49" count="6" type="stmt"/>
142
- <line num="52" count="30" type="stmt"/>
143
- <line num="53" count="30" type="stmt"/>
144
- <line num="54" count="17" type="stmt"/>
145
- <line num="57" count="30" type="stmt"/>
146
- <line num="58" count="30" type="stmt"/>
147
- <line num="59" count="27" type="cond" truecount="1" falsecount="0"/>
148
- <line num="60" count="2" type="stmt"/>
149
- <line num="61" count="9" type="stmt"/>
150
- <line num="62" count="9" type="stmt"/>
151
- <line num="66" count="27" type="stmt"/>
152
- <line num="72" count="3" type="stmt"/>
153
- <line num="76" count="2" type="stmt"/>
154
- <line num="80" count="3" type="stmt"/>
155
- <line num="82" count="3" type="stmt"/>
156
- <line num="83" count="4" type="stmt"/>
157
- <line num="86" count="3" type="stmt"/>
158
- <line num="90" count="2" type="stmt"/>
159
- <line num="94" count="139" type="stmt"/>
160
- <line num="96" count="139" type="cond" truecount="1" falsecount="0"/>
161
- <line num="97" count="2" type="stmt"/>
162
- <line num="100" count="137" type="stmt"/>
163
- <line num="104" count="120" type="stmt"/>
154
+ <metrics statements="113" coveredstatements="102" conditionals="60" coveredconditionals="55" methods="27" coveredmethods="27"/>
155
+ <line num="15" count="5" type="stmt"/>
156
+ <line num="30" count="5" type="stmt"/>
157
+ <line num="45" count="47" type="stmt"/>
158
+ <line num="47" count="47" type="stmt"/>
159
+ <line num="49" count="47" type="stmt"/>
160
+ <line num="50" count="47" type="stmt"/>
161
+ <line num="52" count="47" type="stmt"/>
162
+ <line num="53" count="47" type="stmt"/>
163
+ <line num="55" count="47" type="stmt"/>
164
+ <line num="59" count="9" type="stmt"/>
165
+ <line num="63" count="1" type="stmt"/>
166
+ <line num="67" count="210" type="stmt"/>
167
+ <line num="69" count="210" type="cond" truecount="1" falsecount="0"/>
168
+ <line num="70" count="1" type="stmt"/>
169
+ <line num="73" count="209" type="stmt"/>
170
+ <line num="75" count="209" type="stmt"/>
171
+ <line num="79" count="10" type="stmt"/>
172
+ <line num="83" count="208" type="stmt"/>
173
+ <line num="87" count="4" type="stmt"/>
174
+ <line num="89" count="4" type="cond" truecount="0" falsecount="1"/>
175
+ <line num="90" count="0" type="stmt"/>
176
+ <line num="93" count="4" type="cond" truecount="2" falsecount="0"/>
177
+ <line num="97" count="4" type="stmt"/>
178
+ <line num="99" count="4" type="cond" truecount="0" falsecount="1"/>
179
+ <line num="100" count="0" type="stmt"/>
180
+ <line num="103" count="4" type="cond" truecount="2" falsecount="0"/>
181
+ <line num="107" count="18" type="cond" truecount="2" falsecount="0"/>
182
+ <line num="108" count="18" type="stmt"/>
183
+ <line num="110" count="18" type="cond" truecount="1" falsecount="0"/>
184
+ <line num="111" count="16" type="stmt"/>
185
+ <line num="114" count="2" type="stmt"/>
186
+ <line num="115" count="2" type="stmt"/>
187
+ <line num="117" count="2" type="stmt"/>
188
+ <line num="121" count="1506" type="cond" truecount="1" falsecount="0"/>
189
+ <line num="122" count="2" type="cond" truecount="1" falsecount="0"/>
190
+ <line num="123" count="1" type="stmt"/>
191
+ <line num="126" count="1" type="stmt"/>
192
+ <line num="129" count="1504" type="stmt"/>
193
+ <line num="130" count="18" type="stmt"/>
194
+ <line num="132" count="1504" type="cond" truecount="1" falsecount="0"/>
195
+ <line num="133" count="745" type="stmt"/>
196
+ <line num="134" count="745" type="stmt"/>
197
+ <line num="136" count="0" type="stmt"/>
198
+ <line num="144" count="0" type="stmt"/>
199
+ <line num="148" count="759" type="cond" truecount="3" falsecount="0"/>
200
+ <line num="149" count="37" type="stmt"/>
201
+ <line num="152" count="736" type="cond" truecount="3" falsecount="0"/>
202
+ <line num="153" count="38" type="stmt"/>
203
+ <line num="156" count="714" type="cond" truecount="3" falsecount="0"/>
204
+ <line num="157" count="6" type="stmt"/>
205
+ <line num="159" count="9" type="stmt"/>
206
+ <line num="168" count="708" type="cond" truecount="1" falsecount="0"/>
207
+ <line num="169" count="711" type="stmt"/>
208
+ <line num="172" count="0" type="stmt"/>
209
+ <line num="176" count="207" type="stmt"/>
210
+ <line num="183" count="506" type="cond" truecount="1" falsecount="0"/>
211
+ <line num="184" count="100" type="stmt"/>
212
+ <line num="187" count="406" type="cond" truecount="1" falsecount="0"/>
213
+ <line num="188" count="207" type="stmt"/>
214
+ <line num="190" count="207" type="cond" truecount="1" falsecount="0"/>
215
+ <line num="191" count="207" type="stmt"/>
216
+ <line num="194" count="0" type="stmt"/>
217
+ <line num="197" count="199" type="cond" truecount="1" falsecount="0"/>
218
+ <line num="198" count="199" type="cond" truecount="3" falsecount="0"/>
219
+ <line num="199" count="15" type="stmt"/>
220
+ <line num="200" count="24" type="stmt"/>
221
+ <line num="204" count="184" type="cond" truecount="3" falsecount="0"/>
222
+ <line num="205" count="8" type="stmt"/>
223
+ <line num="206" count="12" type="stmt"/>
224
+ <line num="210" count="176" type="cond" truecount="3" falsecount="0"/>
225
+ <line num="211" count="10" type="stmt"/>
226
+ <line num="212" count="10" type="stmt"/>
227
+ <line num="217" count="166" type="cond" truecount="1" falsecount="0"/>
228
+ <line num="218" count="166" type="stmt"/>
229
+ <line num="219" count="177" type="stmt"/>
230
+ <line num="223" count="0" type="stmt"/>
231
+ <line num="227" count="165" type="stmt"/>
232
+ <line num="228" count="228" type="cond" truecount="1" falsecount="0"/>
233
+ <line num="229" count="67" type="stmt"/>
234
+ <line num="232" count="161" type="stmt"/>
235
+ <line num="237" count="72" type="cond" truecount="0" falsecount="1"/>
236
+ <line num="238" count="0" type="stmt"/>
237
+ <line num="241" count="72" type="stmt"/>
238
+ <line num="242" count="132" type="stmt"/>
239
+ <line num="244" count="132" type="cond" truecount="4" falsecount="0"/>
240
+ <line num="245" count="70" type="stmt"/>
241
+ <line num="249" count="2" type="stmt"/>
242
+ <line num="253" count="178" type="stmt"/>
243
+ <line num="258" count="178" type="cond" truecount="1" falsecount="1"/>
244
+ <line num="260" count="178" type="cond" truecount="3" falsecount="0"/>
245
+ <line num="261" count="49" type="stmt"/>
246
+ <line num="264" count="129" type="stmt"/>
247
+ <line num="265" count="369" type="stmt"/>
248
+ <line num="267" count="369" type="cond" truecount="1" falsecount="0"/>
249
+ <line num="274" count="13" type="stmt"/>
250
+ <line num="275" count="13" type="stmt"/>
251
+ <line num="276" count="13" type="stmt"/>
252
+ <line num="279" count="356" type="cond" truecount="1" falsecount="0"/>
253
+ <line num="283" count="1" type="stmt"/>
254
+ <line num="284" count="1" type="stmt"/>
255
+ <line num="285" count="1" type="stmt"/>
256
+ <line num="289" count="129" type="stmt"/>
257
+ <line num="293" count="573" type="cond" truecount="1" falsecount="0"/>
258
+ <line num="295" count="563" type="stmt"/>
259
+ <line num="298" count="10" type="cond" truecount="0" falsecount="1"/>
260
+ <line num="300" count="0" type="stmt"/>
261
+ <line num="303" count="10" type="stmt"/>
262
+ <line num="304" count="10" type="stmt"/>
263
+ <line num="306" count="0" type="stmt"/>
264
+ <line num="313" count="0" type="stmt"/>
265
+ <line num="320" count="242" type="cond" truecount="4" falsecount="0"/>
266
+ <line num="321" count="5" type="stmt"/>
267
+ <line num="324" count="237" type="stmt"/>
164
268
  </file>
165
269
  <file name="emitter.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/emitter.ts">
166
- <metrics statements="18" coveredstatements="18" conditionals="6" coveredconditionals="6" methods="7" coveredmethods="7"/>
167
- <line num="7" count="2" type="stmt"/>
168
- <line num="11" count="31" type="stmt"/>
169
- <line num="15" count="22" type="cond" truecount="1" falsecount="0"/>
170
- <line num="16" count="18" type="stmt"/>
171
- <line num="19" count="22" type="stmt"/>
172
- <line num="23" count="8" type="cond" truecount="1" falsecount="0"/>
173
- <line num="24" count="1" type="stmt"/>
174
- <line num="27" count="7" type="stmt"/>
175
- <line num="29" count="7" type="cond" truecount="1" falsecount="0"/>
176
- <line num="30" count="7" type="stmt"/>
177
- <line num="35" count="2" type="cond" truecount="2" falsecount="0"/>
178
- <line num="36" count="1" type="stmt"/>
179
- <line num="38" count="1" type="stmt"/>
180
- <line num="39" count="2" type="stmt"/>
181
- <line num="45" count="15" type="cond" truecount="1" falsecount="0"/>
182
- <line num="46" count="9" type="stmt"/>
183
- <line num="49" count="6" type="stmt"/>
184
- <line num="50" count="8" type="stmt"/>
270
+ <metrics statements="22" coveredstatements="20" conditionals="5" coveredconditionals="3" methods="6" coveredmethods="6"/>
271
+ <line num="9" count="3" type="stmt"/>
272
+ <line num="13" count="21" type="stmt"/>
273
+ <line num="17" count="2" type="cond" truecount="1" falsecount="0"/>
274
+ <line num="18" count="2" type="stmt"/>
275
+ <line num="21" count="2" type="stmt"/>
276
+ <line num="22" count="2" type="stmt"/>
277
+ <line num="24" count="2" type="stmt"/>
278
+ <line num="26" count="2" type="stmt"/>
279
+ <line num="27" count="2" type="cond" truecount="0" falsecount="1"/>
280
+ <line num="28" count="0" type="stmt"/>
281
+ <line num="31" count="2" type="stmt"/>
282
+ <line num="33" count="2" type="stmt"/>
283
+ <line num="34" count="2" type="cond" truecount="1" falsecount="0"/>
284
+ <line num="35" count="2" type="stmt"/>
285
+ <line num="41" count="6" type="stmt"/>
286
+ <line num="43" count="6" type="cond" truecount="1" falsecount="0"/>
287
+ <line num="44" count="4" type="stmt"/>
288
+ <line num="47" count="2" type="stmt"/>
289
+ <line num="48" count="2" type="stmt"/>
290
+ <line num="49" count="2" type="stmt"/>
291
+ <line num="51" count="0" type="stmt"/>
292
+ <line num="57" count="2" type="stmt"/>
185
293
  </file>
186
294
  <file name="evaluate.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/evaluate.ts">
187
- <metrics statements="208" coveredstatements="198" conditionals="143" coveredconditionals="131" methods="10" coveredmethods="10"/>
188
- <line num="24" count="1" type="stmt"/>
189
- <line num="25" count="1" type="stmt"/>
190
- <line num="31" count="1" type="stmt"/>
191
- <line num="32" count="1" type="stmt"/>
192
- <line num="35" count="1" type="cond" truecount="2" falsecount="0"/>
193
- <line num="36" count="1" type="stmt"/>
194
- <line num="37" count="1" type="stmt"/>
195
- <line num="38" count="1" type="stmt"/>
196
- <line num="39" count="1" type="stmt"/>
197
- <line num="40" count="1" type="stmt"/>
198
- <line num="41" count="1" type="stmt"/>
199
- <line num="42" count="1" type="stmt"/>
200
- <line num="43" count="1" type="stmt"/>
201
- <line num="44" count="1" type="stmt"/>
202
- <line num="45" count="1" type="stmt"/>
203
- <line num="46" count="1" type="stmt"/>
204
- <line num="47" count="1" type="stmt"/>
205
- <line num="48" count="1" type="stmt"/>
206
- <line num="49" count="1" type="stmt"/>
207
- <line num="103" count="1" type="stmt"/>
208
- <line num="119" count="130" type="stmt"/>
209
- <line num="121" count="130" type="stmt"/>
210
- <line num="122" count="130" type="cond" truecount="1" falsecount="1"/>
211
- <line num="128" count="130" type="cond" truecount="1" falsecount="0"/>
212
- <line num="130" count="54" type="stmt"/>
213
- <line num="144" count="54" type="cond" truecount="1" falsecount="0"/>
214
- <line num="145" count="4" type="stmt"/>
215
- <line num="150" count="4" type="stmt"/>
216
- <line num="152" count="4" type="stmt"/>
217
- <line num="159" count="126" type="cond" truecount="3" falsecount="0"/>
218
- <line num="161" count="6" type="cond" truecount="3" falsecount="0"/>
219
- <line num="162" count="3" type="stmt"/>
220
- <line num="169" count="3" type="stmt"/>
221
- <line num="171" count="3" type="stmt"/>
222
- <line num="175" count="3" type="cond" truecount="1" falsecount="0"/>
223
- <line num="176" count="2" type="stmt"/>
224
- <line num="178" count="2" type="cond" truecount="1" falsecount="0"/>
225
- <line num="179" count="2" type="stmt"/>
226
- <line num="185" count="2" type="stmt"/>
227
- <line num="187" count="2" type="stmt"/>
228
- <line num="192" count="1" type="cond" truecount="1" falsecount="0"/>
229
- <line num="193" count="1" type="stmt"/>
230
- <line num="195" count="1" type="cond" truecount="1" falsecount="0"/>
231
- <line num="196" count="1" type="stmt"/>
232
- <line num="198" count="1" type="cond" truecount="1" falsecount="0"/>
295
+ <metrics statements="233" coveredstatements="212" conditionals="153" coveredconditionals="135" methods="10" coveredmethods="10"/>
296
+ <line num="23" count="2" type="stmt"/>
297
+ <line num="25" count="2" type="cond" truecount="2" falsecount="0"/>
298
+ <line num="27" count="2" type="stmt"/>
299
+ <line num="28" count="2" type="stmt"/>
300
+ <line num="29" count="2" type="stmt"/>
301
+ <line num="30" count="2" type="stmt"/>
302
+ <line num="33" count="2" type="stmt"/>
303
+ <line num="34" count="2" type="stmt"/>
304
+ <line num="37" count="2" type="stmt"/>
305
+ <line num="38" count="2" type="stmt"/>
306
+ <line num="39" count="2" type="stmt"/>
307
+ <line num="40" count="2" type="stmt"/>
308
+ <line num="43" count="2" type="stmt"/>
309
+ <line num="44" count="2" type="stmt"/>
310
+ <line num="45" count="2" type="stmt"/>
311
+ <line num="46" count="2" type="stmt"/>
312
+ <line num="47" count="2" type="stmt"/>
313
+ <line num="49" count="2" type="stmt"/>
314
+ <line num="104" count="2" type="stmt"/>
315
+ <line num="105" count="108" type="stmt"/>
316
+ <line num="106" count="108" type="stmt"/>
317
+ <line num="107" count="108" type="stmt"/>
318
+ <line num="110" count="108" type="stmt"/>
319
+ <line num="111" count="108" type="stmt"/>
320
+ <line num="112" count="12" type="cond" truecount="1" falsecount="0"/>
321
+ <line num="113" count="1" type="stmt"/>
322
+ <line num="118" count="108" type="stmt"/>
323
+ <line num="121" count="108" type="cond" truecount="0" falsecount="1"/>
324
+ <line num="126" count="0" type="stmt"/>
325
+ <line num="130" count="108" type="cond" truecount="0" falsecount="1"/>
326
+ <line num="135" count="0" type="stmt"/>
327
+ <line num="139" count="108" type="stmt"/>
328
+ <line num="140" count="12" type="cond" truecount="1" falsecount="0"/>
329
+ <line num="141" count="1" type="stmt"/>
330
+ <line num="145" count="108" type="stmt"/>
331
+ <line num="147" count="0" type="stmt"/>
332
+ <line num="149" count="0" type="stmt"/>
333
+ <line num="157" count="0" type="stmt"/>
334
+ <line num="159" count="0" type="stmt"/>
335
+ <line num="163" count="2" type="stmt"/>
336
+ <line num="165" count="199" type="stmt"/>
337
+ <line num="167" count="199" type="stmt"/>
338
+ <line num="170" count="199" type="stmt"/>
339
+ <line num="175" count="199" type="cond" truecount="1" falsecount="0"/>
340
+ <line num="177" count="85" type="stmt"/>
341
+ <line num="182" count="85" type="cond" truecount="1" falsecount="0"/>
342
+ <line num="183" count="4" type="stmt"/>
343
+ <line num="189" count="4" type="stmt"/>
344
+ <line num="192" count="4" type="cond" truecount="1" falsecount="0"/>
345
+ <line num="193" count="1" type="cond" truecount="1" falsecount="0"/>
233
346
  <line num="199" count="1" type="stmt"/>
234
- <line num="206" count="1" type="stmt"/>
235
- <line num="208" count="1" type="stmt"/>
236
- <line num="217" count="120" type="cond" truecount="5" falsecount="0"/>
237
- <line num="219" count="4" type="cond" truecount="3" falsecount="0"/>
238
- <line num="220" count="2" type="stmt"/>
239
- <line num="227" count="2" type="stmt"/>
240
- <line num="229" count="2" type="stmt"/>
241
- <line num="233" count="2" type="cond" truecount="3" falsecount="0"/>
242
- <line num="234" count="1" type="stmt"/>
243
- <line num="236" count="1" type="stmt"/>
244
- <line num="242" count="1" type="stmt"/>
245
- <line num="244" count="1" type="stmt"/>
246
- <line num="248" count="1" type="cond" truecount="1" falsecount="0"/>
247
- <line num="249" count="1" type="stmt"/>
248
- <line num="251" count="1" type="cond" truecount="1" falsecount="0"/>
249
- <line num="252" count="1" type="cond" truecount="1" falsecount="0"/>
250
- <line num="253" count="1" type="stmt"/>
251
- <line num="260" count="1" type="stmt"/>
252
- <line num="262" count="1" type="stmt"/>
253
- <line num="272" count="116" type="cond" truecount="1" falsecount="1"/>
254
- <line num="275" count="116" type="cond" truecount="1" falsecount="0"/>
255
- <line num="276" count="6" type="stmt"/>
256
- <line num="281" count="6" type="stmt"/>
257
- <line num="283" count="6" type="stmt"/>
258
- <line num="287" count="110" type="cond" truecount="3" falsecount="0"/>
259
- <line num="288" count="1" type="stmt"/>
260
- <line num="294" count="110" type="cond" truecount="1" falsecount="0"/>
261
- <line num="295" count="24" type="cond" truecount="3" falsecount="0"/>
262
- <line num="296" count="23" type="stmt"/>
263
- <line num="300" count="24" type="cond" truecount="1" falsecount="0"/>
264
- <line num="301" count="1" type="stmt"/>
265
- <line num="307" count="1" type="stmt"/>
266
- <line num="309" count="1" type="stmt"/>
267
- <line num="312" count="23" type="cond" truecount="0" falsecount="1"/>
268
- <line num="313" count="0" type="stmt"/>
269
- <line num="321" count="109" type="cond" truecount="4" falsecount="0"/>
270
- <line num="322" count="1" type="stmt"/>
271
- <line num="327" count="1" type="stmt"/>
272
- <line num="329" count="1" type="stmt"/>
273
- <line num="332" count="108" type="cond" truecount="2" falsecount="0"/>
274
- <line num="337" count="108" type="stmt"/>
275
- <line num="339" count="108" type="cond" truecount="1" falsecount="0"/>
276
- <line num="341" count="14" type="cond" truecount="3" falsecount="0"/>
277
- <line num="342" count="9" type="stmt"/>
278
- <line num="350" count="9" type="stmt"/>
279
- <line num="352" count="9" type="stmt"/>
280
- <line num="356" count="5" type="cond" truecount="4" falsecount="0"/>
281
- <line num="357" count="1" type="stmt"/>
282
- <line num="359" count="1" type="cond" truecount="1" falsecount="0"/>
283
- <line num="360" count="1" type="stmt"/>
284
- <line num="368" count="1" type="stmt"/>
285
- <line num="370" count="1" type="stmt"/>
286
- <line num="375" count="4" type="cond" truecount="4" falsecount="0"/>
287
- <line num="376" count="1" type="stmt"/>
288
- <line num="386" count="1" type="stmt"/>
289
- <line num="388" count="1" type="stmt"/>
290
- <line num="395" count="97" type="cond" truecount="4" falsecount="0"/>
291
- <line num="396" count="4" type="stmt"/>
292
- <line num="400" count="4" type="cond" truecount="2" falsecount="0"/>
293
- <line num="401" count="2" type="stmt"/>
294
- <line num="403" count="2" type="stmt"/>
295
- <line num="404" count="2" type="stmt"/>
296
- <line num="407" count="4" type="stmt"/>
297
- <line num="420" count="4" type="stmt"/>
298
- <line num="422" count="4" type="cond" truecount="1" falsecount="0"/>
299
- <line num="423" count="1" type="stmt"/>
300
- <line num="426" count="3" type="cond" truecount="1" falsecount="0"/>
301
- <line num="427" count="2" type="stmt"/>
302
- <line num="443" count="2" type="cond" truecount="1" falsecount="1"/>
303
- <line num="444" count="0" type="stmt"/>
304
- <line num="445" count="2" type="cond" truecount="1" falsecount="0"/>
305
- <line num="446" count="2" type="stmt"/>
306
- <line num="449" count="2" type="stmt"/>
307
- <line num="452" count="1" type="stmt"/>
347
+ <line num="201" count="1" type="cond" truecount="1" falsecount="1"/>
348
+ <line num="203" count="0" type="stmt"/>
349
+ <line num="212" count="1" type="cond" truecount="0" falsecount="1"/>
350
+ <line num="214" count="0" type="stmt"/>
351
+ <line num="228" count="4" type="cond" truecount="3" falsecount="1"/>
352
+ <line num="229" count="0" type="stmt"/>
353
+ <line num="238" count="4" type="stmt"/>
354
+ <line num="240" count="4" type="stmt"/>
355
+ <line num="247" count="195" type="cond" truecount="3" falsecount="0"/>
356
+ <line num="249" count="7" type="cond" truecount="3" falsecount="0"/>
357
+ <line num="250" count="4" type="stmt"/>
358
+ <line num="258" count="4" type="stmt"/>
359
+ <line num="260" count="4" type="stmt"/>
360
+ <line num="264" count="3" type="cond" truecount="1" falsecount="0"/>
361
+ <line num="265" count="2" type="stmt"/>
362
+ <line num="267" count="2" type="cond" truecount="1" falsecount="0"/>
363
+ <line num="268" count="2" type="stmt"/>
364
+ <line num="275" count="2" type="stmt"/>
365
+ <line num="277" count="2" type="stmt"/>
366
+ <line num="282" count="1" type="cond" truecount="1" falsecount="0"/>
367
+ <line num="283" count="1" type="stmt"/>
368
+ <line num="285" count="1" type="cond" truecount="1" falsecount="0"/>
369
+ <line num="286" count="1" type="stmt"/>
370
+ <line num="288" count="1" type="cond" truecount="1" falsecount="0"/>
371
+ <line num="289" count="1" type="stmt"/>
372
+ <line num="297" count="1" type="stmt"/>
373
+ <line num="299" count="1" type="stmt"/>
374
+ <line num="309" count="188" type="cond" truecount="1" falsecount="1"/>
375
+ <line num="312" count="188" type="cond" truecount="1" falsecount="0"/>
376
+ <line num="313" count="7" type="stmt"/>
377
+ <line num="319" count="7" type="stmt"/>
378
+ <line num="321" count="7" type="stmt"/>
379
+ <line num="325" count="181" type="cond" truecount="3" falsecount="0"/>
380
+ <line num="326" count="1" type="stmt"/>
381
+ <line num="332" count="181" type="cond" truecount="1" falsecount="0"/>
382
+ <line num="333" count="113" type="cond" truecount="3" falsecount="0"/>
383
+ <line num="334" count="111" type="stmt"/>
384
+ <line num="338" count="113" type="cond" truecount="1" falsecount="0"/>
385
+ <line num="339" count="2" type="stmt"/>
386
+ <line num="346" count="2" type="stmt"/>
387
+ <line num="348" count="2" type="stmt"/>
388
+ <line num="351" count="111" type="cond" truecount="0" falsecount="1"/>
389
+ <line num="352" count="0" type="stmt"/>
390
+ <line num="360" count="179" type="cond" truecount="4" falsecount="0"/>
391
+ <line num="361" count="1" type="stmt"/>
392
+ <line num="367" count="1" type="stmt"/>
393
+ <line num="369" count="1" type="stmt"/>
394
+ <line num="375" count="178" type="stmt"/>
395
+ <line num="377" count="178" type="cond" truecount="1" falsecount="0"/>
396
+ <line num="379" count="14" type="cond" truecount="3" falsecount="0"/>
397
+ <line num="380" count="9" type="stmt"/>
398
+ <line num="389" count="9" type="stmt"/>
399
+ <line num="391" count="9" type="stmt"/>
400
+ <line num="395" count="5" type="cond" truecount="4" falsecount="0"/>
401
+ <line num="396" count="1" type="stmt"/>
402
+ <line num="398" count="1" type="cond" truecount="1" falsecount="0"/>
403
+ <line num="399" count="1" type="stmt"/>
404
+ <line num="408" count="1" type="stmt"/>
405
+ <line num="410" count="1" type="stmt"/>
406
+ <line num="415" count="4" type="cond" truecount="4" falsecount="0"/>
407
+ <line num="416" count="1" type="stmt"/>
408
+ <line num="427" count="1" type="stmt"/>
409
+ <line num="429" count="1" type="stmt"/>
410
+ <line num="436" count="167" type="cond" truecount="4" falsecount="0"/>
411
+ <line num="437" count="4" type="stmt"/>
412
+ <line num="441" count="4" type="cond" truecount="2" falsecount="0"/>
413
+ <line num="442" count="2" type="stmt"/>
414
+ <line num="444" count="2" type="stmt"/>
415
+ <line num="445" count="2" type="stmt"/>
416
+ <line num="448" count="4" type="stmt"/>
417
+ <line num="453" count="4" type="stmt"/>
308
418
  <line num="455" count="4" type="cond" truecount="1" falsecount="0"/>
309
- <line num="456" count="2" type="stmt"/>
310
- <line num="463" count="2" type="stmt"/>
311
- <line num="465" count="2" type="stmt"/>
312
- <line num="472" count="95" type="stmt"/>
313
- <line num="484" count="95" type="cond" truecount="2" falsecount="0"/>
314
- <line num="485" count="39" type="stmt"/>
315
- <line num="493" count="39" type="stmt"/>
316
- <line num="494" count="39" type="stmt"/>
317
- <line num="496" count="56" type="stmt"/>
318
- <line num="499" count="95" type="cond" truecount="1" falsecount="0"/>
319
- <line num="501" count="90" type="cond" truecount="1" falsecount="0"/>
320
- <line num="503" count="51" type="cond" truecount="3" falsecount="0"/>
321
- <line num="504" count="2" type="stmt"/>
322
- <line num="505" count="2" type="cond" truecount="2" falsecount="0"/>
323
- <line num="509" count="2" type="cond" truecount="1" falsecount="0"/>
324
- <line num="510" count="1" type="stmt"/>
325
- <line num="521" count="1" type="stmt"/>
326
- <line num="523" count="1" type="stmt"/>
327
- <line num="527" count="1" type="stmt"/>
328
- <line num="535" count="1" type="stmt"/>
329
- <line num="537" count="1" type="stmt"/>
330
- <line num="541" count="49" type="cond" truecount="1" falsecount="0"/>
331
- <line num="542" count="1" type="stmt"/>
332
- <line num="552" count="1" type="stmt"/>
333
- <line num="554" count="1" type="stmt"/>
334
- <line num="558" count="48" type="cond" truecount="1" falsecount="0"/>
335
- <line num="559" count="48" type="stmt"/>
336
- <line num="569" count="48" type="stmt"/>
337
- <line num="571" count="48" type="stmt"/>
338
- <line num="576" count="39" type="cond" truecount="3" falsecount="0"/>
339
- <line num="578" count="17" type="cond" truecount="1" falsecount="0"/>
340
- <line num="579" count="1" type="stmt"/>
341
- <line num="581" count="1" type="cond" truecount="1" falsecount="0"/>
342
- <line num="582" count="1" type="stmt"/>
343
- <line num="592" count="1" type="stmt"/>
344
- <line num="594" count="1" type="stmt"/>
345
- <line num="599" count="16" type="cond" truecount="3" falsecount="0"/>
346
- <line num="600" count="23" type="stmt"/>
347
- <line num="602" count="16" type="cond" truecount="1" falsecount="0"/>
348
- <line num="603" count="16" type="stmt"/>
349
- <line num="613" count="16" type="stmt"/>
350
- <line num="615" count="16" type="stmt"/>
351
- <line num="622" count="27" type="cond" truecount="3" falsecount="0"/>
352
- <line num="624" count="22" type="cond" truecount="1" falsecount="0"/>
353
- <line num="629" count="2" type="stmt"/>
354
- <line num="641" count="2" type="stmt"/>
355
- <line num="643" count="2" type="stmt"/>
356
- <line num="649" count="20" type="cond" truecount="4" falsecount="0"/>
357
- <line num="650" count="3" type="stmt"/>
358
- <line num="651" count="17" type="cond" truecount="3" falsecount="1"/>
359
- <line num="652" count="0" type="stmt"/>
360
- <line num="653" count="17" type="cond" truecount="3" falsecount="0"/>
361
- <line num="654" count="16" type="stmt"/>
362
- <line num="657" count="20" type="cond" truecount="3" falsecount="0"/>
363
- <line num="658" count="38" type="stmt"/>
364
- <line num="660" count="19" type="cond" truecount="3" falsecount="0"/>
365
- <line num="661" count="34" type="stmt"/>
366
- <line num="663" count="19" type="cond" truecount="1" falsecount="0"/>
367
- <line num="664" count="7" type="cond" truecount="1" falsecount="0"/>
368
- <line num="665" count="7" type="stmt"/>
369
- <line num="666" count="12" type="cond" truecount="1" falsecount="0"/>
370
- <line num="667" count="5" type="stmt"/>
371
- <line num="674" count="7" type="cond" truecount="1" falsecount="0"/>
372
- <line num="675" count="7" type="stmt"/>
373
- <line num="683" count="0" type="stmt"/>
374
- <line num="686" count="7" type="cond" truecount="1" falsecount="0"/>
375
- <line num="687" count="4" type="stmt"/>
376
- <line num="699" count="4" type="stmt"/>
377
- <line num="701" count="4" type="stmt"/>
378
- <line num="705" count="3" type="cond" truecount="1" falsecount="0"/>
379
- <line num="706" count="3" type="stmt"/>
380
- <line num="718" count="3" type="stmt"/>
419
+ <line num="456" count="1" type="stmt"/>
420
+ <line num="459" count="3" type="cond" truecount="1" falsecount="0"/>
421
+ <line num="460" count="2" type="stmt"/>
422
+ <line num="468" count="2" type="cond" truecount="1" falsecount="1"/>
423
+ <line num="469" count="0" type="stmt"/>
424
+ <line num="470" count="2" type="cond" truecount="1" falsecount="0"/>
425
+ <line num="471" count="2" type="stmt"/>
426
+ <line num="474" count="2" type="stmt"/>
427
+ <line num="477" count="1" type="stmt"/>
428
+ <line num="480" count="4" type="cond" truecount="1" falsecount="0"/>
429
+ <line num="481" count="2" type="stmt"/>
430
+ <line num="489" count="2" type="stmt"/>
431
+ <line num="491" count="2" type="stmt"/>
432
+ <line num="499" count="165" type="stmt"/>
433
+ <line num="506" count="165" type="stmt"/>
434
+ <line num="507" count="16" type="cond" truecount="1" falsecount="0"/>
435
+ <line num="508" count="10" type="stmt"/>
436
+ <line num="518" count="165" type="stmt"/>
437
+ <line num="520" count="165" type="stmt"/>
438
+ <line num="521" count="16" type="cond" truecount="1" falsecount="0"/>
439
+ <line num="522" count="2" type="stmt"/>
440
+ <line num="534" count="165" type="cond" truecount="2" falsecount="0"/>
441
+ <line num="535" count="72" type="stmt"/>
442
+ <line num="537" count="72" type="cond" truecount="1" falsecount="0"/>
443
+ <line num="538" count="72" type="stmt"/>
444
+ <line num="541" count="93" type="stmt"/>
445
+ <line num="544" count="165" type="cond" truecount="1" falsecount="0"/>
446
+ <line num="546" count="161" type="cond" truecount="1" falsecount="0"/>
447
+ <line num="547" count="1" type="stmt"/>
448
+ <line num="558" count="1" type="stmt"/>
449
+ <line num="560" count="1" type="stmt"/>
450
+ <line num="564" count="160" type="cond" truecount="1" falsecount="0"/>
451
+ <line num="566" count="88" type="cond" truecount="3" falsecount="0"/>
452
+ <line num="567" count="2" type="stmt"/>
453
+ <line num="568" count="2" type="cond" truecount="2" falsecount="0"/>
454
+ <line num="572" count="2" type="cond" truecount="1" falsecount="0"/>
455
+ <line num="573" count="1" type="stmt"/>
456
+ <line num="585" count="1" type="stmt"/>
457
+ <line num="587" count="1" type="stmt"/>
458
+ <line num="591" count="1" type="stmt"/>
459
+ <line num="600" count="1" type="stmt"/>
460
+ <line num="602" count="1" type="stmt"/>
461
+ <line num="606" count="86" type="cond" truecount="1" falsecount="0"/>
462
+ <line num="607" count="1" type="stmt"/>
463
+ <line num="618" count="1" type="stmt"/>
464
+ <line num="620" count="1" type="stmt"/>
465
+ <line num="624" count="85" type="cond" truecount="1" falsecount="0"/>
466
+ <line num="625" count="85" type="stmt"/>
467
+ <line num="636" count="85" type="stmt"/>
468
+ <line num="638" count="85" type="stmt"/>
469
+ <line num="643" count="72" type="cond" truecount="3" falsecount="0"/>
470
+ <line num="645" count="18" type="cond" truecount="1" falsecount="0"/>
471
+ <line num="646" count="3" type="stmt"/>
472
+ <line num="648" count="3" type="cond" truecount="1" falsecount="0"/>
473
+ <line num="649" count="3" type="stmt"/>
474
+ <line num="660" count="3" type="stmt"/>
475
+ <line num="662" count="3" type="stmt"/>
476
+ <line num="667" count="15" type="cond" truecount="3" falsecount="0"/>
477
+ <line num="668" count="22" type="stmt"/>
478
+ <line num="670" count="15" type="cond" truecount="1" falsecount="0"/>
479
+ <line num="671" count="15" type="stmt"/>
480
+ <line num="682" count="15" type="stmt"/>
481
+ <line num="684" count="15" type="stmt"/>
482
+ <line num="691" count="58" type="cond" truecount="3" falsecount="0"/>
483
+ <line num="693" count="54" type="cond" truecount="1" falsecount="0"/>
484
+ <line num="698" count="5" type="stmt"/>
485
+ <line num="711" count="5" type="stmt"/>
486
+ <line num="713" count="5" type="stmt"/>
487
+ <line num="719" count="49" type="cond" truecount="4" falsecount="0"/>
381
488
  <line num="720" count="3" type="stmt"/>
382
- <line num="730" count="18" type="cond" truecount="0" falsecount="1"/>
383
- <line num="731" count="0" type="stmt"/>
384
- <line num="738" count="0" type="stmt"/>
385
- <line num="740" count="0" type="stmt"/>
386
- <line num="743" count="18" type="cond" truecount="3" falsecount="0"/>
387
- <line num="744" count="13" type="stmt"/>
388
- <line num="754" count="13" type="stmt"/>
389
- <line num="756" count="13" type="stmt"/>
390
- <line num="759" count="5" type="stmt"/>
391
- <line num="767" count="5" type="stmt"/>
392
- <line num="769" count="5" type="stmt"/>
393
- <line num="771" count="0" type="stmt"/>
394
- <line num="777" count="0" type="stmt"/>
395
- <line num="779" count="0" type="stmt"/>
489
+ <line num="721" count="46" type="cond" truecount="4" falsecount="0"/>
490
+ <line num="722" count="21" type="stmt"/>
491
+ <line num="723" count="25" type="cond" truecount="3" falsecount="0"/>
492
+ <line num="724" count="24" type="stmt"/>
493
+ <line num="727" count="49" type="cond" truecount="3" falsecount="0"/>
494
+ <line num="728" count="75" type="stmt"/>
495
+ <line num="730" count="48" type="cond" truecount="4" falsecount="0"/>
496
+ <line num="731" count="9" type="stmt"/>
497
+ <line num="733" count="9" type="stmt"/>
498
+ <line num="734" count="16" type="cond" truecount="1" falsecount="0"/>
499
+ <line num="735" count="7" type="stmt"/>
500
+ <line num="743" count="9" type="cond" truecount="1" falsecount="0"/>
501
+ <line num="744" count="9" type="stmt"/>
502
+ <line num="750" count="0" type="stmt"/>
503
+ <line num="753" count="9" type="cond" truecount="1" falsecount="0"/>
504
+ <line num="754" count="4" type="stmt"/>
505
+ <line num="767" count="4" type="stmt"/>
506
+ <line num="769" count="4" type="stmt"/>
507
+ <line num="773" count="44" type="cond" truecount="1" falsecount="0"/>
508
+ <line num="778" count="5" type="stmt"/>
509
+ <line num="791" count="5" type="stmt"/>
510
+ <line num="793" count="5" type="stmt"/>
511
+ <line num="801" count="44" type="cond" truecount="0" falsecount="1"/>
512
+ <line num="802" count="0" type="stmt"/>
513
+ <line num="810" count="0" type="stmt"/>
514
+ <line num="812" count="0" type="stmt"/>
515
+ <line num="815" count="44" type="cond" truecount="1" falsecount="0"/>
516
+ <line num="816" count="40" type="cond" truecount="1" falsecount="0"/>
517
+ <line num="817" count="40" type="stmt"/>
518
+ <line num="828" count="40" type="stmt"/>
519
+ <line num="830" count="40" type="stmt"/>
520
+ <line num="833" count="0" type="stmt"/>
521
+ <line num="842" count="0" type="stmt"/>
522
+ <line num="844" count="0" type="stmt"/>
523
+ <line num="847" count="4" type="stmt"/>
524
+ <line num="856" count="4" type="stmt"/>
525
+ <line num="858" count="4" type="stmt"/>
526
+ <line num="860" count="0" type="stmt"/>
527
+ <line num="868" count="0" type="stmt"/>
528
+ <line num="870" count="0" type="stmt"/>
396
529
  </file>
397
- <file name="feature.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/feature.ts">
398
- <metrics statements="44" coveredstatements="42" conditionals="21" coveredconditionals="19" methods="7" coveredmethods="7"/>
399
- <line num="3" count="1" type="stmt"/>
400
- <line num="4" count="1" type="stmt"/>
401
- <line num="7" count="1" type="stmt"/>
402
- <line num="11" count="39" type="cond" truecount="0" falsecount="1"/>
403
- <line num="12" count="0" type="stmt"/>
404
- <line num="15" count="39" type="stmt"/>
405
- <line num="16" count="65" type="stmt"/>
406
- <line num="18" count="65" type="cond" truecount="4" falsecount="0"/>
407
- <line num="19" count="37" type="stmt"/>
408
- <line num="23" count="2" type="stmt"/>
409
- <line num="26" count="1" type="stmt"/>
410
- <line num="27" count="147" type="cond" truecount="4" falsecount="0"/>
411
- <line num="28" count="5" type="stmt"/>
412
- <line num="31" count="142" type="stmt"/>
413
- <line num="34" count="1" type="stmt"/>
414
- <line num="40" count="56" type="stmt"/>
415
- <line num="41" count="81" type="cond" truecount="1" falsecount="0"/>
416
- <line num="49" count="29" type="stmt"/>
417
- <line num="52" count="52" type="stmt"/>
418
- <line num="55" count="56" type="cond" truecount="3" falsecount="0"/>
419
- <line num="56" count="51" type="stmt"/>
420
- <line num="59" count="5" type="stmt"/>
421
- <line num="67" count="1" type="stmt"/>
422
- <line num="74" count="39" type="stmt"/>
423
- <line num="75" count="59" type="stmt"/>
424
- <line num="83" count="39" type="cond" truecount="0" falsecount="1"/>
425
- <line num="84" count="0" type="stmt"/>
426
- <line num="90" count="39" type="stmt"/>
427
- <line num="92" count="39" type="stmt"/>
428
- <line num="103" count="1" type="stmt"/>
429
- <line num="109" count="108" type="stmt"/>
430
- <line num="114" count="108" type="cond" truecount="1" falsecount="0"/>
431
- <line num="115" count="51" type="stmt"/>
432
- <line num="118" count="57" type="stmt"/>
433
- <line num="119" count="153" type="stmt"/>
434
- <line num="121" count="153" type="cond" truecount="1" falsecount="0"/>
435
- <line num="125" count="13" type="stmt"/>
436
- <line num="126" count="13" type="stmt"/>
437
- <line num="127" count="13" type="stmt"/>
438
- <line num="130" count="140" type="cond" truecount="1" falsecount="0"/>
439
- <line num="134" count="1" type="stmt"/>
440
- <line num="135" count="1" type="stmt"/>
441
- <line num="136" count="1" type="stmt"/>
442
- <line num="140" count="57" type="stmt"/>
530
+ <file name="events.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/events.ts">
531
+ <metrics statements="30" coveredstatements="30" conditionals="13" coveredconditionals="9" methods="4" coveredmethods="4"/>
532
+ <line num="6" count="3" type="stmt"/>
533
+ <line num="11" count="4" type="stmt"/>
534
+ <line num="12" count="4" type="stmt"/>
535
+ <line num="14" count="4" type="stmt"/>
536
+ <line num="15" count="4" type="stmt"/>
537
+ <line num="16" count="8" type="stmt"/>
538
+ <line num="19" count="4" type="stmt"/>
539
+ <line num="25" count="3" type="stmt"/>
540
+ <line num="29" count="4" type="stmt"/>
541
+ <line num="30" count="4" type="stmt"/>
542
+ <line num="32" count="4" type="stmt"/>
543
+ <line num="33" count="4" type="stmt"/>
544
+ <line num="36" count="4" type="stmt"/>
545
+ <line num="37" count="4" type="stmt"/>
546
+ <line num="38" count="4" type="stmt"/>
547
+ <line num="41" count="4" type="stmt"/>
548
+ <line num="42" count="4" type="cond" truecount="1" falsecount="0"/>
549
+ <line num="44" count="1" type="stmt"/>
550
+ <line num="46" count="1" type="stmt"/>
551
+ <line num="50" count="3" type="stmt"/>
552
+ <line num="51" count="3" type="stmt"/>
553
+ <line num="53" count="3" type="cond" truecount="7" falsecount="2"/>
554
+ <line num="55" count="2" type="stmt"/>
555
+ <line num="60" count="4" type="stmt"/>
556
+ <line num="61" count="7" type="cond" truecount="1" falsecount="0"/>
557
+ <line num="63" count="4" type="stmt"/>
558
+ <line num="68" count="4" type="stmt"/>
559
+ <line num="72" count="7" type="stmt"/>
560
+ <line num="74" count="4" type="stmt"/>
561
+ <line num="82" count="4" type="stmt"/>
562
+ </file>
563
+ <file name="helpers.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/helpers.ts">
564
+ <metrics statements="13" coveredstatements="11" conditionals="14" coveredconditionals="10" methods="1" coveredmethods="1"/>
565
+ <line num="6" count="2" type="stmt"/>
566
+ <line num="7" count="20" type="stmt"/>
567
+ <line num="8" count="20" type="cond" truecount="0" falsecount="1"/>
568
+ <line num="9" count="0" type="stmt"/>
569
+ <line num="12" count="20" type="cond" truecount="7" falsecount="0"/>
570
+ <line num="14" count="6" type="cond" truecount="1" falsecount="1"/>
571
+ <line num="16" count="2" type="stmt"/>
572
+ <line num="18" count="2" type="stmt"/>
573
+ <line num="20" count="4" type="stmt"/>
574
+ <line num="22" count="2" type="cond" truecount="1" falsecount="1"/>
575
+ <line num="24" count="2" type="cond" truecount="1" falsecount="1"/>
576
+ <line num="27" count="2" type="stmt"/>
577
+ <line num="31" count="0" type="stmt"/>
578
+ </file>
579
+ <file name="hooks.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/hooks.ts">
580
+ <metrics statements="14" coveredstatements="10" conditionals="2" coveredconditionals="1" methods="8" coveredmethods="4"/>
581
+ <line num="50" count="2" type="stmt"/>
582
+ <line num="51" count="19" type="stmt"/>
583
+ <line num="55" count="19" type="stmt"/>
584
+ <line num="57" count="19" type="cond" truecount="1" falsecount="0"/>
585
+ <line num="58" count="19" type="stmt"/>
586
+ <line num="59" count="6" type="stmt"/>
587
+ <line num="65" count="6" type="cond" truecount="0" falsecount="1"/>
588
+ <line num="66" count="0" type="stmt"/>
589
+ <line num="71" count="0" type="stmt"/>
590
+ <line num="74" count="6" type="stmt"/>
591
+ <line num="76" count="6" type="stmt"/>
592
+ <line num="77" count="0" type="stmt"/>
593
+ <line num="82" count="0" type="stmt"/>
594
+ <line num="86" count="415" type="stmt"/>
443
595
  </file>
444
596
  <file name="instance.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/instance.ts">
445
- <metrics statements="167" coveredstatements="139" conditionals="69" coveredconditionals="38" methods="39" coveredmethods="32"/>
446
- <line num="14" count="1" type="stmt"/>
447
- <line num="15" count="1" type="stmt"/>
448
- <line num="16" count="1" type="stmt"/>
449
- <line num="18" count="1" type="stmt"/>
450
- <line num="34" count="1" type="stmt"/>
451
- <line num="56" count="1" type="stmt"/>
452
- <line num="70" count="5" type="cond" truecount="1" falsecount="0"/>
453
- <line num="71" count="5" type="stmt"/>
454
- <line num="74" count="0" type="stmt"/>
455
- <line num="80" count="1" type="stmt"/>
456
- <line num="81" count="12" type="stmt"/>
457
- <line num="82" count="12" type="cond" truecount="0" falsecount="1"/>
458
- <line num="83" count="0" type="stmt"/>
459
- <line num="86" count="12" type="cond" truecount="7" falsecount="0"/>
460
- <line num="88" count="4" type="cond" truecount="1" falsecount="1"/>
461
- <line num="90" count="1" type="stmt"/>
462
- <line num="92" count="1" type="stmt"/>
463
- <line num="94" count="3" type="stmt"/>
464
- <line num="96" count="1" type="cond" truecount="1" falsecount="1"/>
465
- <line num="98" count="1" type="cond" truecount="1" falsecount="1"/>
597
+ <metrics statements="105" coveredstatements="86" conditionals="71" coveredconditionals="42" methods="28" coveredmethods="21"/>
598
+ <line num="14" count="2" type="stmt"/>
599
+ <line num="15" count="2" type="stmt"/>
600
+ <line num="16" count="2" type="stmt"/>
601
+ <line num="17" count="2" type="stmt"/>
602
+ <line num="18" count="2" type="stmt"/>
603
+ <line num="19" count="2" type="stmt"/>
604
+ <line num="20" count="2" type="stmt"/>
605
+ <line num="21" count="2" type="stmt"/>
606
+ <line num="23" count="2" type="stmt"/>
607
+ <line num="46" count="2" type="stmt"/>
608
+ <line num="48" count="19" type="stmt"/>
609
+ <line num="59" count="19" type="cond" truecount="2" falsecount="0"/>
610
+ <line num="60" count="19" type="stmt"/>
611
+ <line num="65" count="19" type="stmt"/>
612
+ <line num="69" count="19" type="stmt"/>
613
+ <line num="70" count="19" type="stmt"/>
614
+ <line num="73" count="19" type="stmt"/>
615
+ <line num="77" count="19" type="cond" truecount="1" falsecount="0"/>
616
+ <line num="78" count="18" type="stmt"/>
617
+ <line num="85" count="19" type="stmt"/>
618
+ <line num="89" count="0" type="stmt"/>
619
+ <line num="93" count="1" type="stmt"/>
620
+ <line num="94" count="1" type="stmt"/>
621
+ <line num="99" count="1" type="stmt"/>
466
622
  <line num="101" count="1" type="stmt"/>
467
- <line num="104" count="0" type="stmt"/>
468
- <line num="108" count="1" type="stmt"/>
469
- <line num="136" count="23" type="cond" truecount="2" falsecount="0"/>
470
- <line num="137" count="23" type="stmt"/>
471
- <line num="138" count="23" type="stmt"/>
472
- <line num="139" count="23" type="stmt"/>
473
- <line num="140" count="23" type="stmt"/>
474
- <line num="141" count="23" type="stmt"/>
475
- <line num="142" count="23" type="stmt"/>
476
- <line num="143" count="23" type="cond" truecount="2" falsecount="0"/>
477
- <line num="144" count="23" type="stmt"/>
478
- <line num="145" count="23" type="stmt"/>
479
- <line num="148" count="23" type="stmt"/>
480
- <line num="149" count="23" type="stmt"/>
481
- <line num="155" count="23" type="cond" truecount="1" falsecount="0"/>
482
- <line num="156" count="3" type="stmt"/>
483
- <line num="159" count="23" type="cond" truecount="1" falsecount="0"/>
484
- <line num="160" count="1" type="stmt"/>
485
- <line num="163" count="23" type="cond" truecount="1" falsecount="0"/>
486
- <line num="164" count="1" type="stmt"/>
487
- <line num="167" count="23" type="cond" truecount="1" falsecount="0"/>
488
- <line num="168" count="1" type="stmt"/>
489
- <line num="172" count="23" type="stmt"/>
490
- <line num="173" count="23" type="stmt"/>
491
- <line num="174" count="23" type="stmt"/>
492
- <line num="176" count="23" type="stmt"/>
493
- <line num="177" count="23" type="stmt"/>
494
- <line num="178" count="23" type="stmt"/>
495
- <line num="180" count="23" type="stmt"/>
496
- <line num="183" count="23" type="cond" truecount="2" falsecount="0"/>
497
- <line num="184" count="4" type="cond" truecount="2" falsecount="0"/>
498
- <line num="186" count="4" type="stmt"/>
499
- <line num="188" count="4" type="stmt"/>
500
- <line num="190" count="4" type="stmt"/>
501
- <line num="191" count="4" type="stmt"/>
502
- <line num="193" count="4" type="cond" truecount="1" falsecount="0"/>
503
- <line num="194" count="1" type="stmt"/>
504
- <line num="198" count="0" type="stmt"/>
505
- <line num="200" count="19" type="cond" truecount="1" falsecount="1"/>
506
- <line num="201" count="19" type="stmt"/>
507
- <line num="202" count="19" type="stmt"/>
508
- <line num="204" count="19" type="stmt"/>
509
- <line num="205" count="8" type="stmt"/>
510
- <line num="208" count="0" type="stmt"/>
511
- <line num="215" count="0" type="stmt"/>
512
- <line num="219" count="2" type="stmt"/>
513
- <line num="220" count="2" type="cond" truecount="1" falsecount="0"/>
514
- <line num="221" count="1" type="stmt"/>
515
- <line num="224" count="1" type="stmt"/>
516
- <line num="225" count="1" type="stmt"/>
517
- <line num="227" count="1" type="stmt"/>
518
- <line num="230" count="1" type="stmt"/>
519
- <line num="235" count="28" type="stmt"/>
520
- <line num="236" count="28" type="stmt"/>
521
- <line num="240" count="0" type="stmt"/>
522
- <line num="245" count="1" type="stmt"/>
523
- <line num="249" count="1" type="stmt"/>
524
- <line num="253" count="0" type="cond" truecount="0" falsecount="2"/>
525
- <line num="262" count="5" type="stmt"/>
526
- <line num="269" count="1" type="stmt"/>
527
- <line num="271" count="1" type="cond" truecount="0" falsecount="1"/>
528
- <line num="272" count="0" type="stmt"/>
529
- <line num="275" count="1" type="cond" truecount="0" falsecount="1"/>
530
- <line num="276" count="0" type="stmt"/>
531
- <line num="279" count="1" type="stmt"/>
532
- <line num="281" count="1" type="stmt"/>
533
- <line num="283" count="1" type="stmt"/>
534
- <line num="284" count="1" type="stmt"/>
535
- <line num="285" count="1" type="stmt"/>
536
- <line num="287" count="1" type="stmt"/>
537
- <line num="288" count="1" type="stmt"/>
538
- <line num="290" count="1" type="stmt"/>
539
- <line num="292" count="1" type="cond" truecount="1" falsecount="0"/>
540
- <line num="293" count="1" type="stmt"/>
541
- <line num="296" count="1" type="stmt"/>
542
- <line num="299" count="0" type="stmt"/>
543
- <line num="300" count="0" type="stmt"/>
544
- <line num="305" count="1" type="cond" truecount="0" falsecount="1"/>
545
- <line num="306" count="0" type="stmt"/>
546
- <line num="309" count="1" type="cond" truecount="0" falsecount="1"/>
547
- <line num="310" count="0" type="stmt"/>
548
- <line num="313" count="1" type="cond" truecount="0" falsecount="1"/>
623
+ <line num="103" count="1" type="stmt"/>
624
+ <line num="104" count="1" type="stmt"/>
625
+ <line num="106" count="0" type="stmt"/>
626
+ <line num="111" count="1" type="cond" truecount="1" falsecount="1"/>
627
+ <line num="113" count="1" type="cond" truecount="1" falsecount="1"/>
628
+ <line num="114" count="1" type="stmt"/>
629
+ <line num="116" count="0" type="stmt"/>
630
+ <line num="122" count="1" type="stmt"/>
631
+ <line num="124" count="1" type="stmt"/>
632
+ <line num="125" count="1" type="stmt"/>
633
+ <line num="129" count="0" type="stmt"/>
634
+ <line num="133" count="0" type="stmt"/>
635
+ <line num="137" count="0" type="stmt"/>
636
+ <line num="141" count="0" type="stmt"/>
637
+ <line num="145" count="0" type="stmt"/>
638
+ <line num="152" count="0" type="cond" truecount="0" falsecount="2"/>
639
+ <line num="153" count="0" type="stmt"/>
640
+ <line num="155" count="0" type="stmt"/>
641
+ <line num="158" count="0" type="stmt"/>
642
+ <line num="162" count="0" type="cond" truecount="0" falsecount="2"/>
643
+ <line num="169" count="112" type="cond" truecount="2" falsecount="0"/>
644
+ <line num="178" count="1" type="stmt"/>
645
+ <line num="192" count="108" type="stmt"/>
646
+ <line num="216" count="25" type="stmt"/>
647
+ <line num="224" count="25" type="stmt"/>
648
+ <line num="225" count="25" type="stmt"/>
649
+ <line num="227" count="25" type="stmt"/>
650
+ <line num="229" count="0" type="stmt"/>
651
+ <line num="231" count="0" type="stmt"/>
652
+ <line num="243" count="24" type="stmt"/>
653
+ <line num="255" count="24" type="stmt"/>
654
+ <line num="256" count="24" type="stmt"/>
655
+ <line num="258" count="24" type="cond" truecount="1" falsecount="0"/>
656
+ <line num="259" count="3" type="stmt"/>
657
+ <line num="262" count="21" type="cond" truecount="1" falsecount="0"/>
658
+ <line num="263" count="16" type="stmt"/>
659
+ <line num="266" count="5" type="stmt"/>
660
+ <line num="268" count="0" type="stmt"/>
661
+ <line num="270" count="0" type="stmt"/>
662
+ <line num="283" count="59" type="stmt"/>
663
+ <line num="297" count="59" type="stmt"/>
664
+ <line num="298" count="59" type="stmt"/>
665
+ <line num="300" count="59" type="cond" truecount="1" falsecount="0"/>
666
+ <line num="301" count="56" type="cond" truecount="1" falsecount="0"/>
667
+ <line num="306" count="6" type="stmt"/>
668
+ <line num="309" count="50" type="stmt"/>
669
+ <line num="312" count="3" type="stmt"/>
549
670
  <line num="314" count="0" type="stmt"/>
550
- <line num="317" count="1" type="stmt"/>
551
- <line num="318" count="1" type="stmt"/>
552
- <line num="323" count="1" type="cond" truecount="0" falsecount="1"/>
553
- <line num="324" count="0" type="stmt"/>
554
- <line num="327" count="1" type="stmt"/>
555
- <line num="334" count="18" type="stmt"/>
556
- <line num="355" count="18" type="stmt"/>
557
- <line num="356" count="18" type="stmt"/>
558
- <line num="358" count="18" type="stmt"/>
559
- <line num="360" count="0" type="stmt"/>
560
- <line num="362" count="0" type="stmt"/>
561
- <line num="370" count="24" type="stmt"/>
562
- <line num="394" count="23" type="stmt"/>
563
- <line num="395" count="23" type="stmt"/>
564
- <line num="397" count="23" type="cond" truecount="1" falsecount="0"/>
565
- <line num="398" count="3" type="stmt"/>
566
- <line num="401" count="20" type="cond" truecount="1" falsecount="0"/>
567
- <line num="402" count="15" type="stmt"/>
568
- <line num="405" count="5" type="stmt"/>
569
- <line num="407" count="0" type="stmt"/>
570
- <line num="409" count="0" type="stmt"/>
571
- <line num="417" count="1" type="stmt"/>
572
- <line num="418" count="1" type="stmt"/>
573
- <line num="419" count="1" type="cond" truecount="1" falsecount="1"/>
574
- <line num="423" count="1" type="cond" truecount="0" falsecount="1"/>
575
- <line num="424" count="0" type="stmt"/>
576
- <line num="427" count="1" type="cond" truecount="1" falsecount="1"/>
577
- <line num="429" count="1" type="stmt"/>
578
- <line num="431" count="1" type="stmt"/>
579
- <line num="433" count="0" type="stmt"/>
580
- <line num="435" count="1" type="stmt"/>
581
- <line num="436" count="0" type="cond" truecount="0" falsecount="1"/>
582
- <line num="437" count="0" type="stmt"/>
583
- <line num="441" count="1" type="stmt"/>
584
- <line num="450" count="1" type="stmt"/>
585
- <line num="452" count="0" type="stmt"/>
586
- <line num="454" count="0" type="stmt"/>
587
- <line num="466" count="28" type="stmt"/>
588
- <line num="492" count="28" type="stmt"/>
589
- <line num="493" count="28" type="stmt"/>
590
- <line num="495" count="28" type="cond" truecount="1" falsecount="0"/>
591
- <line num="496" count="25" type="cond" truecount="1" falsecount="0"/>
592
- <line num="501" count="2" type="stmt"/>
593
- <line num="504" count="23" type="stmt"/>
594
- <line num="507" count="3" type="stmt"/>
595
- <line num="509" count="0" type="stmt"/>
596
- <line num="511" count="0" type="stmt"/>
597
- <line num="520" count="3" type="stmt"/>
598
- <line num="522" count="3" type="stmt"/>
599
- <line num="530" count="4" type="stmt"/>
600
- <line num="532" count="4" type="stmt"/>
601
- <line num="540" count="1" type="stmt"/>
602
- <line num="542" count="1" type="stmt"/>
603
- <line num="550" count="1" type="stmt"/>
604
- <line num="552" count="1" type="stmt"/>
605
- <line num="560" count="1" type="stmt"/>
606
- <line num="562" count="1" type="stmt"/>
607
- <line num="570" count="1" type="stmt"/>
608
- <line num="572" count="1" type="stmt"/>
609
- <line num="580" count="1" type="stmt"/>
610
- <line num="582" count="1" type="stmt"/>
611
- <line num="586" count="1" type="stmt"/>
612
- <line num="587" count="23" type="stmt"/>
671
+ <line num="316" count="0" type="stmt"/>
672
+ <line num="326" count="4" type="stmt"/>
673
+ <line num="328" count="4" type="stmt"/>
674
+ <line num="337" count="6" type="stmt"/>
675
+ <line num="339" count="6" type="stmt"/>
676
+ <line num="348" count="2" type="stmt"/>
677
+ <line num="350" count="2" type="stmt"/>
678
+ <line num="359" count="2" type="stmt"/>
679
+ <line num="361" count="2" type="stmt"/>
680
+ <line num="370" count="2" type="stmt"/>
681
+ <line num="372" count="2" type="stmt"/>
682
+ <line num="381" count="2" type="stmt"/>
683
+ <line num="383" count="2" type="stmt"/>
684
+ <line num="392" count="2" type="stmt"/>
685
+ <line num="394" count="2" type="stmt"/>
686
+ <line num="402" count="2" type="stmt"/>
687
+ <line num="404" count="2" type="cond" truecount="1" falsecount="1"/>
688
+ <line num="405" count="2" type="stmt"/>
689
+ <line num="407" count="4" type="stmt"/>
690
+ <line num="412" count="4" type="cond" truecount="1" falsecount="0"/>
691
+ <line num="413" count="2" type="stmt"/>
692
+ <line num="415" count="2" type="cond" truecount="1" falsecount="0"/>
693
+ <line num="416" count="2" type="stmt"/>
694
+ <line num="421" count="4" type="stmt"/>
695
+ <line num="422" count="4" type="cond" truecount="1" falsecount="0"/>
696
+ <line num="423" count="2" type="stmt"/>
697
+ <line num="425" count="2" type="stmt"/>
698
+ <line num="426" count="16" type="stmt"/>
699
+ <line num="435" count="4" type="stmt"/>
700
+ <line num="438" count="2" type="stmt"/>
701
+ <line num="442" count="2" type="stmt"/>
702
+ <line num="443" count="19" type="stmt"/>
613
703
  </file>
614
704
  <file name="logger.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/logger.ts">
615
- <metrics statements="26" coveredstatements="26" conditionals="11" coveredconditionals="11" methods="9" coveredmethods="9"/>
616
- <line num="16" count="4" type="stmt"/>
617
- <line num="18" count="4" type="stmt"/>
618
- <line num="28" count="4" type="stmt"/>
619
- <line num="33" count="12" type="cond" truecount="4" falsecount="0"/>
620
- <line num="35" count="1" type="stmt"/>
621
- <line num="36" count="1" type="stmt"/>
622
- <line num="38" count="1" type="stmt"/>
623
- <line num="39" count="1" type="stmt"/>
624
- <line num="41" count="9" type="stmt"/>
625
- <line num="42" count="9" type="stmt"/>
626
- <line num="44" count="1" type="stmt"/>
627
- <line num="45" count="1" type="stmt"/>
628
- <line num="49" count="4" type="stmt"/>
629
- <line num="54" count="30" type="stmt"/>
630
- <line num="55" count="30" type="stmt"/>
631
- <line num="59" count="1" type="stmt"/>
632
- <line num="63" count="153" type="cond" truecount="1" falsecount="0"/>
633
- <line num="64" count="25" type="stmt"/>
634
- <line num="69" count="128" type="stmt"/>
635
- <line num="73" count="6" type="stmt"/>
636
- <line num="77" count="14" type="stmt"/>
637
- <line num="81" count="5" type="stmt"/>
638
- <line num="85" count="4" type="cond" truecount="1" falsecount="0"/>
639
- <line num="86" count="30" type="cond" truecount="2" falsecount="0"/>
640
- <line num="87" count="30" type="cond" truecount="2" falsecount="0"/>
641
- <line num="89" count="30" type="stmt"/>
642
- </file>
643
- <file name="segments.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/segments.ts">
644
- <metrics statements="25" coveredstatements="23" conditionals="14" coveredconditionals="14" methods="6" coveredmethods="6"/>
645
- <line num="2" count="2" type="stmt"/>
646
- <line num="6" count="2" type="stmt"/>
647
- <line num="7" count="133" type="stmt"/>
648
- <line num="10" count="2" type="stmt"/>
649
- <line num="16" count="342" type="cond" truecount="1" falsecount="0"/>
650
- <line num="17" count="84" type="stmt"/>
651
- <line num="20" count="258" type="cond" truecount="1" falsecount="0"/>
652
- <line num="21" count="133" type="stmt"/>
653
- <line num="23" count="133" type="cond" truecount="1" falsecount="0"/>
654
- <line num="24" count="133" type="stmt"/>
655
- <line num="27" count="0" type="stmt"/>
656
- <line num="30" count="125" type="cond" truecount="1" falsecount="0"/>
657
- <line num="31" count="125" type="cond" truecount="3" falsecount="0"/>
658
- <line num="32" count="15" type="stmt"/>
659
- <line num="33" count="24" type="stmt"/>
660
- <line num="37" count="110" type="cond" truecount="3" falsecount="0"/>
661
- <line num="38" count="8" type="stmt"/>
662
- <line num="39" count="12" type="stmt"/>
663
- <line num="43" count="102" type="cond" truecount="3" falsecount="0"/>
664
- <line num="44" count="10" type="stmt"/>
665
- <line num="46" count="10" type="stmt"/>
666
- <line num="51" count="92" type="cond" truecount="1" falsecount="0"/>
667
- <line num="52" count="92" type="stmt"/>
668
- <line num="53" count="103" type="stmt"/>
669
- <line num="57" count="0" type="stmt"/>
705
+ <metrics statements="26" coveredstatements="26" conditionals="12" coveredconditionals="12" methods="9" coveredmethods="9"/>
706
+ <line num="16" count="7" type="stmt"/>
707
+ <line num="18" count="7" type="stmt"/>
708
+ <line num="23" count="54" type="stmt"/>
709
+ <line num="25" count="54" type="cond" truecount="2" falsecount="0"/>
710
+ <line num="26" count="27" type="stmt"/>
711
+ <line num="27" count="27" type="cond" truecount="2" falsecount="0"/>
712
+ <line num="28" count="14" type="stmt"/>
713
+ <line num="29" count="13" type="cond" truecount="1" falsecount="0"/>
714
+ <line num="30" count="8" type="stmt"/>
715
+ <line num="33" count="54" type="stmt"/>
716
+ <line num="36" count="7" type="stmt"/>
717
+ <line num="37" count="7" type="stmt"/>
718
+ <line num="47" count="7" type="stmt"/>
719
+ <line num="53" count="46" type="cond" truecount="2" falsecount="0"/>
720
+ <line num="54" count="46" type="cond" truecount="2" falsecount="0"/>
721
+ <line num="58" count="1" type="stmt"/>
722
+ <line num="62" count="247" type="stmt"/>
723
+ <line num="64" count="247" type="cond" truecount="1" falsecount="0"/>
724
+ <line num="65" count="194" type="stmt"/>
725
+ <line num="68" count="53" type="stmt"/>
726
+ <line num="72" count="196" type="stmt"/>
727
+ <line num="76" count="28" type="stmt"/>
728
+ <line num="80" count="14" type="stmt"/>
729
+ <line num="84" count="7" type="stmt"/>
730
+ <line num="88" count="7" type="cond" truecount="1" falsecount="0"/>
731
+ <line num="89" count="26" type="stmt"/>
670
732
  </file>
671
733
  </project>
672
734
  </coverage>