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