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