@budibase/worker 2.2.12-alpha.4 → 2.2.12-alpha.41
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/coverage/clover.xml +412 -467
- package/coverage/coverage-final.json +81 -81
- package/coverage/lcov-report/index.html +124 -124
- package/coverage/lcov-report/src/api/controllers/global/auth.ts.html +33 -33
- package/coverage/lcov-report/src/api/controllers/global/configs.ts.html +20 -20
- package/coverage/lcov-report/src/api/controllers/global/email.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/index.html +49 -49
- package/coverage/lcov-report/src/api/controllers/global/license.ts.html +10 -10
- package/coverage/lcov-report/src/api/controllers/global/roles.ts.html +5 -5
- package/coverage/lcov-report/src/api/controllers/global/self.ts.html +10 -10
- package/coverage/lcov-report/src/api/controllers/global/templates.ts.html +5 -5
- package/coverage/lcov-report/src/api/controllers/global/users.ts.html +17 -17
- package/coverage/lcov-report/src/api/controllers/global/workspaces.ts.html +4 -4
- package/coverage/lcov-report/src/api/controllers/system/accounts.ts.html +2 -2
- package/coverage/lcov-report/src/api/controllers/system/environment.ts.html +2 -2
- package/coverage/lcov-report/src/api/controllers/system/index.html +11 -11
- package/coverage/lcov-report/src/api/controllers/system/migrations.ts.html +2 -2
- package/coverage/lcov-report/src/api/controllers/system/restore.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/system/status.ts.html +2 -2
- package/coverage/lcov-report/src/api/controllers/system/tenants.ts.html +3 -3
- package/coverage/lcov-report/src/api/index.html +1 -1
- package/coverage/lcov-report/src/api/index.ts.html +4 -4
- package/coverage/lcov-report/src/api/routes/global/auth.ts.html +4 -4
- package/coverage/lcov-report/src/api/routes/global/configs.ts.html +10 -10
- package/coverage/lcov-report/src/api/routes/global/email.ts.html +4 -4
- package/coverage/lcov-report/src/api/routes/global/index.html +21 -21
- package/coverage/lcov-report/src/api/routes/global/license.ts.html +3 -3
- package/coverage/lcov-report/src/api/routes/global/roles.ts.html +4 -4
- package/coverage/lcov-report/src/api/routes/global/self.ts.html +4 -4
- package/coverage/lcov-report/src/api/routes/global/templates.ts.html +4 -4
- package/coverage/lcov-report/src/api/routes/global/users.ts.html +4 -4
- package/coverage/lcov-report/src/api/routes/global/workspaces.ts.html +4 -4
- package/coverage/lcov-report/src/api/routes/index.html +5 -5
- package/coverage/lcov-report/src/api/routes/index.ts.html +3 -3
- package/coverage/lcov-report/src/api/routes/system/accounts.ts.html +4 -4
- package/coverage/lcov-report/src/api/routes/system/environment.ts.html +4 -4
- package/coverage/lcov-report/src/api/routes/system/index.html +15 -15
- package/coverage/lcov-report/src/api/routes/system/migrations.ts.html +4 -4
- package/coverage/lcov-report/src/api/routes/system/restore.ts.html +4 -4
- package/coverage/lcov-report/src/api/routes/system/status.ts.html +4 -4
- package/coverage/lcov-report/src/api/routes/system/tenants.ts.html +4 -4
- package/coverage/lcov-report/src/api/routes/validation/index.html +3 -3
- package/coverage/lcov-report/src/api/routes/validation/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/validation/users.ts.html +3 -3
- package/coverage/lcov-report/src/constants/index.html +15 -15
- package/coverage/lcov-report/src/constants/index.ts.html +43 -43
- package/coverage/lcov-report/src/constants/templates/index.html +15 -15
- package/coverage/lcov-report/src/constants/templates/index.ts.html +14 -14
- package/coverage/lcov-report/src/db/index.html +3 -3
- package/coverage/lcov-report/src/db/index.ts.html +4 -4
- package/coverage/lcov-report/src/environment.ts.html +19 -19
- package/coverage/lcov-report/src/index.html +27 -27
- package/coverage/lcov-report/src/index.ts.html +19 -16
- package/coverage/lcov-report/src/middleware/cloudRestricted.ts.html +2 -2
- package/coverage/lcov-report/src/middleware/index.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/globalInfoSyncUsers.ts.html +7 -7
- package/coverage/lcov-report/src/migrations/functions/index.html +11 -11
- package/coverage/lcov-report/src/migrations/index.html +15 -15
- package/coverage/lcov-report/src/migrations/index.ts.html +12 -12
- package/coverage/lcov-report/src/sdk/accounts/accounts.ts.html +9 -9
- package/coverage/lcov-report/src/sdk/accounts/index.html +13 -13
- package/coverage/lcov-report/src/sdk/accounts/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/index.html +5 -5
- package/coverage/lcov-report/src/sdk/index.ts.html +4 -4
- package/coverage/lcov-report/src/sdk/users/events.ts.html +16 -16
- package/coverage/lcov-report/src/sdk/users/index.html +29 -29
- package/coverage/lcov-report/src/sdk/users/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/users/users.ts.html +49 -43
- package/coverage/lcov-report/src/tests/TestConfiguration.ts.html +26 -26
- package/coverage/lcov-report/src/tests/api/accounts.ts.html +2 -2
- package/coverage/lcov-report/src/tests/api/auth.ts.html +2 -2
- package/coverage/lcov-report/src/tests/api/base.ts.html +3 -3
- package/coverage/lcov-report/src/tests/api/configs.ts.html +2 -2
- package/coverage/lcov-report/src/tests/api/email.ts.html +2 -2
- package/coverage/lcov-report/src/tests/api/environment.ts.html +2 -2
- package/coverage/lcov-report/src/tests/api/groups.ts.html +2 -2
- package/coverage/lcov-report/src/tests/api/index.html +42 -42
- package/coverage/lcov-report/src/tests/api/index.ts.html +2 -2
- package/coverage/lcov-report/src/tests/api/license.ts.html +7 -7
- package/coverage/lcov-report/src/tests/api/migrations.ts.html +3 -3
- package/coverage/lcov-report/src/tests/api/restore.ts.html +3 -3
- package/coverage/lcov-report/src/tests/api/roles.ts.html +7 -7
- package/coverage/lcov-report/src/tests/api/self.ts.html +2 -2
- package/coverage/lcov-report/src/tests/api/status.ts.html +2 -2
- package/coverage/lcov-report/src/tests/api/templates.ts.html +10 -10
- package/coverage/lcov-report/src/tests/api/tenants.ts.html +6 -6
- package/coverage/lcov-report/src/tests/api/users.ts.html +9 -9
- package/coverage/lcov-report/src/tests/controllers.ts.html +11 -11
- package/coverage/lcov-report/src/tests/index.html +34 -34
- package/coverage/lcov-report/src/tests/index.ts.html +15 -51
- package/coverage/lcov-report/src/tests/mocks/email.ts.html +2 -2
- package/coverage/lcov-report/src/tests/mocks/index.html +5 -5
- package/coverage/lcov-report/src/tests/mocks/index.ts.html +5 -5
- package/coverage/lcov-report/src/tests/structures/configs.ts.html +7 -7
- package/coverage/lcov-report/src/tests/structures/groups.ts.html +2 -2
- package/coverage/lcov-report/src/tests/structures/index.html +15 -15
- package/coverage/lcov-report/src/tests/structures/index.ts.html +10 -10
- package/coverage/lcov-report/src/tests/structures/users.ts.html +8 -8
- package/coverage/lcov-report/src/utilities/appService.ts.html +38 -11
- package/coverage/lcov-report/src/utilities/email.ts.html +17 -17
- package/coverage/lcov-report/src/utilities/fileSystem.ts.html +2 -2
- package/coverage/lcov-report/src/utilities/index.html +27 -27
- package/coverage/lcov-report/src/utilities/index.ts.html +2 -2
- package/coverage/lcov-report/src/utilities/redis.ts.html +14 -14
- package/coverage/lcov-report/src/utilities/templates.ts.html +3 -3
- package/coverage/lcov-report/src/utilities/users.ts.html +2 -2
- package/coverage/lcov.info +1524 -1561
- package/jest.config.ts +5 -2
- package/package.json +8 -6
- package/src/api/controllers/global/auth.ts +1 -1
- package/src/api/routes/global/auth.ts +1 -1
- package/src/api/routes/global/configs.ts +7 -7
- package/src/api/routes/global/email.ts +1 -1
- package/src/api/routes/global/roles.ts +1 -1
- package/src/api/routes/global/self.ts +1 -1
- package/src/api/routes/global/templates.ts +1 -1
- package/src/api/routes/global/tests/templates.spec.ts +0 -8
- package/src/api/routes/global/users.ts +1 -1
- package/src/api/routes/global/workspaces.ts +1 -1
- package/src/api/routes/system/accounts.ts +1 -1
- package/src/api/routes/system/environment.ts +1 -1
- package/src/api/routes/system/migrations.ts +1 -1
- package/src/api/routes/system/restore.ts +1 -1
- package/src/api/routes/system/status.ts +1 -1
- package/src/api/routes/system/tenants.ts +1 -1
- package/src/api/routes/system/tests/environment.spec.ts +1 -1
- package/src/db/index.ts +1 -1
- package/src/environment.ts +1 -1
- package/src/index.ts +4 -3
- package/src/middleware/cloudRestricted.ts +1 -1
- package/src/sdk/users/users.ts +5 -3
- package/src/tests/TestConfiguration.ts +2 -2
- package/src/tests/api/users.ts +1 -1
- package/src/tests/index.ts +6 -18
- package/src/tests/jestEnv.ts +11 -0
- package/src/tests/jestSetup.ts +0 -14
- package/src/tests/mocks/index.ts +1 -1
- package/src/tests/structures/index.ts +4 -4
- package/src/utilities/appService.ts +12 -3
- package/tsconfig.json +2 -1
package/coverage/clover.xml
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1674812569689" clover="3.2.0">
|
|
3
|
+
<project timestamp="1674812569689" name="All files">
|
|
4
|
+
<metrics statements="1850" coveredstatements="1527" conditionals="497" coveredconditionals="345" methods="523" coveredmethods="435" elements="2870" coveredelements="2307" complexity="0" loc="1850" ncloc="1850" packages="22" files="81" classes="81"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="81" coveredstatements="55" conditionals="27" coveredconditionals="15" methods="16" coveredmethods="8"/>
|
|
7
7
|
<file name="environment.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/environment.ts">
|
|
8
|
-
<metrics statements="21" coveredstatements="
|
|
8
|
+
<metrics statements="21" coveredstatements="17" conditionals="21" coveredconditionals="14" methods="6" coveredmethods="6"/>
|
|
9
9
|
<line num="1" count="18" type="stmt"/>
|
|
10
10
|
<line num="4" count="55" type="stmt"/>
|
|
11
11
|
<line num="8" count="157" type="stmt"/>
|
|
@@ -16,20 +16,20 @@
|
|
|
16
16
|
<line num="24" count="18" type="cond" truecount="0" falsecount="1"/>
|
|
17
17
|
<line num="25" count="0" type="stmt"/>
|
|
18
18
|
<line num="29" count="18" type="stmt"/>
|
|
19
|
-
<line num="69" count="
|
|
20
|
-
<line num="71" count="
|
|
19
|
+
<line num="69" count="52" type="stmt"/>
|
|
20
|
+
<line num="71" count="52" type="stmt"/>
|
|
21
21
|
<line num="76" count="18" type="stmt"/>
|
|
22
22
|
<line num="81" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
23
23
|
<line num="82" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
24
24
|
<line num="88" count="18" type="stmt"/>
|
|
25
|
-
<line num="90" count="630" type="cond" truecount="
|
|
26
|
-
<line num="92" count="
|
|
25
|
+
<line num="90" count="630" type="cond" truecount="1" falsecount="0"/>
|
|
26
|
+
<line num="92" count="18" type="stmt"/>
|
|
27
27
|
<line num="95" count="630" type="cond" truecount="0" falsecount="1"/>
|
|
28
28
|
<line num="97" count="0" type="stmt"/>
|
|
29
|
-
<line num="101" count="
|
|
29
|
+
<line num="101" count="1187" type="stmt"/>
|
|
30
30
|
</file>
|
|
31
31
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/index.ts">
|
|
32
|
-
<metrics statements="
|
|
32
|
+
<metrics statements="60" coveredstatements="38" conditionals="6" coveredconditionals="1" methods="10" coveredmethods="2"/>
|
|
33
33
|
<line num="2" count="18" type="stmt"/>
|
|
34
34
|
<line num="5" count="18" type="cond" truecount="0" falsecount="1"/>
|
|
35
35
|
<line num="6" count="0" type="stmt"/>
|
|
@@ -52,43 +52,44 @@
|
|
|
52
52
|
<line num="37" count="18" type="stmt"/>
|
|
53
53
|
<line num="38" count="18" type="stmt"/>
|
|
54
54
|
<line num="39" count="18" type="stmt"/>
|
|
55
|
-
<line num="
|
|
55
|
+
<line num="40" count="18" type="stmt"/>
|
|
56
56
|
<line num="43" count="18" type="stmt"/>
|
|
57
|
-
<line num="
|
|
58
|
-
<line num="
|
|
59
|
-
<line num="50" count="
|
|
60
|
-
<line num="
|
|
57
|
+
<line num="44" count="18" type="stmt"/>
|
|
58
|
+
<line num="47" count="18" type="stmt"/>
|
|
59
|
+
<line num="50" count="18" type="cond" truecount="0" falsecount="1"/>
|
|
60
|
+
<line num="51" count="0" type="stmt"/>
|
|
61
61
|
<line num="53" count="0" type="stmt"/>
|
|
62
62
|
<line num="54" count="0" type="stmt"/>
|
|
63
63
|
<line num="55" count="0" type="stmt"/>
|
|
64
|
-
<line num="
|
|
65
|
-
<line num="
|
|
64
|
+
<line num="56" count="0" type="stmt"/>
|
|
65
|
+
<line num="58" count="0" type="stmt"/>
|
|
66
66
|
<line num="63" count="18" type="stmt"/>
|
|
67
|
-
<line num="
|
|
67
|
+
<line num="64" count="18" type="stmt"/>
|
|
68
68
|
<line num="66" count="18" type="stmt"/>
|
|
69
69
|
<line num="67" count="18" type="stmt"/>
|
|
70
|
-
<line num="68" count="
|
|
71
|
-
<line num="69" count="0" type="
|
|
72
|
-
<line num="
|
|
70
|
+
<line num="68" count="18" type="stmt"/>
|
|
71
|
+
<line num="69" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
72
|
+
<line num="70" count="0" type="stmt"/>
|
|
73
73
|
<line num="72" count="0" type="stmt"/>
|
|
74
74
|
<line num="73" count="0" type="stmt"/>
|
|
75
75
|
<line num="74" count="0" type="stmt"/>
|
|
76
|
-
<line num="75" count="0" type="
|
|
77
|
-
<line num="76" count="0" type="
|
|
78
|
-
<line num="
|
|
79
|
-
<line num="81" count="
|
|
76
|
+
<line num="75" count="0" type="stmt"/>
|
|
77
|
+
<line num="76" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
78
|
+
<line num="77" count="0" type="stmt"/>
|
|
79
|
+
<line num="81" count="18" type="stmt"/>
|
|
80
80
|
<line num="82" count="0" type="stmt"/>
|
|
81
|
-
<line num="
|
|
82
|
-
<line num="86" count="18" type="
|
|
81
|
+
<line num="83" count="0" type="stmt"/>
|
|
82
|
+
<line num="86" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
83
83
|
<line num="87" count="18" type="stmt"/>
|
|
84
|
-
<line num="
|
|
85
|
-
<line num="91" count="
|
|
84
|
+
<line num="88" count="18" type="stmt"/>
|
|
85
|
+
<line num="91" count="18" type="stmt"/>
|
|
86
86
|
<line num="92" count="0" type="stmt"/>
|
|
87
87
|
<line num="93" count="0" type="stmt"/>
|
|
88
|
-
<line num="
|
|
89
|
-
<line num="97" count="
|
|
90
|
-
<line num="
|
|
91
|
-
<line num="101" count="
|
|
88
|
+
<line num="94" count="0" type="stmt"/>
|
|
89
|
+
<line num="97" count="18" type="stmt"/>
|
|
90
|
+
<line num="98" count="0" type="stmt"/>
|
|
91
|
+
<line num="101" count="18" type="stmt"/>
|
|
92
|
+
<line num="102" count="0" type="stmt"/>
|
|
92
93
|
</file>
|
|
93
94
|
</package>
|
|
94
95
|
<package name="src.api">
|
|
@@ -112,7 +113,7 @@
|
|
|
112
113
|
<line num="131" count="99" type="cond" truecount="1" falsecount="0"/>
|
|
113
114
|
<line num="135" count="2" type="stmt"/>
|
|
114
115
|
<line num="137" count="97" type="stmt"/>
|
|
115
|
-
<line num="142" count="
|
|
116
|
+
<line num="142" count="18" type="stmt"/>
|
|
116
117
|
<line num="143" count="121" type="stmt"/>
|
|
117
118
|
<line num="144" count="121" type="stmt"/>
|
|
118
119
|
<line num="146" count="14" type="stmt"/>
|
|
@@ -128,10 +129,10 @@
|
|
|
128
129
|
</file>
|
|
129
130
|
</package>
|
|
130
131
|
<package name="src.api.controllers.global">
|
|
131
|
-
<metrics statements="
|
|
132
|
+
<metrics statements="592" coveredstatements="390" conditionals="158" coveredconditionals="92" methods="154" coveredmethods="109"/>
|
|
132
133
|
<file name="auth.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/auth.ts">
|
|
133
|
-
<metrics statements="
|
|
134
|
-
<line num="
|
|
134
|
+
<metrics statements="119" coveredstatements="72" conditionals="18" coveredconditionals="5" methods="39" coveredmethods="24"/>
|
|
135
|
+
<line num="10" count="18" type="stmt"/>
|
|
135
136
|
<line num="11" count="18" type="stmt"/>
|
|
136
137
|
<line num="12" count="18" type="stmt"/>
|
|
137
138
|
<line num="13" count="18" type="stmt"/>
|
|
@@ -141,9 +142,9 @@
|
|
|
141
142
|
<line num="18" count="18" type="stmt"/>
|
|
142
143
|
<line num="19" count="18" type="stmt"/>
|
|
143
144
|
<line num="20" count="18" type="stmt"/>
|
|
144
|
-
<line num="22" count="
|
|
145
|
+
<line num="22" count="0" type="stmt"/>
|
|
145
146
|
<line num="23" count="0" type="stmt"/>
|
|
146
|
-
<line num="26" count="
|
|
147
|
+
<line num="26" count="0" type="stmt"/>
|
|
147
148
|
<line num="27" count="3" type="stmt"/>
|
|
148
149
|
<line num="31" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
149
150
|
<line num="32" count="0" type="stmt"/>
|
|
@@ -156,7 +157,6 @@
|
|
|
156
157
|
<line num="47" count="0" type="stmt"/>
|
|
157
158
|
<line num="51" count="18" type="stmt"/>
|
|
158
159
|
<line num="52" count="0" type="stmt"/>
|
|
159
|
-
<line num="54" count="0" type="stmt"/>
|
|
160
160
|
<line num="55" count="0" type="stmt"/>
|
|
161
161
|
<line num="56" count="0" type="stmt"/>
|
|
162
162
|
<line num="57" count="0" type="stmt"/>
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
<line num="143" count="0" type="stmt"/>
|
|
206
206
|
<line num="145" count="0" type="stmt"/>
|
|
207
207
|
<line num="155" count="0" type="stmt"/>
|
|
208
|
-
<line num="158" count="
|
|
208
|
+
<line num="158" count="36" type="stmt"/>
|
|
209
209
|
<line num="159" count="0" type="stmt"/>
|
|
210
210
|
<line num="160" count="0" type="stmt"/>
|
|
211
211
|
<line num="161" count="0" type="stmt"/>
|
|
@@ -217,13 +217,12 @@
|
|
|
217
217
|
<line num="177" count="0" type="stmt"/>
|
|
218
218
|
<line num="178" count="0" type="stmt"/>
|
|
219
219
|
<line num="184" count="0" type="stmt"/>
|
|
220
|
-
<line num="191" count="
|
|
220
|
+
<line num="191" count="54" type="stmt"/>
|
|
221
221
|
<line num="192" count="0" type="stmt"/>
|
|
222
222
|
<line num="194" count="0" type="stmt"/>
|
|
223
223
|
<line num="198" count="0" type="stmt"/>
|
|
224
224
|
<line num="199" count="0" type="stmt"/>
|
|
225
225
|
<line num="205" count="0" type="stmt"/>
|
|
226
|
-
<line num="208" count="0" type="stmt"/>
|
|
227
226
|
<line num="209" count="0" type="stmt"/>
|
|
228
227
|
<line num="210" count="0" type="stmt"/>
|
|
229
228
|
<line num="211" count="0" type="stmt"/>
|
|
@@ -242,27 +241,26 @@
|
|
|
242
241
|
<line num="246" count="2" type="stmt"/>
|
|
243
242
|
<line num="247" count="2" type="stmt"/>
|
|
244
243
|
<line num="252" count="2" type="stmt"/>
|
|
245
|
-
<line num="255" count="2" type="cond" truecount="
|
|
244
|
+
<line num="255" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
246
245
|
<line num="259" count="2" type="stmt"/>
|
|
247
|
-
<line num="265" count="
|
|
246
|
+
<line num="265" count="54" type="stmt"/>
|
|
248
247
|
<line num="266" count="1" type="stmt"/>
|
|
249
248
|
<line num="267" count="1" type="stmt"/>
|
|
250
249
|
<line num="269" count="1" type="stmt"/>
|
|
251
|
-
<line num="272" count="1" type="stmt"/>
|
|
252
250
|
<line num="273" count="1" type="stmt"/>
|
|
253
251
|
<line num="274" count="1" type="stmt"/>
|
|
254
252
|
<line num="275" count="1" type="stmt"/>
|
|
255
253
|
<line num="277" count="1" type="stmt"/>
|
|
256
254
|
</file>
|
|
257
255
|
<file name="configs.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/configs.ts">
|
|
258
|
-
<metrics statements="
|
|
256
|
+
<metrics statements="166" coveredstatements="111" conditionals="90" coveredconditionals="63" methods="31" coveredmethods="24"/>
|
|
259
257
|
<line num="1" count="18" type="stmt"/>
|
|
260
258
|
<line num="2" count="18" type="stmt"/>
|
|
261
259
|
<line num="3" count="18" type="stmt"/>
|
|
262
|
-
<line num="
|
|
260
|
+
<line num="11" count="18" type="stmt"/>
|
|
263
261
|
<line num="12" count="18" type="stmt"/>
|
|
264
|
-
<line num="
|
|
265
|
-
<line num="29" count="
|
|
262
|
+
<line num="27" count="18" type="stmt"/>
|
|
263
|
+
<line num="29" count="18" type="stmt"/>
|
|
266
264
|
<line num="30" count="41" type="stmt"/>
|
|
267
265
|
<line num="33" count="41" type="cond" truecount="1" falsecount="0"/>
|
|
268
266
|
<line num="34" count="6" type="stmt"/>
|
|
@@ -315,7 +313,7 @@
|
|
|
315
313
|
<line num="114" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
316
314
|
<line num="120" count="1" type="stmt"/>
|
|
317
315
|
<line num="125" count="41" type="stmt"/>
|
|
318
|
-
<line num="128" count="
|
|
316
|
+
<line num="128" count="40" type="stmt"/>
|
|
319
317
|
<line num="129" count="41" type="stmt"/>
|
|
320
318
|
<line num="130" count="41" type="stmt"/>
|
|
321
319
|
<line num="131" count="41" type="stmt"/>
|
|
@@ -334,11 +332,11 @@
|
|
|
334
332
|
<line num="157" count="42" type="stmt"/>
|
|
335
333
|
<line num="160" count="38" type="stmt"/>
|
|
336
334
|
<line num="166" count="0" type="stmt"/>
|
|
337
|
-
<line num="170" count="
|
|
335
|
+
<line num="170" count="36" type="stmt"/>
|
|
338
336
|
<line num="171" count="0" type="stmt"/>
|
|
339
337
|
<line num="172" count="0" type="stmt"/>
|
|
340
338
|
<line num="180" count="0" type="stmt"/>
|
|
341
|
-
<line num="187" count="
|
|
339
|
+
<line num="187" count="54" type="stmt"/>
|
|
342
340
|
<line num="188" count="36" type="stmt"/>
|
|
343
341
|
<line num="190" count="36" type="stmt"/>
|
|
344
342
|
<line num="191" count="36" type="cond" truecount="1" falsecount="2"/>
|
|
@@ -352,7 +350,7 @@
|
|
|
352
350
|
<line num="209" count="36" type="cond" truecount="2" falsecount="0"/>
|
|
353
351
|
<line num="210" count="27" type="stmt"/>
|
|
354
352
|
<line num="213" count="9" type="stmt"/>
|
|
355
|
-
<line num="216" count="0" type="cond" truecount="0" falsecount="
|
|
353
|
+
<line num="216" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
356
354
|
<line num="220" count="18" type="stmt"/>
|
|
357
355
|
<line num="221" count="0" type="stmt"/>
|
|
358
356
|
<line num="222" count="0" type="stmt"/>
|
|
@@ -400,7 +398,7 @@
|
|
|
400
398
|
<line num="339" count="0" type="stmt"/>
|
|
401
399
|
<line num="342" count="0" type="stmt"/>
|
|
402
400
|
<line num="344" count="0" type="stmt"/>
|
|
403
|
-
<line num="350" count="
|
|
401
|
+
<line num="350" count="54" type="stmt"/>
|
|
404
402
|
<line num="351" count="36" type="stmt"/>
|
|
405
403
|
<line num="352" count="36" type="stmt"/>
|
|
406
404
|
<line num="353" count="36" type="stmt"/>
|
|
@@ -413,7 +411,6 @@
|
|
|
413
411
|
<line num="364" count="4" type="stmt"/>
|
|
414
412
|
<line num="366" count="4" type="stmt"/>
|
|
415
413
|
<line num="367" count="4" type="stmt"/>
|
|
416
|
-
<line num="370" count="4" type="stmt"/>
|
|
417
414
|
<line num="371" count="4" type="stmt"/>
|
|
418
415
|
<line num="372" count="4" type="cond" truecount="3" falsecount="0"/>
|
|
419
416
|
<line num="374" count="4" type="stmt"/>
|
|
@@ -437,7 +434,7 @@
|
|
|
437
434
|
<line num="33" count="1" type="stmt"/>
|
|
438
435
|
</file>
|
|
439
436
|
<file name="license.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/license.ts">
|
|
440
|
-
<metrics statements="21" coveredstatements="6" conditionals="2" coveredconditionals="0" methods="10" coveredmethods="
|
|
437
|
+
<metrics statements="21" coveredstatements="6" conditionals="2" coveredconditionals="0" methods="10" coveredmethods="5"/>
|
|
441
438
|
<line num="1" count="18" type="stmt"/>
|
|
442
439
|
<line num="3" count="18" type="stmt"/>
|
|
443
440
|
<line num="4" count="0" type="stmt"/>
|
|
@@ -461,8 +458,8 @@
|
|
|
461
458
|
<line num="33" count="0" type="stmt"/>
|
|
462
459
|
</file>
|
|
463
460
|
<file name="roles.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/roles.ts">
|
|
464
|
-
<metrics statements="34" coveredstatements="34" conditionals="1" coveredconditionals="1" methods="
|
|
465
|
-
<line num="
|
|
461
|
+
<metrics statements="34" coveredstatements="34" conditionals="1" coveredconditionals="1" methods="7" coveredmethods="7"/>
|
|
462
|
+
<line num="7" count="18" type="stmt"/>
|
|
466
463
|
<line num="9" count="18" type="stmt"/>
|
|
467
464
|
<line num="11" count="18" type="stmt"/>
|
|
468
465
|
<line num="12" count="1" type="stmt"/>
|
|
@@ -498,9 +495,9 @@
|
|
|
498
495
|
<line num="63" count="1" type="stmt"/>
|
|
499
496
|
</file>
|
|
500
497
|
<file name="self.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/self.ts">
|
|
501
|
-
<metrics statements="78" coveredstatements="51" conditionals="11" coveredconditionals="4" methods="
|
|
498
|
+
<metrics statements="78" coveredstatements="51" conditionals="11" coveredconditionals="4" methods="14" coveredmethods="9"/>
|
|
502
499
|
<line num="1" count="18" type="stmt"/>
|
|
503
|
-
<line num="
|
|
500
|
+
<line num="11" count="18" type="stmt"/>
|
|
504
501
|
<line num="12" count="18" type="stmt"/>
|
|
505
502
|
<line num="13" count="18" type="stmt"/>
|
|
506
503
|
<line num="14" count="18" type="stmt"/>
|
|
@@ -549,7 +546,7 @@
|
|
|
549
546
|
<line num="100" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
550
547
|
<line num="101" count="1" type="stmt"/>
|
|
551
548
|
<line num="104" count="2" type="stmt"/>
|
|
552
|
-
<line num="107" count="
|
|
549
|
+
<line num="107" count="36" type="stmt"/>
|
|
553
550
|
<line num="108" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
554
551
|
<line num="109" count="0" type="stmt"/>
|
|
555
552
|
<line num="111" count="1" type="stmt"/>
|
|
@@ -560,7 +557,7 @@
|
|
|
560
557
|
<line num="123" count="1" type="stmt"/>
|
|
561
558
|
<line num="124" count="1" type="stmt"/>
|
|
562
559
|
<line num="126" count="1" type="stmt"/>
|
|
563
|
-
<line num="129" count="
|
|
560
|
+
<line num="129" count="36" type="stmt"/>
|
|
564
561
|
<line num="130" count="2" type="stmt"/>
|
|
565
562
|
<line num="131" count="2" type="stmt"/>
|
|
566
563
|
<line num="132" count="2" type="stmt"/>
|
|
@@ -579,8 +576,8 @@
|
|
|
579
576
|
<line num="162" count="1" type="stmt"/>
|
|
580
577
|
</file>
|
|
581
578
|
<file name="templates.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/templates.ts">
|
|
582
|
-
<metrics statements="32" coveredstatements="25" conditionals="2" coveredconditionals="2" methods="
|
|
583
|
-
<line num="
|
|
579
|
+
<metrics statements="32" coveredstatements="25" conditionals="2" coveredconditionals="2" methods="14" coveredmethods="10"/>
|
|
580
|
+
<line num="5" count="18" type="stmt"/>
|
|
584
581
|
<line num="6" count="18" type="stmt"/>
|
|
585
582
|
<line num="7" count="18" type="stmt"/>
|
|
586
583
|
<line num="9" count="18" type="stmt"/>
|
|
@@ -614,20 +611,20 @@
|
|
|
614
611
|
<line num="76" count="0" type="stmt"/>
|
|
615
612
|
</file>
|
|
616
613
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/users.ts">
|
|
617
|
-
<metrics statements="107" coveredstatements="79" conditionals="
|
|
614
|
+
<metrics statements="107" coveredstatements="79" conditionals="32" coveredconditionals="17" methods="29" coveredmethods="25"/>
|
|
618
615
|
<line num="1" count="18" type="stmt"/>
|
|
619
616
|
<line num="2" count="18" type="stmt"/>
|
|
620
617
|
<line num="3" count="18" type="stmt"/>
|
|
621
|
-
<line num="
|
|
618
|
+
<line num="20" count="18" type="stmt"/>
|
|
622
619
|
<line num="21" count="18" type="stmt"/>
|
|
623
620
|
<line num="23" count="18" type="stmt"/>
|
|
624
|
-
<line num="25" count="
|
|
621
|
+
<line num="25" count="82" type="stmt"/>
|
|
625
622
|
<line num="26" count="86" type="stmt"/>
|
|
626
623
|
<line num="27" count="86" type="stmt"/>
|
|
627
624
|
<line num="28" count="86" type="stmt"/>
|
|
628
625
|
<line num="30" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
629
626
|
<line num="34" count="18" type="stmt"/>
|
|
630
|
-
<line num="35" count="3" type="cond" truecount="
|
|
627
|
+
<line num="35" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
631
628
|
<line num="36" count="1" type="stmt"/>
|
|
632
629
|
<line num="38" count="2" type="stmt"/>
|
|
633
630
|
<line num="41" count="18" type="stmt"/>
|
|
@@ -642,7 +639,7 @@
|
|
|
642
639
|
<line num="56" count="6" type="stmt"/>
|
|
643
640
|
<line num="58" count="9" type="cond" truecount="1" falsecount="0"/>
|
|
644
641
|
<line num="59" count="3" type="stmt"/>
|
|
645
|
-
<line num="62" count="1" type="cond" truecount="
|
|
642
|
+
<line num="62" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
646
643
|
<line num="64" count="8" type="stmt"/>
|
|
647
644
|
<line num="67" count="18" type="stmt"/>
|
|
648
645
|
<line num="68" count="12" type="cond" truecount="1" falsecount="1"/>
|
|
@@ -724,7 +721,7 @@
|
|
|
724
721
|
<line num="236" count="0" type="stmt"/>
|
|
725
722
|
</file>
|
|
726
723
|
<file name="workspaces.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/workspaces.ts">
|
|
727
|
-
<metrics statements="26" coveredstatements="5" conditionals="1" coveredconditionals="0" methods="
|
|
724
|
+
<metrics statements="26" coveredstatements="5" conditionals="1" coveredconditionals="0" methods="9" coveredmethods="4"/>
|
|
728
725
|
<line num="1" count="18" type="stmt"/>
|
|
729
726
|
<line num="4" count="18" type="stmt"/>
|
|
730
727
|
<line num="5" count="0" type="stmt"/>
|
|
@@ -825,9 +822,9 @@
|
|
|
825
822
|
</file>
|
|
826
823
|
</package>
|
|
827
824
|
<package name="src.api.routes">
|
|
828
|
-
<metrics statements="18" coveredstatements="18" conditionals="0" coveredconditionals="0" methods="
|
|
825
|
+
<metrics statements="18" coveredstatements="18" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
829
826
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/index.ts">
|
|
830
|
-
<metrics statements="18" coveredstatements="18" conditionals="0" coveredconditionals="0" methods="
|
|
827
|
+
<metrics statements="18" coveredstatements="18" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
831
828
|
<line num="2" count="18" type="stmt"/>
|
|
832
829
|
<line num="3" count="18" type="stmt"/>
|
|
833
830
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -849,9 +846,9 @@
|
|
|
849
846
|
</file>
|
|
850
847
|
</package>
|
|
851
848
|
<package name="src.api.routes.global">
|
|
852
|
-
<metrics statements="88" coveredstatements="88" conditionals="2" coveredconditionals="2" methods="
|
|
849
|
+
<metrics statements="88" coveredstatements="88" conditionals="2" coveredconditionals="2" methods="27" coveredmethods="27"/>
|
|
853
850
|
<file name="auth.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/auth.ts">
|
|
854
|
-
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="
|
|
851
|
+
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
855
852
|
<line num="1" count="18" type="stmt"/>
|
|
856
853
|
<line num="2" count="18" type="stmt"/>
|
|
857
854
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -864,7 +861,7 @@
|
|
|
864
861
|
<line num="88" count="18" type="stmt"/>
|
|
865
862
|
</file>
|
|
866
863
|
<file name="configs.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/configs.ts">
|
|
867
|
-
<metrics statements="15" coveredstatements="15" conditionals="0" coveredconditionals="0" methods="
|
|
864
|
+
<metrics statements="15" coveredstatements="15" conditionals="0" coveredconditionals="0" methods="8" coveredmethods="8"/>
|
|
868
865
|
<line num="1" count="18" type="stmt"/>
|
|
869
866
|
<line num="2" count="18" type="stmt"/>
|
|
870
867
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -882,7 +879,7 @@
|
|
|
882
879
|
<line num="124" count="18" type="stmt"/>
|
|
883
880
|
</file>
|
|
884
881
|
<file name="email.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/email.ts">
|
|
885
|
-
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="
|
|
882
|
+
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
886
883
|
<line num="1" count="18" type="stmt"/>
|
|
887
884
|
<line num="2" count="18" type="stmt"/>
|
|
888
885
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -894,7 +891,7 @@
|
|
|
894
891
|
<line num="36" count="18" type="stmt"/>
|
|
895
892
|
</file>
|
|
896
893
|
<file name="license.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/license.ts">
|
|
897
|
-
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="
|
|
894
|
+
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
898
895
|
<line num="1" count="18" type="stmt"/>
|
|
899
896
|
<line num="2" count="18" type="stmt"/>
|
|
900
897
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -902,7 +899,7 @@
|
|
|
902
899
|
<line num="13" count="18" type="stmt"/>
|
|
903
900
|
</file>
|
|
904
901
|
<file name="roles.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/roles.ts">
|
|
905
|
-
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="
|
|
902
|
+
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
906
903
|
<line num="1" count="18" type="stmt"/>
|
|
907
904
|
<line num="2" count="18" type="stmt"/>
|
|
908
905
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -911,7 +908,7 @@
|
|
|
911
908
|
<line num="16" count="18" type="stmt"/>
|
|
912
909
|
</file>
|
|
913
910
|
<file name="self.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/self.ts">
|
|
914
|
-
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="
|
|
911
|
+
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
915
912
|
<line num="1" count="18" type="stmt"/>
|
|
916
913
|
<line num="2" count="18" type="stmt"/>
|
|
917
914
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -921,7 +918,7 @@
|
|
|
921
918
|
<line num="18" count="18" type="stmt"/>
|
|
922
919
|
</file>
|
|
923
920
|
<file name="templates.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/templates.ts">
|
|
924
|
-
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="
|
|
921
|
+
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
925
922
|
<line num="1" count="18" type="stmt"/>
|
|
926
923
|
<line num="2" count="18" type="stmt"/>
|
|
927
924
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -934,7 +931,7 @@
|
|
|
934
931
|
<line num="37" count="18" type="stmt"/>
|
|
935
932
|
</file>
|
|
936
933
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/users.ts">
|
|
937
|
-
<metrics statements="18" coveredstatements="18" conditionals="2" coveredconditionals="2" methods="
|
|
934
|
+
<metrics statements="18" coveredstatements="18" conditionals="2" coveredconditionals="2" methods="6" coveredmethods="6"/>
|
|
938
935
|
<line num="1" count="18" type="stmt"/>
|
|
939
936
|
<line num="2" count="18" type="stmt"/>
|
|
940
937
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -955,7 +952,7 @@
|
|
|
955
952
|
<line num="116" count="18" type="stmt"/>
|
|
956
953
|
</file>
|
|
957
954
|
<file name="workspaces.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/workspaces.ts">
|
|
958
|
-
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="
|
|
955
|
+
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
959
956
|
<line num="1" count="18" type="stmt"/>
|
|
960
957
|
<line num="2" count="18" type="stmt"/>
|
|
961
958
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -967,9 +964,9 @@
|
|
|
967
964
|
</file>
|
|
968
965
|
</package>
|
|
969
966
|
<package name="src.api.routes.system">
|
|
970
|
-
<metrics statements="33" coveredstatements="33" conditionals="0" coveredconditionals="0" methods="
|
|
967
|
+
<metrics statements="33" coveredstatements="33" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="6"/>
|
|
971
968
|
<file name="accounts.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/accounts.ts">
|
|
972
|
-
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="
|
|
969
|
+
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
973
970
|
<line num="1" count="18" type="stmt"/>
|
|
974
971
|
<line num="2" count="18" type="stmt"/>
|
|
975
972
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -978,7 +975,7 @@
|
|
|
978
975
|
<line num="19" count="18" type="stmt"/>
|
|
979
976
|
</file>
|
|
980
977
|
<file name="environment.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/environment.ts">
|
|
981
|
-
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="
|
|
978
|
+
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
982
979
|
<line num="1" count="18" type="stmt"/>
|
|
983
980
|
<line num="2" count="18" type="stmt"/>
|
|
984
981
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -986,7 +983,7 @@
|
|
|
986
983
|
<line num="8" count="18" type="stmt"/>
|
|
987
984
|
</file>
|
|
988
985
|
<file name="migrations.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/migrations.ts">
|
|
989
|
-
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="
|
|
986
|
+
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
990
987
|
<line num="1" count="18" type="stmt"/>
|
|
991
988
|
<line num="2" count="18" type="stmt"/>
|
|
992
989
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -995,7 +992,7 @@
|
|
|
995
992
|
<line num="19" count="18" type="stmt"/>
|
|
996
993
|
</file>
|
|
997
994
|
<file name="restore.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/restore.ts">
|
|
998
|
-
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="
|
|
995
|
+
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
999
996
|
<line num="1" count="18" type="stmt"/>
|
|
1000
997
|
<line num="2" count="18" type="stmt"/>
|
|
1001
998
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -1003,7 +1000,7 @@
|
|
|
1003
1000
|
<line num="8" count="18" type="stmt"/>
|
|
1004
1001
|
</file>
|
|
1005
1002
|
<file name="status.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/status.ts">
|
|
1006
|
-
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="
|
|
1003
|
+
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1007
1004
|
<line num="1" count="18" type="stmt"/>
|
|
1008
1005
|
<line num="2" count="18" type="stmt"/>
|
|
1009
1006
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -1011,7 +1008,7 @@
|
|
|
1011
1008
|
<line num="8" count="18" type="stmt"/>
|
|
1012
1009
|
</file>
|
|
1013
1010
|
<file name="tenants.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/tenants.ts">
|
|
1014
|
-
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="
|
|
1011
|
+
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1015
1012
|
<line num="1" count="18" type="stmt"/>
|
|
1016
1013
|
<line num="2" count="18" type="stmt"/>
|
|
1017
1014
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -1021,17 +1018,17 @@
|
|
|
1021
1018
|
</file>
|
|
1022
1019
|
</package>
|
|
1023
1020
|
<package name="src.api.routes.validation">
|
|
1024
|
-
<metrics statements="13" coveredstatements="13" conditionals="4" coveredconditionals="4" methods="
|
|
1021
|
+
<metrics statements="13" coveredstatements="13" conditionals="4" coveredconditionals="4" methods="4" coveredmethods="4"/>
|
|
1025
1022
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/validation/index.ts">
|
|
1026
1023
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1027
1024
|
<line num="1" count="18" type="stmt"/>
|
|
1028
1025
|
</file>
|
|
1029
1026
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/validation/users.ts">
|
|
1030
|
-
<metrics statements="12" coveredstatements="12" conditionals="4" coveredconditionals="4" methods="
|
|
1027
|
+
<metrics statements="12" coveredstatements="12" conditionals="4" coveredconditionals="4" methods="4" coveredmethods="4"/>
|
|
1031
1028
|
<line num="1" count="18" type="stmt"/>
|
|
1032
1029
|
<line num="2" count="18" type="stmt"/>
|
|
1033
1030
|
<line num="4" count="18" type="stmt"/>
|
|
1034
|
-
<line num="20" count="
|
|
1031
|
+
<line num="20" count="54" type="cond" truecount="1" falsecount="0"/>
|
|
1035
1032
|
<line num="21" count="54" type="cond" truecount="1" falsecount="0"/>
|
|
1036
1033
|
<line num="22" count="18" type="stmt"/>
|
|
1037
1034
|
<line num="28" count="54" type="stmt"/>
|
|
@@ -1043,66 +1040,35 @@
|
|
|
1043
1040
|
</file>
|
|
1044
1041
|
</package>
|
|
1045
1042
|
<package name="src.constants">
|
|
1046
|
-
<metrics statements="
|
|
1043
|
+
<metrics statements="14" coveredstatements="13" conditionals="12" coveredconditionals="12" methods="12" coveredmethods="11"/>
|
|
1047
1044
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/constants/index.ts">
|
|
1048
|
-
<metrics statements="
|
|
1045
|
+
<metrics statements="14" coveredstatements="13" conditionals="12" coveredconditionals="12" methods="12" coveredmethods="11"/>
|
|
1049
1046
|
<line num="1" count="18" type="stmt"/>
|
|
1050
|
-
<line num="3" count="
|
|
1047
|
+
<line num="3" count="0" type="stmt"/>
|
|
1048
|
+
<line num="4" count="18" type="stmt"/>
|
|
1051
1049
|
<line num="6" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
1052
|
-
<line num="
|
|
1053
|
-
<line num="8" count="18" type="stmt"/>
|
|
1054
|
-
<line num="11" count="18" type="stmt"/>
|
|
1050
|
+
<line num="11" count="79" type="stmt"/>
|
|
1055
1051
|
<line num="13" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
1056
|
-
<line num="14" count="18" type="stmt"/>
|
|
1057
|
-
<line num="15" count="18" type="stmt"/>
|
|
1058
1052
|
<line num="18" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
1059
|
-
<line num="19" count="18" type="stmt"/>
|
|
1060
1053
|
<line num="22" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
1061
|
-
<line num="23" count="18" type="stmt"/>
|
|
1062
|
-
<line num="24" count="18" type="stmt"/>
|
|
1063
|
-
<line num="25" count="18" type="stmt"/>
|
|
1064
|
-
<line num="26" count="18" type="stmt"/>
|
|
1065
|
-
<line num="27" count="18" type="stmt"/>
|
|
1066
1054
|
<line num="30" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
1067
|
-
<line num="31" count="18" type="stmt"/>
|
|
1068
|
-
<line num="32" count="18" type="stmt"/>
|
|
1069
|
-
<line num="33" count="18" type="stmt"/>
|
|
1070
|
-
<line num="34" count="18" type="stmt"/>
|
|
1071
|
-
<line num="35" count="18" type="stmt"/>
|
|
1072
1055
|
<line num="38" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
1073
|
-
<line num="39" count="18" type="stmt"/>
|
|
1074
|
-
<line num="40" count="18" type="stmt"/>
|
|
1075
|
-
<line num="41" count="18" type="stmt"/>
|
|
1076
|
-
<line num="42" count="18" type="stmt"/>
|
|
1077
|
-
<line num="43" count="18" type="stmt"/>
|
|
1078
|
-
<line num="44" count="18" type="stmt"/>
|
|
1079
|
-
<line num="45" count="18" type="stmt"/>
|
|
1080
|
-
<line num="46" count="18" type="stmt"/>
|
|
1081
|
-
<line num="47" count="18" type="stmt"/>
|
|
1082
|
-
<line num="48" count="18" type="stmt"/>
|
|
1083
|
-
<line num="49" count="18" type="stmt"/>
|
|
1084
|
-
<line num="50" count="18" type="stmt"/>
|
|
1085
|
-
<line num="51" count="18" type="stmt"/>
|
|
1086
|
-
<line num="52" count="18" type="stmt"/>
|
|
1087
|
-
<line num="53" count="18" type="stmt"/>
|
|
1088
|
-
<line num="54" count="18" type="stmt"/>
|
|
1089
|
-
<line num="55" count="18" type="stmt"/>
|
|
1090
1056
|
<line num="58" count="18" type="stmt"/>
|
|
1091
1057
|
<line num="101" count="18" type="stmt"/>
|
|
1092
|
-
<line num="183" count="
|
|
1058
|
+
<line num="183" count="20" type="stmt"/>
|
|
1093
1059
|
<line num="184" count="18" type="stmt"/>
|
|
1094
1060
|
</file>
|
|
1095
1061
|
</package>
|
|
1096
1062
|
<package name="src.constants.templates">
|
|
1097
|
-
<metrics statements="29" coveredstatements="
|
|
1063
|
+
<metrics statements="29" coveredstatements="27" conditionals="9" coveredconditionals="8" methods="11" coveredmethods="8"/>
|
|
1098
1064
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/constants/templates/index.ts">
|
|
1099
|
-
<metrics statements="29" coveredstatements="
|
|
1065
|
+
<metrics statements="29" coveredstatements="27" conditionals="9" coveredconditionals="8" methods="11" coveredmethods="8"/>
|
|
1100
1066
|
<line num="1" count="18" type="stmt"/>
|
|
1101
|
-
<line num="
|
|
1067
|
+
<line num="7" count="18" type="stmt"/>
|
|
1102
1068
|
<line num="8" count="18" type="stmt"/>
|
|
1103
1069
|
<line num="9" count="18" type="stmt"/>
|
|
1104
1070
|
<line num="12" count="18" type="stmt"/>
|
|
1105
|
-
<line num="26" count="
|
|
1071
|
+
<line num="26" count="0" type="stmt"/>
|
|
1106
1072
|
<line num="28" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
1107
1073
|
<line num="30" count="14" type="stmt"/>
|
|
1108
1074
|
<line num="31" count="14" type="stmt"/>
|
|
@@ -1114,7 +1080,7 @@
|
|
|
1114
1080
|
<line num="41" count="78" type="cond" truecount="1" falsecount="0"/>
|
|
1115
1081
|
<line num="42" count="78" type="stmt"/>
|
|
1116
1082
|
<line num="49" count="16" type="stmt"/>
|
|
1117
|
-
<line num="52" count="
|
|
1083
|
+
<line num="52" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1118
1084
|
<line num="57" count="16" type="stmt"/>
|
|
1119
1085
|
<line num="58" count="16" type="stmt"/>
|
|
1120
1086
|
<line num="63" count="16" type="stmt"/>
|
|
@@ -1123,18 +1089,18 @@
|
|
|
1123
1089
|
<line num="68" count="16" type="cond" truecount="1" falsecount="0"/>
|
|
1124
1090
|
<line num="69" count="14" type="stmt"/>
|
|
1125
1091
|
<line num="71" count="16" type="stmt"/>
|
|
1126
|
-
<line num="74" count="
|
|
1092
|
+
<line num="74" count="14" type="stmt"/>
|
|
1127
1093
|
<line num="75" count="14" type="stmt"/>
|
|
1128
1094
|
<line num="76" count="26" type="stmt"/>
|
|
1129
1095
|
</file>
|
|
1130
1096
|
</package>
|
|
1131
1097
|
<package name="src.db">
|
|
1132
|
-
<metrics statements="7" coveredstatements="7" conditionals="3" coveredconditionals="3" methods="
|
|
1098
|
+
<metrics statements="7" coveredstatements="7" conditionals="3" coveredconditionals="3" methods="2" coveredmethods="2"/>
|
|
1133
1099
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/db/index.ts">
|
|
1134
|
-
<metrics statements="7" coveredstatements="7" conditionals="3" coveredconditionals="3" methods="
|
|
1100
|
+
<metrics statements="7" coveredstatements="7" conditionals="3" coveredconditionals="3" methods="2" coveredmethods="2"/>
|
|
1135
1101
|
<line num="1" count="18" type="stmt"/>
|
|
1136
1102
|
<line num="2" count="18" type="stmt"/>
|
|
1137
|
-
<line num="4" count="
|
|
1103
|
+
<line num="4" count="36" type="stmt"/>
|
|
1138
1104
|
<line num="5" count="36" type="stmt"/>
|
|
1139
1105
|
<line num="6" count="36" type="cond" truecount="3" falsecount="0"/>
|
|
1140
1106
|
<line num="7" count="36" type="stmt"/>
|
|
@@ -1156,11 +1122,11 @@
|
|
|
1156
1122
|
</file>
|
|
1157
1123
|
</package>
|
|
1158
1124
|
<package name="src.migrations">
|
|
1159
|
-
<metrics statements="
|
|
1125
|
+
<metrics statements="21" coveredstatements="16" conditionals="4" coveredconditionals="2" methods="7" coveredmethods="4"/>
|
|
1160
1126
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/migrations/index.ts">
|
|
1161
|
-
<metrics statements="
|
|
1127
|
+
<metrics statements="21" coveredstatements="16" conditionals="4" coveredconditionals="2" methods="7" coveredmethods="4"/>
|
|
1162
1128
|
<line num="1" count="18" type="stmt"/>
|
|
1163
|
-
<line num="
|
|
1129
|
+
<line num="8" count="18" type="stmt"/>
|
|
1164
1130
|
<line num="9" count="18" type="stmt"/>
|
|
1165
1131
|
<line num="12" count="18" type="stmt"/>
|
|
1166
1132
|
<line num="18" count="18" type="stmt"/>
|
|
@@ -1179,14 +1145,13 @@
|
|
|
1179
1145
|
<line num="46" count="0" type="stmt"/>
|
|
1180
1146
|
<line num="50" count="18" type="stmt"/>
|
|
1181
1147
|
<line num="51" count="0" type="stmt"/>
|
|
1182
|
-
<line num="58" count="0" type="stmt"/>
|
|
1183
1148
|
<line num="59" count="0" type="stmt"/>
|
|
1184
1149
|
</file>
|
|
1185
1150
|
</package>
|
|
1186
1151
|
<package name="src.migrations.functions">
|
|
1187
|
-
<metrics statements="7" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="
|
|
1152
|
+
<metrics statements="7" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="1"/>
|
|
1188
1153
|
<file name="globalInfoSyncUsers.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/migrations/functions/globalInfoSyncUsers.ts">
|
|
1189
|
-
<metrics statements="7" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="
|
|
1154
|
+
<metrics statements="7" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="1"/>
|
|
1190
1155
|
<line num="2" count="18" type="stmt"/>
|
|
1191
1156
|
<line num="11" count="18" type="stmt"/>
|
|
1192
1157
|
<line num="12" count="0" type="stmt"/>
|
|
@@ -1197,23 +1162,22 @@
|
|
|
1197
1162
|
</file>
|
|
1198
1163
|
</package>
|
|
1199
1164
|
<package name="src.sdk">
|
|
1200
|
-
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="
|
|
1165
|
+
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1201
1166
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/index.ts">
|
|
1202
|
-
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="
|
|
1167
|
+
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1203
1168
|
<line num="1" count="18" type="stmt"/>
|
|
1204
1169
|
<line num="2" count="18" type="stmt"/>
|
|
1205
|
-
<line num="4" count="
|
|
1170
|
+
<line num="4" count="136" type="stmt"/>
|
|
1206
1171
|
</file>
|
|
1207
1172
|
</package>
|
|
1208
1173
|
<package name="src.sdk.accounts">
|
|
1209
|
-
<metrics statements="
|
|
1174
|
+
<metrics statements="28" coveredstatements="24" conditionals="5" coveredconditionals="2" methods="11" coveredmethods="11"/>
|
|
1210
1175
|
<file name="accounts.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/accounts/accounts.ts">
|
|
1211
|
-
<metrics statements="
|
|
1212
|
-
<line num="
|
|
1176
|
+
<metrics statements="27" coveredstatements="23" conditionals="5" coveredconditionals="2" methods="11" coveredmethods="11"/>
|
|
1177
|
+
<line num="8" count="18" type="stmt"/>
|
|
1213
1178
|
<line num="10" count="18" type="stmt"/>
|
|
1214
1179
|
<line num="11" count="6" type="stmt"/>
|
|
1215
1180
|
<line num="14" count="18" type="stmt"/>
|
|
1216
|
-
<line num="16" count="3" type="stmt"/>
|
|
1217
1181
|
<line num="17" count="3" type="stmt"/>
|
|
1218
1182
|
<line num="18" count="3" type="stmt"/>
|
|
1219
1183
|
<line num="19" count="3" type="cond" truecount="0" falsecount="1"/>
|
|
@@ -1222,7 +1186,6 @@
|
|
|
1222
1186
|
<line num="23" count="3" type="stmt"/>
|
|
1223
1187
|
<line num="24" count="3" type="stmt"/>
|
|
1224
1188
|
<line num="28" count="18" type="stmt"/>
|
|
1225
|
-
<line num="30" count="7" type="stmt"/>
|
|
1226
1189
|
<line num="31" count="7" type="stmt"/>
|
|
1227
1190
|
<line num="32" count="7" type="stmt"/>
|
|
1228
1191
|
<line num="33" count="7" type="stmt"/>
|
|
@@ -1245,9 +1208,9 @@
|
|
|
1245
1208
|
</file>
|
|
1246
1209
|
</package>
|
|
1247
1210
|
<package name="src.sdk.users">
|
|
1248
|
-
<metrics statements="
|
|
1211
|
+
<metrics statements="318" coveredstatements="287" conditionals="113" coveredconditionals="94" methods="69" coveredmethods="59"/>
|
|
1249
1212
|
<file name="events.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/users/events.ts">
|
|
1250
|
-
<metrics statements="
|
|
1213
|
+
<metrics statements="66" coveredstatements="65" conditionals="33" coveredconditionals="32" methods="17" coveredmethods="15"/>
|
|
1251
1214
|
<line num="1" count="18" type="stmt"/>
|
|
1252
1215
|
<line num="2" count="18" type="stmt"/>
|
|
1253
1216
|
<line num="5" count="18" type="stmt"/>
|
|
@@ -1257,24 +1220,21 @@
|
|
|
1257
1220
|
<line num="12" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
1258
1221
|
<line num="13" count="2" type="stmt"/>
|
|
1259
1222
|
<line num="17" count="18" type="stmt"/>
|
|
1260
|
-
<line num="21" count="95" type="stmt"/>
|
|
1261
1223
|
<line num="22" count="95" type="stmt"/>
|
|
1262
1224
|
<line num="24" count="91" type="cond" truecount="3" falsecount="0"/>
|
|
1263
1225
|
<line num="25" count="82" type="stmt"/>
|
|
1264
1226
|
<line num="30" count="18" type="stmt"/>
|
|
1265
|
-
<line num="34" count="95" type="stmt"/>
|
|
1266
1227
|
<line num="35" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1267
1228
|
<line num="36" count="84" type="stmt"/>
|
|
1268
1229
|
<line num="38" count="11" type="stmt"/>
|
|
1269
1230
|
<line num="40" count="13" type="cond" truecount="3" falsecount="0"/>
|
|
1270
1231
|
<line num="41" count="4" type="stmt"/>
|
|
1271
|
-
<line num="46" count="
|
|
1232
|
+
<line num="46" count="18" type="stmt"/>
|
|
1272
1233
|
<line num="47" count="95" type="stmt"/>
|
|
1273
|
-
<line num="48" count="95" type="
|
|
1234
|
+
<line num="48" count="95" type="stmt"/>
|
|
1274
1235
|
<line num="50" count="95" type="stmt"/>
|
|
1275
1236
|
<line num="51" count="95" type="stmt"/>
|
|
1276
|
-
<line num="54" count="
|
|
1277
|
-
<line num="57" count="95" type="stmt"/>
|
|
1237
|
+
<line num="54" count="95" type="stmt"/>
|
|
1278
1238
|
<line num="58" count="95" type="stmt"/>
|
|
1279
1239
|
<line num="60" count="95" type="cond" truecount="3" falsecount="0"/>
|
|
1280
1240
|
<line num="61" count="95" type="stmt"/>
|
|
@@ -1323,275 +1283,264 @@
|
|
|
1323
1283
|
<line num="1" count="18" type="stmt"/>
|
|
1324
1284
|
</file>
|
|
1325
1285
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/users/users.ts">
|
|
1326
|
-
<metrics statements="
|
|
1286
|
+
<metrics statements="251" coveredstatements="221" conditionals="80" coveredconditionals="62" methods="52" coveredmethods="44"/>
|
|
1327
1287
|
<line num="1" count="18" type="stmt"/>
|
|
1328
1288
|
<line num="2" count="18" type="stmt"/>
|
|
1329
1289
|
<line num="3" count="18" type="stmt"/>
|
|
1330
|
-
<line num="
|
|
1331
|
-
<line num="19" count="18" type="stmt"/>
|
|
1290
|
+
<line num="18" count="18" type="stmt"/>
|
|
1332
1291
|
<line num="35" count="18" type="stmt"/>
|
|
1333
1292
|
<line num="36" count="18" type="stmt"/>
|
|
1334
1293
|
<line num="37" count="18" type="stmt"/>
|
|
1335
|
-
<line num="
|
|
1336
|
-
<line num="
|
|
1337
|
-
<line num="42" count="
|
|
1294
|
+
<line num="38" count="18" type="stmt"/>
|
|
1295
|
+
<line num="40" count="18" type="stmt"/>
|
|
1296
|
+
<line num="42" count="18" type="stmt"/>
|
|
1338
1297
|
<line num="43" count="1" type="stmt"/>
|
|
1339
|
-
<line num="
|
|
1340
|
-
<line num="
|
|
1341
|
-
<line num="52" count="
|
|
1298
|
+
<line num="44" count="1" type="stmt"/>
|
|
1299
|
+
<line num="49" count="2" type="stmt"/>
|
|
1300
|
+
<line num="52" count="18" type="stmt"/>
|
|
1342
1301
|
<line num="53" count="0" type="stmt"/>
|
|
1343
|
-
<line num="
|
|
1344
|
-
<line num="
|
|
1345
|
-
<line num="
|
|
1346
|
-
<line num="
|
|
1347
|
-
<line num="
|
|
1348
|
-
<line num="
|
|
1349
|
-
<line num="
|
|
1350
|
-
<line num="
|
|
1351
|
-
<line num="79" count="0" type="stmt"/>
|
|
1302
|
+
<line num="54" count="0" type="stmt"/>
|
|
1303
|
+
<line num="59" count="18" type="cond" truecount="0" falsecount="1"/>
|
|
1304
|
+
<line num="65" count="0" type="stmt"/>
|
|
1305
|
+
<line num="67" count="0" type="stmt"/>
|
|
1306
|
+
<line num="72" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1307
|
+
<line num="73" count="0" type="stmt"/>
|
|
1308
|
+
<line num="77" count="0" type="stmt"/>
|
|
1309
|
+
<line num="79" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1352
1310
|
<line num="80" count="0" type="stmt"/>
|
|
1353
|
-
<line num="81" count="0" type="
|
|
1354
|
-
<line num="82" count="0" type="
|
|
1311
|
+
<line num="81" count="0" type="stmt"/>
|
|
1312
|
+
<line num="82" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1355
1313
|
<line num="83" count="0" type="stmt"/>
|
|
1356
|
-
<line num="
|
|
1314
|
+
<line num="84" count="0" type="stmt"/>
|
|
1357
1315
|
<line num="87" count="0" type="stmt"/>
|
|
1358
|
-
<line num="
|
|
1359
|
-
<line num="
|
|
1360
|
-
<line num="100" count="
|
|
1316
|
+
<line num="88" count="0" type="stmt"/>
|
|
1317
|
+
<line num="90" count="0" type="stmt"/>
|
|
1318
|
+
<line num="100" count="18" type="stmt"/>
|
|
1361
1319
|
<line num="101" count="10" type="stmt"/>
|
|
1362
|
-
<line num="102" count="10" type="
|
|
1363
|
-
<line num="103" count="10" type="
|
|
1364
|
-
<line num="
|
|
1365
|
-
<line num="
|
|
1366
|
-
<line num="
|
|
1367
|
-
<line num="123" count="95" type="stmt"/>
|
|
1320
|
+
<line num="102" count="10" type="stmt"/>
|
|
1321
|
+
<line num="103" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
1322
|
+
<line num="104" count="10" type="stmt"/>
|
|
1323
|
+
<line num="106" count="10" type="stmt"/>
|
|
1324
|
+
<line num="115" count="18" type="stmt"/>
|
|
1368
1325
|
<line num="124" count="95" type="stmt"/>
|
|
1369
|
-
<line num="
|
|
1370
|
-
<line num="128" count="
|
|
1371
|
-
<line num="129" count="
|
|
1372
|
-
<line num="130" count="
|
|
1373
|
-
<line num="131" count="1" type="
|
|
1374
|
-
<line num="132" count="
|
|
1375
|
-
<line num="
|
|
1376
|
-
<line num="
|
|
1377
|
-
<line num="
|
|
1378
|
-
<line num="147" count="
|
|
1379
|
-
<line num="
|
|
1380
|
-
<line num="151" count="
|
|
1381
|
-
<line num="
|
|
1382
|
-
<line num="
|
|
1383
|
-
<line num="
|
|
1384
|
-
<line num="
|
|
1385
|
-
<line num="
|
|
1386
|
-
<line num="
|
|
1387
|
-
<line num="
|
|
1388
|
-
<line num="
|
|
1389
|
-
<line num="
|
|
1390
|
-
<line num="
|
|
1391
|
-
<line num="
|
|
1392
|
-
<line num="
|
|
1393
|
-
<line num="
|
|
1394
|
-
<line num="
|
|
1395
|
-
<line num="
|
|
1396
|
-
<line num="
|
|
1397
|
-
<line num="
|
|
1398
|
-
<line num="
|
|
1399
|
-
<line num="
|
|
1400
|
-
<line num="200" count="87" type="stmt"/>
|
|
1401
|
-
<line num="202" count="94" type="stmt"/>
|
|
1326
|
+
<line num="125" count="95" type="stmt"/>
|
|
1327
|
+
<line num="128" count="95" type="cond" truecount="2" falsecount="0"/>
|
|
1328
|
+
<line num="129" count="93" type="cond" truecount="1" falsecount="1"/>
|
|
1329
|
+
<line num="130" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1330
|
+
<line num="131" count="1" type="stmt"/>
|
|
1331
|
+
<line num="132" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1332
|
+
<line num="133" count="0" type="stmt"/>
|
|
1333
|
+
<line num="136" count="95" type="cond" truecount="2" falsecount="0"/>
|
|
1334
|
+
<line num="138" count="95" type="stmt"/>
|
|
1335
|
+
<line num="147" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1336
|
+
<line num="148" count="1" type="stmt"/>
|
|
1337
|
+
<line num="151" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1338
|
+
<line num="152" count="84" type="stmt"/>
|
|
1339
|
+
<line num="155" count="95" type="stmt"/>
|
|
1340
|
+
<line num="159" count="18" type="stmt"/>
|
|
1341
|
+
<line num="164" count="90" type="stmt"/>
|
|
1342
|
+
<line num="171" count="90" type="stmt"/>
|
|
1343
|
+
<line num="174" count="18" type="stmt"/>
|
|
1344
|
+
<line num="176" count="90" type="cond" truecount="1" falsecount="0"/>
|
|
1345
|
+
<line num="177" count="90" type="stmt"/>
|
|
1346
|
+
<line num="178" count="90" type="cond" truecount="2" falsecount="1"/>
|
|
1347
|
+
<line num="179" count="0" type="stmt"/>
|
|
1348
|
+
<line num="184" count="90" type="cond" truecount="3" falsecount="0"/>
|
|
1349
|
+
<line num="185" count="90" type="stmt"/>
|
|
1350
|
+
<line num="186" count="90" type="cond" truecount="4" falsecount="0"/>
|
|
1351
|
+
<line num="187" count="1" type="stmt"/>
|
|
1352
|
+
<line num="192" count="96" type="stmt"/>
|
|
1353
|
+
<line num="197" count="94" type="cond" truecount="1" falsecount="0"/>
|
|
1354
|
+
<line num="198" count="87" type="stmt"/>
|
|
1355
|
+
<line num="200" count="94" type="cond" truecount="1" falsecount="0"/>
|
|
1356
|
+
<line num="201" count="87" type="stmt"/>
|
|
1402
1357
|
<line num="203" count="94" type="stmt"/>
|
|
1403
|
-
<line num="
|
|
1404
|
-
<line num="
|
|
1405
|
-
<line num="208" count="
|
|
1406
|
-
<line num="
|
|
1407
|
-
<line num="
|
|
1358
|
+
<line num="204" count="94" type="stmt"/>
|
|
1359
|
+
<line num="206" count="94" type="cond" truecount="1" falsecount="0"/>
|
|
1360
|
+
<line num="208" count="94" type="cond" truecount="1" falsecount="2"/>
|
|
1361
|
+
<line num="209" count="0" type="stmt"/>
|
|
1362
|
+
<line num="213" count="94" type="cond" truecount="1" falsecount="0"/>
|
|
1408
1363
|
<line num="215" count="13" type="stmt"/>
|
|
1409
|
-
<line num="216" count="
|
|
1410
|
-
<line num="217" count="
|
|
1411
|
-
<line num="
|
|
1412
|
-
<line num="
|
|
1413
|
-
<line num="
|
|
1414
|
-
<line num="
|
|
1415
|
-
<line num="
|
|
1416
|
-
<line num="232" count="82" type="
|
|
1417
|
-
<line num="233" count="
|
|
1418
|
-
<line num="
|
|
1419
|
-
<line num="
|
|
1420
|
-
<line num="
|
|
1421
|
-
<line num="242" count="
|
|
1364
|
+
<line num="216" count="13" type="stmt"/>
|
|
1365
|
+
<line num="217" count="12" type="cond" truecount="3" falsecount="0"/>
|
|
1366
|
+
<line num="218" count="1" type="stmt"/>
|
|
1367
|
+
<line num="220" count="11" type="stmt"/>
|
|
1368
|
+
<line num="222" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1369
|
+
<line num="225" count="1" type="stmt"/>
|
|
1370
|
+
<line num="230" count="93" type="cond" truecount="3" falsecount="0"/>
|
|
1371
|
+
<line num="232" count="82" type="stmt"/>
|
|
1372
|
+
<line num="233" count="82" type="cond" truecount="3" falsecount="0"/>
|
|
1373
|
+
<line num="234" count="3" type="stmt"/>
|
|
1374
|
+
<line num="238" count="90" type="stmt"/>
|
|
1375
|
+
<line num="240" count="89" type="stmt"/>
|
|
1376
|
+
<line num="242" count="89" type="cond" truecount="3" falsecount="0"/>
|
|
1422
1377
|
<line num="243" count="1" type="stmt"/>
|
|
1423
1378
|
<line num="244" count="1" type="stmt"/>
|
|
1424
|
-
<line num="
|
|
1425
|
-
<line num="250" count="89" type="
|
|
1426
|
-
<line num="251" count="
|
|
1427
|
-
<line num="
|
|
1428
|
-
<line num="254" count="
|
|
1379
|
+
<line num="245" count="1" type="stmt"/>
|
|
1380
|
+
<line num="250" count="89" type="stmt"/>
|
|
1381
|
+
<line num="251" count="89" type="cond" truecount="1" falsecount="0"/>
|
|
1382
|
+
<line num="252" count="77" type="stmt"/>
|
|
1383
|
+
<line num="254" count="77" type="cond" truecount="0" falsecount="1"/>
|
|
1429
1384
|
<line num="255" count="0" type="stmt"/>
|
|
1430
|
-
<line num="
|
|
1431
|
-
<line num="
|
|
1385
|
+
<line num="256" count="0" type="stmt"/>
|
|
1386
|
+
<line num="261" count="89" type="stmt"/>
|
|
1432
1387
|
<line num="263" count="89" type="stmt"/>
|
|
1433
|
-
<line num="
|
|
1388
|
+
<line num="264" count="89" type="stmt"/>
|
|
1434
1389
|
<line num="266" count="89" type="stmt"/>
|
|
1435
1390
|
<line num="267" count="89" type="stmt"/>
|
|
1436
|
-
<line num="
|
|
1391
|
+
<line num="268" count="89" type="stmt"/>
|
|
1437
1392
|
<line num="271" count="89" type="stmt"/>
|
|
1438
1393
|
<line num="273" count="89" type="stmt"/>
|
|
1439
|
-
<line num="
|
|
1440
|
-
<line num="
|
|
1394
|
+
<line num="275" count="89" type="stmt"/>
|
|
1395
|
+
<line num="281" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1441
1396
|
<line num="282" count="0" type="stmt"/>
|
|
1442
|
-
<line num="
|
|
1443
|
-
<line num="
|
|
1444
|
-
<line num="
|
|
1445
|
-
<line num="
|
|
1446
|
-
<line num="
|
|
1447
|
-
<line num="
|
|
1448
|
-
<line num="
|
|
1449
|
-
<line num="
|
|
1450
|
-
<line num="
|
|
1451
|
-
<line num="
|
|
1452
|
-
<line num="
|
|
1453
|
-
<line num="
|
|
1454
|
-
<line num="
|
|
1455
|
-
<line num="
|
|
1456
|
-
<line num="
|
|
1457
|
-
<line num="
|
|
1458
|
-
<line num="
|
|
1459
|
-
<line num="
|
|
1460
|
-
<line num="
|
|
1461
|
-
<line num="
|
|
1462
|
-
<line num="
|
|
1463
|
-
<line num="
|
|
1464
|
-
<line num="353" count="11" type="stmt"/>
|
|
1465
|
-
<line num="367" count="18" type="stmt"/>
|
|
1466
|
-
<line num="368" count="11" type="stmt"/>
|
|
1397
|
+
<line num="284" count="0" type="stmt"/>
|
|
1398
|
+
<line num="289" count="18" type="stmt"/>
|
|
1399
|
+
<line num="294" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1400
|
+
<line num="295" count="95" type="stmt"/>
|
|
1401
|
+
<line num="296" count="42" type="stmt"/>
|
|
1402
|
+
<line num="300" count="95" type="stmt"/>
|
|
1403
|
+
<line num="304" count="18" type="stmt"/>
|
|
1404
|
+
<line num="305" count="16" type="stmt"/>
|
|
1405
|
+
<line num="306" count="11" type="stmt"/>
|
|
1406
|
+
<line num="311" count="11" type="stmt"/>
|
|
1407
|
+
<line num="315" count="11" type="stmt"/>
|
|
1408
|
+
<line num="323" count="18" type="stmt"/>
|
|
1409
|
+
<line num="326" count="16" type="stmt"/>
|
|
1410
|
+
<line num="327" count="11" type="stmt"/>
|
|
1411
|
+
<line num="332" count="11" type="stmt"/>
|
|
1412
|
+
<line num="335" count="11" type="stmt"/>
|
|
1413
|
+
<line num="342" count="18" type="stmt"/>
|
|
1414
|
+
<line num="345" count="16" type="stmt"/>
|
|
1415
|
+
<line num="346" count="11" type="stmt"/>
|
|
1416
|
+
<line num="351" count="11" type="stmt"/>
|
|
1417
|
+
<line num="355" count="11" type="stmt"/>
|
|
1418
|
+
<line num="369" count="18" type="stmt"/>
|
|
1467
1419
|
<line num="370" count="11" type="stmt"/>
|
|
1468
|
-
<line num="
|
|
1420
|
+
<line num="372" count="11" type="stmt"/>
|
|
1469
1421
|
<line num="373" count="11" type="stmt"/>
|
|
1470
|
-
<line num="
|
|
1422
|
+
<line num="375" count="11" type="stmt"/>
|
|
1471
1423
|
<line num="376" count="11" type="stmt"/>
|
|
1472
|
-
<line num="
|
|
1424
|
+
<line num="378" count="11" type="stmt"/>
|
|
1473
1425
|
<line num="379" count="11" type="stmt"/>
|
|
1474
|
-
<line num="
|
|
1475
|
-
<line num="
|
|
1476
|
-
<line num="386" count="6" type="stmt"/>
|
|
1426
|
+
<line num="381" count="11" type="stmt"/>
|
|
1427
|
+
<line num="384" count="18" type="stmt"/>
|
|
1477
1428
|
<line num="388" count="6" type="stmt"/>
|
|
1478
|
-
<line num="
|
|
1479
|
-
<line num="391" count="
|
|
1480
|
-
<line num="
|
|
1481
|
-
<line num="
|
|
1429
|
+
<line num="390" count="6" type="stmt"/>
|
|
1430
|
+
<line num="391" count="6" type="stmt"/>
|
|
1431
|
+
<line num="393" count="10" type="stmt"/>
|
|
1432
|
+
<line num="394" count="6" type="stmt"/>
|
|
1482
1433
|
<line num="395" count="6" type="stmt"/>
|
|
1483
|
-
<line num="
|
|
1484
|
-
<line num="398" count="
|
|
1485
|
-
<line num="
|
|
1486
|
-
<line num="
|
|
1487
|
-
<line num="408" count="
|
|
1488
|
-
<line num="
|
|
1489
|
-
<line num="
|
|
1490
|
-
<line num="
|
|
1491
|
-
<line num="
|
|
1492
|
-
<line num="
|
|
1493
|
-
<line num="
|
|
1494
|
-
<line num="
|
|
1495
|
-
<line num="434" count="6" type="stmt"/>
|
|
1434
|
+
<line num="397" count="6" type="stmt"/>
|
|
1435
|
+
<line num="398" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
1436
|
+
<line num="400" count="6" type="stmt"/>
|
|
1437
|
+
<line num="404" count="4" type="stmt"/>
|
|
1438
|
+
<line num="408" count="4" type="stmt"/>
|
|
1439
|
+
<line num="410" count="6" type="stmt"/>
|
|
1440
|
+
<line num="411" count="6" type="stmt"/>
|
|
1441
|
+
<line num="415" count="6" type="stmt"/>
|
|
1442
|
+
<line num="416" count="6" type="stmt"/>
|
|
1443
|
+
<line num="428" count="6" type="stmt"/>
|
|
1444
|
+
<line num="429" count="6" type="stmt"/>
|
|
1445
|
+
<line num="432" count="6" type="stmt"/>
|
|
1496
1446
|
<line num="435" count="6" type="stmt"/>
|
|
1497
|
-
<line num="
|
|
1498
|
-
<line num="
|
|
1499
|
-
<line num="
|
|
1500
|
-
<line num="
|
|
1501
|
-
<line num="448" count="6" type="
|
|
1447
|
+
<line num="436" count="6" type="stmt"/>
|
|
1448
|
+
<line num="437" count="6" type="stmt"/>
|
|
1449
|
+
<line num="440" count="6" type="stmt"/>
|
|
1450
|
+
<line num="441" count="6" type="stmt"/>
|
|
1451
|
+
<line num="448" count="6" type="cond" truecount="3" falsecount="0"/>
|
|
1502
1452
|
<line num="449" count="6" type="stmt"/>
|
|
1503
|
-
<line num="450" count="
|
|
1504
|
-
<line num="
|
|
1505
|
-
<line num="
|
|
1506
|
-
<line num="
|
|
1507
|
-
<line num="
|
|
1508
|
-
<line num="
|
|
1509
|
-
<line num="
|
|
1510
|
-
<line num="
|
|
1511
|
-
<line num="
|
|
1512
|
-
<line num="
|
|
1513
|
-
<line num="
|
|
1514
|
-
<line num="
|
|
1515
|
-
<line num="
|
|
1516
|
-
<line num="
|
|
1517
|
-
<line num="483" count="
|
|
1518
|
-
<line num="484" count="2" type="stmt"/>
|
|
1453
|
+
<line num="450" count="6" type="stmt"/>
|
|
1454
|
+
<line num="451" count="6" type="stmt"/>
|
|
1455
|
+
<line num="452" count="0" type="stmt"/>
|
|
1456
|
+
<line num="454" count="6" type="stmt"/>
|
|
1457
|
+
<line num="457" count="6" type="stmt"/>
|
|
1458
|
+
<line num="466" count="18" type="stmt"/>
|
|
1459
|
+
<line num="469" count="2" type="cond" truecount="3" falsecount="0"/>
|
|
1460
|
+
<line num="470" count="2" type="stmt"/>
|
|
1461
|
+
<line num="471" count="2" type="stmt"/>
|
|
1462
|
+
<line num="472" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
1463
|
+
<line num="473" count="0" type="stmt"/>
|
|
1464
|
+
<line num="476" count="2" type="stmt"/>
|
|
1465
|
+
<line num="477" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1466
|
+
<line num="478" count="1" type="stmt"/>
|
|
1467
|
+
<line num="483" count="18" type="stmt"/>
|
|
1519
1468
|
<line num="486" count="2" type="stmt"/>
|
|
1520
|
-
<line num="
|
|
1521
|
-
<line num="
|
|
1522
|
-
<line num="
|
|
1469
|
+
<line num="488" count="2" type="stmt"/>
|
|
1470
|
+
<line num="494" count="2" type="stmt"/>
|
|
1471
|
+
<line num="495" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1523
1472
|
<line num="496" count="1" type="stmt"/>
|
|
1524
|
-
<line num="
|
|
1525
|
-
<line num="
|
|
1526
|
-
<line num="510" count="
|
|
1527
|
-
<line num="
|
|
1528
|
-
<line num="
|
|
1529
|
-
<line num="
|
|
1530
|
-
<line num="
|
|
1531
|
-
<line num="
|
|
1532
|
-
<line num="
|
|
1533
|
-
<line num="
|
|
1534
|
-
<line num="
|
|
1535
|
-
<line num="
|
|
1536
|
-
<line num="
|
|
1537
|
-
<line num="535" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1473
|
+
<line num="498" count="1" type="stmt"/>
|
|
1474
|
+
<line num="506" count="2" type="stmt"/>
|
|
1475
|
+
<line num="510" count="2" type="stmt"/>
|
|
1476
|
+
<line num="512" count="3" type="stmt"/>
|
|
1477
|
+
<line num="517" count="3" type="stmt"/>
|
|
1478
|
+
<line num="521" count="2" type="stmt"/>
|
|
1479
|
+
<line num="522" count="2" type="stmt"/>
|
|
1480
|
+
<line num="523" count="3" type="stmt"/>
|
|
1481
|
+
<line num="528" count="2" type="stmt"/>
|
|
1482
|
+
<line num="529" count="2" type="stmt"/>
|
|
1483
|
+
<line num="530" count="3" type="stmt"/>
|
|
1484
|
+
<line num="531" count="3" type="stmt"/>
|
|
1485
|
+
<line num="535" count="2" type="stmt"/>
|
|
1538
1486
|
<line num="536" count="3" type="stmt"/>
|
|
1539
|
-
<line num="
|
|
1540
|
-
<line num="
|
|
1541
|
-
<line num="
|
|
1542
|
-
<line num="
|
|
1543
|
-
<line num="551" count="
|
|
1487
|
+
<line num="537" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1488
|
+
<line num="538" count="3" type="stmt"/>
|
|
1489
|
+
<line num="540" count="0" type="stmt"/>
|
|
1490
|
+
<line num="548" count="2" type="stmt"/>
|
|
1491
|
+
<line num="551" count="18" type="stmt"/>
|
|
1544
1492
|
<line num="552" count="4" type="stmt"/>
|
|
1545
|
-
<line num="
|
|
1546
|
-
<line num="
|
|
1547
|
-
<line num="
|
|
1548
|
-
<line num="558" count="4" type="
|
|
1549
|
-
<line num="559" count="
|
|
1550
|
-
<line num="560" count="
|
|
1551
|
-
<line num="
|
|
1552
|
-
<line num="
|
|
1493
|
+
<line num="553" count="4" type="stmt"/>
|
|
1494
|
+
<line num="554" count="4" type="stmt"/>
|
|
1495
|
+
<line num="556" count="4" type="cond" truecount="3" falsecount="0"/>
|
|
1496
|
+
<line num="558" count="4" type="stmt"/>
|
|
1497
|
+
<line num="559" count="4" type="stmt"/>
|
|
1498
|
+
<line num="560" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
1499
|
+
<line num="561" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1500
|
+
<line num="562" count="0" type="stmt"/>
|
|
1501
|
+
<line num="564" count="1" type="stmt"/>
|
|
1553
1502
|
<line num="569" count="3" type="stmt"/>
|
|
1554
1503
|
<line num="571" count="3" type="stmt"/>
|
|
1555
|
-
<line num="572" count="3" type="stmt"/>
|
|
1556
1504
|
<line num="573" count="3" type="stmt"/>
|
|
1505
|
+
<line num="574" count="3" type="stmt"/>
|
|
1557
1506
|
<line num="575" count="3" type="stmt"/>
|
|
1558
|
-
<line num="
|
|
1559
|
-
<line num="
|
|
1560
|
-
<line num="580" count="3" type="stmt"/>
|
|
1507
|
+
<line num="577" count="3" type="stmt"/>
|
|
1508
|
+
<line num="580" count="18" type="stmt"/>
|
|
1561
1509
|
<line num="581" count="3" type="stmt"/>
|
|
1562
1510
|
<line num="582" count="3" type="stmt"/>
|
|
1563
1511
|
<line num="583" count="3" type="stmt"/>
|
|
1512
|
+
<line num="584" count="3" type="stmt"/>
|
|
1564
1513
|
<line num="585" count="3" type="stmt"/>
|
|
1565
|
-
<line num="
|
|
1566
|
-
<line num="590" count="
|
|
1567
|
-
<line num="
|
|
1568
|
-
<line num="
|
|
1569
|
-
<line num="
|
|
1570
|
-
<line num="
|
|
1571
|
-
<line num="
|
|
1572
|
-
<line num="
|
|
1573
|
-
<line num="
|
|
1574
|
-
<line num="
|
|
1575
|
-
<line num="
|
|
1576
|
-
<line num="
|
|
1577
|
-
<line num="
|
|
1578
|
-
<line num="
|
|
1579
|
-
<line num="
|
|
1580
|
-
<line num="
|
|
1581
|
-
<line num="
|
|
1582
|
-
<line num="
|
|
1583
|
-
<line num="623" count="4" type="stmt"/>
|
|
1584
|
-
<line num="624" count="4" type="stmt"/>
|
|
1514
|
+
<line num="587" count="3" type="stmt"/>
|
|
1515
|
+
<line num="590" count="18" type="stmt"/>
|
|
1516
|
+
<line num="593" count="5" type="stmt"/>
|
|
1517
|
+
<line num="598" count="6" type="stmt"/>
|
|
1518
|
+
<line num="599" count="5" type="stmt"/>
|
|
1519
|
+
<line num="602" count="5" type="stmt"/>
|
|
1520
|
+
<line num="603" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
1521
|
+
<line num="604" count="2" type="stmt"/>
|
|
1522
|
+
<line num="606" count="4" type="stmt"/>
|
|
1523
|
+
<line num="610" count="5" type="stmt"/>
|
|
1524
|
+
<line num="613" count="5" type="stmt"/>
|
|
1525
|
+
<line num="614" count="5" type="stmt"/>
|
|
1526
|
+
<line num="615" count="4" type="stmt"/>
|
|
1527
|
+
<line num="616" count="4" type="stmt"/>
|
|
1528
|
+
<line num="617" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
1529
|
+
<line num="618" count="2" type="stmt"/>
|
|
1530
|
+
<line num="620" count="4" type="stmt"/>
|
|
1531
|
+
<line num="621" count="4" type="stmt"/>
|
|
1585
1532
|
<line num="625" count="4" type="stmt"/>
|
|
1586
|
-
<line num="
|
|
1587
|
-
<line num="
|
|
1588
|
-
<line num="
|
|
1533
|
+
<line num="626" count="4" type="stmt"/>
|
|
1534
|
+
<line num="627" count="4" type="stmt"/>
|
|
1535
|
+
<line num="629" count="0" type="stmt"/>
|
|
1536
|
+
<line num="630" count="0" type="stmt"/>
|
|
1537
|
+
<line num="637" count="5" type="stmt"/>
|
|
1589
1538
|
</file>
|
|
1590
1539
|
</package>
|
|
1591
1540
|
<package name="src.tests">
|
|
1592
|
-
<metrics statements="
|
|
1541
|
+
<metrics statements="122" coveredstatements="111" conditionals="16" coveredconditionals="10" methods="48" coveredmethods="37"/>
|
|
1593
1542
|
<file name="TestConfiguration.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/TestConfiguration.ts">
|
|
1594
|
-
<metrics statements="
|
|
1543
|
+
<metrics statements="111" coveredstatements="100" conditionals="16" coveredconditionals="10" methods="37" coveredmethods="32"/>
|
|
1595
1544
|
<line num="1" count="18" type="stmt"/>
|
|
1596
1545
|
<line num="4" count="18" type="stmt"/>
|
|
1597
1546
|
<line num="5" count="18" type="stmt"/>
|
|
@@ -1602,18 +1551,15 @@
|
|
|
1602
1551
|
<line num="13" count="18" type="stmt"/>
|
|
1603
1552
|
<line num="14" count="18" type="stmt"/>
|
|
1604
1553
|
<line num="15" count="18" type="stmt"/>
|
|
1605
|
-
<line num="
|
|
1554
|
+
<line num="23" count="18" type="stmt"/>
|
|
1606
1555
|
<line num="24" count="18" type="stmt"/>
|
|
1607
1556
|
<line num="26" count="18" type="stmt"/>
|
|
1608
1557
|
<line num="28" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
1609
|
-
<line num="29" count="18" type="stmt"/>
|
|
1610
|
-
<line num="30" count="18" type="stmt"/>
|
|
1611
1558
|
<line num="46" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
1612
1559
|
<line num="47" count="18" type="stmt"/>
|
|
1613
1560
|
<line num="48" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1614
1561
|
<line num="49" count="0" type="stmt"/>
|
|
1615
1562
|
<line num="52" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
1616
|
-
<line num="53" count="18" type="stmt"/>
|
|
1617
1563
|
<line num="54" count="18" type="stmt"/>
|
|
1618
1564
|
<line num="56" count="18" type="stmt"/>
|
|
1619
1565
|
<line num="59" count="18" type="stmt"/>
|
|
@@ -1658,7 +1604,7 @@
|
|
|
1658
1604
|
<line num="148" count="6" type="stmt"/>
|
|
1659
1605
|
<line num="152" count="475" type="stmt"/>
|
|
1660
1606
|
<line num="153" count="475" type="stmt"/>
|
|
1661
|
-
<line num="155" count="
|
|
1607
|
+
<line num="155" count="407" type="stmt"/>
|
|
1662
1608
|
<line num="168" count="48" type="stmt"/>
|
|
1663
1609
|
<line num="176" count="48" type="stmt"/>
|
|
1664
1610
|
<line num="180" count="87" type="cond" truecount="0" falsecount="1"/>
|
|
@@ -1668,10 +1614,10 @@
|
|
|
1668
1614
|
<line num="194" count="86" type="stmt"/>
|
|
1669
1615
|
<line num="195" count="86" type="stmt"/>
|
|
1670
1616
|
<line num="203" count="78" type="stmt"/>
|
|
1671
|
-
<line num="204" count="78" type="cond" truecount="
|
|
1672
|
-
<line num="205" count="
|
|
1673
|
-
<line num="206" count="
|
|
1674
|
-
<line num="207" count="
|
|
1617
|
+
<line num="204" count="78" type="cond" truecount="1" falsecount="1"/>
|
|
1618
|
+
<line num="205" count="78" type="stmt"/>
|
|
1619
|
+
<line num="206" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1620
|
+
<line num="207" count="0" type="stmt"/>
|
|
1675
1621
|
<line num="209" count="0" type="stmt"/>
|
|
1676
1622
|
<line num="214" count="19" type="stmt"/>
|
|
1677
1623
|
<line num="217" count="18" type="stmt"/>
|
|
@@ -1708,27 +1654,25 @@
|
|
|
1708
1654
|
<line num="330" count="18" type="stmt"/>
|
|
1709
1655
|
</file>
|
|
1710
1656
|
<file name="controllers.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/controllers.ts">
|
|
1711
|
-
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="
|
|
1657
|
+
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="2"/>
|
|
1712
1658
|
<line num="1" count="18" type="stmt"/>
|
|
1713
1659
|
<line num="2" count="18" type="stmt"/>
|
|
1714
|
-
<line num="3" count="
|
|
1660
|
+
<line num="3" count="94" type="stmt"/>
|
|
1715
1661
|
<line num="4" count="18" type="stmt"/>
|
|
1716
|
-
<line num="5" count="
|
|
1662
|
+
<line num="5" count="64" type="stmt"/>
|
|
1717
1663
|
</file>
|
|
1718
1664
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/index.ts">
|
|
1719
|
-
<metrics statements="
|
|
1665
|
+
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="3"/>
|
|
1720
1666
|
<line num="1" count="18" type="stmt"/>
|
|
1721
1667
|
<line num="2" count="18" type="stmt"/>
|
|
1722
1668
|
<line num="3" count="18" type="stmt"/>
|
|
1723
|
-
<line num="4" count="
|
|
1669
|
+
<line num="4" count="65" type="stmt"/>
|
|
1724
1670
|
<line num="5" count="18" type="stmt"/>
|
|
1725
1671
|
<line num="6" count="18" type="stmt"/>
|
|
1726
|
-
<line num="8" count="18" type="stmt"/>
|
|
1727
|
-
<line num="18" count="18" type="stmt"/>
|
|
1728
1672
|
</file>
|
|
1729
1673
|
</package>
|
|
1730
1674
|
<package name="src.tests.api">
|
|
1731
|
-
<metrics statements="
|
|
1675
|
+
<metrics statements="184" coveredstatements="183" conditionals="49" coveredconditionals="38" methods="71" coveredmethods="70"/>
|
|
1732
1676
|
<file name="accounts.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/accounts.ts">
|
|
1733
1677
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
1734
1678
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -1760,13 +1704,13 @@
|
|
|
1760
1704
|
<line num="43" count="2" type="stmt"/>
|
|
1761
1705
|
</file>
|
|
1762
1706
|
<file name="base.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/base.ts">
|
|
1763
|
-
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="
|
|
1764
|
-
<line num="8" count="
|
|
1707
|
+
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
1708
|
+
<line num="8" count="270" type="stmt"/>
|
|
1765
1709
|
<line num="13" count="270" type="stmt"/>
|
|
1766
1710
|
<line num="14" count="270" type="stmt"/>
|
|
1767
1711
|
</file>
|
|
1768
1712
|
<file name="configs.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/configs.ts">
|
|
1769
|
-
<metrics statements="17" coveredstatements="17" conditionals="0" coveredconditionals="0" methods="
|
|
1713
|
+
<metrics statements="17" coveredstatements="17" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="7"/>
|
|
1770
1714
|
<line num="2" count="18" type="stmt"/>
|
|
1771
1715
|
<line num="4" count="18" type="stmt"/>
|
|
1772
1716
|
<line num="6" count="18" type="stmt"/>
|
|
@@ -1786,7 +1730,7 @@
|
|
|
1786
1730
|
<line num="43" count="2" type="stmt"/>
|
|
1787
1731
|
</file>
|
|
1788
1732
|
<file name="email.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/email.ts">
|
|
1789
|
-
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="
|
|
1733
|
+
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
1790
1734
|
<line num="2" count="18" type="stmt"/>
|
|
1791
1735
|
<line num="4" count="18" type="stmt"/>
|
|
1792
1736
|
<line num="6" count="18" type="stmt"/>
|
|
@@ -1794,7 +1738,7 @@
|
|
|
1794
1738
|
<line num="10" count="1" type="stmt"/>
|
|
1795
1739
|
</file>
|
|
1796
1740
|
<file name="environment.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/environment.ts">
|
|
1797
|
-
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="
|
|
1741
|
+
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
1798
1742
|
<line num="2" count="18" type="stmt"/>
|
|
1799
1743
|
<line num="4" count="18" type="stmt"/>
|
|
1800
1744
|
<line num="6" count="18" type="stmt"/>
|
|
@@ -1802,7 +1746,7 @@
|
|
|
1802
1746
|
<line num="10" count="1" type="stmt"/>
|
|
1803
1747
|
</file>
|
|
1804
1748
|
<file name="groups.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/groups.ts">
|
|
1805
|
-
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="
|
|
1749
|
+
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
1806
1750
|
<line num="3" count="18" type="stmt"/>
|
|
1807
1751
|
<line num="5" count="18" type="stmt"/>
|
|
1808
1752
|
<line num="7" count="18" type="stmt"/>
|
|
@@ -1812,7 +1756,7 @@
|
|
|
1812
1756
|
<line num="20" count="1" type="stmt"/>
|
|
1813
1757
|
</file>
|
|
1814
1758
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/index.ts">
|
|
1815
|
-
<metrics statements="31" coveredstatements="31" conditionals="0" coveredconditionals="0" methods="
|
|
1759
|
+
<metrics statements="31" coveredstatements="31" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
1816
1760
|
<line num="2" count="18" type="stmt"/>
|
|
1817
1761
|
<line num="3" count="18" type="stmt"/>
|
|
1818
1762
|
<line num="4" count="18" type="stmt"/>
|
|
@@ -1846,7 +1790,7 @@
|
|
|
1846
1790
|
<line num="49" count="18" type="stmt"/>
|
|
1847
1791
|
</file>
|
|
1848
1792
|
<file name="license.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/license.ts">
|
|
1849
|
-
<metrics statements="5" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="
|
|
1793
|
+
<metrics statements="5" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="2"/>
|
|
1850
1794
|
<line num="2" count="18" type="stmt"/>
|
|
1851
1795
|
<line num="4" count="18" type="stmt"/>
|
|
1852
1796
|
<line num="6" count="18" type="stmt"/>
|
|
@@ -1854,7 +1798,7 @@
|
|
|
1854
1798
|
<line num="10" count="0" type="stmt"/>
|
|
1855
1799
|
</file>
|
|
1856
1800
|
<file name="migrations.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/migrations.ts">
|
|
1857
|
-
<metrics statements="7" coveredstatements="7" conditionals="
|
|
1801
|
+
<metrics statements="7" coveredstatements="7" conditionals="8" coveredconditionals="8" methods="4" coveredmethods="4"/>
|
|
1858
1802
|
<line num="2" count="18" type="stmt"/>
|
|
1859
1803
|
<line num="4" count="18" type="stmt"/>
|
|
1860
1804
|
<line num="6" count="18" type="stmt"/>
|
|
@@ -1864,7 +1808,7 @@
|
|
|
1864
1808
|
<line num="17" count="2" type="stmt"/>
|
|
1865
1809
|
</file>
|
|
1866
1810
|
<file name="restore.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/restore.ts">
|
|
1867
|
-
<metrics statements="5" coveredstatements="5" conditionals="
|
|
1811
|
+
<metrics statements="5" coveredstatements="5" conditionals="2" coveredconditionals="2" methods="3" coveredmethods="3"/>
|
|
1868
1812
|
<line num="2" count="18" type="stmt"/>
|
|
1869
1813
|
<line num="4" count="18" type="stmt"/>
|
|
1870
1814
|
<line num="6" count="18" type="stmt"/>
|
|
@@ -1872,7 +1816,7 @@
|
|
|
1872
1816
|
<line num="10" count="2" type="stmt"/>
|
|
1873
1817
|
</file>
|
|
1874
1818
|
<file name="roles.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/roles.ts">
|
|
1875
|
-
<metrics statements="9" coveredstatements="9" conditionals="
|
|
1819
|
+
<metrics statements="9" coveredstatements="9" conditionals="6" coveredconditionals="3" methods="5" coveredmethods="5"/>
|
|
1876
1820
|
<line num="2" count="18" type="stmt"/>
|
|
1877
1821
|
<line num="4" count="18" type="stmt"/>
|
|
1878
1822
|
<line num="6" count="18" type="stmt"/>
|
|
@@ -1884,7 +1828,7 @@
|
|
|
1884
1828
|
<line num="26" count="1" type="stmt"/>
|
|
1885
1829
|
</file>
|
|
1886
1830
|
<file name="self.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/self.ts">
|
|
1887
|
-
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="
|
|
1831
|
+
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
1888
1832
|
<line num="3" count="18" type="stmt"/>
|
|
1889
1833
|
<line num="5" count="18" type="stmt"/>
|
|
1890
1834
|
<line num="7" count="18" type="stmt"/>
|
|
@@ -1894,7 +1838,7 @@
|
|
|
1894
1838
|
<line num="20" count="1" type="stmt"/>
|
|
1895
1839
|
</file>
|
|
1896
1840
|
<file name="status.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/status.ts">
|
|
1897
|
-
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="
|
|
1841
|
+
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
1898
1842
|
<line num="2" count="18" type="stmt"/>
|
|
1899
1843
|
<line num="4" count="18" type="stmt"/>
|
|
1900
1844
|
<line num="6" count="18" type="stmt"/>
|
|
@@ -1902,7 +1846,7 @@
|
|
|
1902
1846
|
<line num="10" count="2" type="stmt"/>
|
|
1903
1847
|
</file>
|
|
1904
1848
|
<file name="templates.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/templates.ts">
|
|
1905
|
-
<metrics statements="9" coveredstatements="9" conditionals="
|
|
1849
|
+
<metrics statements="9" coveredstatements="9" conditionals="12" coveredconditionals="6" methods="5" coveredmethods="5"/>
|
|
1906
1850
|
<line num="2" count="18" type="stmt"/>
|
|
1907
1851
|
<line num="4" count="18" type="stmt"/>
|
|
1908
1852
|
<line num="6" count="18" type="stmt"/>
|
|
@@ -1914,7 +1858,7 @@
|
|
|
1914
1858
|
<line num="24" count="1" type="stmt"/>
|
|
1915
1859
|
</file>
|
|
1916
1860
|
<file name="tenants.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/tenants.ts">
|
|
1917
|
-
<metrics statements="5" coveredstatements="5" conditionals="
|
|
1861
|
+
<metrics statements="5" coveredstatements="5" conditionals="2" coveredconditionals="2" methods="3" coveredmethods="3"/>
|
|
1918
1862
|
<line num="2" count="18" type="stmt"/>
|
|
1919
1863
|
<line num="4" count="18" type="stmt"/>
|
|
1920
1864
|
<line num="6" count="18" type="stmt"/>
|
|
@@ -1922,7 +1866,7 @@
|
|
|
1922
1866
|
<line num="10" count="3" type="stmt"/>
|
|
1923
1867
|
</file>
|
|
1924
1868
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/users.ts">
|
|
1925
|
-
<metrics statements="
|
|
1869
|
+
<metrics statements="40" coveredstatements="40" conditionals="19" coveredconditionals="17" methods="11" coveredmethods="11"/>
|
|
1926
1870
|
<line num="8" count="18" type="stmt"/>
|
|
1927
1871
|
<line num="9" count="18" type="stmt"/>
|
|
1928
1872
|
<line num="11" count="18" type="stmt"/>
|
|
@@ -1953,7 +1897,6 @@
|
|
|
1953
1897
|
<line num="83" count="3" type="stmt"/>
|
|
1954
1898
|
<line num="89" count="3" type="stmt"/>
|
|
1955
1899
|
<line num="94" count="18" type="stmt"/>
|
|
1956
|
-
<line num="97" count="6" type="stmt"/>
|
|
1957
1900
|
<line num="98" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
1958
1901
|
<line num="99" count="6" type="stmt"/>
|
|
1959
1902
|
<line num="105" count="6" type="stmt"/>
|
|
@@ -1967,98 +1910,100 @@
|
|
|
1967
1910
|
</file>
|
|
1968
1911
|
</package>
|
|
1969
1912
|
<package name="src.tests.mocks">
|
|
1970
|
-
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="
|
|
1913
|
+
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
1971
1914
|
<file name="email.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/mocks/email.ts">
|
|
1972
1915
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1973
|
-
<line num="1" count="
|
|
1916
|
+
<line num="1" count="4" type="stmt"/>
|
|
1974
1917
|
<line num="3" count="4" type="stmt"/>
|
|
1975
1918
|
<line num="4" count="4" type="stmt"/>
|
|
1976
1919
|
<line num="5" count="4" type="stmt"/>
|
|
1977
1920
|
<line num="9" count="4" type="stmt"/>
|
|
1978
1921
|
</file>
|
|
1979
1922
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/mocks/index.ts">
|
|
1980
|
-
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="
|
|
1923
|
+
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1981
1924
|
<line num="1" count="18" type="stmt"/>
|
|
1982
1925
|
<line num="2" count="18" type="stmt"/>
|
|
1983
|
-
<line num="4" count="
|
|
1926
|
+
<line num="4" count="52" type="stmt"/>
|
|
1984
1927
|
</file>
|
|
1985
1928
|
</package>
|
|
1986
1929
|
<package name="src.tests.structures">
|
|
1987
|
-
<metrics statements="35" coveredstatements="35" conditionals="0" coveredconditionals="0" methods="
|
|
1930
|
+
<metrics statements="35" coveredstatements="35" conditionals="0" coveredconditionals="0" methods="25" coveredmethods="24"/>
|
|
1988
1931
|
<file name="configs.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/structures/configs.ts">
|
|
1989
|
-
<metrics statements="12" coveredstatements="12" conditionals="0" coveredconditionals="0" methods="
|
|
1932
|
+
<metrics statements="12" coveredstatements="12" conditionals="0" coveredconditionals="0" methods="10" coveredmethods="10"/>
|
|
1990
1933
|
<line num="1" count="18" type="stmt"/>
|
|
1991
1934
|
<line num="2" count="18" type="stmt"/>
|
|
1992
|
-
<line num="4" count="
|
|
1935
|
+
<line num="4" count="8" type="stmt"/>
|
|
1993
1936
|
<line num="5" count="8" type="stmt"/>
|
|
1994
|
-
<line num="24" count="
|
|
1937
|
+
<line num="24" count="6" type="stmt"/>
|
|
1995
1938
|
<line num="25" count="6" type="stmt"/>
|
|
1996
|
-
<line num="36" count="
|
|
1939
|
+
<line num="36" count="12" type="stmt"/>
|
|
1997
1940
|
<line num="37" count="12" type="stmt"/>
|
|
1998
|
-
<line num="50" count="
|
|
1941
|
+
<line num="50" count="3" type="stmt"/>
|
|
1999
1942
|
<line num="51" count="3" type="stmt"/>
|
|
2000
|
-
<line num="66" count="
|
|
1943
|
+
<line num="66" count="12" type="stmt"/>
|
|
2001
1944
|
<line num="67" count="12" type="stmt"/>
|
|
2002
1945
|
</file>
|
|
2003
1946
|
<file name="groups.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/structures/groups.ts">
|
|
2004
|
-
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="
|
|
1947
|
+
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
2005
1948
|
<line num="1" count="18" type="stmt"/>
|
|
2006
1949
|
<line num="2" count="3" type="stmt"/>
|
|
2007
1950
|
<line num="10" count="3" type="stmt"/>
|
|
2008
1951
|
</file>
|
|
2009
1952
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/structures/index.ts">
|
|
2010
|
-
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="
|
|
1953
|
+
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
2011
1954
|
<line num="1" count="18" type="stmt"/>
|
|
2012
1955
|
<line num="2" count="18" type="stmt"/>
|
|
2013
1956
|
<line num="3" count="18" type="stmt"/>
|
|
2014
1957
|
<line num="4" count="18" type="stmt"/>
|
|
2015
1958
|
<line num="5" count="18" type="stmt"/>
|
|
2016
|
-
<line num="7" count="
|
|
1959
|
+
<line num="7" count="485" type="stmt"/>
|
|
2017
1960
|
<line num="8" count="18" type="stmt"/>
|
|
2018
|
-
<line num="9" count="
|
|
1961
|
+
<line num="9" count="134" type="stmt"/>
|
|
2019
1962
|
<line num="11" count="18" type="stmt"/>
|
|
2020
|
-
<line num="22" count="
|
|
1963
|
+
<line num="22" count="152" type="stmt"/>
|
|
2021
1964
|
</file>
|
|
2022
1965
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/structures/users.ts">
|
|
2023
|
-
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="
|
|
1966
|
+
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="9" coveredmethods="8"/>
|
|
2024
1967
|
<line num="1" count="18" type="stmt"/>
|
|
2025
1968
|
<line num="3" count="18" type="stmt"/>
|
|
2026
1969
|
<line num="5" count="18" type="stmt"/>
|
|
2027
1970
|
<line num="6" count="85" type="stmt"/>
|
|
2028
|
-
<line num="9" count="
|
|
1971
|
+
<line num="9" count="31" type="stmt"/>
|
|
2029
1972
|
<line num="10" count="81" type="stmt"/>
|
|
2030
|
-
<line num="18" count="
|
|
1973
|
+
<line num="18" count="42" type="stmt"/>
|
|
2031
1974
|
<line num="19" count="42" type="stmt"/>
|
|
2032
1975
|
<line num="30" count="18" type="stmt"/>
|
|
2033
1976
|
<line num="31" count="8" type="stmt"/>
|
|
2034
1977
|
</file>
|
|
2035
1978
|
</package>
|
|
2036
1979
|
<package name="src.utilities">
|
|
2037
|
-
<metrics statements="
|
|
1980
|
+
<metrics statements="161" coveredstatements="130" conditionals="74" coveredconditionals="45" methods="32" coveredmethods="30"/>
|
|
2038
1981
|
<file name="appService.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/appService.ts">
|
|
2039
|
-
<metrics statements="
|
|
1982
|
+
<metrics statements="21" coveredstatements="10" conditionals="6" coveredconditionals="2" methods="2" coveredmethods="2"/>
|
|
2040
1983
|
<line num="1" count="18" type="stmt"/>
|
|
2041
1984
|
<line num="2" count="18" type="stmt"/>
|
|
2042
1985
|
<line num="3" count="18" type="stmt"/>
|
|
2043
1986
|
<line num="4" count="18" type="stmt"/>
|
|
2044
|
-
<line num="
|
|
2045
|
-
<line num="
|
|
2046
|
-
<line num="10" count="0" type="stmt"/>
|
|
1987
|
+
<line num="8" count="101" type="cond" truecount="1" falsecount="0"/>
|
|
1988
|
+
<line num="9" count="101" type="stmt"/>
|
|
2047
1989
|
<line num="11" count="0" type="stmt"/>
|
|
2048
|
-
<line num="12" count="0" type="
|
|
2049
|
-
<line num="13" count="0" type="
|
|
2050
|
-
<line num="
|
|
2051
|
-
<line num="16" count="0" type="
|
|
1990
|
+
<line num="12" count="0" type="stmt"/>
|
|
1991
|
+
<line num="13" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1992
|
+
<line num="14" count="0" type="stmt"/>
|
|
1993
|
+
<line num="16" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
2052
1994
|
<line num="17" count="0" type="stmt"/>
|
|
2053
|
-
<line num="
|
|
1995
|
+
<line num="18" count="0" type="stmt"/>
|
|
2054
1996
|
<line num="20" count="0" type="stmt"/>
|
|
2055
|
-
<line num="23" count="
|
|
2056
|
-
<line num="
|
|
2057
|
-
<line num="
|
|
2058
|
-
<line num="
|
|
1997
|
+
<line num="23" count="0" type="stmt"/>
|
|
1998
|
+
<line num="25" count="0" type="stmt"/>
|
|
1999
|
+
<line num="28" count="101" type="stmt"/>
|
|
2000
|
+
<line num="29" count="101" type="stmt"/>
|
|
2001
|
+
<line num="33" count="101" type="stmt"/>
|
|
2002
|
+
<line num="38" count="101" type="cond" truecount="1" falsecount="2"/>
|
|
2003
|
+
<line num="39" count="0" type="stmt"/>
|
|
2059
2004
|
</file>
|
|
2060
2005
|
<file name="email.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/email.ts">
|
|
2061
|
-
<metrics statements="72" coveredstatements="60" conditionals="
|
|
2006
|
+
<metrics statements="72" coveredstatements="60" conditionals="45" coveredconditionals="27" methods="10" coveredmethods="10"/>
|
|
2062
2007
|
<line num="1" count="18" type="stmt"/>
|
|
2063
2008
|
<line num="2" count="18" type="stmt"/>
|
|
2064
2009
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -2105,46 +2050,46 @@
|
|
|
2105
2050
|
<line num="159" count="9" type="stmt"/>
|
|
2106
2051
|
<line num="163" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
2107
2052
|
<line num="164" count="0" type="stmt"/>
|
|
2108
|
-
<line num="181" count="
|
|
2053
|
+
<line num="181" count="2" type="stmt"/>
|
|
2109
2054
|
<line num="183" count="2" type="cond" truecount="2" falsecount="1"/>
|
|
2110
2055
|
<line num="184" count="0" type="stmt"/>
|
|
2111
2056
|
<line num="186" count="2" type="stmt"/>
|
|
2112
2057
|
<line num="187" count="2" type="stmt"/>
|
|
2113
2058
|
<line num="188" count="2" type="stmt"/>
|
|
2114
|
-
<line num="200" count="
|
|
2059
|
+
<line num="200" count="7" type="stmt"/>
|
|
2115
2060
|
<line num="205" count="7" type="stmt"/>
|
|
2116
|
-
<line num="207" count="7" type="cond" truecount="
|
|
2061
|
+
<line num="207" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
2117
2062
|
<line num="208" count="7" type="cond" truecount="1" falsecount="2"/>
|
|
2118
2063
|
<line num="209" count="0" type="stmt"/>
|
|
2119
2064
|
<line num="211" count="7" type="stmt"/>
|
|
2120
|
-
<line num="213" count="7" type="
|
|
2065
|
+
<line num="213" count="7" type="stmt"/>
|
|
2121
2066
|
<line num="215" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
2122
2067
|
<line num="216" count="7" type="stmt"/>
|
|
2123
2068
|
<line num="219" count="7" type="stmt"/>
|
|
2124
2069
|
<line num="227" count="7" type="stmt"/>
|
|
2125
|
-
<line num="234" count="7" type="cond" truecount="
|
|
2070
|
+
<line num="234" count="7" type="cond" truecount="3" falsecount="0"/>
|
|
2126
2071
|
<line num="235" count="7" type="stmt"/>
|
|
2127
2072
|
<line num="240" count="7" type="stmt"/>
|
|
2128
2073
|
<line num="241" count="7" type="cond" truecount="0" falsecount="1"/>
|
|
2129
2074
|
<line num="242" count="0" type="stmt"/>
|
|
2130
2075
|
<line num="244" count="7" type="stmt"/>
|
|
2131
|
-
<line num="252" count="
|
|
2076
|
+
<line num="252" count="15" type="stmt"/>
|
|
2132
2077
|
<line num="253" count="15" type="stmt"/>
|
|
2133
2078
|
<line num="254" count="15" type="stmt"/>
|
|
2134
2079
|
</file>
|
|
2135
2080
|
<file name="fileSystem.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/fileSystem.ts">
|
|
2136
2081
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
2137
2082
|
<line num="1" count="18" type="stmt"/>
|
|
2138
|
-
<line num="3" count="
|
|
2083
|
+
<line num="3" count="90" type="stmt"/>
|
|
2139
2084
|
<line num="4" count="90" type="stmt"/>
|
|
2140
2085
|
</file>
|
|
2141
2086
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/index.ts">
|
|
2142
2087
|
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
2143
|
-
<line num="7" count="
|
|
2088
|
+
<line num="7" count="21" type="stmt"/>
|
|
2144
2089
|
<line num="8" count="21" type="stmt"/>
|
|
2145
2090
|
</file>
|
|
2146
2091
|
<file name="redis.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/redis.ts">
|
|
2147
|
-
<metrics statements="39" coveredstatements="
|
|
2092
|
+
<metrics statements="39" coveredstatements="32" conditionals="11" coveredconditionals="7" methods="16" coveredmethods="14"/>
|
|
2148
2093
|
<line num="1" count="18" type="stmt"/>
|
|
2149
2094
|
<line num="4" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
2150
2095
|
<line num="7" count="2" type="stmt"/>
|
|
@@ -2168,19 +2113,19 @@
|
|
|
2168
2113
|
<line num="46" count="18" type="stmt"/>
|
|
2169
2114
|
<line num="47" count="18" type="stmt"/>
|
|
2170
2115
|
<line num="48" count="18" type="stmt"/>
|
|
2171
|
-
<line num="54" count="
|
|
2116
|
+
<line num="54" count="0" type="stmt"/>
|
|
2172
2117
|
<line num="55" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
2173
2118
|
<line num="56" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
2174
2119
|
<line num="57" count="0" type="stmt"/>
|
|
2175
|
-
<line num="67" count="
|
|
2120
|
+
<line num="67" count="2" type="stmt"/>
|
|
2176
2121
|
<line num="68" count="2" type="stmt"/>
|
|
2177
|
-
<line num="77" count="
|
|
2122
|
+
<line num="77" count="1" type="stmt"/>
|
|
2178
2123
|
<line num="81" count="1" type="stmt"/>
|
|
2179
2124
|
<line num="82" count="1" type="stmt"/>
|
|
2180
2125
|
<line num="84" count="0" type="stmt"/>
|
|
2181
|
-
<line num="94" count="
|
|
2126
|
+
<line num="94" count="5" type="stmt"/>
|
|
2182
2127
|
<line num="95" count="5" type="stmt"/>
|
|
2183
|
-
<line num="104" count="
|
|
2128
|
+
<line num="104" count="1" type="stmt"/>
|
|
2184
2129
|
<line num="108" count="1" type="stmt"/>
|
|
2185
2130
|
<line num="109" count="1" type="stmt"/>
|
|
2186
2131
|
<line num="111" count="0" type="stmt"/>
|
|
@@ -2188,10 +2133,10 @@
|
|
|
2188
2133
|
<file name="templates.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/templates.ts">
|
|
2189
2134
|
<metrics statements="17" coveredstatements="17" conditionals="10" coveredconditionals="7" methods="1" coveredmethods="1"/>
|
|
2190
2135
|
<line num="1" count="18" type="stmt"/>
|
|
2191
|
-
<line num="
|
|
2136
|
+
<line num="7" count="18" type="stmt"/>
|
|
2192
2137
|
<line num="8" count="18" type="stmt"/>
|
|
2193
2138
|
<line num="9" count="18" type="stmt"/>
|
|
2194
|
-
<line num="11" count="
|
|
2139
|
+
<line num="11" count="7" type="stmt"/>
|
|
2195
2140
|
<line num="15" count="7" type="stmt"/>
|
|
2196
2141
|
<line num="18" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
2197
2142
|
<line num="19" count="7" type="stmt"/>
|
|
@@ -2208,7 +2153,7 @@
|
|
|
2208
2153
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/users.ts">
|
|
2209
2154
|
<metrics statements="7" coveredstatements="6" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
|
|
2210
2155
|
<line num="1" count="18" type="stmt"/>
|
|
2211
|
-
<line num="3" count="
|
|
2156
|
+
<line num="3" count="10" type="stmt"/>
|
|
2212
2157
|
<line num="4" count="10" type="stmt"/>
|
|
2213
2158
|
<line num="5" count="10" type="stmt"/>
|
|
2214
2159
|
<line num="6" count="10" type="stmt"/>
|