@budibase/worker 2.1.22-alpha.5 → 2.1.22-alpha.6
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/__mocks__/oauth.ts +57 -0
- package/coverage/clover.xml +1093 -1033
- package/coverage/coverage-final.json +77 -72
- package/coverage/lcov-report/index.html +83 -83
- package/coverage/lcov-report/src/api/controllers/global/auth.ts.html +70 -70
- package/coverage/lcov-report/src/api/controllers/global/configs.js.html +35 -35
- package/coverage/lcov-report/src/api/controllers/global/email.js.html +4 -4
- package/coverage/lcov-report/src/api/controllers/global/index.html +38 -38
- package/coverage/lcov-report/src/api/controllers/global/license.ts.html +7 -7
- package/coverage/lcov-report/src/api/controllers/global/roles.js.html +10 -10
- package/coverage/lcov-report/src/api/controllers/global/self.ts.html +58 -58
- package/coverage/lcov-report/src/api/controllers/global/templates.ts.html +11 -11
- package/coverage/lcov-report/src/api/controllers/global/users.ts.html +75 -69
- package/coverage/lcov-report/src/api/controllers/global/workspaces.js.html +7 -7
- package/coverage/lcov-report/src/api/controllers/system/accounts.ts.html +4 -4
- package/coverage/lcov-report/src/api/controllers/system/{environment.js.html → environment.ts.html} +21 -18
- package/coverage/lcov-report/src/api/controllers/system/index.html +63 -63
- package/coverage/lcov-report/src/api/controllers/system/migrations.ts.html +23 -23
- package/coverage/lcov-report/src/api/controllers/system/restore.ts.html +22 -22
- package/coverage/lcov-report/src/api/controllers/system/{status.js.html → status.ts.html} +29 -26
- package/coverage/lcov-report/src/api/controllers/system/tenants.ts.html +34 -163
- package/coverage/lcov-report/src/api/index.html +11 -11
- package/coverage/lcov-report/src/api/index.ts.html +113 -44
- package/coverage/lcov-report/src/api/routes/global/auth.js.html +38 -89
- package/coverage/lcov-report/src/api/routes/global/configs.js.html +17 -17
- package/coverage/lcov-report/src/api/routes/global/email.js.html +11 -11
- package/coverage/lcov-report/src/api/routes/global/index.html +11 -11
- package/coverage/lcov-report/src/api/routes/global/license.ts.html +6 -6
- package/coverage/lcov-report/src/api/routes/global/roles.js.html +7 -7
- package/coverage/lcov-report/src/api/routes/global/self.ts.html +8 -8
- package/coverage/lcov-report/src/api/routes/global/templates.ts.html +11 -11
- package/coverage/lcov-report/src/api/routes/global/users.js.html +17 -17
- package/coverage/lcov-report/src/api/routes/global/workspaces.js.html +10 -10
- package/coverage/lcov-report/src/api/routes/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/index.ts.html +19 -19
- package/coverage/lcov-report/src/api/routes/system/accounts.ts.html +7 -7
- package/coverage/lcov-report/src/api/routes/system/{environment.js.html → environment.ts.html} +11 -11
- package/coverage/lcov-report/src/api/routes/system/index.html +4 -4
- package/coverage/lcov-report/src/api/routes/system/migrations.ts.html +7 -7
- package/coverage/lcov-report/src/api/routes/system/restore.ts.html +6 -6
- package/coverage/lcov-report/src/api/routes/system/{status.js.html → status.ts.html} +11 -11
- package/coverage/lcov-report/src/api/routes/system/{tenants.js.html → tenants.ts.html} +20 -17
- package/coverage/lcov-report/src/api/routes/validation/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/validation/index.ts.html +2 -2
- package/coverage/lcov-report/src/api/routes/validation/users.ts.html +13 -13
- package/coverage/lcov-report/src/constants/index.html +1 -1
- package/coverage/lcov-report/src/constants/index.js.html +18 -18
- package/coverage/lcov-report/src/constants/templates/index.html +1 -1
- package/coverage/lcov-report/src/constants/templates/index.js.html +10 -10
- package/coverage/lcov-report/src/db/index.html +1 -1
- package/coverage/lcov-report/src/db/index.ts.html +8 -8
- package/coverage/lcov-report/src/environment.ts.html +15 -15
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +40 -40
- package/coverage/lcov-report/src/middleware/cloudRestricted.js.html +22 -22
- package/coverage/lcov-report/src/middleware/index.html +21 -21
- package/coverage/lcov-report/src/migrations/functions/globalInfoSyncUsers.ts.html +3 -3
- package/coverage/lcov-report/src/migrations/functions/index.html +1 -1
- package/coverage/lcov-report/src/migrations/index.html +1 -1
- package/coverage/lcov-report/src/migrations/index.ts.html +17 -17
- package/coverage/lcov-report/src/sdk/accounts/accounts.ts.html +6 -6
- package/coverage/lcov-report/src/sdk/accounts/index.html +1 -1
- package/coverage/lcov-report/src/sdk/accounts/index.ts.html +2 -2
- package/coverage/lcov-report/src/sdk/index.html +1 -1
- package/coverage/lcov-report/src/sdk/index.ts.html +4 -4
- package/coverage/lcov-report/src/sdk/users/events.ts.html +43 -43
- package/coverage/lcov-report/src/sdk/users/index.html +19 -19
- package/coverage/lcov-report/src/sdk/users/index.ts.html +2 -2
- package/coverage/lcov-report/src/sdk/users/users.ts.html +99 -99
- package/coverage/lcov-report/src/tests/TestConfiguration.ts.html +261 -123
- package/coverage/lcov-report/src/tests/api/accounts.ts.html +12 -21
- package/coverage/lcov-report/src/tests/api/auth.ts.html +11 -20
- package/coverage/lcov-report/src/tests/api/base.ts.html +133 -0
- package/coverage/lcov-report/src/tests/api/configs.ts.html +44 -23
- package/coverage/lcov-report/src/tests/api/email.ts.html +9 -18
- package/coverage/lcov-report/src/tests/api/environment.ts.html +130 -0
- package/coverage/lcov-report/src/tests/api/index.html +106 -16
- package/coverage/lcov-report/src/tests/api/index.ts.html +62 -17
- package/coverage/lcov-report/src/tests/{structures/accounts.ts.html → api/migrations.ts.html} +31 -37
- package/coverage/lcov-report/src/tests/api/restore.ts.html +127 -0
- package/coverage/lcov-report/src/tests/api/self.ts.html +31 -16
- package/coverage/lcov-report/src/tests/api/status.ts.html +121 -0
- package/coverage/lcov-report/src/tests/api/tenants.ts.html +130 -0
- package/coverage/lcov-report/src/tests/api/users.ts.html +121 -25
- package/coverage/lcov-report/src/tests/controllers.js.html +2 -2
- package/coverage/lcov-report/src/tests/index.html +20 -20
- package/coverage/lcov-report/src/tests/index.ts.html +21 -9
- package/coverage/lcov-report/src/tests/mocks/email.js.html +2 -2
- package/coverage/lcov-report/src/tests/mocks/index.html +1 -1
- package/coverage/lcov-report/src/tests/mocks/index.ts.html +4 -4
- package/coverage/lcov-report/src/tests/structures/configs.js.html +8 -8
- package/coverage/lcov-report/src/tests/structures/groups.ts.html +2 -2
- package/coverage/lcov-report/src/tests/structures/index.html +9 -24
- package/coverage/lcov-report/src/tests/structures/index.ts.html +21 -15
- package/coverage/lcov-report/src/tests/structures/users.ts.html +13 -10
- package/coverage/lcov-report/src/utilities/appService.js.html +11 -11
- package/coverage/lcov-report/src/utilities/email.js.html +16 -16
- package/coverage/lcov-report/src/utilities/fileSystem.js.html +4 -4
- package/coverage/lcov-report/src/utilities/index.html +1 -1
- package/coverage/lcov-report/src/utilities/index.js.html +2 -2
- package/coverage/lcov-report/src/utilities/redis.js.html +13 -13
- package/coverage/lcov-report/src/utilities/templates.js.html +7 -7
- package/coverage/lcov-report/src/utilities/users.js.html +8 -8
- package/coverage/lcov.info +1685 -1511
- package/package.json +8 -6
- package/scripts/localdomain.js +33 -7
- package/src/api/controllers/global/auth.ts +1 -1
- package/src/api/controllers/global/users.ts +3 -1
- package/src/api/controllers/system/{environment.js → environment.ts} +3 -2
- package/src/api/controllers/system/{status.js → status.ts} +4 -3
- package/src/api/controllers/system/tenants.ts +8 -51
- package/src/api/index.ts +29 -6
- package/src/api/routes/global/auth.js +22 -39
- package/src/api/routes/global/tests/auth.spec.ts +134 -64
- package/src/api/routes/global/tests/configs.spec.ts +5 -6
- package/src/api/routes/global/tests/email.spec.ts +4 -3
- package/src/api/routes/global/tests/license.spec.ts +31 -0
- package/src/api/routes/global/tests/realEmail.spec.ts +2 -3
- package/src/api/routes/global/tests/roles.spec.ts +27 -0
- package/src/api/routes/global/tests/self.spec.ts +3 -4
- package/src/api/routes/global/tests/templates.spec.ts +35 -0
- package/src/api/routes/global/tests/users.spec.ts +51 -43
- package/src/api/routes/global/tests/workspaces.spec.ts +29 -0
- package/src/api/routes/system/environment.ts +8 -0
- package/src/api/routes/system/status.ts +8 -0
- package/src/api/routes/system/tenants.ts +13 -0
- package/src/api/routes/system/tests/accounts.spec.ts +5 -6
- package/src/api/routes/system/tests/environment.spec.ts +29 -0
- package/src/api/routes/system/tests/migrations.spec.ts +63 -0
- package/src/api/routes/system/tests/restore.spec.ts +36 -0
- package/src/api/routes/system/tests/status.spec.ts +48 -0
- package/src/api/routes/system/tests/tenants.spec.ts +61 -0
- package/src/middleware/tests/tenancy.spec.ts +73 -0
- package/src/tests/TestConfiguration.ts +88 -42
- package/src/tests/api/accounts.ts +5 -8
- package/src/tests/api/auth.ts +3 -6
- package/src/tests/api/base.ts +16 -0
- package/src/tests/api/configs.ts +15 -8
- package/src/tests/api/email.ts +3 -6
- package/src/tests/api/environment.ts +15 -0
- package/src/tests/api/index.ts +15 -0
- package/src/tests/api/migrations.ts +22 -0
- package/src/tests/api/restore.ts +14 -0
- package/src/tests/api/self.ts +11 -6
- package/src/tests/api/status.ts +12 -0
- package/src/tests/api/tenants.ts +15 -0
- package/src/tests/api/users.ts +38 -6
- package/src/tests/index.ts +4 -0
- package/src/tests/jestSetup.ts +7 -1
- package/src/tests/structures/index.ts +4 -2
- package/src/tests/structures/users.ts +1 -0
- package/__mocks__/node-fetch.ts +0 -1
- package/src/api/routes/system/environment.js +0 -8
- package/src/api/routes/system/status.js +0 -8
- package/src/api/routes/system/tenants.js +0 -12
- package/src/tests/structures/accounts.ts +0 -24
package/coverage/clover.xml
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1668605467465" clover="3.2.0">
|
|
3
|
+
<project timestamp="1668605467465" name="All files">
|
|
4
|
+
<metrics statements="1836" coveredstatements="1464" conditionals="559" coveredconditionals="377" methods="417" coveredmethods="313" elements="2812" coveredelements="2154" complexity="0" loc="1836" ncloc="1836" packages="22" files="77" classes="77"/>
|
|
5
5
|
<package name="src">
|
|
6
6
|
<metrics statements="80" coveredstatements="53" conditionals="26" coveredconditionals="17" methods="16" coveredmethods="7"/>
|
|
7
7
|
<file name="environment.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/environment.ts">
|
|
8
8
|
<metrics statements="19" coveredstatements="14" conditionals="20" coveredconditionals="16" methods="5" coveredmethods="5"/>
|
|
9
|
-
<line num="1" count="
|
|
10
|
-
<line num="4" count="
|
|
11
|
-
<line num="8" count="
|
|
12
|
-
<line num="15" count="
|
|
13
|
-
<line num="16" count="
|
|
9
|
+
<line num="1" count="17" type="stmt"/>
|
|
10
|
+
<line num="4" count="52" type="stmt"/>
|
|
11
|
+
<line num="8" count="146" type="stmt"/>
|
|
12
|
+
<line num="15" count="17" type="stmt"/>
|
|
13
|
+
<line num="16" count="17" type="cond" truecount="3" falsecount="1"/>
|
|
14
14
|
<line num="17" count="0" type="stmt"/>
|
|
15
15
|
<line num="20" count="0" type="stmt"/>
|
|
16
|
-
<line num="24" count="
|
|
16
|
+
<line num="24" count="17" type="cond" truecount="0" falsecount="1"/>
|
|
17
17
|
<line num="25" count="0" type="stmt"/>
|
|
18
|
-
<line num="29" count="
|
|
19
|
-
<line num="69" count="
|
|
20
|
-
<line num="70" count="
|
|
21
|
-
<line num="75" count="
|
|
22
|
-
<line num="80" count="
|
|
23
|
-
<line num="81" count="
|
|
24
|
-
<line num="85" count="
|
|
18
|
+
<line num="29" count="17" type="stmt"/>
|
|
19
|
+
<line num="69" count="237" type="stmt"/>
|
|
20
|
+
<line num="70" count="237" type="stmt"/>
|
|
21
|
+
<line num="75" count="17" type="stmt"/>
|
|
22
|
+
<line num="80" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
23
|
+
<line num="81" count="17" type="cond" truecount="1" falsecount="1"/>
|
|
24
|
+
<line num="85" count="17" type="stmt"/>
|
|
25
25
|
<line num="87" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
26
26
|
<line num="89" count="0" type="stmt"/>
|
|
27
|
-
<line num="93" count="
|
|
27
|
+
<line num="93" count="17" type="stmt"/>
|
|
28
28
|
</file>
|
|
29
29
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/index.ts">
|
|
30
30
|
<metrics statements="61" coveredstatements="39" conditionals="6" coveredconditionals="1" methods="11" coveredmethods="2"/>
|
|
31
|
-
<line num="2" count="
|
|
32
|
-
<line num="5" count="
|
|
31
|
+
<line num="2" count="17" type="stmt"/>
|
|
32
|
+
<line num="5" count="17" type="cond" truecount="0" falsecount="1"/>
|
|
33
33
|
<line num="6" count="0" type="stmt"/>
|
|
34
|
-
<line num="15" count="
|
|
35
|
-
<line num="16" count="
|
|
36
|
-
<line num="17" count="
|
|
37
|
-
<line num="18" count="
|
|
38
|
-
<line num="19" count="
|
|
39
|
-
<line num="20" count="
|
|
40
|
-
<line num="21" count="
|
|
41
|
-
<line num="22" count="
|
|
42
|
-
<line num="23" count="
|
|
43
|
-
<line num="24" count="
|
|
44
|
-
<line num="25" count="
|
|
45
|
-
<line num="26" count="
|
|
46
|
-
<line num="27" count="
|
|
47
|
-
<line num="28" count="
|
|
48
|
-
<line num="29" count="
|
|
49
|
-
<line num="32" count="
|
|
50
|
-
<line num="34" count="
|
|
51
|
-
<line num="36" count="
|
|
52
|
-
<line num="39" count="
|
|
53
|
-
<line num="40" count="
|
|
54
|
-
<line num="41" count="
|
|
55
|
-
<line num="44" count="
|
|
56
|
-
<line num="45" count="
|
|
57
|
-
<line num="48" count="
|
|
58
|
-
<line num="51" count="
|
|
34
|
+
<line num="15" count="17" type="stmt"/>
|
|
35
|
+
<line num="16" count="17" type="stmt"/>
|
|
36
|
+
<line num="17" count="17" type="stmt"/>
|
|
37
|
+
<line num="18" count="17" type="stmt"/>
|
|
38
|
+
<line num="19" count="17" type="stmt"/>
|
|
39
|
+
<line num="20" count="17" type="stmt"/>
|
|
40
|
+
<line num="21" count="17" type="stmt"/>
|
|
41
|
+
<line num="22" count="17" type="stmt"/>
|
|
42
|
+
<line num="23" count="17" type="stmt"/>
|
|
43
|
+
<line num="24" count="17" type="stmt"/>
|
|
44
|
+
<line num="25" count="17" type="stmt"/>
|
|
45
|
+
<line num="26" count="17" type="stmt"/>
|
|
46
|
+
<line num="27" count="17" type="stmt"/>
|
|
47
|
+
<line num="28" count="17" type="stmt"/>
|
|
48
|
+
<line num="29" count="17" type="stmt"/>
|
|
49
|
+
<line num="32" count="17" type="stmt"/>
|
|
50
|
+
<line num="34" count="17" type="stmt"/>
|
|
51
|
+
<line num="36" count="17" type="stmt"/>
|
|
52
|
+
<line num="39" count="17" type="stmt"/>
|
|
53
|
+
<line num="40" count="17" type="stmt"/>
|
|
54
|
+
<line num="41" count="17" type="stmt"/>
|
|
55
|
+
<line num="44" count="17" type="stmt"/>
|
|
56
|
+
<line num="45" count="17" type="stmt"/>
|
|
57
|
+
<line num="48" count="17" type="stmt"/>
|
|
58
|
+
<line num="51" count="17" type="cond" truecount="0" falsecount="1"/>
|
|
59
59
|
<line num="52" count="0" type="stmt"/>
|
|
60
60
|
<line num="54" count="0" type="stmt"/>
|
|
61
61
|
<line num="55" count="0" type="stmt"/>
|
|
62
62
|
<line num="56" count="0" type="stmt"/>
|
|
63
63
|
<line num="57" count="0" type="stmt"/>
|
|
64
64
|
<line num="59" count="0" type="stmt"/>
|
|
65
|
-
<line num="64" count="
|
|
66
|
-
<line num="65" count="
|
|
67
|
-
<line num="67" count="
|
|
68
|
-
<line num="68" count="
|
|
69
|
-
<line num="69" count="
|
|
65
|
+
<line num="64" count="17" type="stmt"/>
|
|
66
|
+
<line num="65" count="17" type="stmt"/>
|
|
67
|
+
<line num="67" count="17" type="stmt"/>
|
|
68
|
+
<line num="68" count="17" type="stmt"/>
|
|
69
|
+
<line num="69" count="17" type="stmt"/>
|
|
70
70
|
<line num="70" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
71
71
|
<line num="71" count="0" type="stmt"/>
|
|
72
72
|
<line num="73" count="0" type="stmt"/>
|
|
@@ -75,103 +75,103 @@
|
|
|
75
75
|
<line num="76" count="0" type="stmt"/>
|
|
76
76
|
<line num="77" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
77
77
|
<line num="78" count="0" type="stmt"/>
|
|
78
|
-
<line num="82" count="
|
|
78
|
+
<line num="82" count="17" type="stmt"/>
|
|
79
79
|
<line num="83" count="0" type="stmt"/>
|
|
80
80
|
<line num="84" count="0" type="stmt"/>
|
|
81
|
-
<line num="87" count="
|
|
82
|
-
<line num="88" count="
|
|
83
|
-
<line num="89" count="
|
|
84
|
-
<line num="92" count="
|
|
81
|
+
<line num="87" count="17" type="cond" truecount="1" falsecount="1"/>
|
|
82
|
+
<line num="88" count="17" type="stmt"/>
|
|
83
|
+
<line num="89" count="17" type="stmt"/>
|
|
84
|
+
<line num="92" count="17" type="stmt"/>
|
|
85
85
|
<line num="93" count="0" type="stmt"/>
|
|
86
86
|
<line num="94" count="0" type="stmt"/>
|
|
87
87
|
<line num="95" count="0" type="stmt"/>
|
|
88
|
-
<line num="98" count="
|
|
88
|
+
<line num="98" count="17" type="stmt"/>
|
|
89
89
|
<line num="99" count="0" type="stmt"/>
|
|
90
|
-
<line num="102" count="
|
|
90
|
+
<line num="102" count="17" type="stmt"/>
|
|
91
91
|
<line num="103" count="0" type="stmt"/>
|
|
92
92
|
</file>
|
|
93
93
|
</package>
|
|
94
94
|
<package name="src.api">
|
|
95
|
-
<metrics statements="30" coveredstatements="
|
|
95
|
+
<metrics statements="30" coveredstatements="29" conditionals="9" coveredconditionals="7" methods="5" coveredmethods="3"/>
|
|
96
96
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/index.ts">
|
|
97
|
-
<metrics statements="30" coveredstatements="
|
|
98
|
-
<line num="1" count="
|
|
99
|
-
<line num="2" count="
|
|
100
|
-
<line num="3" count="
|
|
101
|
-
<line num="4" count="
|
|
102
|
-
<line num="5" count="
|
|
103
|
-
<line num="6" count="
|
|
104
|
-
<line num="9" count="
|
|
105
|
-
<line num="
|
|
106
|
-
<line num="
|
|
107
|
-
<line num="
|
|
108
|
-
<line num="
|
|
109
|
-
<line num="
|
|
110
|
-
<line num="
|
|
111
|
-
<line num="
|
|
112
|
-
<line num="
|
|
113
|
-
<line num="
|
|
114
|
-
<line num="
|
|
115
|
-
<line num="
|
|
116
|
-
<line num="
|
|
117
|
-
<line num="
|
|
118
|
-
<line num="
|
|
119
|
-
<line num="
|
|
120
|
-
<line num="
|
|
121
|
-
<line num="
|
|
122
|
-
<line num="
|
|
123
|
-
<line num="
|
|
124
|
-
<line num="
|
|
125
|
-
<line num="
|
|
126
|
-
<line num="
|
|
127
|
-
<line num="
|
|
97
|
+
<metrics statements="30" coveredstatements="29" conditionals="9" coveredconditionals="7" methods="5" coveredmethods="3"/>
|
|
98
|
+
<line num="1" count="17" type="stmt"/>
|
|
99
|
+
<line num="2" count="17" type="stmt"/>
|
|
100
|
+
<line num="3" count="17" type="stmt"/>
|
|
101
|
+
<line num="4" count="17" type="stmt"/>
|
|
102
|
+
<line num="5" count="17" type="stmt"/>
|
|
103
|
+
<line num="6" count="17" type="stmt"/>
|
|
104
|
+
<line num="9" count="17" type="stmt"/>
|
|
105
|
+
<line num="67" count="17" type="stmt"/>
|
|
106
|
+
<line num="105" count="17" type="stmt"/>
|
|
107
|
+
<line num="107" count="17" type="stmt"/>
|
|
108
|
+
<line num="108" count="17" type="stmt"/>
|
|
109
|
+
<line num="121" count="0" type="stmt"/>
|
|
110
|
+
<line num="128" count="104" type="cond" truecount="1" falsecount="0"/>
|
|
111
|
+
<line num="129" count="24" type="stmt"/>
|
|
112
|
+
<line num="131" count="80" type="cond" truecount="1" falsecount="0"/>
|
|
113
|
+
<line num="135" count="2" type="stmt"/>
|
|
114
|
+
<line num="137" count="78" type="stmt"/>
|
|
115
|
+
<line num="142" count="102" type="stmt"/>
|
|
116
|
+
<line num="143" count="102" type="stmt"/>
|
|
117
|
+
<line num="144" count="102" type="stmt"/>
|
|
118
|
+
<line num="146" count="13" type="stmt"/>
|
|
119
|
+
<line num="147" count="13" type="cond" truecount="1" falsecount="2"/>
|
|
120
|
+
<line num="148" count="13" type="stmt"/>
|
|
121
|
+
<line num="149" count="13" type="stmt"/>
|
|
122
|
+
<line num="154" count="13" type="stmt"/>
|
|
123
|
+
<line num="158" count="17" type="stmt"/>
|
|
124
|
+
<line num="161" count="17" type="stmt"/>
|
|
125
|
+
<line num="162" count="272" type="stmt"/>
|
|
126
|
+
<line num="163" count="272" type="stmt"/>
|
|
127
|
+
<line num="166" count="17" type="stmt"/>
|
|
128
128
|
</file>
|
|
129
129
|
</package>
|
|
130
130
|
<package name="src.api.controllers.global">
|
|
131
|
-
<metrics statements="609" coveredstatements="
|
|
131
|
+
<metrics statements="609" coveredstatements="361" conditionals="186" coveredconditionals="101" methods="136" coveredmethods="68"/>
|
|
132
132
|
<file name="auth.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/auth.ts">
|
|
133
|
-
<metrics statements="123" coveredstatements="
|
|
134
|
-
<line num="1" count="
|
|
135
|
-
<line num="2" count="
|
|
136
|
-
<line num="3" count="
|
|
137
|
-
<line num="4" count="
|
|
138
|
-
<line num="5" count="
|
|
139
|
-
<line num="6" count="
|
|
140
|
-
<line num="7" count="
|
|
141
|
-
<line num="8" count="
|
|
142
|
-
<line num="9" count="
|
|
143
|
-
<line num="10" count="
|
|
144
|
-
<line num="11" count="
|
|
145
|
-
<line num="14" count="
|
|
133
|
+
<metrics statements="123" coveredstatements="76" conditionals="22" coveredconditionals="8" methods="43" coveredmethods="21"/>
|
|
134
|
+
<line num="1" count="17" type="stmt"/>
|
|
135
|
+
<line num="2" count="17" type="stmt"/>
|
|
136
|
+
<line num="3" count="17" type="stmt"/>
|
|
137
|
+
<line num="4" count="17" type="stmt"/>
|
|
138
|
+
<line num="5" count="17" type="stmt"/>
|
|
139
|
+
<line num="6" count="17" type="stmt"/>
|
|
140
|
+
<line num="7" count="17" type="stmt"/>
|
|
141
|
+
<line num="8" count="17" type="stmt"/>
|
|
142
|
+
<line num="9" count="17" type="stmt"/>
|
|
143
|
+
<line num="10" count="17" type="stmt"/>
|
|
144
|
+
<line num="11" count="17" type="stmt"/>
|
|
145
|
+
<line num="14" count="17" type="stmt"/>
|
|
146
146
|
<line num="15" count="0" type="stmt"/>
|
|
147
|
-
<line num="18" count="
|
|
148
|
-
<line num="19" count="
|
|
149
|
-
<line num="23" count="
|
|
147
|
+
<line num="18" count="17" type="stmt"/>
|
|
148
|
+
<line num="19" count="3" type="stmt"/>
|
|
149
|
+
<line num="23" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
150
150
|
<line num="24" count="0" type="stmt"/>
|
|
151
151
|
<line num="25" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
152
|
-
<line num="28" count="
|
|
152
|
+
<line num="28" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
153
153
|
<line num="29" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
154
|
-
<line num="33" count="
|
|
155
|
-
<line num="35" count="
|
|
156
|
-
<line num="38" count="
|
|
154
|
+
<line num="33" count="1" type="stmt"/>
|
|
155
|
+
<line num="35" count="1" type="stmt"/>
|
|
156
|
+
<line num="38" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
157
157
|
<line num="39" count="0" type="stmt"/>
|
|
158
|
-
<line num="43" count="
|
|
158
|
+
<line num="43" count="17" type="stmt"/>
|
|
159
159
|
<line num="44" count="0" type="stmt"/>
|
|
160
160
|
<line num="46" count="0" type="stmt"/>
|
|
161
161
|
<line num="47" count="0" type="stmt"/>
|
|
162
162
|
<line num="48" count="0" type="stmt"/>
|
|
163
163
|
<line num="49" count="0" type="stmt"/>
|
|
164
164
|
<line num="51" count="0" type="stmt"/>
|
|
165
|
-
<line num="56" count="
|
|
165
|
+
<line num="56" count="17" type="stmt"/>
|
|
166
166
|
<line num="57" count="0" type="stmt"/>
|
|
167
167
|
<line num="58" count="0" type="stmt"/>
|
|
168
168
|
<line num="59" count="0" type="stmt"/>
|
|
169
|
-
<line num="62" count="
|
|
169
|
+
<line num="62" count="17" type="stmt"/>
|
|
170
170
|
<line num="63" count="0" type="stmt"/>
|
|
171
171
|
<line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
172
172
|
<line num="66" count="0" type="stmt"/>
|
|
173
173
|
<line num="67" count="0" type="stmt"/>
|
|
174
|
-
<line num="74" count="
|
|
174
|
+
<line num="74" count="17" type="stmt"/>
|
|
175
175
|
<line num="75" count="2" type="stmt"/>
|
|
176
176
|
<line num="76" count="2" type="stmt"/>
|
|
177
177
|
<line num="77" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
<line num="91" count="2" type="stmt"/>
|
|
184
184
|
<line num="94" count="0" type="stmt"/>
|
|
185
185
|
<line num="97" count="2" type="stmt"/>
|
|
186
|
-
<line num="105" count="
|
|
186
|
+
<line num="105" count="17" type="stmt"/>
|
|
187
187
|
<line num="106" count="1" type="stmt"/>
|
|
188
188
|
<line num="107" count="1" type="stmt"/>
|
|
189
189
|
<line num="108" count="1" type="stmt"/>
|
|
@@ -196,29 +196,29 @@
|
|
|
196
196
|
<line num="118" count="1" type="stmt"/>
|
|
197
197
|
<line num="120" count="0" type="stmt"/>
|
|
198
198
|
<line num="121" count="0" type="stmt"/>
|
|
199
|
-
<line num="125" count="
|
|
199
|
+
<line num="125" count="17" type="stmt"/>
|
|
200
200
|
<line num="126" count="1" type="cond" truecount="3" falsecount="0"/>
|
|
201
201
|
<line num="127" count="1" type="stmt"/>
|
|
202
202
|
<line num="129" count="1" type="stmt"/>
|
|
203
|
-
<line num="132" count="
|
|
203
|
+
<line num="132" count="17" type="stmt"/>
|
|
204
204
|
<line num="133" count="0" type="stmt"/>
|
|
205
205
|
<line num="134" count="0" type="stmt"/>
|
|
206
206
|
<line num="135" count="0" type="stmt"/>
|
|
207
207
|
<line num="137" count="0" type="stmt"/>
|
|
208
208
|
<line num="147" count="0" type="stmt"/>
|
|
209
|
-
<line num="150" count="
|
|
209
|
+
<line num="150" count="17" type="stmt"/>
|
|
210
210
|
<line num="151" count="0" type="stmt"/>
|
|
211
211
|
<line num="152" count="0" type="stmt"/>
|
|
212
212
|
<line num="153" count="0" type="stmt"/>
|
|
213
213
|
<line num="154" count="0" type="stmt"/>
|
|
214
214
|
<line num="155" count="0" type="stmt"/>
|
|
215
|
-
<line num="162" count="
|
|
215
|
+
<line num="162" count="17" type="stmt"/>
|
|
216
216
|
<line num="163" count="0" type="stmt"/>
|
|
217
217
|
<line num="165" count="0" type="stmt"/>
|
|
218
218
|
<line num="169" count="0" type="stmt"/>
|
|
219
219
|
<line num="170" count="0" type="stmt"/>
|
|
220
220
|
<line num="176" count="0" type="stmt"/>
|
|
221
|
-
<line num="183" count="
|
|
221
|
+
<line num="183" count="17" type="stmt"/>
|
|
222
222
|
<line num="184" count="0" type="stmt"/>
|
|
223
223
|
<line num="186" count="0" type="stmt"/>
|
|
224
224
|
<line num="190" count="0" type="stmt"/>
|
|
@@ -229,45 +229,45 @@
|
|
|
229
229
|
<line num="202" count="0" type="stmt"/>
|
|
230
230
|
<line num="203" count="0" type="stmt"/>
|
|
231
231
|
<line num="205" count="0" type="stmt"/>
|
|
232
|
-
<line num="210" count="
|
|
233
|
-
<line num="211" count="
|
|
234
|
-
<line num="212" count="
|
|
235
|
-
<line num="217" count="
|
|
236
|
-
<line num="218" count="
|
|
237
|
-
<line num="221" count="
|
|
238
|
-
<line num="225" count="
|
|
239
|
-
<line num="232" count="
|
|
240
|
-
<line num="233" count="
|
|
241
|
-
<line num="234" count="
|
|
242
|
-
<line num="236" count="
|
|
243
|
-
<line num="238" count="
|
|
244
|
-
<line num="239" count="
|
|
245
|
-
<line num="244" count="
|
|
246
|
-
<line num="247" count="
|
|
247
|
-
<line num="251" count="
|
|
248
|
-
<line num="257" count="
|
|
232
|
+
<line num="210" count="17" type="stmt"/>
|
|
233
|
+
<line num="211" count="3" type="stmt"/>
|
|
234
|
+
<line num="212" count="3" type="stmt"/>
|
|
235
|
+
<line num="217" count="3" type="stmt"/>
|
|
236
|
+
<line num="218" count="3" type="stmt"/>
|
|
237
|
+
<line num="221" count="3" type="stmt"/>
|
|
238
|
+
<line num="225" count="3" type="stmt"/>
|
|
239
|
+
<line num="232" count="17" type="stmt"/>
|
|
240
|
+
<line num="233" count="2" type="stmt"/>
|
|
241
|
+
<line num="234" count="2" type="stmt"/>
|
|
242
|
+
<line num="236" count="2" type="stmt"/>
|
|
243
|
+
<line num="238" count="2" type="stmt"/>
|
|
244
|
+
<line num="239" count="2" type="stmt"/>
|
|
245
|
+
<line num="244" count="2" type="stmt"/>
|
|
246
|
+
<line num="247" count="2" type="cond" truecount="4" falsecount="2"/>
|
|
247
|
+
<line num="251" count="2" type="stmt"/>
|
|
248
|
+
<line num="257" count="17" type="stmt"/>
|
|
249
249
|
<line num="258" count="1" type="stmt"/>
|
|
250
250
|
<line num="259" count="1" type="stmt"/>
|
|
251
251
|
<line num="261" count="1" type="stmt"/>
|
|
252
|
-
<line num="264" count="
|
|
253
|
-
<line num="265" count="
|
|
254
|
-
<line num="266" count="
|
|
255
|
-
<line num="267" count="
|
|
256
|
-
<line num="269" count="
|
|
252
|
+
<line num="264" count="1" type="stmt"/>
|
|
253
|
+
<line num="265" count="1" type="stmt"/>
|
|
254
|
+
<line num="266" count="1" type="stmt"/>
|
|
255
|
+
<line num="267" count="1" type="stmt"/>
|
|
256
|
+
<line num="269" count="1" type="stmt"/>
|
|
257
257
|
</file>
|
|
258
258
|
<file name="configs.js" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/configs.js">
|
|
259
259
|
<metrics statements="175" coveredstatements="118" conditionals="103" coveredconditionals="65" methods="23" coveredmethods="16"/>
|
|
260
|
-
<line num="6" count="
|
|
261
|
-
<line num="7" count="
|
|
262
|
-
<line num="8" count="
|
|
263
|
-
<line num="12" count="
|
|
264
|
-
<line num="13" count="
|
|
265
|
-
<line num="14" count="
|
|
266
|
-
<line num="15" count="
|
|
267
|
-
<line num="21" count="
|
|
268
|
-
<line num="22" count="
|
|
269
|
-
<line num="23" count="
|
|
270
|
-
<line num="25" count="
|
|
260
|
+
<line num="6" count="17" type="stmt"/>
|
|
261
|
+
<line num="7" count="17" type="stmt"/>
|
|
262
|
+
<line num="8" count="17" type="stmt"/>
|
|
263
|
+
<line num="12" count="17" type="stmt"/>
|
|
264
|
+
<line num="13" count="17" type="stmt"/>
|
|
265
|
+
<line num="14" count="17" type="stmt"/>
|
|
266
|
+
<line num="15" count="17" type="stmt"/>
|
|
267
|
+
<line num="21" count="17" type="stmt"/>
|
|
268
|
+
<line num="22" count="17" type="stmt"/>
|
|
269
|
+
<line num="23" count="17" type="stmt"/>
|
|
270
|
+
<line num="25" count="17" type="stmt"/>
|
|
271
271
|
<line num="26" count="41" type="stmt"/>
|
|
272
272
|
<line num="27" count="41" type="stmt"/>
|
|
273
273
|
<line num="30" count="41" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
<line num="133" count="1" type="stmt"/>
|
|
324
324
|
<line num="135" count="1" type="stmt"/>
|
|
325
325
|
<line num="140" count="41" type="stmt"/>
|
|
326
|
-
<line num="143" count="
|
|
326
|
+
<line num="143" count="17" type="stmt"/>
|
|
327
327
|
<line num="144" count="41" type="stmt"/>
|
|
328
328
|
<line num="145" count="41" type="stmt"/>
|
|
329
329
|
<line num="146" count="41" type="stmt"/>
|
|
@@ -342,11 +342,11 @@
|
|
|
342
342
|
<line num="172" count="42" type="stmt"/>
|
|
343
343
|
<line num="175" count="38" type="stmt"/>
|
|
344
344
|
<line num="181" count="0" type="stmt"/>
|
|
345
|
-
<line num="185" count="
|
|
345
|
+
<line num="185" count="17" type="stmt"/>
|
|
346
346
|
<line num="186" count="0" type="stmt"/>
|
|
347
347
|
<line num="187" count="0" type="stmt"/>
|
|
348
348
|
<line num="195" count="0" type="stmt"/>
|
|
349
|
-
<line num="202" count="
|
|
349
|
+
<line num="202" count="17" type="stmt"/>
|
|
350
350
|
<line num="203" count="36" type="stmt"/>
|
|
351
351
|
<line num="205" count="36" type="stmt"/>
|
|
352
352
|
<line num="206" count="36" type="cond" truecount="2" falsecount="2"/>
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
<line num="225" count="27" type="stmt"/>
|
|
362
362
|
<line num="228" count="9" type="stmt"/>
|
|
363
363
|
<line num="231" count="0" type="stmt"/>
|
|
364
|
-
<line num="235" count="
|
|
364
|
+
<line num="235" count="17" type="stmt"/>
|
|
365
365
|
<line num="236" count="0" type="stmt"/>
|
|
366
366
|
<line num="237" count="0" type="stmt"/>
|
|
367
367
|
<line num="239" count="0" type="stmt"/>
|
|
@@ -369,7 +369,7 @@
|
|
|
369
369
|
<line num="244" count="0" type="stmt"/>
|
|
370
370
|
<line num="246" count="0" type="stmt"/>
|
|
371
371
|
<line num="253" count="0" type="stmt"/>
|
|
372
|
-
<line num="257" count="
|
|
372
|
+
<line num="257" count="17" type="stmt"/>
|
|
373
373
|
<line num="258" count="0" type="stmt"/>
|
|
374
374
|
<line num="260" count="0" type="stmt"/>
|
|
375
375
|
<line num="262" count="0" type="stmt"/>
|
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
<line num="300" count="0" type="stmt"/>
|
|
389
389
|
<line num="303" count="0" type="stmt"/>
|
|
390
390
|
<line num="305" count="0" type="stmt"/>
|
|
391
|
-
<line num="309" count="
|
|
391
|
+
<line num="309" count="17" type="stmt"/>
|
|
392
392
|
<line num="310" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
393
393
|
<line num="311" count="0" type="stmt"/>
|
|
394
394
|
<line num="313" count="0" type="stmt"/>
|
|
@@ -410,34 +410,34 @@
|
|
|
410
410
|
<line num="354" count="0" type="stmt"/>
|
|
411
411
|
<line num="356" count="0" type="stmt"/>
|
|
412
412
|
<line num="358" count="0" type="stmt"/>
|
|
413
|
-
<line num="364" count="
|
|
413
|
+
<line num="364" count="17" type="stmt"/>
|
|
414
414
|
<line num="365" count="36" type="stmt"/>
|
|
415
415
|
<line num="366" count="36" type="stmt"/>
|
|
416
416
|
<line num="367" count="36" type="stmt"/>
|
|
417
417
|
<line num="368" count="36" type="stmt"/>
|
|
418
|
-
<line num="369" count="
|
|
419
|
-
<line num="370" count="
|
|
420
|
-
<line num="372" count="
|
|
421
|
-
<line num="376" count="
|
|
422
|
-
<line num="377" count="
|
|
423
|
-
<line num="378" count="
|
|
424
|
-
<line num="380" count="
|
|
425
|
-
<line num="381" count="
|
|
426
|
-
<line num="385" count="
|
|
427
|
-
<line num="386" count="
|
|
428
|
-
<line num="388" count="
|
|
429
|
-
<line num="392" count="
|
|
430
|
-
<line num="397" count="
|
|
431
|
-
<line num="402" count="
|
|
432
|
-
<line num="407" count="
|
|
433
|
-
<line num="408" count="
|
|
418
|
+
<line num="369" count="23" type="stmt"/>
|
|
419
|
+
<line num="370" count="23" type="stmt"/>
|
|
420
|
+
<line num="372" count="13" type="stmt"/>
|
|
421
|
+
<line num="376" count="17" type="stmt"/>
|
|
422
|
+
<line num="377" count="4" type="stmt"/>
|
|
423
|
+
<line num="378" count="4" type="stmt"/>
|
|
424
|
+
<line num="380" count="4" type="stmt"/>
|
|
425
|
+
<line num="381" count="4" type="stmt"/>
|
|
426
|
+
<line num="385" count="4" type="stmt"/>
|
|
427
|
+
<line num="386" count="4" type="cond" truecount="3" falsecount="1"/>
|
|
428
|
+
<line num="388" count="4" type="stmt"/>
|
|
429
|
+
<line num="392" count="4" type="stmt"/>
|
|
430
|
+
<line num="397" count="4" type="stmt"/>
|
|
431
|
+
<line num="402" count="4" type="stmt"/>
|
|
432
|
+
<line num="407" count="4" type="stmt"/>
|
|
433
|
+
<line num="408" count="4" type="stmt"/>
|
|
434
434
|
<line num="433" count="0" type="stmt"/>
|
|
435
435
|
</file>
|
|
436
436
|
<file name="email.js" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/email.js">
|
|
437
437
|
<metrics statements="9" coveredstatements="7" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
438
|
-
<line num="1" count="
|
|
439
|
-
<line num="2" count="
|
|
440
|
-
<line num="4" count="
|
|
438
|
+
<line num="1" count="17" type="stmt"/>
|
|
439
|
+
<line num="2" count="17" type="stmt"/>
|
|
440
|
+
<line num="4" count="17" type="stmt"/>
|
|
441
441
|
<line num="16" count="1" type="stmt"/>
|
|
442
442
|
<line num="18" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
443
443
|
<line num="19" count="0" type="stmt"/>
|
|
@@ -447,37 +447,37 @@
|
|
|
447
447
|
</file>
|
|
448
448
|
<file name="license.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/license.ts">
|
|
449
449
|
<metrics statements="21" coveredstatements="6" conditionals="2" coveredconditionals="0" methods="10" coveredmethods="0"/>
|
|
450
|
-
<line num="1" count="
|
|
451
|
-
<line num="3" count="
|
|
450
|
+
<line num="1" count="17" type="stmt"/>
|
|
451
|
+
<line num="3" count="17" type="stmt"/>
|
|
452
452
|
<line num="4" count="0" type="stmt"/>
|
|
453
453
|
<line num="5" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
454
454
|
<line num="6" count="0" type="stmt"/>
|
|
455
455
|
<line num="9" count="0" type="stmt"/>
|
|
456
456
|
<line num="10" count="0" type="stmt"/>
|
|
457
|
-
<line num="13" count="
|
|
457
|
+
<line num="13" count="17" type="stmt"/>
|
|
458
458
|
<line num="14" count="0" type="stmt"/>
|
|
459
459
|
<line num="15" count="0" type="stmt"/>
|
|
460
|
-
<line num="18" count="
|
|
460
|
+
<line num="18" count="17" type="stmt"/>
|
|
461
461
|
<line num="19" count="0" type="stmt"/>
|
|
462
462
|
<line num="20" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
463
463
|
<line num="21" count="0" type="stmt"/>
|
|
464
464
|
<line num="22" count="0" type="stmt"/>
|
|
465
465
|
<line num="24" count="0" type="stmt"/>
|
|
466
|
-
<line num="27" count="
|
|
466
|
+
<line num="27" count="17" type="stmt"/>
|
|
467
467
|
<line num="28" count="0" type="stmt"/>
|
|
468
468
|
<line num="29" count="0" type="stmt"/>
|
|
469
|
-
<line num="32" count="
|
|
469
|
+
<line num="32" count="17" type="stmt"/>
|
|
470
470
|
<line num="33" count="0" type="stmt"/>
|
|
471
471
|
</file>
|
|
472
472
|
<file name="roles.js" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/roles.js">
|
|
473
473
|
<metrics statements="38" coveredstatements="9" conditionals="2" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
474
|
-
<line num="1" count="
|
|
475
|
-
<line num="7" count="
|
|
476
|
-
<line num="8" count="
|
|
477
|
-
<line num="9" count="
|
|
478
|
-
<line num="10" count="
|
|
479
|
-
<line num="11" count="
|
|
480
|
-
<line num="13" count="
|
|
474
|
+
<line num="1" count="17" type="stmt"/>
|
|
475
|
+
<line num="7" count="17" type="stmt"/>
|
|
476
|
+
<line num="8" count="17" type="stmt"/>
|
|
477
|
+
<line num="9" count="17" type="stmt"/>
|
|
478
|
+
<line num="10" count="17" type="stmt"/>
|
|
479
|
+
<line num="11" count="17" type="stmt"/>
|
|
480
|
+
<line num="13" count="17" type="stmt"/>
|
|
481
481
|
<line num="14" count="0" type="stmt"/>
|
|
482
482
|
<line num="16" count="0" type="stmt"/>
|
|
483
483
|
<line num="17" count="0" type="stmt"/>
|
|
@@ -489,13 +489,13 @@
|
|
|
489
489
|
<line num="25" count="0" type="stmt"/>
|
|
490
490
|
<line num="26" count="0" type="stmt"/>
|
|
491
491
|
<line num="33" count="0" type="stmt"/>
|
|
492
|
-
<line num="36" count="
|
|
492
|
+
<line num="36" count="17" type="stmt"/>
|
|
493
493
|
<line num="37" count="0" type="stmt"/>
|
|
494
494
|
<line num="38" count="0" type="stmt"/>
|
|
495
495
|
<line num="39" count="0" type="stmt"/>
|
|
496
496
|
<line num="40" count="0" type="stmt"/>
|
|
497
497
|
<line num="41" count="0" type="stmt"/>
|
|
498
|
-
<line num="50" count="
|
|
498
|
+
<line num="50" count="17" type="stmt"/>
|
|
499
499
|
<line num="51" count="0" type="stmt"/>
|
|
500
500
|
<line num="52" count="0" type="stmt"/>
|
|
501
501
|
<line num="53" count="0" type="stmt"/>
|
|
@@ -511,19 +511,19 @@
|
|
|
511
511
|
<line num="65" count="0" type="stmt"/>
|
|
512
512
|
</file>
|
|
513
513
|
<file name="self.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/self.ts">
|
|
514
|
-
<metrics statements="78" coveredstatements="
|
|
515
|
-
<line num="1" count="
|
|
516
|
-
<line num="2" count="
|
|
517
|
-
<line num="12" count="
|
|
518
|
-
<line num="13" count="
|
|
519
|
-
<line num="14" count="
|
|
520
|
-
<line num="15" count="
|
|
514
|
+
<metrics statements="78" coveredstatements="51" conditionals="11" coveredconditionals="4" methods="10" coveredmethods="5"/>
|
|
515
|
+
<line num="1" count="17" type="stmt"/>
|
|
516
|
+
<line num="2" count="17" type="stmt"/>
|
|
517
|
+
<line num="12" count="17" type="stmt"/>
|
|
518
|
+
<line num="13" count="17" type="stmt"/>
|
|
519
|
+
<line num="14" count="17" type="stmt"/>
|
|
520
|
+
<line num="15" count="17" type="stmt"/>
|
|
521
521
|
<line num="18" count="0" type="stmt"/>
|
|
522
522
|
<line num="22" count="0" type="stmt"/>
|
|
523
523
|
<line num="29" count="0" type="stmt"/>
|
|
524
524
|
<line num="30" count="0" type="stmt"/>
|
|
525
525
|
<line num="31" count="0" type="stmt"/>
|
|
526
|
-
<line num="34" count="
|
|
526
|
+
<line num="34" count="17" type="stmt"/>
|
|
527
527
|
<line num="37" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
528
528
|
<line num="38" count="0" type="stmt"/>
|
|
529
529
|
<line num="39" count="0" type="stmt"/>
|
|
@@ -537,7 +537,7 @@
|
|
|
537
537
|
<line num="53" count="0" type="stmt"/>
|
|
538
538
|
<line num="54" count="0" type="stmt"/>
|
|
539
539
|
<line num="55" count="0" type="stmt"/>
|
|
540
|
-
<line num="58" count="
|
|
540
|
+
<line num="58" count="17" type="stmt"/>
|
|
541
541
|
<line num="59" count="0" type="stmt"/>
|
|
542
542
|
<line num="60" count="0" type="stmt"/>
|
|
543
543
|
<line num="62" count="0" type="stmt"/>
|
|
@@ -545,35 +545,35 @@
|
|
|
545
545
|
<line num="65" count="0" type="stmt"/>
|
|
546
546
|
<line num="70" count="0" type="stmt"/>
|
|
547
547
|
<line num="72" count="0" type="stmt"/>
|
|
548
|
-
<line num="75" count="
|
|
549
|
-
<line num="76" count="
|
|
550
|
-
<line num="77" count="
|
|
548
|
+
<line num="75" count="17" type="stmt"/>
|
|
549
|
+
<line num="76" count="1" type="stmt"/>
|
|
550
|
+
<line num="77" count="1" type="cond" truecount="1" falsecount="2"/>
|
|
551
551
|
<line num="81" count="0" type="stmt"/>
|
|
552
|
-
<line num="88" count="
|
|
553
|
-
<line num="89" count="
|
|
554
|
-
<line num="90" count="
|
|
555
|
-
<line num="91" count="
|
|
556
|
-
<line num="92" count="
|
|
557
|
-
<line num="93" count="
|
|
558
|
-
<line num="96" count="
|
|
552
|
+
<line num="88" count="17" type="stmt"/>
|
|
553
|
+
<line num="89" count="1" type="stmt"/>
|
|
554
|
+
<line num="90" count="1" type="stmt"/>
|
|
555
|
+
<line num="91" count="1" type="stmt"/>
|
|
556
|
+
<line num="92" count="1" type="stmt"/>
|
|
557
|
+
<line num="93" count="1" type="stmt"/>
|
|
558
|
+
<line num="96" count="17" type="stmt"/>
|
|
559
559
|
<line num="97" count="2" type="stmt"/>
|
|
560
560
|
<line num="98" count="2" type="stmt"/>
|
|
561
561
|
<line num="99" count="2" type="stmt"/>
|
|
562
562
|
<line num="100" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
563
563
|
<line num="101" count="1" type="stmt"/>
|
|
564
564
|
<line num="104" count="2" type="stmt"/>
|
|
565
|
-
<line num="107" count="
|
|
566
|
-
<line num="108" count="
|
|
565
|
+
<line num="107" count="17" type="stmt"/>
|
|
566
|
+
<line num="108" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
567
567
|
<line num="109" count="0" type="stmt"/>
|
|
568
|
-
<line num="111" count="
|
|
569
|
-
<line num="112" count="
|
|
570
|
-
<line num="116" count="
|
|
571
|
-
<line num="119" count="
|
|
572
|
-
<line num="120" count="
|
|
573
|
-
<line num="123" count="
|
|
574
|
-
<line num="124" count="
|
|
575
|
-
<line num="126" count="
|
|
576
|
-
<line num="129" count="
|
|
568
|
+
<line num="111" count="1" type="stmt"/>
|
|
569
|
+
<line num="112" count="1" type="stmt"/>
|
|
570
|
+
<line num="116" count="1" type="stmt"/>
|
|
571
|
+
<line num="119" count="1" type="stmt"/>
|
|
572
|
+
<line num="120" count="1" type="stmt"/>
|
|
573
|
+
<line num="123" count="1" type="stmt"/>
|
|
574
|
+
<line num="124" count="1" type="stmt"/>
|
|
575
|
+
<line num="126" count="1" type="stmt"/>
|
|
576
|
+
<line num="129" count="17" type="stmt"/>
|
|
577
577
|
<line num="130" count="2" type="stmt"/>
|
|
578
578
|
<line num="131" count="2" type="stmt"/>
|
|
579
579
|
<line num="132" count="2" type="stmt"/>
|
|
@@ -593,10 +593,10 @@
|
|
|
593
593
|
</file>
|
|
594
594
|
<file name="templates.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/templates.ts">
|
|
595
595
|
<metrics statements="32" coveredstatements="10" conditionals="2" coveredconditionals="0" methods="7" coveredmethods="0"/>
|
|
596
|
-
<line num="1" count="
|
|
597
|
-
<line num="6" count="
|
|
598
|
-
<line num="7" count="
|
|
599
|
-
<line num="9" count="
|
|
596
|
+
<line num="1" count="17" type="stmt"/>
|
|
597
|
+
<line num="6" count="17" type="stmt"/>
|
|
598
|
+
<line num="7" count="17" type="stmt"/>
|
|
599
|
+
<line num="9" count="17" type="stmt"/>
|
|
600
600
|
<line num="10" count="0" type="stmt"/>
|
|
601
601
|
<line num="11" count="0" type="stmt"/>
|
|
602
602
|
<line num="12" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
@@ -605,141 +605,141 @@
|
|
|
605
605
|
<line num="16" count="0" type="stmt"/>
|
|
606
606
|
<line num="19" count="0" type="stmt"/>
|
|
607
607
|
<line num="20" count="0" type="stmt"/>
|
|
608
|
-
<line num="26" count="
|
|
608
|
+
<line num="26" count="17" type="stmt"/>
|
|
609
609
|
<line num="27" count="0" type="stmt"/>
|
|
610
610
|
<line num="28" count="0" type="stmt"/>
|
|
611
611
|
<line num="29" count="0" type="stmt"/>
|
|
612
612
|
<line num="30" count="0" type="stmt"/>
|
|
613
613
|
<line num="31" count="0" type="stmt"/>
|
|
614
614
|
<line num="38" count="0" type="stmt"/>
|
|
615
|
-
<line num="47" count="
|
|
615
|
+
<line num="47" count="17" type="stmt"/>
|
|
616
616
|
<line num="48" count="0" type="stmt"/>
|
|
617
|
-
<line num="51" count="
|
|
617
|
+
<line num="51" count="17" type="stmt"/>
|
|
618
618
|
<line num="53" count="0" type="stmt"/>
|
|
619
|
-
<line num="58" count="
|
|
619
|
+
<line num="58" count="17" type="stmt"/>
|
|
620
620
|
<line num="60" count="0" type="stmt"/>
|
|
621
|
-
<line num="65" count="
|
|
621
|
+
<line num="65" count="17" type="stmt"/>
|
|
622
622
|
<line num="67" count="0" type="stmt"/>
|
|
623
|
-
<line num="72" count="
|
|
623
|
+
<line num="72" count="17" type="stmt"/>
|
|
624
624
|
<line num="73" count="0" type="stmt"/>
|
|
625
625
|
<line num="74" count="0" type="stmt"/>
|
|
626
626
|
<line num="75" count="0" type="stmt"/>
|
|
627
627
|
<line num="76" count="0" type="stmt"/>
|
|
628
628
|
</file>
|
|
629
629
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/users.ts">
|
|
630
|
-
<metrics statements="106" coveredstatements="
|
|
631
|
-
<line num="1" count="
|
|
632
|
-
<line num="2" count="
|
|
633
|
-
<line num="3" count="
|
|
634
|
-
<line num="
|
|
635
|
-
<line num="
|
|
636
|
-
<line num="
|
|
637
|
-
<line num="
|
|
638
|
-
<line num="
|
|
639
|
-
<line num="
|
|
640
|
-
<line num="
|
|
641
|
-
<line num="
|
|
642
|
-
<line num="
|
|
643
|
-
<line num="
|
|
644
|
-
<line num="
|
|
645
|
-
<line num="
|
|
646
|
-
<line num="
|
|
647
|
-
<line num="
|
|
648
|
-
<line num="
|
|
649
|
-
<line num="
|
|
650
|
-
<line num="49" count="9" type="stmt"/>
|
|
630
|
+
<metrics statements="106" coveredstatements="78" conditionals="40" coveredconditionals="23" methods="33" coveredmethods="25"/>
|
|
631
|
+
<line num="1" count="17" type="stmt"/>
|
|
632
|
+
<line num="2" count="17" type="stmt"/>
|
|
633
|
+
<line num="3" count="17" type="stmt"/>
|
|
634
|
+
<line num="14" count="17" type="stmt"/>
|
|
635
|
+
<line num="21" count="17" type="stmt"/>
|
|
636
|
+
<line num="23" count="17" type="stmt"/>
|
|
637
|
+
<line num="25" count="78" type="stmt"/>
|
|
638
|
+
<line num="26" count="78" type="stmt"/>
|
|
639
|
+
<line num="27" count="78" type="stmt"/>
|
|
640
|
+
<line num="29" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
641
|
+
<line num="33" count="17" type="stmt"/>
|
|
642
|
+
<line num="34" count="3" type="cond" truecount="4" falsecount="1"/>
|
|
643
|
+
<line num="35" count="1" type="stmt"/>
|
|
644
|
+
<line num="37" count="2" type="stmt"/>
|
|
645
|
+
<line num="40" count="17" type="stmt"/>
|
|
646
|
+
<line num="41" count="6" type="cond" truecount="2" falsecount="1"/>
|
|
647
|
+
<line num="42" count="0" type="stmt"/>
|
|
648
|
+
<line num="46" count="6" type="stmt"/>
|
|
649
|
+
<line num="49" count="17" type="stmt"/>
|
|
651
650
|
<line num="50" count="9" type="stmt"/>
|
|
652
|
-
<line num="
|
|
653
|
-
<line num="53" count="9" type="
|
|
654
|
-
<line num="54" count="
|
|
655
|
-
<line num="
|
|
656
|
-
<line num="57" count="
|
|
657
|
-
<line num="
|
|
658
|
-
<line num="
|
|
659
|
-
<line num="
|
|
660
|
-
<line num="66" count="
|
|
661
|
-
<line num="
|
|
662
|
-
<line num="70" count="
|
|
663
|
-
<line num="71" count="
|
|
664
|
-
<line num="73" count="
|
|
665
|
-
<line num="75" count="
|
|
666
|
-
<line num="77" count="
|
|
667
|
-
<line num="
|
|
668
|
-
<line num="
|
|
669
|
-
<line num="
|
|
670
|
-
<line num="
|
|
671
|
-
<line num="
|
|
672
|
-
<line num="
|
|
673
|
-
<line num="
|
|
674
|
-
<line num="
|
|
675
|
-
<line num="
|
|
676
|
-
<line num="
|
|
677
|
-
<line num="116" count="
|
|
678
|
-
<line num="118" count="
|
|
679
|
-
<line num="120" count="
|
|
680
|
-
<line num="
|
|
681
|
-
<line num="
|
|
682
|
-
<line num="127" count="0" type="stmt"/>
|
|
651
|
+
<line num="51" count="9" type="stmt"/>
|
|
652
|
+
<line num="53" count="9" type="stmt"/>
|
|
653
|
+
<line num="54" count="9" type="cond" truecount="1" falsecount="0"/>
|
|
654
|
+
<line num="55" count="6" type="stmt"/>
|
|
655
|
+
<line num="57" count="9" type="cond" truecount="1" falsecount="0"/>
|
|
656
|
+
<line num="58" count="3" type="stmt"/>
|
|
657
|
+
<line num="61" count="1" type="cond" truecount="6" falsecount="2"/>
|
|
658
|
+
<line num="63" count="8" type="stmt"/>
|
|
659
|
+
<line num="66" count="17" type="stmt"/>
|
|
660
|
+
<line num="67" count="12" type="cond" truecount="1" falsecount="1"/>
|
|
661
|
+
<line num="70" count="17" type="stmt"/>
|
|
662
|
+
<line num="71" count="6" type="stmt"/>
|
|
663
|
+
<line num="73" count="6" type="stmt"/>
|
|
664
|
+
<line num="75" count="6" type="stmt"/>
|
|
665
|
+
<line num="77" count="6" type="stmt"/>
|
|
666
|
+
<line num="79" count="6" type="cond" truecount="0" falsecount="1"/>
|
|
667
|
+
<line num="80" count="0" type="stmt"/>
|
|
668
|
+
<line num="83" count="6" type="stmt"/>
|
|
669
|
+
<line num="84" count="6" type="cond" truecount="0" falsecount="1"/>
|
|
670
|
+
<line num="85" count="0" type="stmt"/>
|
|
671
|
+
<line num="91" count="6" type="stmt"/>
|
|
672
|
+
<line num="104" count="6" type="stmt"/>
|
|
673
|
+
<line num="107" count="6" type="stmt"/>
|
|
674
|
+
<line num="108" count="6" type="stmt"/>
|
|
675
|
+
<line num="115" count="6" type="cond" truecount="3" falsecount="0"/>
|
|
676
|
+
<line num="116" count="6" type="stmt"/>
|
|
677
|
+
<line num="118" count="6" type="stmt"/>
|
|
678
|
+
<line num="120" count="6" type="stmt"/>
|
|
679
|
+
<line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
680
|
+
<line num="127" count="17" type="stmt"/>
|
|
683
681
|
<line num="128" count="0" type="stmt"/>
|
|
684
|
-
<line num="
|
|
685
|
-
<line num="
|
|
686
|
-
<line num="
|
|
687
|
-
<line num="136" count="
|
|
688
|
-
<line num="137" count="
|
|
689
|
-
<line num="
|
|
690
|
-
<line num="
|
|
691
|
-
<line num="
|
|
692
|
-
<line num="
|
|
693
|
-
<line num="149" count="
|
|
682
|
+
<line num="129" count="0" type="stmt"/>
|
|
683
|
+
<line num="130" count="0" type="stmt"/>
|
|
684
|
+
<line num="132" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
685
|
+
<line num="136" count="17" type="stmt"/>
|
|
686
|
+
<line num="137" count="5" type="stmt"/>
|
|
687
|
+
<line num="138" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
688
|
+
<line num="139" count="1" type="stmt"/>
|
|
689
|
+
<line num="142" count="4" type="stmt"/>
|
|
690
|
+
<line num="144" count="3" type="stmt"/>
|
|
691
|
+
<line num="149" count="17" type="stmt"/>
|
|
692
|
+
<line num="150" count="0" type="stmt"/>
|
|
694
693
|
<line num="151" count="0" type="stmt"/>
|
|
695
|
-
<line num="152" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
696
694
|
<line num="153" count="0" type="stmt"/>
|
|
697
|
-
<line num="
|
|
698
|
-
<line num="
|
|
699
|
-
<line num="
|
|
695
|
+
<line num="154" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
696
|
+
<line num="155" count="0" type="stmt"/>
|
|
697
|
+
<line num="158" count="0" type="stmt"/>
|
|
698
|
+
<line num="162" count="17" type="stmt"/>
|
|
700
699
|
<line num="163" count="0" type="stmt"/>
|
|
701
|
-
<line num="164" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
702
700
|
<line num="165" count="0" type="stmt"/>
|
|
703
|
-
<line num="
|
|
704
|
-
<line num="
|
|
705
|
-
<line num="
|
|
706
|
-
<line num="
|
|
707
|
-
<line num="
|
|
708
|
-
<line num="178" count="
|
|
709
|
-
<line num="179" count="0" type="
|
|
701
|
+
<line num="166" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
702
|
+
<line num="167" count="0" type="stmt"/>
|
|
703
|
+
<line num="170" count="0" type="stmt"/>
|
|
704
|
+
<line num="174" count="17" type="stmt"/>
|
|
705
|
+
<line num="175" count="6" type="stmt"/>
|
|
706
|
+
<line num="178" count="17" type="stmt"/>
|
|
707
|
+
<line num="179" count="0" type="stmt"/>
|
|
710
708
|
<line num="180" count="0" type="stmt"/>
|
|
709
|
+
<line num="181" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
711
710
|
<line num="182" count="0" type="stmt"/>
|
|
712
|
-
<line num="
|
|
713
|
-
<line num="
|
|
714
|
-
<line num="
|
|
715
|
-
<line num="
|
|
716
|
-
<line num="
|
|
717
|
-
<line num="193" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
711
|
+
<line num="184" count="0" type="stmt"/>
|
|
712
|
+
<line num="188" count="17" type="stmt"/>
|
|
713
|
+
<line num="189" count="3" type="stmt"/>
|
|
714
|
+
<line num="190" count="3" type="stmt"/>
|
|
715
|
+
<line num="193" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
718
716
|
<line num="194" count="1" type="stmt"/>
|
|
719
|
-
<line num="
|
|
720
|
-
<line num="
|
|
721
|
-
<line num="
|
|
722
|
-
<line num="
|
|
723
|
-
<line num="207" count="
|
|
724
|
-
<line num="
|
|
725
|
-
<line num="
|
|
726
|
-
<line num="212" count="
|
|
717
|
+
<line num="195" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
718
|
+
<line num="196" count="1" type="stmt"/>
|
|
719
|
+
<line num="198" count="0" type="stmt"/>
|
|
720
|
+
<line num="202" count="2" type="stmt"/>
|
|
721
|
+
<line num="207" count="17" type="stmt"/>
|
|
722
|
+
<line num="208" count="2" type="stmt"/>
|
|
723
|
+
<line num="209" count="2" type="stmt"/>
|
|
724
|
+
<line num="212" count="17" type="stmt"/>
|
|
725
|
+
<line num="213" count="1" type="stmt"/>
|
|
727
726
|
<line num="214" count="1" type="stmt"/>
|
|
728
|
-
<line num="215" count="1" type="stmt"/>
|
|
729
727
|
<line num="216" count="1" type="stmt"/>
|
|
730
|
-
<line num="
|
|
731
|
-
<line num="
|
|
728
|
+
<line num="217" count="1" type="stmt"/>
|
|
729
|
+
<line num="218" count="1" type="stmt"/>
|
|
732
730
|
<line num="225" count="1" type="stmt"/>
|
|
733
731
|
<line num="226" count="1" type="stmt"/>
|
|
734
|
-
<line num="
|
|
735
|
-
<line num="
|
|
732
|
+
<line num="227" count="1" type="stmt"/>
|
|
733
|
+
<line num="228" count="1" type="stmt"/>
|
|
734
|
+
<line num="231" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
736
735
|
<line num="233" count="0" type="stmt"/>
|
|
736
|
+
<line num="235" count="0" type="stmt"/>
|
|
737
737
|
</file>
|
|
738
738
|
<file name="workspaces.js" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/workspaces.js">
|
|
739
739
|
<metrics statements="27" coveredstatements="6" conditionals="2" coveredconditionals="0" methods="5" coveredmethods="0"/>
|
|
740
|
-
<line num="4" count="
|
|
741
|
-
<line num="5" count="
|
|
742
|
-
<line num="7" count="
|
|
740
|
+
<line num="4" count="17" type="stmt"/>
|
|
741
|
+
<line num="5" count="17" type="stmt"/>
|
|
742
|
+
<line num="7" count="17" type="stmt"/>
|
|
743
743
|
<line num="8" count="0" type="stmt"/>
|
|
744
744
|
<line num="9" count="0" type="stmt"/>
|
|
745
745
|
<line num="12" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -748,16 +748,16 @@
|
|
|
748
748
|
<line num="17" count="0" type="stmt"/>
|
|
749
749
|
<line num="18" count="0" type="stmt"/>
|
|
750
750
|
<line num="23" count="0" type="stmt"/>
|
|
751
|
-
<line num="27" count="
|
|
751
|
+
<line num="27" count="17" type="stmt"/>
|
|
752
752
|
<line num="28" count="0" type="stmt"/>
|
|
753
753
|
<line num="29" count="0" type="stmt"/>
|
|
754
754
|
<line num="34" count="0" type="stmt"/>
|
|
755
|
-
<line num="37" count="
|
|
755
|
+
<line num="37" count="17" type="stmt"/>
|
|
756
756
|
<line num="38" count="0" type="stmt"/>
|
|
757
757
|
<line num="39" count="0" type="stmt"/>
|
|
758
758
|
<line num="40" count="0" type="stmt"/>
|
|
759
759
|
<line num="42" count="0" type="stmt"/>
|
|
760
|
-
<line num="46" count="
|
|
760
|
+
<line num="46" count="17" type="stmt"/>
|
|
761
761
|
<line num="47" count="0" type="stmt"/>
|
|
762
762
|
<line num="48" count="0" type="stmt"/>
|
|
763
763
|
<line num="50" count="0" type="stmt"/>
|
|
@@ -767,353 +767,329 @@
|
|
|
767
767
|
</file>
|
|
768
768
|
</package>
|
|
769
769
|
<package name="src.api.controllers.system">
|
|
770
|
-
<metrics statements="
|
|
770
|
+
<metrics statements="50" coveredstatements="48" conditionals="8" coveredconditionals="8" methods="15" coveredmethods="15"/>
|
|
771
771
|
<file name="accounts.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/system/accounts.ts">
|
|
772
772
|
<metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
773
|
-
<line num="2" count="
|
|
774
|
-
<line num="4" count="
|
|
773
|
+
<line num="2" count="17" type="stmt"/>
|
|
774
|
+
<line num="4" count="17" type="stmt"/>
|
|
775
775
|
<line num="5" count="3" type="stmt"/>
|
|
776
776
|
<line num="6" count="3" type="stmt"/>
|
|
777
777
|
<line num="11" count="3" type="stmt"/>
|
|
778
778
|
<line num="13" count="3" type="stmt"/>
|
|
779
779
|
<line num="14" count="3" type="stmt"/>
|
|
780
|
-
<line num="17" count="
|
|
780
|
+
<line num="17" count="17" type="stmt"/>
|
|
781
781
|
<line num="18" count="2" type="stmt"/>
|
|
782
782
|
<line num="19" count="2" type="stmt"/>
|
|
783
783
|
<line num="20" count="2" type="stmt"/>
|
|
784
784
|
</file>
|
|
785
|
-
<file name="environment.
|
|
786
|
-
<metrics statements="3" coveredstatements="
|
|
787
|
-
<line num="
|
|
788
|
-
<line num="
|
|
789
|
-
<line num="
|
|
785
|
+
<file name="environment.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/system/environment.ts">
|
|
786
|
+
<metrics statements="3" coveredstatements="3" conditionals="2" coveredconditionals="2" methods="2" coveredmethods="2"/>
|
|
787
|
+
<line num="2" count="17" type="stmt"/>
|
|
788
|
+
<line num="4" count="17" type="stmt"/>
|
|
789
|
+
<line num="5" count="1" type="stmt"/>
|
|
790
790
|
</file>
|
|
791
791
|
<file name="migrations.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/system/migrations.ts">
|
|
792
|
-
<metrics statements="8" coveredstatements="
|
|
793
|
-
<line num="1" count="
|
|
794
|
-
<line num="3" count="
|
|
795
|
-
<line num="4" count="
|
|
796
|
-
<line num="6" count="
|
|
797
|
-
<line num="7" count="
|
|
798
|
-
<line num="10" count="
|
|
799
|
-
<line num="11" count="
|
|
800
|
-
<line num="12" count="
|
|
792
|
+
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
793
|
+
<line num="1" count="17" type="stmt"/>
|
|
794
|
+
<line num="3" count="17" type="stmt"/>
|
|
795
|
+
<line num="4" count="1" type="stmt"/>
|
|
796
|
+
<line num="6" count="1" type="stmt"/>
|
|
797
|
+
<line num="7" count="1" type="stmt"/>
|
|
798
|
+
<line num="10" count="17" type="stmt"/>
|
|
799
|
+
<line num="11" count="1" type="stmt"/>
|
|
800
|
+
<line num="12" count="1" type="stmt"/>
|
|
801
801
|
</file>
|
|
802
802
|
<file name="restore.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/system/restore.ts">
|
|
803
|
-
<metrics statements="7" coveredstatements="
|
|
804
|
-
<line num="1" count="
|
|
805
|
-
<line num="3" count="
|
|
806
|
-
<line num="5" count="
|
|
807
|
-
<line num="6" count="
|
|
808
|
-
<line num="7" count="
|
|
809
|
-
<line num="9" count="
|
|
810
|
-
<line num="10" count="
|
|
811
|
-
</file>
|
|
812
|
-
<file name="status.
|
|
813
|
-
<metrics statements="7" coveredstatements="
|
|
814
|
-
<line num="1" count="
|
|
815
|
-
<line num="2" count="
|
|
816
|
-
<line num="
|
|
817
|
-
<line num="
|
|
818
|
-
<line num="
|
|
819
|
-
<line num="
|
|
820
|
-
<line num="
|
|
803
|
+
<metrics statements="7" coveredstatements="7" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
804
|
+
<line num="1" count="17" type="stmt"/>
|
|
805
|
+
<line num="3" count="17" type="stmt"/>
|
|
806
|
+
<line num="5" count="17" type="stmt"/>
|
|
807
|
+
<line num="6" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
808
|
+
<line num="7" count="1" type="stmt"/>
|
|
809
|
+
<line num="9" count="1" type="stmt"/>
|
|
810
|
+
<line num="10" count="1" type="stmt"/>
|
|
811
|
+
</file>
|
|
812
|
+
<file name="status.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/system/status.ts">
|
|
813
|
+
<metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
|
|
814
|
+
<line num="1" count="17" type="stmt"/>
|
|
815
|
+
<line num="2" count="17" type="stmt"/>
|
|
816
|
+
<line num="5" count="17" type="stmt"/>
|
|
817
|
+
<line num="6" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
818
|
+
<line num="7" count="1" type="stmt"/>
|
|
819
|
+
<line num="8" count="1" type="stmt"/>
|
|
820
|
+
<line num="10" count="1" type="stmt"/>
|
|
821
821
|
</file>
|
|
822
822
|
<file name="tenants.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/system/tenants.ts">
|
|
823
|
-
<metrics statements="
|
|
824
|
-
<line num="
|
|
825
|
-
<line num="
|
|
826
|
-
<line num="
|
|
827
|
-
<line num="
|
|
828
|
-
<line num="
|
|
829
|
-
<line num="
|
|
830
|
-
<line num="
|
|
831
|
-
<line num="
|
|
832
|
-
<line num="
|
|
833
|
-
<line num="
|
|
834
|
-
<line num="
|
|
835
|
-
<line num="17" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
823
|
+
<metrics statements="14" coveredstatements="12" conditionals="1" coveredconditionals="1" methods="2" coveredmethods="2"/>
|
|
824
|
+
<line num="2" count="17" type="stmt"/>
|
|
825
|
+
<line num="3" count="17" type="stmt"/>
|
|
826
|
+
<line num="5" count="17" type="stmt"/>
|
|
827
|
+
<line num="6" count="2" type="stmt"/>
|
|
828
|
+
<line num="7" count="2" type="stmt"/>
|
|
829
|
+
<line num="9" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
830
|
+
<line num="10" count="1" type="stmt"/>
|
|
831
|
+
<line num="13" count="1" type="stmt"/>
|
|
832
|
+
<line num="14" count="1" type="stmt"/>
|
|
833
|
+
<line num="15" count="1" type="stmt"/>
|
|
834
|
+
<line num="16" count="1" type="stmt"/>
|
|
836
835
|
<line num="18" count="0" type="stmt"/>
|
|
837
|
-
<line num="
|
|
838
|
-
<line num="
|
|
839
|
-
<line num="30" count="0" type="stmt"/>
|
|
840
|
-
<line num="32" count="0" type="stmt"/>
|
|
841
|
-
<line num="33" count="0" type="stmt"/>
|
|
842
|
-
<line num="34" count="0" type="stmt"/>
|
|
843
|
-
<line num="35" count="0" type="stmt"/>
|
|
844
|
-
<line num="38" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
845
|
-
<line num="39" count="0" type="stmt"/>
|
|
846
|
-
<line num="44" count="0" type="stmt"/>
|
|
847
|
-
<line num="49" count="7" type="stmt"/>
|
|
848
|
-
<line num="50" count="0" type="stmt"/>
|
|
849
|
-
<line num="52" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
850
|
-
<line num="53" count="0" type="stmt"/>
|
|
851
|
-
<line num="56" count="0" type="stmt"/>
|
|
852
|
-
<line num="57" count="0" type="stmt"/>
|
|
853
|
-
<line num="58" count="0" type="stmt"/>
|
|
854
|
-
<line num="59" count="0" type="stmt"/>
|
|
855
|
-
<line num="61" count="0" type="stmt"/>
|
|
856
|
-
<line num="62" count="0" type="stmt"/>
|
|
857
|
-
<line num="66" count="7" type="stmt"/>
|
|
836
|
+
<line num="19" count="0" type="stmt"/>
|
|
837
|
+
<line num="23" count="17" type="stmt"/>
|
|
858
838
|
</file>
|
|
859
839
|
</package>
|
|
860
840
|
<package name="src.api.routes">
|
|
861
841
|
<metrics statements="18" coveredstatements="18" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
862
842
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/index.ts">
|
|
863
843
|
<metrics statements="18" coveredstatements="18" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
864
|
-
<line num="1" count="
|
|
865
|
-
<line num="2" count="
|
|
866
|
-
<line num="3" count="
|
|
867
|
-
<line num="4" count="
|
|
868
|
-
<line num="5" count="
|
|
869
|
-
<line num="6" count="
|
|
870
|
-
<line num="7" count="
|
|
871
|
-
<line num="8" count="
|
|
872
|
-
<line num="9" count="
|
|
873
|
-
<line num="10" count="
|
|
874
|
-
<line num="11" count="
|
|
875
|
-
<line num="12" count="
|
|
876
|
-
<line num="13" count="
|
|
877
|
-
<line num="14" count="
|
|
878
|
-
<line num="15" count="
|
|
879
|
-
<line num="16" count="
|
|
880
|
-
<line num="18" count="
|
|
881
|
-
<line num="19" count="
|
|
844
|
+
<line num="1" count="17" type="stmt"/>
|
|
845
|
+
<line num="2" count="17" type="stmt"/>
|
|
846
|
+
<line num="3" count="17" type="stmt"/>
|
|
847
|
+
<line num="4" count="17" type="stmt"/>
|
|
848
|
+
<line num="5" count="17" type="stmt"/>
|
|
849
|
+
<line num="6" count="17" type="stmt"/>
|
|
850
|
+
<line num="7" count="17" type="stmt"/>
|
|
851
|
+
<line num="8" count="17" type="stmt"/>
|
|
852
|
+
<line num="9" count="17" type="stmt"/>
|
|
853
|
+
<line num="10" count="17" type="stmt"/>
|
|
854
|
+
<line num="11" count="17" type="stmt"/>
|
|
855
|
+
<line num="12" count="17" type="stmt"/>
|
|
856
|
+
<line num="13" count="17" type="stmt"/>
|
|
857
|
+
<line num="14" count="17" type="stmt"/>
|
|
858
|
+
<line num="15" count="17" type="stmt"/>
|
|
859
|
+
<line num="16" count="17" type="stmt"/>
|
|
860
|
+
<line num="18" count="17" type="stmt"/>
|
|
861
|
+
<line num="19" count="17" type="stmt"/>
|
|
882
862
|
</file>
|
|
883
863
|
</package>
|
|
884
864
|
<package name="src.api.routes.global">
|
|
885
|
-
<metrics statements="
|
|
865
|
+
<metrics statements="89" coveredstatements="89" conditionals="0" coveredconditionals="0" methods="17" coveredmethods="17"/>
|
|
886
866
|
<file name="auth.js" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/auth.js">
|
|
887
|
-
<metrics statements="
|
|
888
|
-
<line num="1" count="
|
|
889
|
-
<line num="2" count="
|
|
890
|
-
<line num="3" count="
|
|
891
|
-
<line num="4" count="
|
|
892
|
-
<line num="
|
|
893
|
-
<line num="
|
|
894
|
-
<line num="
|
|
895
|
-
<line num="
|
|
896
|
-
<line num="
|
|
897
|
-
<line num="
|
|
898
|
-
<line num="34" count="5" type="stmt"/>
|
|
899
|
-
<line num="36" count="5" type="stmt"/>
|
|
900
|
-
<line num="39" count="7" type="stmt"/>
|
|
901
|
-
<line num="105" count="7" type="stmt"/>
|
|
867
|
+
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
868
|
+
<line num="1" count="17" type="stmt"/>
|
|
869
|
+
<line num="2" count="17" type="stmt"/>
|
|
870
|
+
<line num="3" count="17" type="stmt"/>
|
|
871
|
+
<line num="4" count="17" type="stmt"/>
|
|
872
|
+
<line num="6" count="17" type="stmt"/>
|
|
873
|
+
<line num="10" count="17" type="stmt"/>
|
|
874
|
+
<line num="18" count="17" type="stmt"/>
|
|
875
|
+
<line num="25" count="17" type="stmt"/>
|
|
876
|
+
<line num="31" count="17" type="stmt"/>
|
|
877
|
+
<line num="88" count="17" type="stmt"/>
|
|
902
878
|
</file>
|
|
903
879
|
<file name="configs.js" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/configs.js">
|
|
904
880
|
<metrics statements="16" coveredstatements="16" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="7"/>
|
|
905
|
-
<line num="1" count="
|
|
906
|
-
<line num="2" count="
|
|
907
|
-
<line num="3" count="
|
|
908
|
-
<line num="4" count="
|
|
909
|
-
<line num="5" count="
|
|
910
|
-
<line num="6" count="
|
|
911
|
-
<line num="8" count="
|
|
912
|
-
<line num="12" count="
|
|
913
|
-
<line num="27" count="
|
|
914
|
-
<line num="37" count="
|
|
915
|
-
<line num="46" count="
|
|
916
|
-
<line num="64" count="
|
|
917
|
-
<line num="87" count="
|
|
918
|
-
<line num="95" count="
|
|
919
|
-
<line num="100" count="
|
|
920
|
-
<line num="125" count="
|
|
881
|
+
<line num="1" count="17" type="stmt"/>
|
|
882
|
+
<line num="2" count="17" type="stmt"/>
|
|
883
|
+
<line num="3" count="17" type="stmt"/>
|
|
884
|
+
<line num="4" count="17" type="stmt"/>
|
|
885
|
+
<line num="5" count="17" type="stmt"/>
|
|
886
|
+
<line num="6" count="17" type="stmt"/>
|
|
887
|
+
<line num="8" count="17" type="stmt"/>
|
|
888
|
+
<line num="12" count="17" type="stmt"/>
|
|
889
|
+
<line num="27" count="17" type="stmt"/>
|
|
890
|
+
<line num="37" count="17" type="stmt"/>
|
|
891
|
+
<line num="46" count="17" type="stmt"/>
|
|
892
|
+
<line num="64" count="17" type="stmt"/>
|
|
893
|
+
<line num="87" count="17" type="stmt"/>
|
|
894
|
+
<line num="95" count="34" type="stmt"/>
|
|
895
|
+
<line num="100" count="17" type="stmt"/>
|
|
896
|
+
<line num="125" count="17" type="stmt"/>
|
|
921
897
|
</file>
|
|
922
898
|
<file name="email.js" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/email.js">
|
|
923
899
|
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
924
|
-
<line num="1" count="
|
|
925
|
-
<line num="2" count="
|
|
926
|
-
<line num="3" count="
|
|
927
|
-
<line num="4" count="
|
|
928
|
-
<line num="5" count="
|
|
929
|
-
<line num="6" count="
|
|
930
|
-
<line num="8" count="
|
|
931
|
-
<line num="12" count="
|
|
932
|
-
<line num="30" count="
|
|
933
|
-
<line num="37" count="
|
|
900
|
+
<line num="1" count="17" type="stmt"/>
|
|
901
|
+
<line num="2" count="17" type="stmt"/>
|
|
902
|
+
<line num="3" count="17" type="stmt"/>
|
|
903
|
+
<line num="4" count="17" type="stmt"/>
|
|
904
|
+
<line num="5" count="17" type="stmt"/>
|
|
905
|
+
<line num="6" count="17" type="stmt"/>
|
|
906
|
+
<line num="8" count="17" type="stmt"/>
|
|
907
|
+
<line num="12" count="17" type="stmt"/>
|
|
908
|
+
<line num="30" count="17" type="stmt"/>
|
|
909
|
+
<line num="37" count="17" type="stmt"/>
|
|
934
910
|
</file>
|
|
935
911
|
<file name="license.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/license.ts">
|
|
936
912
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
937
|
-
<line num="1" count="
|
|
938
|
-
<line num="2" count="
|
|
939
|
-
<line num="4" count="
|
|
940
|
-
<line num="6" count="
|
|
941
|
-
<line num="13" count="
|
|
913
|
+
<line num="1" count="17" type="stmt"/>
|
|
914
|
+
<line num="2" count="17" type="stmt"/>
|
|
915
|
+
<line num="4" count="17" type="stmt"/>
|
|
916
|
+
<line num="6" count="17" type="stmt"/>
|
|
917
|
+
<line num="13" count="17" type="stmt"/>
|
|
942
918
|
</file>
|
|
943
919
|
<file name="roles.js" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/roles.js">
|
|
944
920
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
945
|
-
<line num="1" count="
|
|
946
|
-
<line num="2" count="
|
|
947
|
-
<line num="3" count="
|
|
948
|
-
<line num="5" count="
|
|
949
|
-
<line num="7" count="
|
|
950
|
-
<line num="12" count="
|
|
921
|
+
<line num="1" count="17" type="stmt"/>
|
|
922
|
+
<line num="2" count="17" type="stmt"/>
|
|
923
|
+
<line num="3" count="17" type="stmt"/>
|
|
924
|
+
<line num="5" count="17" type="stmt"/>
|
|
925
|
+
<line num="7" count="17" type="stmt"/>
|
|
926
|
+
<line num="12" count="17" type="stmt"/>
|
|
951
927
|
</file>
|
|
952
928
|
<file name="self.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/self.ts">
|
|
953
929
|
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
954
|
-
<line num="1" count="
|
|
955
|
-
<line num="2" count="
|
|
956
|
-
<line num="3" count="
|
|
957
|
-
<line num="4" count="
|
|
958
|
-
<line num="6" count="
|
|
959
|
-
<line num="8" count="
|
|
960
|
-
<line num="18" count="
|
|
930
|
+
<line num="1" count="17" type="stmt"/>
|
|
931
|
+
<line num="2" count="17" type="stmt"/>
|
|
932
|
+
<line num="3" count="17" type="stmt"/>
|
|
933
|
+
<line num="4" count="17" type="stmt"/>
|
|
934
|
+
<line num="6" count="17" type="stmt"/>
|
|
935
|
+
<line num="8" count="17" type="stmt"/>
|
|
936
|
+
<line num="18" count="17" type="stmt"/>
|
|
961
937
|
</file>
|
|
962
938
|
<file name="templates.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/templates.ts">
|
|
963
939
|
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
964
|
-
<line num="1" count="
|
|
965
|
-
<line num="2" count="
|
|
966
|
-
<line num="3" count="
|
|
967
|
-
<line num="4" count="
|
|
968
|
-
<line num="5" count="
|
|
969
|
-
<line num="6" count="
|
|
970
|
-
<line num="8" count="
|
|
971
|
-
<line num="12" count="
|
|
972
|
-
<line num="23" count="
|
|
973
|
-
<line num="37" count="
|
|
940
|
+
<line num="1" count="17" type="stmt"/>
|
|
941
|
+
<line num="2" count="17" type="stmt"/>
|
|
942
|
+
<line num="3" count="17" type="stmt"/>
|
|
943
|
+
<line num="4" count="17" type="stmt"/>
|
|
944
|
+
<line num="5" count="17" type="stmt"/>
|
|
945
|
+
<line num="6" count="17" type="stmt"/>
|
|
946
|
+
<line num="8" count="17" type="stmt"/>
|
|
947
|
+
<line num="12" count="17" type="stmt"/>
|
|
948
|
+
<line num="23" count="17" type="stmt"/>
|
|
949
|
+
<line num="37" count="17" type="stmt"/>
|
|
974
950
|
</file>
|
|
975
951
|
<file name="users.js" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/users.js">
|
|
976
952
|
<metrics statements="16" coveredstatements="16" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
977
|
-
<line num="1" count="
|
|
978
|
-
<line num="2" count="
|
|
979
|
-
<line num="3" count="
|
|
980
|
-
<line num="4" count="
|
|
981
|
-
<line num="5" count="
|
|
982
|
-
<line num="6" count="
|
|
983
|
-
<line num="7" count="
|
|
984
|
-
<line num="8" count="
|
|
985
|
-
<line num="9" count="
|
|
986
|
-
<line num="11" count="
|
|
987
|
-
<line num="14" count="
|
|
988
|
-
<line num="27" count="
|
|
989
|
-
<line num="35" count="
|
|
990
|
-
<line num="45" count="
|
|
991
|
-
<line num="51" count="
|
|
992
|
-
<line num="106" count="
|
|
953
|
+
<line num="1" count="17" type="stmt"/>
|
|
954
|
+
<line num="2" count="17" type="stmt"/>
|
|
955
|
+
<line num="3" count="17" type="stmt"/>
|
|
956
|
+
<line num="4" count="17" type="stmt"/>
|
|
957
|
+
<line num="5" count="17" type="stmt"/>
|
|
958
|
+
<line num="6" count="17" type="stmt"/>
|
|
959
|
+
<line num="7" count="17" type="stmt"/>
|
|
960
|
+
<line num="8" count="17" type="stmt"/>
|
|
961
|
+
<line num="9" count="17" type="stmt"/>
|
|
962
|
+
<line num="11" count="17" type="stmt"/>
|
|
963
|
+
<line num="14" count="17" type="stmt"/>
|
|
964
|
+
<line num="27" count="17" type="stmt"/>
|
|
965
|
+
<line num="35" count="17" type="stmt"/>
|
|
966
|
+
<line num="45" count="17" type="stmt"/>
|
|
967
|
+
<line num="51" count="17" type="stmt"/>
|
|
968
|
+
<line num="106" count="17" type="stmt"/>
|
|
993
969
|
</file>
|
|
994
970
|
<file name="workspaces.js" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/global/workspaces.js">
|
|
995
971
|
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
996
|
-
<line num="1" count="
|
|
997
|
-
<line num="2" count="
|
|
998
|
-
<line num="3" count="
|
|
999
|
-
<line num="4" count="
|
|
1000
|
-
<line num="5" count="
|
|
1001
|
-
<line num="7" count="
|
|
1002
|
-
<line num="11" count="
|
|
1003
|
-
<line num="27" count="
|
|
1004
|
-
<line num="38" count="
|
|
972
|
+
<line num="1" count="17" type="stmt"/>
|
|
973
|
+
<line num="2" count="17" type="stmt"/>
|
|
974
|
+
<line num="3" count="17" type="stmt"/>
|
|
975
|
+
<line num="4" count="17" type="stmt"/>
|
|
976
|
+
<line num="5" count="17" type="stmt"/>
|
|
977
|
+
<line num="7" count="17" type="stmt"/>
|
|
978
|
+
<line num="11" count="17" type="stmt"/>
|
|
979
|
+
<line num="27" count="17" type="stmt"/>
|
|
980
|
+
<line num="38" count="17" type="stmt"/>
|
|
1005
981
|
</file>
|
|
1006
982
|
</package>
|
|
1007
983
|
<package name="src.api.routes.system">
|
|
1008
984
|
<metrics statements="33" coveredstatements="33" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1009
985
|
<file name="accounts.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/accounts.ts">
|
|
1010
986
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1011
|
-
<line num="1" count="
|
|
1012
|
-
<line num="2" count="
|
|
1013
|
-
<line num="3" count="
|
|
1014
|
-
<line num="5" count="
|
|
1015
|
-
<line num="7" count="
|
|
1016
|
-
<line num="19" count="
|
|
1017
|
-
</file>
|
|
1018
|
-
<file name="environment.
|
|
987
|
+
<line num="1" count="17" type="stmt"/>
|
|
988
|
+
<line num="2" count="17" type="stmt"/>
|
|
989
|
+
<line num="3" count="17" type="stmt"/>
|
|
990
|
+
<line num="5" count="17" type="stmt"/>
|
|
991
|
+
<line num="7" count="17" type="stmt"/>
|
|
992
|
+
<line num="19" count="17" type="stmt"/>
|
|
993
|
+
</file>
|
|
994
|
+
<file name="environment.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/environment.ts">
|
|
1019
995
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1020
|
-
<line num="1" count="
|
|
1021
|
-
<line num="2" count="
|
|
1022
|
-
<line num="4" count="
|
|
1023
|
-
<line num="6" count="
|
|
1024
|
-
<line num="8" count="
|
|
996
|
+
<line num="1" count="17" type="stmt"/>
|
|
997
|
+
<line num="2" count="17" type="stmt"/>
|
|
998
|
+
<line num="4" count="17" type="stmt"/>
|
|
999
|
+
<line num="6" count="17" type="stmt"/>
|
|
1000
|
+
<line num="8" count="17" type="stmt"/>
|
|
1025
1001
|
</file>
|
|
1026
1002
|
<file name="migrations.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/migrations.ts">
|
|
1027
1003
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1028
|
-
<line num="1" count="
|
|
1029
|
-
<line num="2" count="
|
|
1030
|
-
<line num="3" count="
|
|
1031
|
-
<line num="5" count="
|
|
1032
|
-
<line num="7" count="
|
|
1033
|
-
<line num="19" count="
|
|
1004
|
+
<line num="1" count="17" type="stmt"/>
|
|
1005
|
+
<line num="2" count="17" type="stmt"/>
|
|
1006
|
+
<line num="3" count="17" type="stmt"/>
|
|
1007
|
+
<line num="5" count="17" type="stmt"/>
|
|
1008
|
+
<line num="7" count="17" type="stmt"/>
|
|
1009
|
+
<line num="19" count="17" type="stmt"/>
|
|
1034
1010
|
</file>
|
|
1035
1011
|
<file name="restore.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/restore.ts">
|
|
1036
1012
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1037
|
-
<line num="1" count="
|
|
1038
|
-
<line num="2" count="
|
|
1039
|
-
<line num="4" count="
|
|
1040
|
-
<line num="6" count="
|
|
1041
|
-
<line num="8" count="
|
|
1013
|
+
<line num="1" count="17" type="stmt"/>
|
|
1014
|
+
<line num="2" count="17" type="stmt"/>
|
|
1015
|
+
<line num="4" count="17" type="stmt"/>
|
|
1016
|
+
<line num="6" count="17" type="stmt"/>
|
|
1017
|
+
<line num="8" count="17" type="stmt"/>
|
|
1042
1018
|
</file>
|
|
1043
|
-
<file name="status.
|
|
1019
|
+
<file name="status.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/status.ts">
|
|
1044
1020
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1045
|
-
<line num="1" count="
|
|
1046
|
-
<line num="2" count="
|
|
1047
|
-
<line num="4" count="
|
|
1048
|
-
<line num="6" count="
|
|
1049
|
-
<line num="8" count="
|
|
1021
|
+
<line num="1" count="17" type="stmt"/>
|
|
1022
|
+
<line num="2" count="17" type="stmt"/>
|
|
1023
|
+
<line num="4" count="17" type="stmt"/>
|
|
1024
|
+
<line num="6" count="17" type="stmt"/>
|
|
1025
|
+
<line num="8" count="17" type="stmt"/>
|
|
1050
1026
|
</file>
|
|
1051
|
-
<file name="tenants.
|
|
1027
|
+
<file name="tenants.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/system/tenants.ts">
|
|
1052
1028
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1053
|
-
<line num="1" count="
|
|
1054
|
-
<line num="2" count="
|
|
1055
|
-
<line num="3" count="
|
|
1056
|
-
<line num="5" count="
|
|
1057
|
-
<line num="7" count="
|
|
1058
|
-
<line num="
|
|
1029
|
+
<line num="1" count="17" type="stmt"/>
|
|
1030
|
+
<line num="2" count="17" type="stmt"/>
|
|
1031
|
+
<line num="3" count="17" type="stmt"/>
|
|
1032
|
+
<line num="5" count="17" type="stmt"/>
|
|
1033
|
+
<line num="7" count="17" type="stmt"/>
|
|
1034
|
+
<line num="13" count="17" type="stmt"/>
|
|
1059
1035
|
</file>
|
|
1060
1036
|
</package>
|
|
1061
1037
|
<package name="src.api.routes.validation">
|
|
1062
1038
|
<metrics statements="13" coveredstatements="13" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
|
|
1063
1039
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/validation/index.ts">
|
|
1064
1040
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1065
|
-
<line num="1" count="
|
|
1041
|
+
<line num="1" count="17" type="stmt"/>
|
|
1066
1042
|
</file>
|
|
1067
1043
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/routes/validation/users.ts">
|
|
1068
1044
|
<metrics statements="12" coveredstatements="12" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
|
|
1069
|
-
<line num="1" count="
|
|
1070
|
-
<line num="2" count="
|
|
1071
|
-
<line num="4" count="
|
|
1072
|
-
<line num="20" count="
|
|
1073
|
-
<line num="21" count="
|
|
1074
|
-
<line num="22" count="
|
|
1075
|
-
<line num="28" count="
|
|
1076
|
-
<line num="31" count="
|
|
1077
|
-
<line num="32" count="
|
|
1078
|
-
<line num="33" count="
|
|
1079
|
-
<line num="39" count="
|
|
1080
|
-
<line num="49" count="
|
|
1045
|
+
<line num="1" count="17" type="stmt"/>
|
|
1046
|
+
<line num="2" count="17" type="stmt"/>
|
|
1047
|
+
<line num="4" count="17" type="stmt"/>
|
|
1048
|
+
<line num="20" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
1049
|
+
<line num="21" count="51" type="cond" truecount="1" falsecount="0"/>
|
|
1050
|
+
<line num="22" count="17" type="stmt"/>
|
|
1051
|
+
<line num="28" count="51" type="stmt"/>
|
|
1052
|
+
<line num="31" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
1053
|
+
<line num="32" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
1054
|
+
<line num="33" count="17" type="stmt"/>
|
|
1055
|
+
<line num="39" count="17" type="stmt"/>
|
|
1056
|
+
<line num="49" count="17" type="stmt"/>
|
|
1081
1057
|
</file>
|
|
1082
1058
|
</package>
|
|
1083
1059
|
<package name="src.constants">
|
|
1084
1060
|
<metrics statements="17" coveredstatements="17" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1085
1061
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/worker/src/constants/index.js">
|
|
1086
1062
|
<metrics statements="17" coveredstatements="17" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1087
|
-
<line num="1" count="
|
|
1088
|
-
<line num="3" count="
|
|
1089
|
-
<line num="6" count="
|
|
1090
|
-
<line num="11" count="
|
|
1091
|
-
<line num="13" count="
|
|
1092
|
-
<line num="18" count="
|
|
1093
|
-
<line num="22" count="
|
|
1094
|
-
<line num="30" count="
|
|
1095
|
-
<line num="50" count="
|
|
1096
|
-
<line num="93" count="
|
|
1097
|
-
<line num="175" count="
|
|
1098
|
-
<line num="178" count="
|
|
1099
|
-
<line num="179" count="
|
|
1100
|
-
<line num="180" count="
|
|
1101
|
-
<line num="181" count="
|
|
1102
|
-
<line num="182" count="
|
|
1103
|
-
<line num="183" count="
|
|
1063
|
+
<line num="1" count="17" type="stmt"/>
|
|
1064
|
+
<line num="3" count="17" type="stmt"/>
|
|
1065
|
+
<line num="6" count="17" type="stmt"/>
|
|
1066
|
+
<line num="11" count="17" type="stmt"/>
|
|
1067
|
+
<line num="13" count="17" type="stmt"/>
|
|
1068
|
+
<line num="18" count="17" type="stmt"/>
|
|
1069
|
+
<line num="22" count="17" type="stmt"/>
|
|
1070
|
+
<line num="30" count="17" type="stmt"/>
|
|
1071
|
+
<line num="50" count="17" type="stmt"/>
|
|
1072
|
+
<line num="93" count="17" type="stmt"/>
|
|
1073
|
+
<line num="175" count="17" type="stmt"/>
|
|
1074
|
+
<line num="178" count="17" type="stmt"/>
|
|
1075
|
+
<line num="179" count="17" type="stmt"/>
|
|
1076
|
+
<line num="180" count="17" type="stmt"/>
|
|
1077
|
+
<line num="181" count="17" type="stmt"/>
|
|
1078
|
+
<line num="182" count="17" type="stmt"/>
|
|
1079
|
+
<line num="183" count="17" type="stmt"/>
|
|
1104
1080
|
</file>
|
|
1105
1081
|
</package>
|
|
1106
1082
|
<package name="src.constants.templates">
|
|
1107
1083
|
<metrics statements="30" coveredstatements="26" conditionals="14" coveredconditionals="7" methods="7" coveredmethods="5"/>
|
|
1108
1084
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/worker/src/constants/templates/index.js">
|
|
1109
1085
|
<metrics statements="30" coveredstatements="26" conditionals="14" coveredconditionals="7" methods="7" coveredmethods="5"/>
|
|
1110
|
-
<line num="1" count="
|
|
1111
|
-
<line num="7" count="
|
|
1112
|
-
<line num="8" count="
|
|
1113
|
-
<line num="9" count="
|
|
1114
|
-
<line num="10" count="
|
|
1115
|
-
<line num="12" count="
|
|
1116
|
-
<line num="26" count="
|
|
1086
|
+
<line num="1" count="17" type="stmt"/>
|
|
1087
|
+
<line num="7" count="17" type="stmt"/>
|
|
1088
|
+
<line num="8" count="17" type="stmt"/>
|
|
1089
|
+
<line num="9" count="17" type="stmt"/>
|
|
1090
|
+
<line num="10" count="17" type="stmt"/>
|
|
1091
|
+
<line num="12" count="17" type="stmt"/>
|
|
1092
|
+
<line num="26" count="17" type="cond" truecount="0" falsecount="1"/>
|
|
1117
1093
|
<line num="28" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
1118
1094
|
<line num="30" count="14" type="stmt"/>
|
|
1119
1095
|
<line num="31" count="14" type="stmt"/>
|
|
@@ -1125,7 +1101,7 @@
|
|
|
1125
1101
|
<line num="41" count="70" type="cond" truecount="1" falsecount="1"/>
|
|
1126
1102
|
<line num="42" count="70" type="stmt"/>
|
|
1127
1103
|
<line num="49" count="14" type="stmt"/>
|
|
1128
|
-
<line num="52" count="
|
|
1104
|
+
<line num="52" count="17" type="cond" truecount="0" falsecount="1"/>
|
|
1129
1105
|
<line num="53" count="14" type="stmt"/>
|
|
1130
1106
|
<line num="54" count="14" type="stmt"/>
|
|
1131
1107
|
<line num="59" count="14" type="stmt"/>
|
|
@@ -1134,7 +1110,7 @@
|
|
|
1134
1110
|
<line num="64" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
1135
1111
|
<line num="65" count="14" type="stmt"/>
|
|
1136
1112
|
<line num="67" count="14" type="stmt"/>
|
|
1137
|
-
<line num="70" count="
|
|
1113
|
+
<line num="70" count="17" type="stmt"/>
|
|
1138
1114
|
<line num="71" count="14" type="stmt"/>
|
|
1139
1115
|
<line num="72" count="26" type="stmt"/>
|
|
1140
1116
|
</file>
|
|
@@ -1143,52 +1119,52 @@
|
|
|
1143
1119
|
<metrics statements="7" coveredstatements="7" conditionals="3" coveredconditionals="3" methods="1" coveredmethods="1"/>
|
|
1144
1120
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/db/index.ts">
|
|
1145
1121
|
<metrics statements="7" coveredstatements="7" conditionals="3" coveredconditionals="3" methods="1" coveredmethods="1"/>
|
|
1146
|
-
<line num="1" count="
|
|
1147
|
-
<line num="2" count="
|
|
1148
|
-
<line num="4" count="
|
|
1149
|
-
<line num="5" count="
|
|
1150
|
-
<line num="6" count="
|
|
1151
|
-
<line num="7" count="
|
|
1152
|
-
<line num="9" count="
|
|
1122
|
+
<line num="1" count="17" type="stmt"/>
|
|
1123
|
+
<line num="2" count="17" type="stmt"/>
|
|
1124
|
+
<line num="4" count="17" type="stmt"/>
|
|
1125
|
+
<line num="5" count="34" type="stmt"/>
|
|
1126
|
+
<line num="6" count="34" type="cond" truecount="3" falsecount="0"/>
|
|
1127
|
+
<line num="7" count="34" type="stmt"/>
|
|
1128
|
+
<line num="9" count="34" type="stmt"/>
|
|
1153
1129
|
</file>
|
|
1154
1130
|
</package>
|
|
1155
1131
|
<package name="src.middleware">
|
|
1156
|
-
<metrics statements="8" coveredstatements="
|
|
1132
|
+
<metrics statements="8" coveredstatements="7" conditionals="6" coveredconditionals="4" methods="1" coveredmethods="1"/>
|
|
1157
1133
|
<file name="cloudRestricted.js" path="/home/runner/work/budibase/budibase/packages/worker/src/middleware/cloudRestricted.js">
|
|
1158
|
-
<metrics statements="8" coveredstatements="
|
|
1159
|
-
<line num="1" count="
|
|
1160
|
-
<line num="2" count="
|
|
1161
|
-
<line num="8" count="
|
|
1162
|
-
<line num="9" count="
|
|
1163
|
-
<line num="10" count="
|
|
1164
|
-
<line num="11" count="
|
|
1134
|
+
<metrics statements="8" coveredstatements="7" conditionals="6" coveredconditionals="4" methods="1" coveredmethods="1"/>
|
|
1135
|
+
<line num="1" count="17" type="stmt"/>
|
|
1136
|
+
<line num="2" count="17" type="stmt"/>
|
|
1137
|
+
<line num="8" count="17" type="stmt"/>
|
|
1138
|
+
<line num="9" count="6" type="cond" truecount="3" falsecount="1"/>
|
|
1139
|
+
<line num="10" count="6" type="stmt"/>
|
|
1140
|
+
<line num="11" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1165
1141
|
<line num="12" count="0" type="stmt"/>
|
|
1166
|
-
<line num="16" count="
|
|
1142
|
+
<line num="16" count="6" type="stmt"/>
|
|
1167
1143
|
</file>
|
|
1168
1144
|
</package>
|
|
1169
1145
|
<package name="src.migrations">
|
|
1170
1146
|
<metrics statements="22" coveredstatements="16" conditionals="4" coveredconditionals="2" methods="7" coveredmethods="1"/>
|
|
1171
1147
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/migrations/index.ts">
|
|
1172
1148
|
<metrics statements="22" coveredstatements="16" conditionals="4" coveredconditionals="2" methods="7" coveredmethods="1"/>
|
|
1173
|
-
<line num="1" count="
|
|
1174
|
-
<line num="2" count="
|
|
1175
|
-
<line num="9" count="
|
|
1176
|
-
<line num="12" count="
|
|
1177
|
-
<line num="18" count="
|
|
1178
|
-
<line num="19" count="
|
|
1179
|
-
<line num="20" count="
|
|
1180
|
-
<line num="22" count="
|
|
1181
|
-
<line num="23" count="
|
|
1182
|
-
<line num="26" count="
|
|
1183
|
-
<line num="27" count="
|
|
1184
|
-
<line num="32" count="
|
|
1185
|
-
<line num="37" count="
|
|
1186
|
-
<line num="40" count="
|
|
1187
|
-
<line num="42" count="
|
|
1149
|
+
<line num="1" count="17" type="stmt"/>
|
|
1150
|
+
<line num="2" count="17" type="stmt"/>
|
|
1151
|
+
<line num="9" count="17" type="stmt"/>
|
|
1152
|
+
<line num="12" count="17" type="stmt"/>
|
|
1153
|
+
<line num="18" count="17" type="stmt"/>
|
|
1154
|
+
<line num="19" count="17" type="stmt"/>
|
|
1155
|
+
<line num="20" count="17" type="stmt"/>
|
|
1156
|
+
<line num="22" count="17" type="stmt"/>
|
|
1157
|
+
<line num="23" count="119" type="cond" truecount="1" falsecount="0"/>
|
|
1158
|
+
<line num="26" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
1159
|
+
<line num="27" count="17" type="stmt"/>
|
|
1160
|
+
<line num="32" count="17" type="stmt"/>
|
|
1161
|
+
<line num="37" count="17" type="stmt"/>
|
|
1162
|
+
<line num="40" count="17" type="stmt"/>
|
|
1163
|
+
<line num="42" count="17" type="stmt"/>
|
|
1188
1164
|
<line num="43" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1189
1165
|
<line num="44" count="0" type="stmt"/>
|
|
1190
1166
|
<line num="46" count="0" type="stmt"/>
|
|
1191
|
-
<line num="50" count="
|
|
1167
|
+
<line num="50" count="17" type="stmt"/>
|
|
1192
1168
|
<line num="51" count="0" type="stmt"/>
|
|
1193
1169
|
<line num="58" count="0" type="stmt"/>
|
|
1194
1170
|
<line num="59" count="0" type="stmt"/>
|
|
@@ -1198,8 +1174,8 @@
|
|
|
1198
1174
|
<metrics statements="7" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
1199
1175
|
<file name="globalInfoSyncUsers.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/migrations/functions/globalInfoSyncUsers.ts">
|
|
1200
1176
|
<metrics statements="7" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
1201
|
-
<line num="2" count="
|
|
1202
|
-
<line num="11" count="
|
|
1177
|
+
<line num="2" count="17" type="stmt"/>
|
|
1178
|
+
<line num="11" count="17" type="stmt"/>
|
|
1203
1179
|
<line num="12" count="0" type="stmt"/>
|
|
1204
1180
|
<line num="13" count="0" type="stmt"/>
|
|
1205
1181
|
<line num="14" count="0" type="stmt"/>
|
|
@@ -1211,19 +1187,19 @@
|
|
|
1211
1187
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1212
1188
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/index.ts">
|
|
1213
1189
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1214
|
-
<line num="1" count="
|
|
1215
|
-
<line num="2" count="
|
|
1216
|
-
<line num="4" count="
|
|
1190
|
+
<line num="1" count="17" type="stmt"/>
|
|
1191
|
+
<line num="2" count="17" type="stmt"/>
|
|
1192
|
+
<line num="4" count="17" type="stmt"/>
|
|
1217
1193
|
</file>
|
|
1218
1194
|
</package>
|
|
1219
1195
|
<package name="src.sdk.accounts">
|
|
1220
1196
|
<metrics statements="30" coveredstatements="26" conditionals="5" coveredconditionals="2" methods="13" coveredmethods="13"/>
|
|
1221
1197
|
<file name="accounts.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/accounts/accounts.ts">
|
|
1222
1198
|
<metrics statements="29" coveredstatements="25" conditionals="5" coveredconditionals="2" methods="13" coveredmethods="13"/>
|
|
1223
|
-
<line num="2" count="
|
|
1224
|
-
<line num="10" count="
|
|
1199
|
+
<line num="2" count="17" type="stmt"/>
|
|
1200
|
+
<line num="10" count="17" type="stmt"/>
|
|
1225
1201
|
<line num="11" count="6" type="stmt"/>
|
|
1226
|
-
<line num="14" count="
|
|
1202
|
+
<line num="14" count="17" type="stmt"/>
|
|
1227
1203
|
<line num="16" count="3" type="stmt"/>
|
|
1228
1204
|
<line num="17" count="3" type="stmt"/>
|
|
1229
1205
|
<line num="18" count="3" type="stmt"/>
|
|
@@ -1232,7 +1208,7 @@
|
|
|
1232
1208
|
<line num="22" count="3" type="stmt"/>
|
|
1233
1209
|
<line num="23" count="3" type="stmt"/>
|
|
1234
1210
|
<line num="24" count="3" type="stmt"/>
|
|
1235
|
-
<line num="28" count="
|
|
1211
|
+
<line num="28" count="17" type="stmt"/>
|
|
1236
1212
|
<line num="30" count="7" type="stmt"/>
|
|
1237
1213
|
<line num="31" count="7" type="stmt"/>
|
|
1238
1214
|
<line num="32" count="7" type="stmt"/>
|
|
@@ -1240,7 +1216,7 @@
|
|
|
1240
1216
|
<line num="35" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
1241
1217
|
<line num="37" count="5" type="stmt"/>
|
|
1242
1218
|
<line num="39" count="0" type="stmt"/>
|
|
1243
|
-
<line num="45" count="
|
|
1219
|
+
<line num="45" count="17" type="stmt"/>
|
|
1244
1220
|
<line num="46" count="2" type="stmt"/>
|
|
1245
1221
|
<line num="47" count="2" type="stmt"/>
|
|
1246
1222
|
<line num="48" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
@@ -1252,45 +1228,45 @@
|
|
|
1252
1228
|
</file>
|
|
1253
1229
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/accounts/index.ts">
|
|
1254
1230
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1255
|
-
<line num="1" count="
|
|
1231
|
+
<line num="1" count="17" type="stmt"/>
|
|
1256
1232
|
</file>
|
|
1257
1233
|
</package>
|
|
1258
1234
|
<package name="src.sdk.users">
|
|
1259
|
-
<metrics statements="319" coveredstatements="
|
|
1235
|
+
<metrics statements="319" coveredstatements="283" conditionals="112" coveredconditionals="92" methods="76" coveredmethods="67"/>
|
|
1260
1236
|
<file name="events.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/users/events.ts">
|
|
1261
1237
|
<metrics statements="69" coveredstatements="67" conditionals="37" coveredconditionals="35" methods="18" coveredmethods="18"/>
|
|
1262
|
-
<line num="1" count="
|
|
1263
|
-
<line num="2" count="
|
|
1264
|
-
<line num="5" count="
|
|
1238
|
+
<line num="1" count="17" type="stmt"/>
|
|
1239
|
+
<line num="2" count="17" type="stmt"/>
|
|
1240
|
+
<line num="5" count="17" type="stmt"/>
|
|
1265
1241
|
<line num="6" count="6" type="stmt"/>
|
|
1266
1242
|
<line num="8" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
1267
1243
|
<line num="9" count="4" type="stmt"/>
|
|
1268
1244
|
<line num="12" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
1269
1245
|
<line num="13" count="2" type="stmt"/>
|
|
1270
|
-
<line num="17" count="
|
|
1271
|
-
<line num="21" count="
|
|
1272
|
-
<line num="22" count="
|
|
1246
|
+
<line num="17" count="17" type="stmt"/>
|
|
1247
|
+
<line num="21" count="87" type="stmt"/>
|
|
1248
|
+
<line num="22" count="87" type="stmt"/>
|
|
1273
1249
|
<line num="24" count="10" type="cond" truecount="3" falsecount="0"/>
|
|
1274
1250
|
<line num="25" count="9" type="stmt"/>
|
|
1275
|
-
<line num="30" count="
|
|
1276
|
-
<line num="34" count="
|
|
1277
|
-
<line num="35" count="
|
|
1278
|
-
<line num="36" count="
|
|
1251
|
+
<line num="30" count="17" type="stmt"/>
|
|
1252
|
+
<line num="34" count="87" type="stmt"/>
|
|
1253
|
+
<line num="35" count="87" type="cond" truecount="1" falsecount="0"/>
|
|
1254
|
+
<line num="36" count="78" type="stmt"/>
|
|
1279
1255
|
<line num="38" count="9" type="stmt"/>
|
|
1280
1256
|
<line num="40" count="4" type="cond" truecount="3" falsecount="0"/>
|
|
1281
1257
|
<line num="41" count="3" type="stmt"/>
|
|
1282
|
-
<line num="46" count="
|
|
1283
|
-
<line num="47" count="
|
|
1284
|
-
<line num="48" count="
|
|
1285
|
-
<line num="50" count="
|
|
1286
|
-
<line num="51" count="
|
|
1287
|
-
<line num="54" count="
|
|
1288
|
-
<line num="57" count="
|
|
1289
|
-
<line num="58" count="
|
|
1290
|
-
<line num="60" count="
|
|
1291
|
-
<line num="61" count="
|
|
1292
|
-
<line num="63" count="
|
|
1293
|
-
<line num="65" count="
|
|
1258
|
+
<line num="46" count="87" type="stmt"/>
|
|
1259
|
+
<line num="47" count="87" type="stmt"/>
|
|
1260
|
+
<line num="48" count="87" type="cond" truecount="4" falsecount="0"/>
|
|
1261
|
+
<line num="50" count="87" type="stmt"/>
|
|
1262
|
+
<line num="51" count="87" type="stmt"/>
|
|
1263
|
+
<line num="54" count="17" type="stmt"/>
|
|
1264
|
+
<line num="57" count="87" type="stmt"/>
|
|
1265
|
+
<line num="58" count="87" type="stmt"/>
|
|
1266
|
+
<line num="60" count="87" type="cond" truecount="3" falsecount="0"/>
|
|
1267
|
+
<line num="61" count="87" type="stmt"/>
|
|
1268
|
+
<line num="63" count="87" type="stmt"/>
|
|
1269
|
+
<line num="65" count="87" type="cond" truecount="2" falsecount="0"/>
|
|
1294
1270
|
<line num="66" count="9" type="stmt"/>
|
|
1295
1271
|
<line num="68" count="9" type="cond" truecount="1" falsecount="0"/>
|
|
1296
1272
|
<line num="69" count="2" type="stmt"/>
|
|
@@ -1298,29 +1274,29 @@
|
|
|
1298
1274
|
<line num="73" count="1" type="stmt"/>
|
|
1299
1275
|
<line num="76" count="9" type="cond" truecount="1" falsecount="0"/>
|
|
1300
1276
|
<line num="81" count="1" type="stmt"/>
|
|
1301
|
-
<line num="84" count="
|
|
1302
|
-
<line num="87" count="
|
|
1303
|
-
<line num="88" count="
|
|
1304
|
-
<line num="91" count="
|
|
1305
|
-
<line num="92" count="
|
|
1306
|
-
<line num="95" count="
|
|
1307
|
-
<line num="98" count="
|
|
1308
|
-
<line num="99" count="
|
|
1309
|
-
<line num="101" count="
|
|
1310
|
-
<line num="102" count="
|
|
1311
|
-
<line num="105" count="
|
|
1277
|
+
<line num="84" count="78" type="stmt"/>
|
|
1278
|
+
<line num="87" count="87" type="cond" truecount="1" falsecount="0"/>
|
|
1279
|
+
<line num="88" count="52" type="stmt"/>
|
|
1280
|
+
<line num="91" count="87" type="cond" truecount="1" falsecount="0"/>
|
|
1281
|
+
<line num="92" count="46" type="stmt"/>
|
|
1282
|
+
<line num="95" count="87" type="stmt"/>
|
|
1283
|
+
<line num="98" count="111" type="cond" truecount="2" falsecount="0"/>
|
|
1284
|
+
<line num="99" count="111" type="cond" truecount="2" falsecount="0"/>
|
|
1285
|
+
<line num="101" count="17" type="stmt"/>
|
|
1286
|
+
<line num="102" count="87" type="stmt"/>
|
|
1287
|
+
<line num="105" count="17" type="stmt"/>
|
|
1312
1288
|
<line num="106" count="9" type="stmt"/>
|
|
1313
|
-
<line num="109" count="
|
|
1314
|
-
<line num="110" count="
|
|
1315
|
-
<line num="113" count="
|
|
1289
|
+
<line num="109" count="17" type="stmt"/>
|
|
1290
|
+
<line num="110" count="87" type="stmt"/>
|
|
1291
|
+
<line num="113" count="17" type="stmt"/>
|
|
1316
1292
|
<line num="114" count="9" type="stmt"/>
|
|
1317
|
-
<line num="120" count="
|
|
1318
|
-
<line num="126" count="
|
|
1319
|
-
<line num="127" count="
|
|
1320
|
-
<line num="131" count="
|
|
1293
|
+
<line num="120" count="17" type="stmt"/>
|
|
1294
|
+
<line num="126" count="174" type="cond" truecount="1" falsecount="0"/>
|
|
1295
|
+
<line num="127" count="76" type="stmt"/>
|
|
1296
|
+
<line num="131" count="98" type="cond" truecount="2" falsecount="1"/>
|
|
1321
1297
|
<line num="132" count="0" type="stmt"/>
|
|
1322
|
-
<line num="136" count="
|
|
1323
|
-
<line num="142" count="
|
|
1298
|
+
<line num="136" count="98" type="stmt"/>
|
|
1299
|
+
<line num="142" count="17" type="stmt"/>
|
|
1324
1300
|
<line num="148" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
1325
1301
|
<line num="149" count="3" type="stmt"/>
|
|
1326
1302
|
<line num="153" count="15" type="cond" truecount="0" falsecount="1"/>
|
|
@@ -1331,27 +1307,27 @@
|
|
|
1331
1307
|
</file>
|
|
1332
1308
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/users/index.ts">
|
|
1333
1309
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1334
|
-
<line num="1" count="
|
|
1310
|
+
<line num="1" count="17" type="stmt"/>
|
|
1335
1311
|
</file>
|
|
1336
1312
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/users/users.ts">
|
|
1337
|
-
<metrics statements="249" coveredstatements="
|
|
1338
|
-
<line num="1" count="
|
|
1339
|
-
<line num="2" count="
|
|
1340
|
-
<line num="3" count="
|
|
1341
|
-
<line num="4" count="
|
|
1342
|
-
<line num="19" count="
|
|
1343
|
-
<line num="33" count="
|
|
1344
|
-
<line num="34" count="
|
|
1345
|
-
<line num="35" count="
|
|
1346
|
-
<line num="37" count="
|
|
1347
|
-
<line num="39" count="
|
|
1313
|
+
<metrics statements="249" coveredstatements="215" conditionals="75" coveredconditionals="57" methods="58" coveredmethods="49"/>
|
|
1314
|
+
<line num="1" count="17" type="stmt"/>
|
|
1315
|
+
<line num="2" count="17" type="stmt"/>
|
|
1316
|
+
<line num="3" count="17" type="stmt"/>
|
|
1317
|
+
<line num="4" count="17" type="stmt"/>
|
|
1318
|
+
<line num="19" count="17" type="stmt"/>
|
|
1319
|
+
<line num="33" count="17" type="stmt"/>
|
|
1320
|
+
<line num="34" count="17" type="stmt"/>
|
|
1321
|
+
<line num="35" count="17" type="stmt"/>
|
|
1322
|
+
<line num="37" count="17" type="stmt"/>
|
|
1323
|
+
<line num="39" count="17" type="stmt"/>
|
|
1348
1324
|
<line num="40" count="0" type="stmt"/>
|
|
1349
1325
|
<line num="41" count="0" type="stmt"/>
|
|
1350
1326
|
<line num="46" count="0" type="stmt"/>
|
|
1351
|
-
<line num="49" count="
|
|
1327
|
+
<line num="49" count="17" type="stmt"/>
|
|
1352
1328
|
<line num="50" count="0" type="stmt"/>
|
|
1353
1329
|
<line num="51" count="0" type="stmt"/>
|
|
1354
|
-
<line num="56" count="
|
|
1330
|
+
<line num="56" count="17" type="cond" truecount="0" falsecount="1"/>
|
|
1355
1331
|
<line num="61" count="0" type="stmt"/>
|
|
1356
1332
|
<line num="62" count="0" type="stmt"/>
|
|
1357
1333
|
<line num="64" count="0" type="stmt"/>
|
|
@@ -1367,100 +1343,100 @@
|
|
|
1367
1343
|
<line num="84" count="0" type="stmt"/>
|
|
1368
1344
|
<line num="85" count="0" type="stmt"/>
|
|
1369
1345
|
<line num="87" count="0" type="stmt"/>
|
|
1370
|
-
<line num="97" count="
|
|
1371
|
-
<line num="98" count="
|
|
1372
|
-
<line num="99" count="
|
|
1373
|
-
<line num="100" count="
|
|
1374
|
-
<line num="101" count="
|
|
1375
|
-
<line num="103" count="
|
|
1376
|
-
<line num="111" count="
|
|
1377
|
-
<line num="119" count="
|
|
1378
|
-
<line num="120" count="
|
|
1379
|
-
<line num="123" count="
|
|
1380
|
-
<line num="124" count="
|
|
1381
|
-
<line num="125" count="
|
|
1346
|
+
<line num="97" count="17" type="stmt"/>
|
|
1347
|
+
<line num="98" count="7" type="stmt"/>
|
|
1348
|
+
<line num="99" count="7" type="stmt"/>
|
|
1349
|
+
<line num="100" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
1350
|
+
<line num="101" count="7" type="stmt"/>
|
|
1351
|
+
<line num="103" count="7" type="stmt"/>
|
|
1352
|
+
<line num="111" count="17" type="stmt"/>
|
|
1353
|
+
<line num="119" count="87" type="stmt"/>
|
|
1354
|
+
<line num="120" count="87" type="stmt"/>
|
|
1355
|
+
<line num="123" count="87" type="cond" truecount="2" falsecount="0"/>
|
|
1356
|
+
<line num="124" count="86" type="cond" truecount="1" falsecount="1"/>
|
|
1357
|
+
<line num="125" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1382
1358
|
<line num="126" count="0" type="stmt"/>
|
|
1383
|
-
<line num="127" count="
|
|
1359
|
+
<line num="127" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1384
1360
|
<line num="128" count="0" type="stmt"/>
|
|
1385
|
-
<line num="131" count="
|
|
1386
|
-
<line num="133" count="
|
|
1387
|
-
<line num="142" count="
|
|
1361
|
+
<line num="131" count="87" type="cond" truecount="2" falsecount="0"/>
|
|
1362
|
+
<line num="133" count="87" type="stmt"/>
|
|
1363
|
+
<line num="142" count="87" type="cond" truecount="1" falsecount="0"/>
|
|
1388
1364
|
<line num="143" count="1" type="stmt"/>
|
|
1389
|
-
<line num="146" count="
|
|
1390
|
-
<line num="147" count="
|
|
1391
|
-
<line num="150" count="
|
|
1392
|
-
<line num="153" count="
|
|
1393
|
-
<line num="155" count="
|
|
1394
|
-
<line num="156" count="
|
|
1395
|
-
<line num="157" count="
|
|
1365
|
+
<line num="146" count="87" type="cond" truecount="1" falsecount="0"/>
|
|
1366
|
+
<line num="147" count="78" type="stmt"/>
|
|
1367
|
+
<line num="150" count="87" type="stmt"/>
|
|
1368
|
+
<line num="153" count="83" type="stmt"/>
|
|
1369
|
+
<line num="155" count="83" type="cond" truecount="1" falsecount="0"/>
|
|
1370
|
+
<line num="156" count="83" type="stmt"/>
|
|
1371
|
+
<line num="157" count="83" type="cond" truecount="3" falsecount="0"/>
|
|
1396
1372
|
<line num="158" count="1" type="stmt"/>
|
|
1397
|
-
<line num="163" count="
|
|
1398
|
-
<line num="164" count="
|
|
1399
|
-
<line num="165" count="
|
|
1373
|
+
<line num="163" count="82" type="cond" truecount="3" falsecount="0"/>
|
|
1374
|
+
<line num="164" count="82" type="stmt"/>
|
|
1375
|
+
<line num="165" count="82" type="cond" truecount="4" falsecount="0"/>
|
|
1400
1376
|
<line num="166" count="1" type="stmt"/>
|
|
1401
|
-
<line num="171" count="
|
|
1402
|
-
<line num="177" count="
|
|
1403
|
-
<line num="178" count="
|
|
1404
|
-
<line num="179" count="
|
|
1405
|
-
<line num="181" count="
|
|
1406
|
-
<line num="183" count="
|
|
1377
|
+
<line num="171" count="17" type="stmt"/>
|
|
1378
|
+
<line num="177" count="86" type="stmt"/>
|
|
1379
|
+
<line num="178" count="86" type="stmt"/>
|
|
1380
|
+
<line num="179" count="86" type="stmt"/>
|
|
1381
|
+
<line num="181" count="86" type="cond" truecount="1" falsecount="0"/>
|
|
1382
|
+
<line num="183" count="86" type="cond" truecount="1" falsecount="2"/>
|
|
1407
1383
|
<line num="184" count="0" type="stmt"/>
|
|
1408
|
-
<line num="188" count="
|
|
1409
|
-
<line num="190" count="
|
|
1410
|
-
<line num="191" count="
|
|
1384
|
+
<line num="188" count="86" type="cond" truecount="1" falsecount="0"/>
|
|
1385
|
+
<line num="190" count="11" type="stmt"/>
|
|
1386
|
+
<line num="191" count="11" type="stmt"/>
|
|
1411
1387
|
<line num="192" count="10" type="cond" truecount="3" falsecount="0"/>
|
|
1412
1388
|
<line num="193" count="1" type="stmt"/>
|
|
1413
1389
|
<line num="195" count="9" type="stmt"/>
|
|
1414
|
-
<line num="197" count="
|
|
1390
|
+
<line num="197" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1415
1391
|
<line num="200" count="1" type="stmt"/>
|
|
1416
|
-
<line num="205" count="
|
|
1417
|
-
<line num="207" count="
|
|
1418
|
-
<line num="208" count="
|
|
1392
|
+
<line num="205" count="85" type="cond" truecount="3" falsecount="0"/>
|
|
1393
|
+
<line num="207" count="76" type="stmt"/>
|
|
1394
|
+
<line num="208" count="76" type="cond" truecount="3" falsecount="0"/>
|
|
1419
1395
|
<line num="209" count="2" type="stmt"/>
|
|
1420
|
-
<line num="213" count="
|
|
1421
|
-
<line num="215" count="
|
|
1422
|
-
<line num="219" count="
|
|
1423
|
-
<line num="220" count="
|
|
1424
|
-
<line num="221" count="
|
|
1425
|
-
<line num="223" count="
|
|
1396
|
+
<line num="213" count="83" type="stmt"/>
|
|
1397
|
+
<line num="215" count="81" type="stmt"/>
|
|
1398
|
+
<line num="219" count="81" type="stmt"/>
|
|
1399
|
+
<line num="220" count="81" type="cond" truecount="1" falsecount="0"/>
|
|
1400
|
+
<line num="221" count="71" type="stmt"/>
|
|
1401
|
+
<line num="223" count="71" type="cond" truecount="0" falsecount="1"/>
|
|
1426
1402
|
<line num="224" count="0" type="stmt"/>
|
|
1427
1403
|
<line num="225" count="0" type="stmt"/>
|
|
1428
|
-
<line num="230" count="
|
|
1429
|
-
<line num="232" count="
|
|
1430
|
-
<line num="233" count="
|
|
1431
|
-
<line num="235" count="
|
|
1432
|
-
<line num="236" count="
|
|
1433
|
-
<line num="237" count="
|
|
1434
|
-
<line num="239" count="
|
|
1435
|
-
<line num="241" count="
|
|
1436
|
-
<line num="243" count="
|
|
1404
|
+
<line num="230" count="81" type="stmt"/>
|
|
1405
|
+
<line num="232" count="81" type="stmt"/>
|
|
1406
|
+
<line num="233" count="81" type="stmt"/>
|
|
1407
|
+
<line num="235" count="81" type="stmt"/>
|
|
1408
|
+
<line num="236" count="81" type="stmt"/>
|
|
1409
|
+
<line num="237" count="81" type="stmt"/>
|
|
1410
|
+
<line num="239" count="81" type="stmt"/>
|
|
1411
|
+
<line num="241" count="81" type="stmt"/>
|
|
1412
|
+
<line num="243" count="81" type="stmt"/>
|
|
1437
1413
|
<line num="249" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1438
1414
|
<line num="250" count="0" type="stmt"/>
|
|
1439
1415
|
<line num="252" count="0" type="stmt"/>
|
|
1440
|
-
<line num="257" count="
|
|
1441
|
-
<line num="261" count="
|
|
1442
|
-
<line num="262" count="
|
|
1443
|
-
<line num="263" count="
|
|
1444
|
-
<line num="264" count="
|
|
1445
|
-
<line num="268" count="
|
|
1446
|
-
<line num="272" count="
|
|
1416
|
+
<line num="257" count="17" type="stmt"/>
|
|
1417
|
+
<line num="261" count="87" type="stmt"/>
|
|
1418
|
+
<line num="262" count="87" type="cond" truecount="1" falsecount="0"/>
|
|
1419
|
+
<line num="263" count="87" type="stmt"/>
|
|
1420
|
+
<line num="264" count="40" type="stmt"/>
|
|
1421
|
+
<line num="268" count="87" type="stmt"/>
|
|
1422
|
+
<line num="272" count="17" type="stmt"/>
|
|
1447
1423
|
<line num="273" count="16" type="stmt"/>
|
|
1448
1424
|
<line num="274" count="11" type="stmt"/>
|
|
1449
1425
|
<line num="279" count="11" type="stmt"/>
|
|
1450
1426
|
<line num="283" count="11" type="stmt"/>
|
|
1451
|
-
<line num="291" count="
|
|
1427
|
+
<line num="291" count="17" type="stmt"/>
|
|
1452
1428
|
<line num="293" count="11" type="stmt"/>
|
|
1453
1429
|
<line num="294" count="16" type="stmt"/>
|
|
1454
1430
|
<line num="295" count="11" type="stmt"/>
|
|
1455
1431
|
<line num="300" count="11" type="stmt"/>
|
|
1456
1432
|
<line num="303" count="11" type="stmt"/>
|
|
1457
|
-
<line num="310" count="
|
|
1433
|
+
<line num="310" count="17" type="stmt"/>
|
|
1458
1434
|
<line num="312" count="11" type="stmt"/>
|
|
1459
1435
|
<line num="313" count="16" type="stmt"/>
|
|
1460
1436
|
<line num="314" count="11" type="stmt"/>
|
|
1461
1437
|
<line num="319" count="11" type="stmt"/>
|
|
1462
1438
|
<line num="323" count="11" type="stmt"/>
|
|
1463
|
-
<line num="337" count="
|
|
1439
|
+
<line num="337" count="17" type="stmt"/>
|
|
1464
1440
|
<line num="338" count="11" type="stmt"/>
|
|
1465
1441
|
<line num="340" count="11" type="stmt"/>
|
|
1466
1442
|
<line num="341" count="11" type="stmt"/>
|
|
@@ -1469,7 +1445,7 @@
|
|
|
1469
1445
|
<line num="346" count="11" type="stmt"/>
|
|
1470
1446
|
<line num="347" count="11" type="stmt"/>
|
|
1471
1447
|
<line num="349" count="11" type="stmt"/>
|
|
1472
|
-
<line num="352" count="
|
|
1448
|
+
<line num="352" count="17" type="stmt"/>
|
|
1473
1449
|
<line num="355" count="6" type="stmt"/>
|
|
1474
1450
|
<line num="356" count="6" type="stmt"/>
|
|
1475
1451
|
<line num="358" count="6" type="stmt"/>
|
|
@@ -1501,7 +1477,7 @@
|
|
|
1501
1477
|
<line num="420" count="0" type="stmt"/>
|
|
1502
1478
|
<line num="422" count="6" type="stmt"/>
|
|
1503
1479
|
<line num="425" count="6" type="stmt"/>
|
|
1504
|
-
<line num="434" count="
|
|
1480
|
+
<line num="434" count="17" type="stmt"/>
|
|
1505
1481
|
<line num="436" count="2" type="stmt"/>
|
|
1506
1482
|
<line num="437" count="2" type="cond" truecount="3" falsecount="0"/>
|
|
1507
1483
|
<line num="438" count="2" type="stmt"/>
|
|
@@ -1511,7 +1487,7 @@
|
|
|
1511
1487
|
<line num="444" count="2" type="stmt"/>
|
|
1512
1488
|
<line num="445" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1513
1489
|
<line num="446" count="1" type="stmt"/>
|
|
1514
|
-
<line num="451" count="
|
|
1490
|
+
<line num="451" count="17" type="stmt"/>
|
|
1515
1491
|
<line num="453" count="2" type="stmt"/>
|
|
1516
1492
|
<line num="454" count="2" type="stmt"/>
|
|
1517
1493
|
<line num="456" count="2" type="stmt"/>
|
|
@@ -1536,7 +1512,7 @@
|
|
|
1536
1512
|
<line num="506" count="3" type="stmt"/>
|
|
1537
1513
|
<line num="508" count="0" type="stmt"/>
|
|
1538
1514
|
<line num="516" count="2" type="stmt"/>
|
|
1539
|
-
<line num="519" count="
|
|
1515
|
+
<line num="519" count="17" type="stmt"/>
|
|
1540
1516
|
<line num="520" count="4" type="stmt"/>
|
|
1541
1517
|
<line num="521" count="4" type="stmt"/>
|
|
1542
1518
|
<line num="522" count="4" type="stmt"/>
|
|
@@ -1553,14 +1529,14 @@
|
|
|
1553
1529
|
<line num="542" count="3" type="stmt"/>
|
|
1554
1530
|
<line num="543" count="3" type="stmt"/>
|
|
1555
1531
|
<line num="545" count="3" type="stmt"/>
|
|
1556
|
-
<line num="548" count="
|
|
1532
|
+
<line num="548" count="17" type="stmt"/>
|
|
1557
1533
|
<line num="549" count="3" type="stmt"/>
|
|
1558
1534
|
<line num="550" count="3" type="stmt"/>
|
|
1559
1535
|
<line num="551" count="3" type="stmt"/>
|
|
1560
1536
|
<line num="552" count="3" type="stmt"/>
|
|
1561
1537
|
<line num="553" count="3" type="stmt"/>
|
|
1562
1538
|
<line num="555" count="3" type="stmt"/>
|
|
1563
|
-
<line num="558" count="
|
|
1539
|
+
<line num="558" count="17" type="stmt"/>
|
|
1564
1540
|
<line num="560" count="5" type="stmt"/>
|
|
1565
1541
|
<line num="561" count="5" type="stmt"/>
|
|
1566
1542
|
<line num="566" count="6" type="stmt"/>
|
|
@@ -1587,202 +1563,287 @@
|
|
|
1587
1563
|
</file>
|
|
1588
1564
|
</package>
|
|
1589
1565
|
<package name="src.tests">
|
|
1590
|
-
<metrics statements="
|
|
1566
|
+
<metrics statements="118" coveredstatements="111" conditionals="16" coveredconditionals="12" methods="37" coveredmethods="33"/>
|
|
1591
1567
|
<file name="TestConfiguration.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/TestConfiguration.ts">
|
|
1592
|
-
<metrics statements="
|
|
1593
|
-
<line num="1" count="
|
|
1594
|
-
<line num="2" count="
|
|
1595
|
-
<line num="3" count="
|
|
1596
|
-
<line num="4" count="
|
|
1597
|
-
<line num="5" count="
|
|
1598
|
-
<line num="6" count="
|
|
1599
|
-
<line num="7" count="
|
|
1600
|
-
<line num="8" count="
|
|
1601
|
-
<line num="
|
|
1602
|
-
<line num="
|
|
1603
|
-
<line num="
|
|
1604
|
-
<line num="
|
|
1605
|
-
<line num="
|
|
1606
|
-
<line num="
|
|
1607
|
-
<line num="
|
|
1608
|
-
<line num="
|
|
1609
|
-
<line num="
|
|
1610
|
-
<line num="
|
|
1611
|
-
<line num="
|
|
1612
|
-
<line num="
|
|
1613
|
-
<line num="
|
|
1614
|
-
<line num="
|
|
1615
|
-
<line num="57" count="
|
|
1616
|
-
<line num="
|
|
1617
|
-
<line num="
|
|
1618
|
-
<line num="
|
|
1619
|
-
<line num="
|
|
1620
|
-
<line num="
|
|
1621
|
-
<line num="
|
|
1622
|
-
<line num="
|
|
1623
|
-
<line num="
|
|
1624
|
-
<line num="
|
|
1625
|
-
<line num="
|
|
1626
|
-
<line num="
|
|
1627
|
-
<line num="
|
|
1628
|
-
<line num="
|
|
1629
|
-
<line num="
|
|
1630
|
-
<line num="
|
|
1631
|
-
<line num="
|
|
1632
|
-
<line num="
|
|
1633
|
-
<line num="91" count="
|
|
1634
|
-
<line num="
|
|
1635
|
-
<line num="
|
|
1636
|
-
<line num="
|
|
1637
|
-
<line num="
|
|
1638
|
-
<line num="
|
|
1639
|
-
<line num="
|
|
1640
|
-
<line num="
|
|
1641
|
-
<line num="
|
|
1642
|
-
<line num="
|
|
1643
|
-
<line num="
|
|
1644
|
-
<line num="
|
|
1645
|
-
<line num="
|
|
1646
|
-
<line num="
|
|
1647
|
-
<line num="
|
|
1648
|
-
<line num="
|
|
1649
|
-
<line num="
|
|
1650
|
-
<line num="
|
|
1651
|
-
<line num="
|
|
1652
|
-
<line num="
|
|
1653
|
-
<line num="
|
|
1654
|
-
<line num="
|
|
1655
|
-
<line num="
|
|
1656
|
-
<line num="
|
|
1657
|
-
<line num="
|
|
1658
|
-
<line num="
|
|
1659
|
-
<line num="
|
|
1660
|
-
<line num="
|
|
1661
|
-
<line num="
|
|
1662
|
-
<line num="
|
|
1663
|
-
<line num="
|
|
1664
|
-
<line num="
|
|
1665
|
-
<line num="
|
|
1666
|
-
<line num="
|
|
1667
|
-
<line num="
|
|
1668
|
-
<line num="200" count="
|
|
1669
|
-
<line num="201" count="
|
|
1670
|
-
<line num="
|
|
1671
|
-
<line num="
|
|
1672
|
-
<line num="
|
|
1673
|
-
<line num="
|
|
1674
|
-
<line num="
|
|
1675
|
-
<line num="
|
|
1676
|
-
<line num="
|
|
1677
|
-
<line num="
|
|
1678
|
-
<line num="
|
|
1679
|
-
<line num="
|
|
1680
|
-
<line num="
|
|
1681
|
-
<line num="
|
|
1682
|
-
<line num="
|
|
1683
|
-
<line num="
|
|
1684
|
-
<line num="
|
|
1685
|
-
<line num="
|
|
1686
|
-
<line num="
|
|
1568
|
+
<metrics statements="109" coveredstatements="102" conditionals="16" coveredconditionals="12" methods="37" coveredmethods="33"/>
|
|
1569
|
+
<line num="1" count="17" type="stmt"/>
|
|
1570
|
+
<line num="2" count="17" type="stmt"/>
|
|
1571
|
+
<line num="3" count="17" type="stmt"/>
|
|
1572
|
+
<line num="4" count="17" type="stmt"/>
|
|
1573
|
+
<line num="5" count="17" type="stmt"/>
|
|
1574
|
+
<line num="6" count="17" type="stmt"/>
|
|
1575
|
+
<line num="7" count="17" type="stmt"/>
|
|
1576
|
+
<line num="8" count="17" type="stmt"/>
|
|
1577
|
+
<line num="18" count="17" type="stmt"/>
|
|
1578
|
+
<line num="20" count="17" type="stmt"/>
|
|
1579
|
+
<line num="22" count="17" type="cond" truecount="2" falsecount="0"/>
|
|
1580
|
+
<line num="23" count="17" type="stmt"/>
|
|
1581
|
+
<line num="24" count="17" type="stmt"/>
|
|
1582
|
+
<line num="40" count="17" type="cond" truecount="1" falsecount="1"/>
|
|
1583
|
+
<line num="41" count="17" type="stmt"/>
|
|
1584
|
+
<line num="42" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1585
|
+
<line num="43" count="0" type="stmt"/>
|
|
1586
|
+
<line num="46" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
1587
|
+
<line num="47" count="17" type="stmt"/>
|
|
1588
|
+
<line num="48" count="17" type="stmt"/>
|
|
1589
|
+
<line num="50" count="17" type="stmt"/>
|
|
1590
|
+
<line num="53" count="17" type="stmt"/>
|
|
1591
|
+
<line num="57" count="0" type="stmt"/>
|
|
1592
|
+
<line num="62" count="17" type="stmt"/>
|
|
1593
|
+
<line num="63" count="25" type="stmt"/>
|
|
1594
|
+
<line num="64" count="25" type="stmt"/>
|
|
1595
|
+
<line num="67" count="17" type="stmt"/>
|
|
1596
|
+
<line num="68" count="25" type="stmt"/>
|
|
1597
|
+
<line num="69" count="25" type="stmt"/>
|
|
1598
|
+
<line num="72" count="17" type="stmt"/>
|
|
1599
|
+
<line num="73" count="21" type="stmt"/>
|
|
1600
|
+
<line num="74" count="21" type="stmt"/>
|
|
1601
|
+
<line num="77" count="17" type="stmt"/>
|
|
1602
|
+
<line num="78" count="4" type="stmt"/>
|
|
1603
|
+
<line num="79" count="4" type="stmt"/>
|
|
1604
|
+
<line num="85" count="152" type="stmt"/>
|
|
1605
|
+
<line num="87" count="152" type="stmt"/>
|
|
1606
|
+
<line num="88" count="152" type="stmt"/>
|
|
1607
|
+
<line num="89" count="152" type="stmt"/>
|
|
1608
|
+
<line num="90" count="152" type="stmt"/>
|
|
1609
|
+
<line num="91" count="152" type="stmt"/>
|
|
1610
|
+
<line num="94" count="152" type="stmt"/>
|
|
1611
|
+
<line num="95" count="16" type="stmt"/>
|
|
1612
|
+
<line num="97" count="152" type="cond" truecount="1" falsecount="0"/>
|
|
1613
|
+
<line num="98" count="72" type="stmt"/>
|
|
1614
|
+
<line num="100" count="152" type="stmt"/>
|
|
1615
|
+
<line num="101" count="152" type="stmt"/>
|
|
1616
|
+
<line num="103" count="136" type="stmt"/>
|
|
1617
|
+
<line num="109" count="17" type="stmt"/>
|
|
1618
|
+
<line num="110" count="17" type="stmt"/>
|
|
1619
|
+
<line num="112" count="17" type="stmt"/>
|
|
1620
|
+
<line num="113" count="17" type="stmt"/>
|
|
1621
|
+
<line num="114" count="17" type="stmt"/>
|
|
1622
|
+
<line num="119" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
1623
|
+
<line num="120" count="17" type="stmt"/>
|
|
1624
|
+
<line num="126" count="17" type="stmt"/>
|
|
1625
|
+
<line num="128" count="6" type="stmt"/>
|
|
1626
|
+
<line num="131" count="6" type="stmt"/>
|
|
1627
|
+
<line num="139" count="6" type="stmt"/>
|
|
1628
|
+
<line num="140" count="6" type="stmt"/>
|
|
1629
|
+
<line num="142" count="6" type="stmt"/>
|
|
1630
|
+
<line num="146" count="440" type="stmt"/>
|
|
1631
|
+
<line num="147" count="440" type="stmt"/>
|
|
1632
|
+
<line num="149" count="373" type="stmt"/>
|
|
1633
|
+
<line num="162" count="44" type="stmt"/>
|
|
1634
|
+
<line num="170" count="44" type="stmt"/>
|
|
1635
|
+
<line num="174" count="68" type="cond" truecount="0" falsecount="1"/>
|
|
1636
|
+
<line num="175" count="0" type="stmt"/>
|
|
1637
|
+
<line num="177" count="68" type="stmt"/>
|
|
1638
|
+
<line num="183" count="67" type="stmt"/>
|
|
1639
|
+
<line num="188" count="67" type="stmt"/>
|
|
1640
|
+
<line num="189" count="67" type="stmt"/>
|
|
1641
|
+
<line num="197" count="61" type="stmt"/>
|
|
1642
|
+
<line num="198" count="61" type="cond" truecount="2" falsecount="0"/>
|
|
1643
|
+
<line num="199" count="59" type="stmt"/>
|
|
1644
|
+
<line num="200" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1645
|
+
<line num="201" count="2" type="stmt"/>
|
|
1646
|
+
<line num="203" count="0" type="stmt"/>
|
|
1647
|
+
<line num="208" count="19" type="stmt"/>
|
|
1648
|
+
<line num="211" count="17" type="stmt"/>
|
|
1649
|
+
<line num="212" count="1" type="stmt"/>
|
|
1650
|
+
<line num="218" count="17" type="stmt"/>
|
|
1651
|
+
<line num="222" count="17" type="stmt"/>
|
|
1652
|
+
<line num="226" count="17" type="stmt"/>
|
|
1653
|
+
<line num="230" count="17" type="stmt"/>
|
|
1654
|
+
<line num="234" count="68" type="stmt"/>
|
|
1655
|
+
<line num="235" count="68" type="stmt"/>
|
|
1656
|
+
<line num="240" count="58" type="cond" truecount="1" falsecount="0"/>
|
|
1657
|
+
<line num="241" count="17" type="stmt"/>
|
|
1658
|
+
<line num="243" count="58" type="stmt"/>
|
|
1659
|
+
<line num="244" count="58" type="stmt"/>
|
|
1660
|
+
<line num="245" count="58" type="stmt"/>
|
|
1661
|
+
<line num="251" count="36" type="stmt"/>
|
|
1662
|
+
<line num="252" count="36" type="stmt"/>
|
|
1663
|
+
<line num="259" count="36" type="cond" truecount="1" falsecount="0"/>
|
|
1664
|
+
<line num="260" count="36" type="stmt"/>
|
|
1665
|
+
<line num="277" count="8" type="stmt"/>
|
|
1666
|
+
<line num="278" count="8" type="stmt"/>
|
|
1667
|
+
<line num="288" count="0" type="stmt"/>
|
|
1668
|
+
<line num="289" count="0" type="stmt"/>
|
|
1669
|
+
<line num="295" count="2" type="stmt"/>
|
|
1670
|
+
<line num="296" count="2" type="stmt"/>
|
|
1671
|
+
<line num="298" count="2" type="stmt"/>
|
|
1672
|
+
<line num="299" count="2" type="stmt"/>
|
|
1673
|
+
<line num="305" count="9" type="stmt"/>
|
|
1674
|
+
<line num="306" count="9" type="stmt"/>
|
|
1675
|
+
<line num="310" count="3" type="stmt"/>
|
|
1676
|
+
<line num="311" count="3" type="stmt"/>
|
|
1677
|
+
<line num="319" count="17" type="stmt"/>
|
|
1687
1678
|
</file>
|
|
1688
1679
|
<file name="controllers.js" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/controllers.js">
|
|
1689
1680
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1690
|
-
<line num="1" count="
|
|
1681
|
+
<line num="1" count="17" type="stmt"/>
|
|
1691
1682
|
</file>
|
|
1692
1683
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/index.ts">
|
|
1693
|
-
<metrics statements="
|
|
1694
|
-
<line num="1" count="
|
|
1695
|
-
<line num="2" count="
|
|
1696
|
-
<line num="3" count="
|
|
1697
|
-
<line num="4" count="
|
|
1698
|
-
<line num="
|
|
1699
|
-
<line num="
|
|
1684
|
+
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1685
|
+
<line num="1" count="17" type="stmt"/>
|
|
1686
|
+
<line num="2" count="17" type="stmt"/>
|
|
1687
|
+
<line num="3" count="17" type="stmt"/>
|
|
1688
|
+
<line num="4" count="17" type="stmt"/>
|
|
1689
|
+
<line num="5" count="17" type="stmt"/>
|
|
1690
|
+
<line num="6" count="17" type="stmt"/>
|
|
1691
|
+
<line num="8" count="17" type="stmt"/>
|
|
1692
|
+
<line num="18" count="17" type="stmt"/>
|
|
1700
1693
|
</file>
|
|
1701
1694
|
</package>
|
|
1702
1695
|
<package name="src.tests.api">
|
|
1703
|
-
<metrics statements="
|
|
1696
|
+
<metrics statements="147" coveredstatements="147" conditionals="69" coveredconditionals="61" methods="48" coveredmethods="48"/>
|
|
1704
1697
|
<file name="accounts.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/accounts.ts">
|
|
1705
1698
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
1706
|
-
<line num="
|
|
1707
|
-
<line num="
|
|
1708
|
-
<line num="
|
|
1709
|
-
<line num="
|
|
1710
|
-
<line num="
|
|
1711
|
-
<line num="
|
|
1712
|
-
<line num="
|
|
1713
|
-
<line num="
|
|
1699
|
+
<line num="3" count="17" type="stmt"/>
|
|
1700
|
+
<line num="5" count="17" type="stmt"/>
|
|
1701
|
+
<line num="7" count="17" type="stmt"/>
|
|
1702
|
+
<line num="10" count="17" type="stmt"/>
|
|
1703
|
+
<line num="11" count="3" type="stmt"/>
|
|
1704
|
+
<line num="17" count="3" type="stmt"/>
|
|
1705
|
+
<line num="20" count="17" type="stmt"/>
|
|
1706
|
+
<line num="21" count="2" type="stmt"/>
|
|
1714
1707
|
</file>
|
|
1715
1708
|
<file name="auth.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/auth.ts">
|
|
1716
1709
|
<metrics statements="16" coveredstatements="16" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
|
|
1717
|
-
<line num="
|
|
1718
|
-
<line num="
|
|
1719
|
-
<line num="
|
|
1720
|
-
<line num="
|
|
1721
|
-
<line num="
|
|
1722
|
-
<line num="
|
|
1723
|
-
<line num="
|
|
1724
|
-
<line num="
|
|
1710
|
+
<line num="2" count="17" type="stmt"/>
|
|
1711
|
+
<line num="4" count="17" type="stmt"/>
|
|
1712
|
+
<line num="6" count="17" type="stmt"/>
|
|
1713
|
+
<line num="9" count="17" type="stmt"/>
|
|
1714
|
+
<line num="10" count="1" type="stmt"/>
|
|
1715
|
+
<line num="20" count="17" type="stmt"/>
|
|
1716
|
+
<line num="21" count="1" type="stmt"/>
|
|
1717
|
+
<line num="27" count="17" type="stmt"/>
|
|
1718
|
+
<line num="28" count="2" type="stmt"/>
|
|
1719
|
+
<line num="29" count="2" type="stmt"/>
|
|
1720
|
+
<line num="30" count="2" type="stmt"/>
|
|
1725
1721
|
<line num="31" count="2" type="stmt"/>
|
|
1726
|
-
<line num="
|
|
1727
|
-
<line num="
|
|
1728
|
-
<line num="34" count="2" type="stmt"/>
|
|
1729
|
-
<line num="41" count="2" type="stmt"/>
|
|
1722
|
+
<line num="38" count="2" type="stmt"/>
|
|
1723
|
+
<line num="39" count="2" type="stmt"/>
|
|
1730
1724
|
<line num="42" count="2" type="stmt"/>
|
|
1731
|
-
<line num="
|
|
1732
|
-
|
|
1725
|
+
<line num="43" count="2" type="stmt"/>
|
|
1726
|
+
</file>
|
|
1727
|
+
<file name="base.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/base.ts">
|
|
1728
|
+
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1729
|
+
<line num="8" count="17" type="stmt"/>
|
|
1730
|
+
<line num="13" count="187" type="stmt"/>
|
|
1731
|
+
<line num="14" count="187" type="stmt"/>
|
|
1733
1732
|
</file>
|
|
1734
1733
|
<file name="configs.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/configs.ts">
|
|
1735
|
-
<metrics statements="
|
|
1736
|
-
<line num="
|
|
1737
|
-
<line num="
|
|
1738
|
-
<line num="
|
|
1739
|
-
<line num="
|
|
1740
|
-
<line num="
|
|
1741
|
-
<line num="
|
|
1742
|
-
<line num="
|
|
1743
|
-
<line num="
|
|
1744
|
-
<line num="
|
|
1745
|
-
<line num="
|
|
1734
|
+
<metrics statements="17" coveredstatements="17" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="6"/>
|
|
1735
|
+
<line num="2" count="17" type="stmt"/>
|
|
1736
|
+
<line num="4" count="17" type="stmt"/>
|
|
1737
|
+
<line num="6" count="17" type="stmt"/>
|
|
1738
|
+
<line num="9" count="17" type="stmt"/>
|
|
1739
|
+
<line num="10" count="1" type="stmt"/>
|
|
1740
|
+
<line num="17" count="17" type="stmt"/>
|
|
1741
|
+
<line num="18" count="19" type="stmt"/>
|
|
1742
|
+
<line num="26" count="17" type="stmt"/>
|
|
1743
|
+
<line num="27" count="1" type="stmt"/>
|
|
1744
|
+
<line num="28" count="1" type="stmt"/>
|
|
1745
|
+
<line num="29" count="3" type="stmt"/>
|
|
1746
|
+
<line num="31" count="1" type="stmt"/>
|
|
1747
|
+
<line num="32" count="1" type="stmt"/>
|
|
1748
|
+
<line num="35" count="1" type="stmt"/>
|
|
1746
1749
|
<line num="36" count="1" type="stmt"/>
|
|
1750
|
+
<line num="42" count="17" type="stmt"/>
|
|
1751
|
+
<line num="43" count="2" type="stmt"/>
|
|
1747
1752
|
</file>
|
|
1748
1753
|
<file name="email.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/email.ts">
|
|
1749
1754
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
1750
|
-
<line num="
|
|
1751
|
-
<line num="
|
|
1752
|
-
<line num="
|
|
1753
|
-
<line num="
|
|
1754
|
-
<line num="
|
|
1755
|
+
<line num="2" count="17" type="stmt"/>
|
|
1756
|
+
<line num="4" count="17" type="stmt"/>
|
|
1757
|
+
<line num="6" count="17" type="stmt"/>
|
|
1758
|
+
<line num="9" count="17" type="stmt"/>
|
|
1759
|
+
<line num="10" count="1" type="stmt"/>
|
|
1760
|
+
</file>
|
|
1761
|
+
<file name="environment.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/environment.ts">
|
|
1762
|
+
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
1763
|
+
<line num="2" count="17" type="stmt"/>
|
|
1764
|
+
<line num="4" count="17" type="stmt"/>
|
|
1765
|
+
<line num="6" count="17" type="stmt"/>
|
|
1766
|
+
<line num="9" count="17" type="stmt"/>
|
|
1767
|
+
<line num="10" count="1" type="stmt"/>
|
|
1755
1768
|
</file>
|
|
1756
1769
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/index.ts">
|
|
1757
|
-
<metrics statements="
|
|
1758
|
-
<line num="2" count="
|
|
1759
|
-
<line num="3" count="
|
|
1760
|
-
<line num="4" count="
|
|
1761
|
-
<line num="5" count="
|
|
1762
|
-
<line num="6" count="
|
|
1763
|
-
<line num="7" count="
|
|
1764
|
-
<line num="
|
|
1765
|
-
<line num="
|
|
1766
|
-
<line num="
|
|
1767
|
-
<line num="
|
|
1768
|
-
<line num="
|
|
1769
|
-
<line num="
|
|
1770
|
-
<line num="
|
|
1770
|
+
<metrics statements="23" coveredstatements="23" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1771
|
+
<line num="2" count="17" type="stmt"/>
|
|
1772
|
+
<line num="3" count="17" type="stmt"/>
|
|
1773
|
+
<line num="4" count="17" type="stmt"/>
|
|
1774
|
+
<line num="5" count="17" type="stmt"/>
|
|
1775
|
+
<line num="6" count="17" type="stmt"/>
|
|
1776
|
+
<line num="7" count="17" type="stmt"/>
|
|
1777
|
+
<line num="8" count="17" type="stmt"/>
|
|
1778
|
+
<line num="9" count="17" type="stmt"/>
|
|
1779
|
+
<line num="10" count="17" type="stmt"/>
|
|
1780
|
+
<line num="11" count="17" type="stmt"/>
|
|
1781
|
+
<line num="12" count="17" type="stmt"/>
|
|
1782
|
+
<line num="14" count="17" type="stmt"/>
|
|
1783
|
+
<line num="28" count="17" type="stmt"/>
|
|
1784
|
+
<line num="29" count="17" type="stmt"/>
|
|
1785
|
+
<line num="30" count="17" type="stmt"/>
|
|
1786
|
+
<line num="31" count="17" type="stmt"/>
|
|
1787
|
+
<line num="32" count="17" type="stmt"/>
|
|
1788
|
+
<line num="33" count="17" type="stmt"/>
|
|
1789
|
+
<line num="34" count="17" type="stmt"/>
|
|
1790
|
+
<line num="35" count="17" type="stmt"/>
|
|
1791
|
+
<line num="36" count="17" type="stmt"/>
|
|
1792
|
+
<line num="37" count="17" type="stmt"/>
|
|
1793
|
+
<line num="38" count="17" type="stmt"/>
|
|
1794
|
+
</file>
|
|
1795
|
+
<file name="migrations.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/migrations.ts">
|
|
1796
|
+
<metrics statements="7" coveredstatements="7" conditionals="24" coveredconditionals="24" methods="3" coveredmethods="3"/>
|
|
1797
|
+
<line num="2" count="17" type="stmt"/>
|
|
1798
|
+
<line num="4" count="17" type="stmt"/>
|
|
1799
|
+
<line num="6" count="17" type="stmt"/>
|
|
1800
|
+
<line num="9" count="17" type="stmt"/>
|
|
1801
|
+
<line num="10" count="2" type="stmt"/>
|
|
1802
|
+
<line num="16" count="17" type="stmt"/>
|
|
1803
|
+
<line num="17" count="2" type="stmt"/>
|
|
1804
|
+
</file>
|
|
1805
|
+
<file name="restore.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/restore.ts">
|
|
1806
|
+
<metrics statements="5" coveredstatements="5" conditionals="6" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
1807
|
+
<line num="2" count="17" type="stmt"/>
|
|
1808
|
+
<line num="4" count="17" type="stmt"/>
|
|
1809
|
+
<line num="6" count="17" type="stmt"/>
|
|
1810
|
+
<line num="9" count="17" type="stmt"/>
|
|
1811
|
+
<line num="10" count="2" type="stmt"/>
|
|
1771
1812
|
</file>
|
|
1772
1813
|
<file name="self.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/self.ts">
|
|
1814
|
+
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
1815
|
+
<line num="3" count="17" type="stmt"/>
|
|
1816
|
+
<line num="5" count="17" type="stmt"/>
|
|
1817
|
+
<line num="7" count="17" type="stmt"/>
|
|
1818
|
+
<line num="10" count="17" type="stmt"/>
|
|
1819
|
+
<line num="11" count="2" type="stmt"/>
|
|
1820
|
+
<line num="19" count="17" type="stmt"/>
|
|
1821
|
+
<line num="20" count="1" type="stmt"/>
|
|
1822
|
+
</file>
|
|
1823
|
+
<file name="status.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/status.ts">
|
|
1773
1824
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
1774
|
-
<line num="
|
|
1775
|
-
<line num="
|
|
1776
|
-
<line num="
|
|
1777
|
-
<line num="
|
|
1778
|
-
<line num="
|
|
1825
|
+
<line num="2" count="17" type="stmt"/>
|
|
1826
|
+
<line num="4" count="17" type="stmt"/>
|
|
1827
|
+
<line num="6" count="17" type="stmt"/>
|
|
1828
|
+
<line num="9" count="17" type="stmt"/>
|
|
1829
|
+
<line num="10" count="2" type="stmt"/>
|
|
1830
|
+
</file>
|
|
1831
|
+
<file name="tenants.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/tenants.ts">
|
|
1832
|
+
<metrics statements="5" coveredstatements="5" conditionals="10" coveredconditionals="8" methods="2" coveredmethods="2"/>
|
|
1833
|
+
<line num="2" count="17" type="stmt"/>
|
|
1834
|
+
<line num="4" count="17" type="stmt"/>
|
|
1835
|
+
<line num="6" count="17" type="stmt"/>
|
|
1836
|
+
<line num="9" count="17" type="stmt"/>
|
|
1837
|
+
<line num="10" count="3" type="stmt"/>
|
|
1779
1838
|
</file>
|
|
1780
1839
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/users.ts">
|
|
1781
|
-
<metrics statements="
|
|
1782
|
-
<line num="
|
|
1783
|
-
<line num="
|
|
1784
|
-
<line num="
|
|
1785
|
-
<line num="
|
|
1840
|
+
<metrics statements="41" coveredstatements="41" conditionals="29" coveredconditionals="23" methods="15" coveredmethods="15"/>
|
|
1841
|
+
<line num="8" count="17" type="stmt"/>
|
|
1842
|
+
<line num="9" count="17" type="stmt"/>
|
|
1843
|
+
<line num="11" count="17" type="stmt"/>
|
|
1844
|
+
<line num="13" count="17" type="stmt"/>
|
|
1845
|
+
<line num="15" count="17" type="stmt"/>
|
|
1846
|
+
<line num="20" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
1786
1847
|
<line num="21" count="3" type="stmt"/>
|
|
1787
1848
|
<line num="22" count="3" type="stmt"/>
|
|
1788
1849
|
<line num="23" count="3" type="stmt"/>
|
|
@@ -1792,31 +1853,39 @@
|
|
|
1792
1853
|
<line num="38" count="2" type="stmt"/>
|
|
1793
1854
|
<line num="41" count="2" type="stmt"/>
|
|
1794
1855
|
<line num="42" count="2" type="stmt"/>
|
|
1795
|
-
<line num="45" count="
|
|
1856
|
+
<line num="45" count="17" type="stmt"/>
|
|
1796
1857
|
<line num="46" count="1" type="stmt"/>
|
|
1797
|
-
<line num="56" count="
|
|
1858
|
+
<line num="56" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
1798
1859
|
<line num="57" count="2" type="stmt"/>
|
|
1799
1860
|
<line num="58" count="2" type="stmt"/>
|
|
1800
1861
|
<line num="59" count="2" type="stmt"/>
|
|
1801
|
-
<line num="69" count="
|
|
1862
|
+
<line num="69" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
1802
1863
|
<line num="70" count="6" type="stmt"/>
|
|
1803
1864
|
<line num="71" count="6" type="stmt"/>
|
|
1804
1865
|
<line num="78" count="6" type="stmt"/>
|
|
1805
|
-
<line num="81" count="
|
|
1866
|
+
<line num="81" count="17" type="stmt"/>
|
|
1806
1867
|
<line num="82" count="3" type="stmt"/>
|
|
1807
1868
|
<line num="83" count="3" type="stmt"/>
|
|
1808
1869
|
<line num="89" count="3" type="stmt"/>
|
|
1809
|
-
<line num="94" count="
|
|
1810
|
-
<line num="
|
|
1811
|
-
<line num="
|
|
1812
|
-
<line num="
|
|
1870
|
+
<line num="94" count="17" type="stmt"/>
|
|
1871
|
+
<line num="97" count="6" type="stmt"/>
|
|
1872
|
+
<line num="98" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
1873
|
+
<line num="99" count="6" type="stmt"/>
|
|
1874
|
+
<line num="105" count="6" type="stmt"/>
|
|
1875
|
+
<line num="112" count="6" type="stmt"/>
|
|
1876
|
+
<line num="118" count="17" type="stmt"/>
|
|
1877
|
+
<line num="119" count="20" type="stmt"/>
|
|
1878
|
+
<line num="127" count="17" type="stmt"/>
|
|
1879
|
+
<line num="128" count="5" type="stmt"/>
|
|
1880
|
+
<line num="135" count="17" type="stmt"/>
|
|
1881
|
+
<line num="136" count="6" type="stmt"/>
|
|
1813
1882
|
</file>
|
|
1814
1883
|
</package>
|
|
1815
1884
|
<package name="src.tests.mocks">
|
|
1816
1885
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1817
1886
|
<file name="email.js" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/mocks/email.js">
|
|
1818
1887
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1819
|
-
<line num="1" count="
|
|
1888
|
+
<line num="1" count="17" type="stmt"/>
|
|
1820
1889
|
<line num="3" count="4" type="stmt"/>
|
|
1821
1890
|
<line num="4" count="4" type="stmt"/>
|
|
1822
1891
|
<line num="5" count="4" type="stmt"/>
|
|
@@ -1824,81 +1893,72 @@
|
|
|
1824
1893
|
</file>
|
|
1825
1894
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/mocks/index.ts">
|
|
1826
1895
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1827
|
-
<line num="1" count="
|
|
1828
|
-
<line num="2" count="
|
|
1829
|
-
<line num="4" count="
|
|
1896
|
+
<line num="1" count="17" type="stmt"/>
|
|
1897
|
+
<line num="2" count="17" type="stmt"/>
|
|
1898
|
+
<line num="4" count="17" type="stmt"/>
|
|
1830
1899
|
</file>
|
|
1831
1900
|
</package>
|
|
1832
1901
|
<package name="src.tests.structures">
|
|
1833
|
-
<metrics statements="
|
|
1834
|
-
<file name="accounts.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/structures/accounts.ts">
|
|
1835
|
-
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
1836
|
-
<line num="1" count="7" type="stmt"/>
|
|
1837
|
-
<line num="2" count="7" type="stmt"/>
|
|
1838
|
-
<line num="3" count="7" type="stmt"/>
|
|
1839
|
-
<line num="5" count="7" type="stmt"/>
|
|
1840
|
-
<line num="6" count="8" type="stmt"/>
|
|
1841
|
-
<line num="19" count="7" type="stmt"/>
|
|
1842
|
-
<line num="20" count="5" type="stmt"/>
|
|
1843
|
-
</file>
|
|
1902
|
+
<metrics statements="35" coveredstatements="33" conditionals="0" coveredconditionals="0" methods="10" coveredmethods="9"/>
|
|
1844
1903
|
<file name="configs.js" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/structures/configs.js">
|
|
1845
1904
|
<metrics statements="12" coveredstatements="12" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
|
|
1846
|
-
<line num="1" count="
|
|
1847
|
-
<line num="2" count="
|
|
1848
|
-
<line num="4" count="
|
|
1905
|
+
<line num="1" count="17" type="stmt"/>
|
|
1906
|
+
<line num="2" count="17" type="stmt"/>
|
|
1907
|
+
<line num="4" count="17" type="stmt"/>
|
|
1849
1908
|
<line num="5" count="8" type="stmt"/>
|
|
1850
|
-
<line num="24" count="
|
|
1909
|
+
<line num="24" count="17" type="stmt"/>
|
|
1851
1910
|
<line num="25" count="6" type="stmt"/>
|
|
1852
|
-
<line num="36" count="
|
|
1911
|
+
<line num="36" count="17" type="stmt"/>
|
|
1853
1912
|
<line num="37" count="12" type="stmt"/>
|
|
1854
|
-
<line num="50" count="
|
|
1913
|
+
<line num="50" count="17" type="stmt"/>
|
|
1855
1914
|
<line num="51" count="3" type="stmt"/>
|
|
1856
|
-
<line num="66" count="
|
|
1915
|
+
<line num="66" count="17" type="stmt"/>
|
|
1857
1916
|
<line num="67" count="12" type="stmt"/>
|
|
1858
1917
|
</file>
|
|
1859
1918
|
<file name="groups.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/structures/groups.ts">
|
|
1860
1919
|
<metrics statements="3" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
1861
|
-
<line num="1" count="
|
|
1920
|
+
<line num="1" count="17" type="stmt"/>
|
|
1862
1921
|
<line num="2" count="0" type="stmt"/>
|
|
1863
1922
|
<line num="10" count="0" type="stmt"/>
|
|
1864
1923
|
</file>
|
|
1865
1924
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/structures/index.ts">
|
|
1866
|
-
<metrics statements="
|
|
1867
|
-
<line num="1" count="
|
|
1868
|
-
<line num="2" count="
|
|
1869
|
-
<line num="3" count="
|
|
1870
|
-
<line num="4" count="
|
|
1871
|
-
<line num="
|
|
1872
|
-
<line num="7" count="
|
|
1873
|
-
<line num="8" count="
|
|
1874
|
-
<line num="
|
|
1875
|
-
<line num="
|
|
1925
|
+
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1926
|
+
<line num="1" count="17" type="stmt"/>
|
|
1927
|
+
<line num="2" count="17" type="stmt"/>
|
|
1928
|
+
<line num="3" count="17" type="stmt"/>
|
|
1929
|
+
<line num="4" count="17" type="stmt"/>
|
|
1930
|
+
<line num="5" count="17" type="stmt"/>
|
|
1931
|
+
<line num="7" count="17" type="stmt"/>
|
|
1932
|
+
<line num="8" count="17" type="stmt"/>
|
|
1933
|
+
<line num="9" count="17" type="stmt"/>
|
|
1934
|
+
<line num="11" count="17" type="stmt"/>
|
|
1935
|
+
<line num="22" count="17" type="stmt"/>
|
|
1876
1936
|
</file>
|
|
1877
1937
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/structures/users.ts">
|
|
1878
1938
|
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
1879
|
-
<line num="1" count="
|
|
1880
|
-
<line num="3" count="
|
|
1881
|
-
<line num="5" count="
|
|
1882
|
-
<line num="6" count="
|
|
1883
|
-
<line num="
|
|
1884
|
-
<line num="
|
|
1885
|
-
<line num="
|
|
1886
|
-
<line num="
|
|
1887
|
-
<line num="
|
|
1888
|
-
<line num="
|
|
1939
|
+
<line num="1" count="17" type="stmt"/>
|
|
1940
|
+
<line num="3" count="17" type="stmt"/>
|
|
1941
|
+
<line num="5" count="17" type="stmt"/>
|
|
1942
|
+
<line num="6" count="78" type="stmt"/>
|
|
1943
|
+
<line num="9" count="17" type="stmt"/>
|
|
1944
|
+
<line num="10" count="74" type="stmt"/>
|
|
1945
|
+
<line num="18" count="17" type="stmt"/>
|
|
1946
|
+
<line num="19" count="40" type="stmt"/>
|
|
1947
|
+
<line num="30" count="17" type="stmt"/>
|
|
1948
|
+
<line num="31" count="6" type="stmt"/>
|
|
1889
1949
|
</file>
|
|
1890
1950
|
</package>
|
|
1891
1951
|
<package name="src.utilities">
|
|
1892
1952
|
<metrics statements="163" coveredstatements="134" conditionals="97" coveredconditionals="57" methods="23" coveredmethods="22"/>
|
|
1893
1953
|
<file name="appService.js" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/appService.js">
|
|
1894
1954
|
<metrics statements="20" coveredstatements="10" conditionals="10" coveredconditionals="3" methods="2" coveredmethods="2"/>
|
|
1895
|
-
<line num="1" count="
|
|
1896
|
-
<line num="2" count="
|
|
1897
|
-
<line num="3" count="
|
|
1898
|
-
<line num="4" count="
|
|
1899
|
-
<line num="5" count="
|
|
1900
|
-
<line num="8" count="
|
|
1901
|
-
<line num="9" count="
|
|
1955
|
+
<line num="1" count="17" type="stmt"/>
|
|
1956
|
+
<line num="2" count="17" type="stmt"/>
|
|
1957
|
+
<line num="3" count="17" type="stmt"/>
|
|
1958
|
+
<line num="4" count="17" type="stmt"/>
|
|
1959
|
+
<line num="5" count="17" type="stmt"/>
|
|
1960
|
+
<line num="8" count="93" type="cond" truecount="1" falsecount="1"/>
|
|
1961
|
+
<line num="9" count="93" type="stmt"/>
|
|
1902
1962
|
<line num="11" count="0" type="stmt"/>
|
|
1903
1963
|
<line num="12" count="0" type="stmt"/>
|
|
1904
1964
|
<line num="13" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -1908,25 +1968,25 @@
|
|
|
1908
1968
|
<line num="18" count="0" type="stmt"/>
|
|
1909
1969
|
<line num="20" count="0" type="stmt"/>
|
|
1910
1970
|
<line num="21" count="0" type="stmt"/>
|
|
1911
|
-
<line num="24" count="
|
|
1912
|
-
<line num="25" count="
|
|
1913
|
-
<line num="30" count="
|
|
1971
|
+
<line num="24" count="17" type="stmt"/>
|
|
1972
|
+
<line num="25" count="93" type="stmt"/>
|
|
1973
|
+
<line num="30" count="93" type="cond" truecount="2" falsecount="2"/>
|
|
1914
1974
|
<line num="31" count="0" type="stmt"/>
|
|
1915
1975
|
</file>
|
|
1916
1976
|
<file name="email.js" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/email.js">
|
|
1917
1977
|
<metrics statements="72" coveredstatements="60" conditionals="59" coveredconditionals="37" methods="7" coveredmethods="7"/>
|
|
1918
|
-
<line num="1" count="
|
|
1919
|
-
<line num="2" count="
|
|
1920
|
-
<line num="3" count="
|
|
1921
|
-
<line num="4" count="
|
|
1922
|
-
<line num="5" count="
|
|
1923
|
-
<line num="6" count="
|
|
1924
|
-
<line num="7" count="
|
|
1925
|
-
<line num="8" count="
|
|
1926
|
-
<line num="9" count="
|
|
1927
|
-
<line num="11" count="
|
|
1928
|
-
<line num="12" count="
|
|
1929
|
-
<line num="14" count="
|
|
1978
|
+
<line num="1" count="17" type="stmt"/>
|
|
1979
|
+
<line num="2" count="17" type="stmt"/>
|
|
1980
|
+
<line num="3" count="17" type="stmt"/>
|
|
1981
|
+
<line num="4" count="17" type="stmt"/>
|
|
1982
|
+
<line num="5" count="17" type="stmt"/>
|
|
1983
|
+
<line num="6" count="17" type="stmt"/>
|
|
1984
|
+
<line num="7" count="17" type="stmt"/>
|
|
1985
|
+
<line num="8" count="17" type="stmt"/>
|
|
1986
|
+
<line num="9" count="17" type="stmt"/>
|
|
1987
|
+
<line num="11" count="17" type="stmt"/>
|
|
1988
|
+
<line num="12" count="17" type="stmt"/>
|
|
1989
|
+
<line num="14" count="17" type="stmt"/>
|
|
1930
1990
|
<line num="23" count="22" type="stmt"/>
|
|
1931
1991
|
<line num="25" count="22" type="cond" truecount="1" falsecount="1"/>
|
|
1932
1992
|
<line num="26" count="0" type="stmt"/>
|
|
@@ -1962,13 +2022,13 @@
|
|
|
1962
2022
|
<line num="127" count="9" type="stmt"/>
|
|
1963
2023
|
<line num="131" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1964
2024
|
<line num="132" count="0" type="stmt"/>
|
|
1965
|
-
<line num="149" count="
|
|
2025
|
+
<line num="149" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
1966
2026
|
<line num="151" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
1967
2027
|
<line num="152" count="0" type="stmt"/>
|
|
1968
2028
|
<line num="154" count="2" type="stmt"/>
|
|
1969
2029
|
<line num="155" count="2" type="stmt"/>
|
|
1970
2030
|
<line num="156" count="2" type="stmt"/>
|
|
1971
|
-
<line num="174" count="
|
|
2031
|
+
<line num="174" count="17" type="stmt"/>
|
|
1972
2032
|
<line num="179" count="7" type="stmt"/>
|
|
1973
2033
|
<line num="180" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
1974
2034
|
<line num="181" count="7" type="cond" truecount="2" falsecount="2"/>
|
|
@@ -1984,25 +2044,25 @@
|
|
|
1984
2044
|
<line num="208" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
1985
2045
|
<line num="209" count="0" type="stmt"/>
|
|
1986
2046
|
<line num="211" count="7" type="stmt"/>
|
|
1987
|
-
<line num="219" count="
|
|
2047
|
+
<line num="219" count="17" type="stmt"/>
|
|
1988
2048
|
<line num="220" count="15" type="stmt"/>
|
|
1989
2049
|
<line num="221" count="15" type="stmt"/>
|
|
1990
2050
|
</file>
|
|
1991
2051
|
<file name="fileSystem.js" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/fileSystem.js">
|
|
1992
2052
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1993
|
-
<line num="1" count="
|
|
1994
|
-
<line num="3" count="
|
|
1995
|
-
<line num="4" count="
|
|
2053
|
+
<line num="1" count="17" type="stmt"/>
|
|
2054
|
+
<line num="3" count="17" type="stmt"/>
|
|
2055
|
+
<line num="4" count="85" type="stmt"/>
|
|
1996
2056
|
</file>
|
|
1997
2057
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/index.js">
|
|
1998
2058
|
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1999
|
-
<line num="7" count="
|
|
2059
|
+
<line num="7" count="17" type="stmt"/>
|
|
2000
2060
|
<line num="8" count="21" type="stmt"/>
|
|
2001
2061
|
</file>
|
|
2002
2062
|
<file name="redis.js" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/redis.js">
|
|
2003
2063
|
<metrics statements="40" coveredstatements="34" conditionals="15" coveredconditionals="8" methods="10" coveredmethods="9"/>
|
|
2004
|
-
<line num="1" count="
|
|
2005
|
-
<line num="2" count="
|
|
2064
|
+
<line num="1" count="17" type="stmt"/>
|
|
2065
|
+
<line num="2" count="17" type="stmt"/>
|
|
2006
2066
|
<line num="5" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
2007
2067
|
<line num="8" count="2" type="stmt"/>
|
|
2008
2068
|
<line num="11" count="5" type="stmt"/>
|
|
@@ -2020,36 +2080,36 @@
|
|
|
2020
2080
|
<line num="39" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2021
2081
|
<line num="40" count="2" type="stmt"/>
|
|
2022
2082
|
<line num="42" count="2" type="stmt"/>
|
|
2023
|
-
<line num="45" count="
|
|
2024
|
-
<line num="46" count="
|
|
2025
|
-
<line num="47" count="
|
|
2026
|
-
<line num="48" count="
|
|
2027
|
-
<line num="49" count="
|
|
2028
|
-
<line num="55" count="
|
|
2083
|
+
<line num="45" count="17" type="stmt"/>
|
|
2084
|
+
<line num="46" count="17" type="stmt"/>
|
|
2085
|
+
<line num="47" count="17" type="stmt"/>
|
|
2086
|
+
<line num="48" count="17" type="stmt"/>
|
|
2087
|
+
<line num="49" count="17" type="stmt"/>
|
|
2088
|
+
<line num="55" count="17" type="stmt"/>
|
|
2029
2089
|
<line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2030
2090
|
<line num="57" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2031
2091
|
<line num="58" count="0" type="stmt"/>
|
|
2032
|
-
<line num="68" count="
|
|
2092
|
+
<line num="68" count="17" type="stmt"/>
|
|
2033
2093
|
<line num="69" count="2" type="stmt"/>
|
|
2034
|
-
<line num="78" count="
|
|
2094
|
+
<line num="78" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
2035
2095
|
<line num="79" count="1" type="stmt"/>
|
|
2036
2096
|
<line num="80" count="1" type="stmt"/>
|
|
2037
2097
|
<line num="82" count="0" type="stmt"/>
|
|
2038
|
-
<line num="92" count="
|
|
2098
|
+
<line num="92" count="17" type="stmt"/>
|
|
2039
2099
|
<line num="93" count="5" type="stmt"/>
|
|
2040
|
-
<line num="102" count="
|
|
2100
|
+
<line num="102" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
2041
2101
|
<line num="103" count="1" type="stmt"/>
|
|
2042
2102
|
<line num="104" count="1" type="stmt"/>
|
|
2043
2103
|
<line num="106" count="0" type="stmt"/>
|
|
2044
2104
|
</file>
|
|
2045
2105
|
<file name="templates.js" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/templates.js">
|
|
2046
2106
|
<metrics statements="18" coveredstatements="18" conditionals="11" coveredconditionals="7" methods="1" coveredmethods="1"/>
|
|
2047
|
-
<line num="1" count="
|
|
2048
|
-
<line num="7" count="
|
|
2049
|
-
<line num="8" count="
|
|
2050
|
-
<line num="12" count="
|
|
2051
|
-
<line num="13" count="
|
|
2052
|
-
<line num="15" count="
|
|
2107
|
+
<line num="1" count="17" type="stmt"/>
|
|
2108
|
+
<line num="7" count="17" type="stmt"/>
|
|
2109
|
+
<line num="8" count="17" type="stmt"/>
|
|
2110
|
+
<line num="12" count="17" type="stmt"/>
|
|
2111
|
+
<line num="13" count="17" type="stmt"/>
|
|
2112
|
+
<line num="15" count="17" type="cond" truecount="0" falsecount="1"/>
|
|
2053
2113
|
<line num="16" count="7" type="stmt"/>
|
|
2054
2114
|
<line num="18" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
2055
2115
|
<line num="19" count="7" type="stmt"/>
|
|
@@ -2065,13 +2125,13 @@
|
|
|
2065
2125
|
</file>
|
|
2066
2126
|
<file name="users.js" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/users.js">
|
|
2067
2127
|
<metrics statements="8" coveredstatements="7" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
|
|
2068
|
-
<line num="1" count="
|
|
2069
|
-
<line num="2" count="
|
|
2070
|
-
<line num="4" count="
|
|
2071
|
-
<line num="5" count="
|
|
2072
|
-
<line num="6" count="
|
|
2073
|
-
<line num="7" count="
|
|
2074
|
-
<line num="13" count="
|
|
2128
|
+
<line num="1" count="17" type="stmt"/>
|
|
2129
|
+
<line num="2" count="17" type="stmt"/>
|
|
2130
|
+
<line num="4" count="17" type="stmt"/>
|
|
2131
|
+
<line num="5" count="10" type="stmt"/>
|
|
2132
|
+
<line num="6" count="10" type="stmt"/>
|
|
2133
|
+
<line num="7" count="10" type="stmt"/>
|
|
2134
|
+
<line num="13" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
2075
2135
|
<line num="15" count="0" type="stmt"/>
|
|
2076
2136
|
</file>
|
|
2077
2137
|
</package>
|