@featurevisor/sdk 0.47.7 → 0.49.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/.eslintcache +1 -1
- package/CHANGELOG.md +19 -0
- package/coverage/clover.xml +139 -136
- package/coverage/coverage-final.json +8 -8
- package/coverage/lcov-report/bucket.ts.html +4 -4
- package/coverage/lcov-report/conditions.ts.html +11 -11
- package/coverage/lcov-report/datafileReader.ts.html +16 -16
- package/coverage/lcov-report/emitter.ts.html +2 -2
- package/coverage/lcov-report/feature.ts.html +29 -29
- package/coverage/lcov-report/index.html +18 -18
- package/coverage/lcov-report/instance.ts.html +76 -76
- package/coverage/lcov-report/logger.ts.html +6 -6
- package/coverage/lcov-report/segments.ts.html +14 -14
- package/coverage/lcov.info +232 -231
- package/dist/index.js +1 -1
- package/dist/index.js.gz +0 -0
- package/dist/index.js.map +1 -1
- package/lib/feature.js +8 -2
- package/lib/feature.js.map +1 -1
- package/package.json +3 -3
- package/src/feature.ts +10 -10
- package/src/instance.spec.ts +65 -0
package/.eslintcache
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.spec.ts":"1","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.ts":"2","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/conditions.spec.ts":"3","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/conditions.ts":"4","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/datafileReader.spec.ts":"5","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/datafileReader.ts":"6","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/emitter.spec.ts":"7","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/emitter.ts":"8","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/feature.ts":"9","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/index.spec.ts":"10","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/index.ts":"11","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/instance.spec.ts":"12","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/instance.ts":"13","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/logger.spec.ts":"14","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/logger.ts":"15","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/segments.spec.ts":"16","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/segments.ts":"17"},{"size":1061,"mtime":
|
|
1
|
+
[{"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.spec.ts":"1","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.ts":"2","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/conditions.spec.ts":"3","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/conditions.ts":"4","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/datafileReader.spec.ts":"5","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/datafileReader.ts":"6","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/emitter.spec.ts":"7","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/emitter.ts":"8","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/feature.ts":"9","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/index.spec.ts":"10","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/index.ts":"11","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/instance.spec.ts":"12","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/instance.ts":"13","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/logger.spec.ts":"14","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/logger.ts":"15","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/segments.spec.ts":"16","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/segments.ts":"17"},{"size":1061,"mtime":1696103831029,"results":"18","hashOfConfig":"19"},{"size":439,"mtime":1696103831029,"results":"20","hashOfConfig":"19"},{"size":23553,"mtime":1696103831029,"results":"21","hashOfConfig":"19"},{"size":3787,"mtime":1696103831029,"results":"22","hashOfConfig":"19"},{"size":2451,"mtime":1696103831029,"results":"23","hashOfConfig":"19"},{"size":1694,"mtime":1696103831029,"results":"24","hashOfConfig":"19"},{"size":2736,"mtime":1696103831029,"results":"25","hashOfConfig":"19"},{"size":1218,"mtime":1696103831029,"results":"26","hashOfConfig":"19"},{"size":2326,"mtime":1696103831029,"results":"27","hashOfConfig":"19"},{"size":119,"mtime":1696103831029,"results":"28","hashOfConfig":"19"},{"size":110,"mtime":1696103831029,"results":"29","hashOfConfig":"19"},{"size":33418,"mtime":1696103831029,"results":"30","hashOfConfig":"19"},{"size":34153,"mtime":1696103831029,"results":"31","hashOfConfig":"19"},{"size":4892,"mtime":1696103831029,"results":"32","hashOfConfig":"19"},{"size":2119,"mtime":1696103831029,"results":"33","hashOfConfig":"19"},{"size":9939,"mtime":1696103831029,"results":"34","hashOfConfig":"19"},{"size":1686,"mtime":1696103831029,"results":"35","hashOfConfig":"19"},{"filePath":"36","messages":"37","suppressedMessages":"38","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"a55v3k",{"filePath":"39","messages":"40","suppressedMessages":"41","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"42","messages":"43","suppressedMessages":"44","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"45","messages":"46","suppressedMessages":"47","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"48","messages":"49","suppressedMessages":"50","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"51","messages":"52","suppressedMessages":"53","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"54","messages":"55","suppressedMessages":"56","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"57","messages":"58","suppressedMessages":"59","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"60","messages":"61","suppressedMessages":"62","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"63","messages":"64","suppressedMessages":"65","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"66","messages":"67","suppressedMessages":"68","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"69","messages":"70","suppressedMessages":"71","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"72","messages":"73","suppressedMessages":"74","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"75","messages":"76","suppressedMessages":"77","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"78","messages":"79","suppressedMessages":"80","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"81","messages":"82","suppressedMessages":"83","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"84","messages":"85","suppressedMessages":"86","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/conditions.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/conditions.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/datafileReader.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/datafileReader.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/emitter.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/emitter.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/feature.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/index.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/instance.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/instance.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/logger.spec.ts",[],["87","88"],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/logger.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/segments.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/segments.ts",[],[],{"ruleId":"89","severity":2,"message":"90","line":69,"column":5,"nodeType":"91","messageId":"92","endLine":69,"endColumn":12,"suppressions":"93"},{"ruleId":"89","severity":2,"message":"90","line":96,"column":5,"nodeType":"91","messageId":"92","endLine":96,"endColumn":12,"suppressions":"94"},"no-global-assign","Read-only global 'console' should not be modified.","Identifier","globalShouldNotBeModified",["95"],["96"],{"kind":"97","justification":"98"},{"kind":"97","justification":"98"},"directive",""]
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.49.0](https://github.com/featurevisor/featurevisor/compare/v0.48.0...v0.49.0) (2023-09-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* allow single segments to be defined without needing arrays ([#159](https://github.com/featurevisor/featurevisor/issues/159)) ([b3ad42c](https://github.com/featurevisor/featurevisor/commit/b3ad42c01584e8dfbe8274273e447bf8c645b3b9))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [0.48.0](https://github.com/featurevisor/featurevisor/compare/v0.47.7...v0.48.0) (2023-09-25)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @featurevisor/sdk
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [0.47.7](https://github.com/featurevisor/featurevisor/compare/v0.47.6...v0.47.7) (2023-09-19)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @featurevisor/sdk
|
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1696103994881" clover="3.2.0">
|
|
3
|
+
<project timestamp="1696103994881" name="All files">
|
|
4
|
+
<metrics statements="598" coveredstatements="552" conditionals="324" coveredconditionals="277" methods="99" coveredmethods="94" elements="1021" coveredelements="923" complexity="0" loc="598" ncloc="598" packages="1" files="8" classes="8"/>
|
|
5
5
|
<file name="bucket.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.ts">
|
|
6
6
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
7
7
|
<line num="1" count="2" type="stmt"/>
|
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
<line num="4" count="2" type="stmt"/>
|
|
10
10
|
<line num="6" count="2" type="stmt"/>
|
|
11
11
|
<line num="8" count="2" type="stmt"/>
|
|
12
|
-
<line num="9" count="
|
|
13
|
-
<line num="10" count="
|
|
14
|
-
<line num="12" count="
|
|
12
|
+
<line num="9" count="98" type="stmt"/>
|
|
13
|
+
<line num="10" count="98" type="stmt"/>
|
|
14
|
+
<line num="12" count="98" type="stmt"/>
|
|
15
15
|
</file>
|
|
16
16
|
<file name="conditions.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/conditions.ts">
|
|
17
17
|
<metrics statements="64" coveredstatements="62" conditionals="65" coveredconditionals="64" methods="6" coveredmethods="6"/>
|
|
18
18
|
<line num="1" count="3" type="stmt"/>
|
|
19
19
|
<line num="5" count="3" type="stmt"/>
|
|
20
|
-
<line num="6" count="
|
|
21
|
-
<line num="8" count="
|
|
22
|
-
<line num="9" count="
|
|
20
|
+
<line num="6" count="330" type="stmt"/>
|
|
21
|
+
<line num="8" count="330" type="cond" truecount="2" falsecount="0"/>
|
|
22
|
+
<line num="9" count="275" type="stmt"/>
|
|
23
23
|
<line num="10" count="55" type="cond" truecount="2" falsecount="0"/>
|
|
24
24
|
<line num="11" count="2" type="stmt"/>
|
|
25
25
|
<line num="12" count="53" type="cond" truecount="4" falsecount="0"/>
|
|
@@ -67,50 +67,50 @@
|
|
|
67
67
|
<line num="68" count="4" type="stmt"/>
|
|
68
68
|
<line num="72" count="0" type="stmt"/>
|
|
69
69
|
<line num="75" count="3" type="stmt"/>
|
|
70
|
-
<line num="79" count="
|
|
71
|
-
<line num="80" count="
|
|
72
|
-
<line num="83" count="
|
|
70
|
+
<line num="79" count="673" type="cond" truecount="1" falsecount="0"/>
|
|
71
|
+
<line num="80" count="330" type="stmt"/>
|
|
72
|
+
<line num="83" count="343" type="cond" truecount="3" falsecount="0"/>
|
|
73
73
|
<line num="84" count="37" type="stmt"/>
|
|
74
|
-
<line num="87" count="
|
|
74
|
+
<line num="87" count="320" type="cond" truecount="3" falsecount="0"/>
|
|
75
75
|
<line num="88" count="23" type="stmt"/>
|
|
76
|
-
<line num="91" count="
|
|
76
|
+
<line num="91" count="306" type="cond" truecount="3" falsecount="0"/>
|
|
77
77
|
<line num="92" count="6" type="stmt"/>
|
|
78
78
|
<line num="94" count="9" type="stmt"/>
|
|
79
|
-
<line num="103" count="
|
|
80
|
-
<line num="104" count="
|
|
79
|
+
<line num="103" count="300" type="cond" truecount="1" falsecount="0"/>
|
|
80
|
+
<line num="104" count="303" type="stmt"/>
|
|
81
81
|
<line num="107" count="0" type="stmt"/>
|
|
82
82
|
</file>
|
|
83
83
|
<file name="datafileReader.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/datafileReader.ts">
|
|
84
84
|
<metrics statements="24" coveredstatements="23" conditionals="5" coveredconditionals="5" methods="11" coveredmethods="11"/>
|
|
85
85
|
<line num="11" count="3" type="stmt"/>
|
|
86
|
-
<line num="12" count="
|
|
87
|
-
<line num="13" count="
|
|
88
|
-
<line num="14" count="
|
|
86
|
+
<line num="12" count="117" type="cond" truecount="3" falsecount="0"/>
|
|
87
|
+
<line num="13" count="8" type="stmt"/>
|
|
88
|
+
<line num="14" count="8" type="stmt"/>
|
|
89
89
|
<line num="16" count="0" type="stmt"/>
|
|
90
|
-
<line num="20" count="
|
|
90
|
+
<line num="20" count="117" type="stmt"/>
|
|
91
91
|
<line num="23" count="3" type="stmt"/>
|
|
92
|
-
<line num="31" count="
|
|
93
|
-
<line num="32" count="
|
|
94
|
-
<line num="33" count="
|
|
95
|
-
<line num="34" count="
|
|
96
|
-
<line num="35" count="
|
|
92
|
+
<line num="31" count="29" type="stmt"/>
|
|
93
|
+
<line num="32" count="29" type="stmt"/>
|
|
94
|
+
<line num="33" count="29" type="stmt"/>
|
|
95
|
+
<line num="34" count="29" type="stmt"/>
|
|
96
|
+
<line num="35" count="29" type="stmt"/>
|
|
97
97
|
<line num="39" count="2" type="stmt"/>
|
|
98
98
|
<line num="43" count="1" type="stmt"/>
|
|
99
99
|
<line num="47" count="2" type="stmt"/>
|
|
100
100
|
<line num="51" count="1" type="stmt"/>
|
|
101
|
-
<line num="55" count="
|
|
102
|
-
<line num="57" count="
|
|
101
|
+
<line num="55" count="285" type="stmt"/>
|
|
102
|
+
<line num="57" count="118" type="cond" truecount="1" falsecount="0"/>
|
|
103
103
|
<line num="58" count="1" type="stmt"/>
|
|
104
|
-
<line num="61" count="
|
|
105
|
-
<line num="65" count="
|
|
106
|
-
<line num="67" count="
|
|
104
|
+
<line num="61" count="117" type="stmt"/>
|
|
105
|
+
<line num="65" count="118" type="stmt"/>
|
|
106
|
+
<line num="67" count="108" type="cond" truecount="1" falsecount="0"/>
|
|
107
107
|
<line num="68" count="7" type="stmt"/>
|
|
108
|
-
<line num="71" count="
|
|
108
|
+
<line num="71" count="101" type="stmt"/>
|
|
109
109
|
</file>
|
|
110
110
|
<file name="emitter.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/emitter.ts">
|
|
111
111
|
<metrics statements="18" coveredstatements="18" conditionals="6" coveredconditionals="6" methods="7" coveredmethods="7"/>
|
|
112
112
|
<line num="7" count="2" type="stmt"/>
|
|
113
|
-
<line num="11" count="
|
|
113
|
+
<line num="11" count="30" type="stmt"/>
|
|
114
114
|
<line num="15" count="22" type="cond" truecount="1" falsecount="0"/>
|
|
115
115
|
<line num="16" count="18" type="stmt"/>
|
|
116
116
|
<line num="19" count="22" type="stmt"/>
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
<line num="50" count="8" type="stmt"/>
|
|
130
130
|
</file>
|
|
131
131
|
<file name="feature.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/feature.ts">
|
|
132
|
-
<metrics statements="
|
|
132
|
+
<metrics statements="34" coveredstatements="31" conditionals="14" coveredconditionals="14" methods="8" coveredmethods="8"/>
|
|
133
133
|
<line num="3" count="1" type="stmt"/>
|
|
134
134
|
<line num="4" count="1" type="stmt"/>
|
|
135
135
|
<line num="6" count="1" type="stmt"/>
|
|
@@ -138,14 +138,17 @@
|
|
|
138
138
|
<line num="13" count="59" type="cond" truecount="4" falsecount="0"/>
|
|
139
139
|
<line num="14" count="34" type="stmt"/>
|
|
140
140
|
<line num="18" count="0" type="stmt"/>
|
|
141
|
-
<line num="
|
|
142
|
-
<line num="
|
|
143
|
-
<line num="
|
|
144
|
-
<line num="
|
|
145
|
-
<line num="
|
|
146
|
-
<line num="
|
|
147
|
-
<line num="
|
|
148
|
-
<line num="
|
|
141
|
+
<line num="22" count="129" type="cond" truecount="4" falsecount="0"/>
|
|
142
|
+
<line num="23" count="5" type="stmt"/>
|
|
143
|
+
<line num="26" count="124" type="stmt"/>
|
|
144
|
+
<line num="29" count="1" type="stmt"/>
|
|
145
|
+
<line num="34" count="54" type="stmt"/>
|
|
146
|
+
<line num="35" count="78" type="cond" truecount="1" falsecount="0"/>
|
|
147
|
+
<line num="38" count="28" type="stmt"/>
|
|
148
|
+
<line num="41" count="50" type="stmt"/>
|
|
149
|
+
<line num="50" count="1" type="stmt"/>
|
|
150
|
+
<line num="58" count="34" type="stmt"/>
|
|
151
|
+
<line num="59" count="51" type="cond" truecount="1" falsecount="0"/>
|
|
149
152
|
<line num="62" count="17" type="stmt"/>
|
|
150
153
|
<line num="65" count="34" type="stmt"/>
|
|
151
154
|
<line num="67" count="34" type="cond" truecount="1" falsecount="0"/>
|
|
@@ -153,8 +156,8 @@
|
|
|
153
156
|
<line num="71" count="0" type="stmt"/>
|
|
154
157
|
<line num="74" count="34" type="stmt"/>
|
|
155
158
|
<line num="80" count="1" type="stmt"/>
|
|
156
|
-
<line num="85" count="
|
|
157
|
-
<line num="86" count="
|
|
159
|
+
<line num="85" count="98" type="cond" truecount="1" falsecount="0"/>
|
|
160
|
+
<line num="86" count="47" type="stmt"/>
|
|
158
161
|
<line num="89" count="51" type="stmt"/>
|
|
159
162
|
<line num="90" count="96" type="cond" truecount="1" falsecount="0"/>
|
|
160
163
|
<line num="91" count="91" type="stmt"/>
|
|
@@ -204,34 +207,34 @@
|
|
|
204
207
|
<line num="155" count="1" type="stmt"/>
|
|
205
208
|
<line num="158" count="0" type="stmt"/>
|
|
206
209
|
<line num="162" count="1" type="stmt"/>
|
|
207
|
-
<line num="190" count="
|
|
208
|
-
<line num="191" count="
|
|
209
|
-
<line num="192" count="
|
|
210
|
-
<line num="193" count="
|
|
211
|
-
<line num="194" count="
|
|
212
|
-
<line num="195" count="
|
|
213
|
-
<line num="196" count="
|
|
214
|
-
<line num="197" count="
|
|
215
|
-
<line num="198" count="
|
|
216
|
-
<line num="199" count="
|
|
217
|
-
<line num="202" count="
|
|
218
|
-
<line num="203" count="
|
|
219
|
-
<line num="209" count="
|
|
210
|
+
<line num="190" count="22" type="cond" truecount="2" falsecount="0"/>
|
|
211
|
+
<line num="191" count="22" type="stmt"/>
|
|
212
|
+
<line num="192" count="22" type="stmt"/>
|
|
213
|
+
<line num="193" count="22" type="stmt"/>
|
|
214
|
+
<line num="194" count="22" type="stmt"/>
|
|
215
|
+
<line num="195" count="22" type="stmt"/>
|
|
216
|
+
<line num="196" count="22" type="stmt"/>
|
|
217
|
+
<line num="197" count="22" type="cond" truecount="2" falsecount="0"/>
|
|
218
|
+
<line num="198" count="22" type="stmt"/>
|
|
219
|
+
<line num="199" count="22" type="stmt"/>
|
|
220
|
+
<line num="202" count="22" type="stmt"/>
|
|
221
|
+
<line num="203" count="22" type="stmt"/>
|
|
222
|
+
<line num="209" count="22" type="cond" truecount="1" falsecount="0"/>
|
|
220
223
|
<line num="210" count="3" type="stmt"/>
|
|
221
|
-
<line num="213" count="
|
|
224
|
+
<line num="213" count="22" type="cond" truecount="1" falsecount="0"/>
|
|
222
225
|
<line num="214" count="1" type="stmt"/>
|
|
223
|
-
<line num="217" count="
|
|
226
|
+
<line num="217" count="22" type="cond" truecount="1" falsecount="0"/>
|
|
224
227
|
<line num="218" count="1" type="stmt"/>
|
|
225
|
-
<line num="221" count="
|
|
228
|
+
<line num="221" count="22" type="cond" truecount="1" falsecount="0"/>
|
|
226
229
|
<line num="222" count="1" type="stmt"/>
|
|
227
|
-
<line num="226" count="
|
|
228
|
-
<line num="227" count="
|
|
229
|
-
<line num="228" count="
|
|
230
|
-
<line num="230" count="
|
|
231
|
-
<line num="231" count="
|
|
232
|
-
<line num="232" count="
|
|
233
|
-
<line num="234" count="
|
|
234
|
-
<line num="237" count="
|
|
230
|
+
<line num="226" count="22" type="stmt"/>
|
|
231
|
+
<line num="227" count="22" type="stmt"/>
|
|
232
|
+
<line num="228" count="22" type="stmt"/>
|
|
233
|
+
<line num="230" count="22" type="stmt"/>
|
|
234
|
+
<line num="231" count="22" type="stmt"/>
|
|
235
|
+
<line num="232" count="22" type="stmt"/>
|
|
236
|
+
<line num="234" count="22" type="stmt"/>
|
|
237
|
+
<line num="237" count="22" type="cond" truecount="2" falsecount="0"/>
|
|
235
238
|
<line num="238" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
236
239
|
<line num="240" count="4" type="stmt"/>
|
|
237
240
|
<line num="242" count="4" type="stmt"/>
|
|
@@ -240,10 +243,10 @@
|
|
|
240
243
|
<line num="247" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
241
244
|
<line num="248" count="1" type="stmt"/>
|
|
242
245
|
<line num="252" count="0" type="stmt"/>
|
|
243
|
-
<line num="254" count="
|
|
244
|
-
<line num="255" count="
|
|
245
|
-
<line num="256" count="
|
|
246
|
-
<line num="258" count="
|
|
246
|
+
<line num="254" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
247
|
+
<line num="255" count="18" type="stmt"/>
|
|
248
|
+
<line num="256" count="18" type="stmt"/>
|
|
249
|
+
<line num="258" count="18" type="stmt"/>
|
|
247
250
|
<line num="259" count="8" type="stmt"/>
|
|
248
251
|
<line num="262" count="0" type="stmt"/>
|
|
249
252
|
<line num="269" count="2" type="stmt"/>
|
|
@@ -253,16 +256,16 @@
|
|
|
253
256
|
<line num="275" count="1" type="stmt"/>
|
|
254
257
|
<line num="277" count="1" type="stmt"/>
|
|
255
258
|
<line num="280" count="1" type="stmt"/>
|
|
256
|
-
<line num="285" count="
|
|
257
|
-
<line num="286" count="
|
|
259
|
+
<line num="285" count="27" type="stmt"/>
|
|
260
|
+
<line num="286" count="27" type="stmt"/>
|
|
258
261
|
<line num="290" count="0" type="stmt"/>
|
|
259
262
|
<line num="295" count="1" type="stmt"/>
|
|
260
263
|
<line num="299" count="1" type="stmt"/>
|
|
261
|
-
<line num="303" count="
|
|
262
|
-
<line num="312" count="
|
|
263
|
-
<line num="317" count="
|
|
264
|
-
<line num="318" count="
|
|
265
|
-
<line num="319" count="
|
|
264
|
+
<line num="303" count="106" type="cond" truecount="1" falsecount="1"/>
|
|
265
|
+
<line num="312" count="88" type="stmt"/>
|
|
266
|
+
<line num="317" count="88" type="cond" truecount="2" falsecount="0"/>
|
|
267
|
+
<line num="318" count="81" type="stmt"/>
|
|
268
|
+
<line num="319" count="81" type="stmt"/>
|
|
266
269
|
<line num="320" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
267
270
|
<line num="321" count="2" type="stmt"/>
|
|
268
271
|
<line num="322" count="2" type="stmt"/>
|
|
@@ -271,25 +274,25 @@
|
|
|
271
274
|
<line num="325" count="5" type="stmt"/>
|
|
272
275
|
<line num="327" count="0" type="stmt"/>
|
|
273
276
|
<line num="329" count="0" type="stmt"/>
|
|
274
|
-
<line num="332" count="
|
|
275
|
-
<line num="334" count="
|
|
276
|
-
<line num="335" count="
|
|
277
|
-
<line num="337" count="
|
|
278
|
-
<line num="338" count="
|
|
279
|
-
<line num="341" count="
|
|
280
|
-
<line num="342" count="
|
|
277
|
+
<line num="332" count="88" type="stmt"/>
|
|
278
|
+
<line num="334" count="88" type="stmt"/>
|
|
279
|
+
<line num="335" count="95" type="stmt"/>
|
|
280
|
+
<line num="337" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
281
|
+
<line num="338" count="13" type="stmt"/>
|
|
282
|
+
<line num="341" count="82" type="cond" truecount="4" falsecount="0"/>
|
|
283
|
+
<line num="342" count="74" type="stmt"/>
|
|
281
284
|
<line num="345" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
282
285
|
<line num="346" count="5" type="stmt"/>
|
|
283
|
-
<line num="351" count="
|
|
284
|
-
<line num="353" count="
|
|
285
|
-
<line num="355" count="
|
|
286
|
+
<line num="351" count="88" type="stmt"/>
|
|
287
|
+
<line num="353" count="88" type="stmt"/>
|
|
288
|
+
<line num="355" count="88" type="cond" truecount="1" falsecount="0"/>
|
|
286
289
|
<line num="356" count="10" type="stmt"/>
|
|
287
|
-
<line num="359" count="
|
|
288
|
-
<line num="363" count="
|
|
289
|
-
<line num="365" count="
|
|
290
|
-
<line num="367" count="
|
|
290
|
+
<line num="359" count="78" type="stmt"/>
|
|
291
|
+
<line num="363" count="88" type="stmt"/>
|
|
292
|
+
<line num="365" count="88" type="stmt"/>
|
|
293
|
+
<line num="367" count="88" type="cond" truecount="1" falsecount="0"/>
|
|
291
294
|
<line num="368" count="2" type="stmt"/>
|
|
292
|
-
<line num="371" count="
|
|
295
|
+
<line num="371" count="86" type="stmt"/>
|
|
293
296
|
<line num="378" count="5" type="stmt"/>
|
|
294
297
|
<line num="385" count="1" type="stmt"/>
|
|
295
298
|
<line num="387" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
@@ -320,30 +323,30 @@
|
|
|
320
323
|
<line num="439" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
321
324
|
<line num="440" count="0" type="stmt"/>
|
|
322
325
|
<line num="443" count="1" type="stmt"/>
|
|
323
|
-
<line num="452" count="
|
|
324
|
-
<line num="453" count="
|
|
325
|
-
<line num="456" count="
|
|
326
|
+
<line num="452" count="71" type="stmt"/>
|
|
327
|
+
<line num="453" count="71" type="cond" truecount="1" falsecount="1"/>
|
|
328
|
+
<line num="456" count="71" type="cond" truecount="1" falsecount="0"/>
|
|
326
329
|
<line num="461" count="3" type="stmt"/>
|
|
327
330
|
<line num="468" count="3" type="stmt"/>
|
|
328
331
|
<line num="470" count="3" type="stmt"/>
|
|
329
|
-
<line num="474" count="
|
|
332
|
+
<line num="474" count="68" type="cond" truecount="1" falsecount="0"/>
|
|
330
333
|
<line num="481" count="2" type="stmt"/>
|
|
331
334
|
<line num="488" count="2" type="stmt"/>
|
|
332
335
|
<line num="490" count="2" type="stmt"/>
|
|
333
|
-
<line num="493" count="
|
|
334
|
-
<line num="496" count="
|
|
336
|
+
<line num="493" count="66" type="stmt"/>
|
|
337
|
+
<line num="496" count="66" type="cond" truecount="1" falsecount="0"/>
|
|
335
338
|
<line num="497" count="4" type="stmt"/>
|
|
336
339
|
<line num="502" count="4" type="stmt"/>
|
|
337
340
|
<line num="504" count="4" type="stmt"/>
|
|
338
|
-
<line num="508" count="
|
|
341
|
+
<line num="508" count="62" type="cond" truecount="1" falsecount="0"/>
|
|
339
342
|
<line num="509" count="1" type="stmt"/>
|
|
340
|
-
<line num="512" count="
|
|
341
|
-
<line num="515" count="
|
|
342
|
-
<line num="517" count="
|
|
343
|
+
<line num="512" count="62" type="cond" truecount="2" falsecount="0"/>
|
|
344
|
+
<line num="515" count="62" type="stmt"/>
|
|
345
|
+
<line num="517" count="62" type="cond" truecount="3" falsecount="0"/>
|
|
343
346
|
<line num="518" count="6" type="stmt"/>
|
|
344
347
|
<line num="524" count="6" type="stmt"/>
|
|
345
348
|
<line num="526" count="6" type="stmt"/>
|
|
346
|
-
<line num="530" count="
|
|
349
|
+
<line num="530" count="56" type="cond" truecount="3" falsecount="0"/>
|
|
347
350
|
<line num="531" count="4" type="stmt"/>
|
|
348
351
|
<line num="535" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
349
352
|
<line num="536" count="2" type="stmt"/>
|
|
@@ -359,10 +362,10 @@
|
|
|
359
362
|
<line num="557" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
360
363
|
<line num="558" count="2" type="stmt"/>
|
|
361
364
|
<line num="564" count="2" type="stmt"/>
|
|
362
|
-
<line num="569" count="
|
|
363
|
-
<line num="571" count="
|
|
364
|
-
<line num="573" count="
|
|
365
|
-
<line num="575" count="
|
|
365
|
+
<line num="569" count="54" type="stmt"/>
|
|
366
|
+
<line num="571" count="54" type="stmt"/>
|
|
367
|
+
<line num="573" count="54" type="cond" truecount="1" falsecount="0"/>
|
|
368
|
+
<line num="575" count="50" type="cond" truecount="3" falsecount="0"/>
|
|
366
369
|
<line num="576" count="2" type="stmt"/>
|
|
367
370
|
<line num="577" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
368
371
|
<line num="581" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
@@ -371,20 +374,20 @@
|
|
|
371
374
|
<line num="594" count="1" type="stmt"/>
|
|
372
375
|
<line num="601" count="1" type="stmt"/>
|
|
373
376
|
<line num="603" count="1" type="stmt"/>
|
|
374
|
-
<line num="607" count="
|
|
377
|
+
<line num="607" count="48" type="cond" truecount="1" falsecount="0"/>
|
|
375
378
|
<line num="608" count="1" type="stmt"/>
|
|
376
379
|
<line num="617" count="1" type="stmt"/>
|
|
377
380
|
<line num="619" count="1" type="stmt"/>
|
|
378
|
-
<line num="623" count="
|
|
379
|
-
<line num="625" count="
|
|
380
|
-
<line num="634" count="
|
|
381
|
-
<line num="639" count="
|
|
382
|
-
<line num="646" count="
|
|
381
|
+
<line num="623" count="47" type="cond" truecount="1" falsecount="0"/>
|
|
382
|
+
<line num="625" count="46" type="stmt"/>
|
|
383
|
+
<line num="634" count="46" type="stmt"/>
|
|
384
|
+
<line num="639" count="5" type="stmt"/>
|
|
385
|
+
<line num="646" count="5" type="stmt"/>
|
|
383
386
|
<line num="648" count="0" type="stmt"/>
|
|
384
387
|
<line num="654" count="0" type="stmt"/>
|
|
385
|
-
<line num="659" count="
|
|
386
|
-
<line num="660" count="
|
|
387
|
-
<line num="662" count="
|
|
388
|
+
<line num="659" count="22" type="stmt"/>
|
|
389
|
+
<line num="660" count="22" type="stmt"/>
|
|
390
|
+
<line num="662" count="22" type="stmt"/>
|
|
388
391
|
<line num="664" count="0" type="stmt"/>
|
|
389
392
|
<line num="666" count="0" type="stmt"/>
|
|
390
393
|
<line num="676" count="26" type="stmt"/>
|
|
@@ -562,7 +565,7 @@
|
|
|
562
565
|
<line num="1255" count="1" type="stmt"/>
|
|
563
566
|
<line num="1257" count="1" type="stmt"/>
|
|
564
567
|
<line num="1261" count="1" type="stmt"/>
|
|
565
|
-
<line num="1262" count="
|
|
568
|
+
<line num="1262" count="22" type="stmt"/>
|
|
566
569
|
</file>
|
|
567
570
|
<file name="logger.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/logger.ts">
|
|
568
571
|
<metrics statements="26" coveredstatements="26" conditionals="11" coveredconditionals="11" methods="9" coveredmethods="9"/>
|
|
@@ -579,8 +582,8 @@
|
|
|
579
582
|
<line num="44" count="1" type="stmt"/>
|
|
580
583
|
<line num="45" count="1" type="stmt"/>
|
|
581
584
|
<line num="49" count="2" type="stmt"/>
|
|
582
|
-
<line num="54" count="
|
|
583
|
-
<line num="55" count="
|
|
585
|
+
<line num="54" count="27" type="stmt"/>
|
|
586
|
+
<line num="55" count="27" type="stmt"/>
|
|
584
587
|
<line num="59" count="1" type="stmt"/>
|
|
585
588
|
<line num="63" count="89" type="cond" truecount="1" falsecount="0"/>
|
|
586
589
|
<line num="64" count="25" type="stmt"/>
|
|
@@ -589,36 +592,36 @@
|
|
|
589
592
|
<line num="77" count="14" type="stmt"/>
|
|
590
593
|
<line num="81" count="5" type="stmt"/>
|
|
591
594
|
<line num="85" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
592
|
-
<line num="86" count="
|
|
593
|
-
<line num="87" count="
|
|
594
|
-
<line num="89" count="
|
|
595
|
+
<line num="86" count="27" type="cond" truecount="2" falsecount="0"/>
|
|
596
|
+
<line num="87" count="27" type="cond" truecount="2" falsecount="0"/>
|
|
597
|
+
<line num="89" count="27" type="stmt"/>
|
|
595
598
|
</file>
|
|
596
599
|
<file name="segments.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/segments.ts">
|
|
597
600
|
<metrics statements="25" coveredstatements="23" conditionals="14" coveredconditionals="14" methods="6" coveredmethods="6"/>
|
|
598
601
|
<line num="2" count="2" type="stmt"/>
|
|
599
602
|
<line num="5" count="2" type="stmt"/>
|
|
600
|
-
<line num="6" count="
|
|
603
|
+
<line num="6" count="115" type="stmt"/>
|
|
601
604
|
<line num="9" count="2" type="stmt"/>
|
|
602
|
-
<line num="14" count="
|
|
605
|
+
<line num="14" count="298" type="cond" truecount="1" falsecount="0"/>
|
|
603
606
|
<line num="15" count="80" type="stmt"/>
|
|
604
|
-
<line num="18" count="
|
|
605
|
-
<line num="19" count="
|
|
606
|
-
<line num="21" count="
|
|
607
|
-
<line num="22" count="
|
|
607
|
+
<line num="18" count="218" type="cond" truecount="1" falsecount="0"/>
|
|
608
|
+
<line num="19" count="115" type="stmt"/>
|
|
609
|
+
<line num="21" count="115" type="cond" truecount="1" falsecount="0"/>
|
|
610
|
+
<line num="22" count="115" type="stmt"/>
|
|
608
611
|
<line num="25" count="0" type="stmt"/>
|
|
609
|
-
<line num="28" count="
|
|
610
|
-
<line num="29" count="
|
|
612
|
+
<line num="28" count="103" type="cond" truecount="1" falsecount="0"/>
|
|
613
|
+
<line num="29" count="103" type="cond" truecount="3" falsecount="0"/>
|
|
611
614
|
<line num="30" count="15" type="stmt"/>
|
|
612
615
|
<line num="31" count="24" type="stmt"/>
|
|
613
|
-
<line num="35" count="
|
|
616
|
+
<line num="35" count="88" type="cond" truecount="3" falsecount="0"/>
|
|
614
617
|
<line num="36" count="8" type="stmt"/>
|
|
615
618
|
<line num="37" count="12" type="stmt"/>
|
|
616
|
-
<line num="41" count="
|
|
619
|
+
<line num="41" count="80" type="cond" truecount="3" falsecount="0"/>
|
|
617
620
|
<line num="42" count="2" type="stmt"/>
|
|
618
621
|
<line num="44" count="2" type="stmt"/>
|
|
619
|
-
<line num="49" count="
|
|
620
|
-
<line num="50" count="
|
|
621
|
-
<line num="51" count="
|
|
622
|
+
<line num="49" count="78" type="cond" truecount="1" falsecount="0"/>
|
|
623
|
+
<line num="50" count="78" type="stmt"/>
|
|
624
|
+
<line num="51" count="89" type="stmt"/>
|
|
622
625
|
<line num="55" count="0" type="stmt"/>
|
|
623
626
|
</file>
|
|
624
627
|
</project>
|