@budibase/server 0.9.173-alpha.1 → 0.9.173-alpha.2
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/builder/assets/{index.d3613b17.js → index.8a8f7849.js} +1 -1
- package/builder/index.html +1 -1
- package/coverage/clover.xml +189 -185
- package/coverage/coverage-final.json +13 -13
- package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
- package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/controllers/application.js.html +72 -72
- package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +1 -1
- package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/api/controllers/hosting.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +15 -15
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query.js.html +1 -1
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/screen.js.html +9 -9
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
- package/coverage/lcov-report/api/controllers/user.js.html +3 -3
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
- package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
- package/coverage/lcov-report/api/index.html +1 -1
- package/coverage/lcov-report/api/index.js.html +3 -3
- package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
- package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/routes/application.js.html +1 -1
- package/coverage/lcov-report/api/routes/auth.js.html +1 -1
- package/coverage/lcov-report/api/routes/automation.js.html +1 -1
- package/coverage/lcov-report/api/routes/backup.js.html +1 -1
- package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
- package/coverage/lcov-report/api/routes/component.js.html +1 -1
- package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
- package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
- package/coverage/lcov-report/api/routes/dev.js.html +1 -1
- package/coverage/lcov-report/api/routes/hosting.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +1 -1
- package/coverage/lcov-report/api/routes/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/integration.js.html +1 -1
- package/coverage/lcov-report/api/routes/layout.js.html +1 -1
- package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
- package/coverage/lcov-report/api/routes/permission.js.html +1 -1
- package/coverage/lcov-report/api/routes/query.js.html +1 -1
- package/coverage/lcov-report/api/routes/role.js.html +1 -1
- package/coverage/lcov-report/api/routes/routing.js.html +1 -1
- package/coverage/lcov-report/api/routes/row.js.html +1 -1
- package/coverage/lcov-report/api/routes/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.js.html +1 -1
- package/coverage/lcov-report/api/routes/static.js.html +1 -1
- package/coverage/lcov-report/api/routes/table.js.html +1 -1
- package/coverage/lcov-report/api/routes/templates.js.html +1 -1
- package/coverage/lcov-report/api/routes/user.js.html +1 -1
- package/coverage/lcov-report/api/routes/view.js.html +1 -1
- package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/actions.js.html +1 -1
- package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
- package/coverage/lcov-report/automations/bullboard.js.html +1 -1
- package/coverage/lcov-report/automations/index.html +19 -19
- package/coverage/lcov-report/automations/index.js.html +1 -1
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +1 -1
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
- package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/thread.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/triggers.js.html +1 -1
- package/coverage/lcov-report/automations/utils.js.html +28 -28
- package/coverage/lcov-report/constants/index.html +1 -1
- package/coverage/lcov-report/constants/index.js.html +1 -1
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +2 -2
- package/coverage/lcov-report/db/client.js.html +1 -1
- package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
- package/coverage/lcov-report/db/index.html +1 -1
- package/coverage/lcov-report/db/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
- package/coverage/lcov-report/db/newid.js.html +2 -2
- package/coverage/lcov-report/db/utils.js.html +17 -17
- package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
- package/coverage/lcov-report/events/index.html +1 -1
- package/coverage/lcov-report/events/index.js.html +1 -1
- package/coverage/lcov-report/events/utils.js.html +1 -1
- package/coverage/lcov-report/index.html +49 -49
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
- package/coverage/lcov-report/middleware/authorized.js.html +1 -1
- package/coverage/lcov-report/middleware/builder.js.html +1 -1
- package/coverage/lcov-report/middleware/currentapp.js.html +51 -24
- package/coverage/lcov-report/middleware/index.html +15 -15
- package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
- package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
- package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
- package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
- package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
- package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
- package/coverage/lcov-report/utilities/global.js.html +27 -27
- package/coverage/lcov-report/utilities/index.html +15 -15
- package/coverage/lcov-report/utilities/index.js.html +4 -4
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +29 -8
- package/coverage/lcov-report/utilities/queue/index.html +15 -15
- package/coverage/lcov-report/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
- package/coverage/lcov-report/utilities/security.js.html +1 -1
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +19 -19
- package/coverage/lcov.info +317 -305
- package/dist/api/routes/tests/utilities/TestFunctions.js +7 -9
- package/dist/middleware/currentapp.js +7 -1
- package/dist/package.json +4 -4
- package/dist/tests/utilities/TestConfiguration.js +34 -19
- package/dist/tests/utilities/controllers.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utilities/queue/inMemoryQueue.js +6 -0
- package/package.json +5 -5
- package/scripts/jestSetup.js +2 -0
- package/src/api/routes/tests/auth.spec.js +1 -2
- package/src/api/routes/tests/permissions.spec.js +3 -0
- package/src/api/routes/tests/query.spec.js +2 -2
- package/src/api/routes/tests/routing.spec.js +24 -8
- package/src/api/routes/tests/user.spec.js +1 -1
- package/src/api/routes/tests/utilities/TestFunctions.js +7 -9
- package/src/api/routes/tests/webhook.spec.js +4 -1
- package/src/middleware/currentapp.js +10 -1
- package/src/tests/utilities/TestConfiguration.js +47 -19
- package/src/tests/utilities/controllers.js +1 -0
- package/src/utilities/queue/inMemoryQueue.js +7 -0
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1635325148494" clover="3.2.0">
|
|
3
|
+
<project timestamp="1635325148494" name="All files">
|
|
4
|
+
<metrics statements="3935" coveredstatements="3070" conditionals="1515" coveredconditionals="892" methods="563" coveredmethods="421" elements="6013" coveredelements="4383" complexity="0" loc="3935" ncloc="3935" packages="19" files="133" classes="133"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="29" coveredstatements="27" conditionals="5" coveredconditionals="2" methods="5" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
<line num="13" count="23" type="stmt"/>
|
|
17
17
|
<line num="15" count="23" type="stmt"/>
|
|
18
18
|
<line num="17" count="23" type="stmt"/>
|
|
19
|
-
<line num="31" count="
|
|
20
|
-
<line num="35" count="
|
|
19
|
+
<line num="31" count="157" type="stmt"/>
|
|
20
|
+
<line num="35" count="157" type="stmt"/>
|
|
21
21
|
<line num="37" count="1" type="stmt"/>
|
|
22
22
|
<line num="38" count="1" type="stmt"/>
|
|
23
23
|
<line num="60" count="23" type="stmt"/>
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</file>
|
|
39
39
|
</package>
|
|
40
40
|
<package name="api.controllers">
|
|
41
|
-
<metrics statements="1015" coveredstatements="
|
|
41
|
+
<metrics statements="1015" coveredstatements="796" conditionals="320" coveredconditionals="177" methods="146" coveredmethods="113"/>
|
|
42
42
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.js">
|
|
43
43
|
<metrics statements="13" coveredstatements="6" conditionals="13" coveredconditionals="4" methods="2" coveredmethods="1"/>
|
|
44
44
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<line num="46" count="1" type="stmt"/>
|
|
84
84
|
</file>
|
|
85
85
|
<file name="application.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/application.js">
|
|
86
|
-
<metrics statements="167" coveredstatements="
|
|
86
|
+
<metrics statements="167" coveredstatements="138" conditionals="66" coveredconditionals="39" methods="20" coveredmethods="17"/>
|
|
87
87
|
<line num="1" count="33" type="stmt"/>
|
|
88
88
|
<line num="2" count="33" type="stmt"/>
|
|
89
89
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -103,40 +103,40 @@
|
|
|
103
103
|
<line num="45" count="33" type="stmt"/>
|
|
104
104
|
<line num="46" count="33" type="stmt"/>
|
|
105
105
|
<line num="48" count="33" type="stmt"/>
|
|
106
|
-
<line num="52" count="
|
|
107
|
-
<line num="58" count="
|
|
108
|
-
<line num="62" count="
|
|
109
|
-
<line num="68" count="
|
|
110
|
-
<line num="72" count="
|
|
111
|
-
<line num="79" count="
|
|
106
|
+
<line num="52" count="188" type="stmt"/>
|
|
107
|
+
<line num="58" count="376" type="stmt"/>
|
|
108
|
+
<line num="62" count="188" type="stmt"/>
|
|
109
|
+
<line num="68" count="200" type="stmt"/>
|
|
110
|
+
<line num="72" count="186" type="cond" truecount="4" falsecount="0"/>
|
|
111
|
+
<line num="79" count="183" type="cond" truecount="1" falsecount="1"/>
|
|
112
112
|
<line num="80" count="0" type="stmt"/>
|
|
113
|
-
<line num="81" count="
|
|
114
|
-
<line num="82" count="
|
|
115
|
-
<line num="84" count="
|
|
116
|
-
<line num="85" count="
|
|
117
|
-
<line num="87" count="
|
|
113
|
+
<line num="81" count="183" type="cond" truecount="2" falsecount="0"/>
|
|
114
|
+
<line num="82" count="180" type="stmt"/>
|
|
115
|
+
<line num="84" count="183" type="cond" truecount="2" falsecount="0"/>
|
|
116
|
+
<line num="85" count="180" type="stmt"/>
|
|
117
|
+
<line num="87" count="183" type="cond" truecount="2" falsecount="0"/>
|
|
118
118
|
<line num="88" count="10" type="stmt"/>
|
|
119
|
-
<line num="90" count="
|
|
120
|
-
<line num="91" count="
|
|
119
|
+
<line num="90" count="173" type="stmt"/>
|
|
120
|
+
<line num="91" count="173" type="cond" truecount="1" falsecount="1"/>
|
|
121
121
|
<line num="97" count="0" type="stmt"/>
|
|
122
|
-
<line num="99" count="
|
|
123
|
-
<line num="103" count="
|
|
124
|
-
<line num="104" count="
|
|
125
|
-
<line num="105" count="
|
|
126
|
-
<line num="107" count="
|
|
127
|
-
<line num="108" count="
|
|
128
|
-
<line num="117" count="
|
|
129
|
-
<line num="118" count="
|
|
130
|
-
<line num="119" count="
|
|
131
|
-
<line num="123" count="
|
|
122
|
+
<line num="99" count="173" type="stmt"/>
|
|
123
|
+
<line num="103" count="178" type="cond" truecount="1" falsecount="1"/>
|
|
124
|
+
<line num="104" count="178" type="stmt"/>
|
|
125
|
+
<line num="105" count="178" type="stmt"/>
|
|
126
|
+
<line num="107" count="178" type="stmt"/>
|
|
127
|
+
<line num="108" count="178" type="stmt"/>
|
|
128
|
+
<line num="117" count="178" type="stmt"/>
|
|
129
|
+
<line num="118" count="178" type="stmt"/>
|
|
130
|
+
<line num="119" count="178" type="stmt"/>
|
|
131
|
+
<line num="123" count="178" type="cond" truecount="3" falsecount="1"/>
|
|
132
132
|
<line num="124" count="0" type="stmt"/>
|
|
133
133
|
<line num="125" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
134
134
|
<line num="126" count="0" type="stmt"/>
|
|
135
|
-
<line num="128" count="
|
|
135
|
+
<line num="128" count="178" type="cond" truecount="3" falsecount="1"/>
|
|
136
136
|
<line num="131" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
137
137
|
<line num="132" count="0" type="stmt"/>
|
|
138
|
-
<line num="136" count="
|
|
139
|
-
<line num="139" count="
|
|
138
|
+
<line num="136" count="178" type="stmt"/>
|
|
139
|
+
<line num="139" count="178" type="stmt"/>
|
|
140
140
|
<line num="142" count="33" type="stmt"/>
|
|
141
141
|
<line num="143" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
142
142
|
<line num="144" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -159,34 +159,34 @@
|
|
|
159
159
|
<line num="172" count="1" type="stmt"/>
|
|
160
160
|
<line num="176" count="1" type="stmt"/>
|
|
161
161
|
<line num="183" count="33" type="stmt"/>
|
|
162
|
-
<line num="184" count="
|
|
163
|
-
<line num="185" count="
|
|
164
|
-
<line num="186" count="
|
|
165
|
-
<line num="187" count="
|
|
166
|
-
<line num="190" count="
|
|
167
|
-
<line num="191" count="
|
|
168
|
-
<line num="192" count="
|
|
169
|
-
<line num="193" count="
|
|
170
|
-
<line num="196" count="
|
|
162
|
+
<line num="184" count="187" type="stmt"/>
|
|
163
|
+
<line num="185" count="187" type="stmt"/>
|
|
164
|
+
<line num="186" count="187" type="stmt"/>
|
|
165
|
+
<line num="187" count="187" type="stmt"/>
|
|
166
|
+
<line num="190" count="187" type="cond" truecount="4" falsecount="0"/>
|
|
167
|
+
<line num="191" count="185" type="stmt"/>
|
|
168
|
+
<line num="192" count="185" type="stmt"/>
|
|
169
|
+
<line num="193" count="185" type="stmt"/>
|
|
170
|
+
<line num="196" count="187" type="stmt"/>
|
|
171
171
|
<line num="204" count="33" type="stmt"/>
|
|
172
|
-
<line num="205" count="
|
|
173
|
-
<line num="206" count="
|
|
174
|
-
<line num="211" count="
|
|
172
|
+
<line num="205" count="178" type="stmt"/>
|
|
173
|
+
<line num="206" count="178" type="stmt"/>
|
|
174
|
+
<line num="211" count="178" type="cond" truecount="2" falsecount="2"/>
|
|
175
175
|
<line num="212" count="0" type="stmt"/>
|
|
176
|
-
<line num="214" count="
|
|
177
|
-
<line num="215" count="
|
|
178
|
-
<line num="217" count="
|
|
179
|
-
<line num="218" count="
|
|
180
|
-
<line num="220" count="
|
|
181
|
-
<line num="222" count="
|
|
176
|
+
<line num="214" count="178" type="stmt"/>
|
|
177
|
+
<line num="215" count="178" type="stmt"/>
|
|
178
|
+
<line num="217" count="178" type="stmt"/>
|
|
179
|
+
<line num="218" count="178" type="stmt"/>
|
|
180
|
+
<line num="220" count="178" type="stmt"/>
|
|
181
|
+
<line num="222" count="178" type="stmt"/>
|
|
182
182
|
<line num="223" count="0" type="stmt"/>
|
|
183
|
-
<line num="227" count="
|
|
184
|
-
<line num="242" count="
|
|
185
|
-
<line num="243" count="
|
|
186
|
-
<line num="247" count="
|
|
187
|
-
<line num="248" count="
|
|
188
|
-
<line num="256" count="
|
|
189
|
-
<line num="257" count="
|
|
183
|
+
<line num="227" count="178" type="stmt"/>
|
|
184
|
+
<line num="242" count="178" type="stmt"/>
|
|
185
|
+
<line num="243" count="178" type="stmt"/>
|
|
186
|
+
<line num="247" count="178" type="cond" truecount="1" falsecount="1"/>
|
|
187
|
+
<line num="248" count="178" type="stmt"/>
|
|
188
|
+
<line num="256" count="178" type="stmt"/>
|
|
189
|
+
<line num="257" count="178" type="stmt"/>
|
|
190
190
|
<line num="260" count="33" type="stmt"/>
|
|
191
191
|
<line num="261" count="2" type="stmt"/>
|
|
192
192
|
<line num="262" count="2" type="stmt"/>
|
|
@@ -242,15 +242,15 @@
|
|
|
242
242
|
<line num="367" count="5" type="stmt"/>
|
|
243
243
|
<line num="369" count="5" type="stmt"/>
|
|
244
244
|
<line num="372" count="33" type="stmt"/>
|
|
245
|
-
<line num="373" count="
|
|
246
|
-
<line num="375" count="
|
|
247
|
-
<line num="376" count="
|
|
248
|
-
<line num="377" count="
|
|
249
|
-
<line num="378" count="
|
|
250
|
-
<line num="381" count="
|
|
251
|
-
<line num="382" count="
|
|
252
|
-
<line num="383" count="
|
|
253
|
-
<line num="385" count="
|
|
245
|
+
<line num="373" count="178" type="stmt"/>
|
|
246
|
+
<line num="375" count="178" type="stmt"/>
|
|
247
|
+
<line num="376" count="178" type="stmt"/>
|
|
248
|
+
<line num="377" count="356" type="stmt"/>
|
|
249
|
+
<line num="378" count="356" type="stmt"/>
|
|
250
|
+
<line num="381" count="178" type="stmt"/>
|
|
251
|
+
<line num="382" count="178" type="stmt"/>
|
|
252
|
+
<line num="383" count="178" type="stmt"/>
|
|
253
|
+
<line num="385" count="178" type="stmt"/>
|
|
254
254
|
</file>
|
|
255
255
|
<file name="auth.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/auth.js">
|
|
256
256
|
<metrics statements="26" coveredstatements="22" conditionals="8" coveredconditionals="4" methods="1" coveredmethods="1"/>
|
|
@@ -988,14 +988,14 @@
|
|
|
988
988
|
<line num="15" count="2" type="stmt"/>
|
|
989
989
|
<line num="17" count="1" type="stmt"/>
|
|
990
990
|
<line num="23" count="33" type="stmt"/>
|
|
991
|
-
<line num="24" count="
|
|
992
|
-
<line num="25" count="
|
|
993
|
-
<line num="26" count="
|
|
994
|
-
<line num="28" count="
|
|
995
|
-
<line num="29" count="
|
|
996
|
-
<line num="31" count="
|
|
997
|
-
<line num="33" count="
|
|
998
|
-
<line num="34" count="
|
|
991
|
+
<line num="24" count="19" type="stmt"/>
|
|
992
|
+
<line num="25" count="19" type="stmt"/>
|
|
993
|
+
<line num="26" count="19" type="stmt"/>
|
|
994
|
+
<line num="28" count="19" type="cond" truecount="1" falsecount="1"/>
|
|
995
|
+
<line num="29" count="19" type="stmt"/>
|
|
996
|
+
<line num="31" count="19" type="stmt"/>
|
|
997
|
+
<line num="33" count="19" type="stmt"/>
|
|
998
|
+
<line num="34" count="19" type="stmt"/>
|
|
999
999
|
<line num="41" count="33" type="stmt"/>
|
|
1000
1000
|
<line num="42" count="1" type="stmt"/>
|
|
1001
1001
|
<line num="43" count="1" type="stmt"/>
|
|
@@ -1048,8 +1048,8 @@
|
|
|
1048
1048
|
<line num="27" count="0" type="stmt"/>
|
|
1049
1049
|
<line num="28" count="2" type="stmt"/>
|
|
1050
1050
|
<line num="29" count="2" type="stmt"/>
|
|
1051
|
-
<line num="31" count="
|
|
1052
|
-
<line num="33" count="
|
|
1051
|
+
<line num="31" count="7" type="stmt"/>
|
|
1052
|
+
<line num="33" count="7" type="stmt"/>
|
|
1053
1053
|
<line num="41" count="2" type="stmt"/>
|
|
1054
1054
|
<line num="44" count="34" type="stmt"/>
|
|
1055
1055
|
<line num="46" count="0" type="stmt"/>
|
|
@@ -2513,7 +2513,7 @@
|
|
|
2513
2513
|
</file>
|
|
2514
2514
|
</package>
|
|
2515
2515
|
<package name="automations">
|
|
2516
|
-
<metrics statements="252" coveredstatements="
|
|
2516
|
+
<metrics statements="252" coveredstatements="218" conditionals="106" coveredconditionals="82" methods="29" coveredmethods="27"/>
|
|
2517
2517
|
<file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
|
|
2518
2518
|
<metrics statements="23" coveredstatements="23" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
|
|
2519
2519
|
<line num="1" count="34" type="stmt"/>
|
|
@@ -2723,7 +2723,7 @@
|
|
|
2723
2723
|
<line num="107" count="33" type="stmt"/>
|
|
2724
2724
|
</file>
|
|
2725
2725
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/utils.js">
|
|
2726
|
-
<metrics statements="62" coveredstatements="
|
|
2726
|
+
<metrics statements="62" coveredstatements="49" conditionals="36" coveredconditionals="29" methods="8" coveredmethods="8"/>
|
|
2727
2727
|
<line num="1" count="33" type="stmt"/>
|
|
2728
2728
|
<line num="2" count="33" type="stmt"/>
|
|
2729
2729
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -2746,17 +2746,17 @@
|
|
|
2746
2746
|
<line num="34" count="2" type="stmt"/>
|
|
2747
2747
|
<line num="38" count="2" type="stmt"/>
|
|
2748
2748
|
<line num="44" count="33" type="stmt"/>
|
|
2749
|
-
<line num="45" count="
|
|
2750
|
-
<line num="46" count="
|
|
2751
|
-
<line num="47" count="
|
|
2749
|
+
<line num="45" count="185" type="stmt"/>
|
|
2750
|
+
<line num="46" count="185" type="stmt"/>
|
|
2751
|
+
<line num="47" count="185" type="stmt"/>
|
|
2752
2752
|
<line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2753
2753
|
<line num="49" count="0" type="stmt"/>
|
|
2754
2754
|
<line num="50" count="0" type="stmt"/>
|
|
2755
|
-
<line num="53" count="
|
|
2755
|
+
<line num="53" count="185" type="stmt"/>
|
|
2756
2756
|
<line num="61" count="33" type="stmt"/>
|
|
2757
|
-
<line num="62" count="
|
|
2758
|
-
<line num="64" count="
|
|
2759
|
-
<line num="71" count="
|
|
2757
|
+
<line num="62" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2758
|
+
<line num="64" count="1" type="stmt"/>
|
|
2759
|
+
<line num="71" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2760
2760
|
<line num="73" count="0" type="stmt"/>
|
|
2761
2761
|
<line num="74" count="0" type="stmt"/>
|
|
2762
2762
|
<line num="82" count="0" type="stmt"/>
|
|
@@ -2764,7 +2764,7 @@
|
|
|
2764
2764
|
<line num="84" count="0" type="stmt"/>
|
|
2765
2765
|
<line num="85" count="0" type="stmt"/>
|
|
2766
2766
|
<line num="86" count="0" type="stmt"/>
|
|
2767
|
-
<line num="88" count="
|
|
2767
|
+
<line num="88" count="1" type="stmt"/>
|
|
2768
2768
|
<line num="99" count="33" type="stmt"/>
|
|
2769
2769
|
<line num="100" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
2770
2770
|
<line num="101" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -3154,7 +3154,7 @@
|
|
|
3154
3154
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3155
3155
|
<line num="1" count="33" type="stmt"/>
|
|
3156
3156
|
<line num="2" count="33" type="stmt"/>
|
|
3157
|
-
<line num="4" count="
|
|
3157
|
+
<line num="4" count="197" type="stmt"/>
|
|
3158
3158
|
</file>
|
|
3159
3159
|
</package>
|
|
3160
3160
|
<package name="db">
|
|
@@ -3214,7 +3214,7 @@
|
|
|
3214
3214
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3215
3215
|
<line num="1" count="45" type="stmt"/>
|
|
3216
3216
|
<line num="3" count="45" type="stmt"/>
|
|
3217
|
-
<line num="4" count="
|
|
3217
|
+
<line num="4" count="803" type="stmt"/>
|
|
3218
3218
|
</file>
|
|
3219
3219
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3220
3220
|
<metrics statements="108" coveredstatements="100" conditionals="51" coveredconditionals="18" methods="30" coveredmethods="27"/>
|
|
@@ -3246,9 +3246,9 @@
|
|
|
3246
3246
|
<line num="84" count="45" type="stmt"/>
|
|
3247
3247
|
<line num="86" count="45" type="stmt"/>
|
|
3248
3248
|
<line num="87" count="74" type="stmt"/>
|
|
3249
|
-
<line num="103" count="
|
|
3250
|
-
<line num="104" count="
|
|
3251
|
-
<line num="106" count="
|
|
3249
|
+
<line num="103" count="603" type="cond" truecount="2" falsecount="0"/>
|
|
3250
|
+
<line num="104" count="590" type="stmt"/>
|
|
3251
|
+
<line num="106" count="603" type="stmt"/>
|
|
3252
3252
|
<line num="113" count="45" type="stmt"/>
|
|
3253
3253
|
<line num="118" count="45" type="cond" truecount="0" falsecount="2"/>
|
|
3254
3254
|
<line num="119" count="3" type="stmt"/>
|
|
@@ -3260,19 +3260,19 @@
|
|
|
3260
3260
|
<line num="143" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
3261
3261
|
<line num="145" count="11" type="stmt"/>
|
|
3262
3262
|
<line num="154" count="45" type="cond" truecount="1" falsecount="0"/>
|
|
3263
|
-
<line num="155" count="
|
|
3264
|
-
<line num="156" count="
|
|
3263
|
+
<line num="155" count="200" type="cond" truecount="2" falsecount="0"/>
|
|
3264
|
+
<line num="156" count="200" type="stmt"/>
|
|
3265
3265
|
<line num="162" count="45" type="cond" truecount="0" falsecount="2"/>
|
|
3266
3266
|
<line num="163" count="3" type="stmt"/>
|
|
3267
3267
|
<line num="171" count="45" type="stmt"/>
|
|
3268
|
-
<line num="172" count="
|
|
3268
|
+
<line num="172" count="132" type="stmt"/>
|
|
3269
3269
|
<line num="178" count="45" type="stmt"/>
|
|
3270
3270
|
<line num="179" count="2" type="stmt"/>
|
|
3271
3271
|
<line num="180" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
3272
3272
|
<line num="181" count="1" type="stmt"/>
|
|
3273
3273
|
<line num="183" count="1" type="stmt"/>
|
|
3274
3274
|
<line num="189" count="45" type="cond" truecount="0" falsecount="2"/>
|
|
3275
|
-
<line num="190" count="
|
|
3275
|
+
<line num="190" count="203" type="stmt"/>
|
|
3276
3276
|
<line num="197" count="45" type="stmt"/>
|
|
3277
3277
|
<line num="198" count="20" type="stmt"/>
|
|
3278
3278
|
<line num="212" count="45" type="stmt"/>
|
|
@@ -3283,22 +3283,22 @@
|
|
|
3283
3283
|
<line num="229" count="45" type="cond" truecount="0" falsecount="1"/>
|
|
3284
3284
|
<line num="230" count="0" type="stmt"/>
|
|
3285
3285
|
<line num="237" count="45" type="cond" truecount="0" falsecount="1"/>
|
|
3286
|
-
<line num="238" count="
|
|
3287
|
-
<line num="239" count="
|
|
3286
|
+
<line num="238" count="178" type="stmt"/>
|
|
3287
|
+
<line num="239" count="178" type="cond" truecount="1" falsecount="1"/>
|
|
3288
3288
|
<line num="240" count="0" type="stmt"/>
|
|
3289
|
-
<line num="242" count="
|
|
3289
|
+
<line num="242" count="178" type="stmt"/>
|
|
3290
3290
|
<line num="249" count="45" type="stmt"/>
|
|
3291
|
-
<line num="250" count="
|
|
3292
|
-
<line num="251" count="
|
|
3293
|
-
<line num="252" count="
|
|
3291
|
+
<line num="250" count="178" type="stmt"/>
|
|
3292
|
+
<line num="251" count="178" type="stmt"/>
|
|
3293
|
+
<line num="252" count="178" type="stmt"/>
|
|
3294
3294
|
<line num="259" count="45" type="stmt"/>
|
|
3295
3295
|
<line num="260" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3296
3296
|
<line num="266" count="45" type="cond" truecount="0" falsecount="2"/>
|
|
3297
|
-
<line num="267" count="
|
|
3297
|
+
<line num="267" count="188" type="stmt"/>
|
|
3298
3298
|
<line num="274" count="45" type="stmt"/>
|
|
3299
|
-
<line num="275" count="
|
|
3299
|
+
<line num="275" count="197" type="stmt"/>
|
|
3300
3300
|
<line num="281" count="45" type="cond" truecount="0" falsecount="2"/>
|
|
3301
|
-
<line num="282" count="
|
|
3301
|
+
<line num="282" count="190" type="stmt"/>
|
|
3302
3302
|
<line num="289" count="45" type="stmt"/>
|
|
3303
3303
|
<line num="290" count="10" type="stmt"/>
|
|
3304
3304
|
<line num="296" count="45" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -3697,7 +3697,7 @@
|
|
|
3697
3697
|
</file>
|
|
3698
3698
|
</package>
|
|
3699
3699
|
<package name="middleware">
|
|
3700
|
-
<metrics statements="
|
|
3700
|
+
<metrics statements="206" coveredstatements="185" conditionals="139" coveredconditionals="111" methods="27" coveredmethods="27"/>
|
|
3701
3701
|
<file name="appInfo.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/appInfo.js">
|
|
3702
3702
|
<metrics statements="10" coveredstatements="8" conditionals="11" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
3703
3703
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -3778,7 +3778,7 @@
|
|
|
3778
3778
|
<line num="74" count="1" type="stmt"/>
|
|
3779
3779
|
</file>
|
|
3780
3780
|
<file name="currentapp.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/currentapp.js">
|
|
3781
|
-
<metrics statements="
|
|
3781
|
+
<metrics statements="52" coveredstatements="43" conditionals="40" coveredconditionals="31" methods="1" coveredmethods="1"/>
|
|
3782
3782
|
<line num="2" count="28" type="stmt"/>
|
|
3783
3783
|
<line num="3" count="28" type="stmt"/>
|
|
3784
3784
|
<line num="4" count="28" type="stmt"/>
|
|
@@ -3790,44 +3790,47 @@
|
|
|
3790
3790
|
<line num="10" count="28" type="stmt"/>
|
|
3791
3791
|
<line num="11" count="28" type="stmt"/>
|
|
3792
3792
|
<line num="13" count="28" type="stmt"/>
|
|
3793
|
-
<line num="15" count="
|
|
3794
|
-
<line num="17" count="
|
|
3795
|
-
<line num="18" count="
|
|
3796
|
-
<line num="19" count="
|
|
3793
|
+
<line num="15" count="160" type="stmt"/>
|
|
3794
|
+
<line num="17" count="160" type="stmt"/>
|
|
3795
|
+
<line num="18" count="160" type="stmt"/>
|
|
3796
|
+
<line num="19" count="160" type="stmt"/>
|
|
3797
3797
|
<line num="21" count="0" type="stmt"/>
|
|
3798
|
-
<line num="23" count="
|
|
3798
|
+
<line num="23" count="160" type="cond" truecount="4" falsecount="0"/>
|
|
3799
3799
|
<line num="24" count="1" type="stmt"/>
|
|
3800
|
-
<line num="27" count="
|
|
3801
|
-
<line num="28" count="
|
|
3802
|
-
<line num="29" count="
|
|
3803
|
-
<line num="30" count="
|
|
3800
|
+
<line num="27" count="159" type="cond" truecount="2" falsecount="0"/>
|
|
3801
|
+
<line num="28" count="153" type="stmt"/>
|
|
3802
|
+
<line num="29" count="153" type="stmt"/>
|
|
3803
|
+
<line num="30" count="153" type="cond" truecount="1" falsecount="1"/>
|
|
3804
3804
|
<line num="31" count="0" type="stmt"/>
|
|
3805
3805
|
<line num="32" count="0" type="stmt"/>
|
|
3806
|
-
<line num="35" count="
|
|
3807
|
-
<line num="39" count="
|
|
3808
|
-
<line num="
|
|
3809
|
-
<line num="
|
|
3810
|
-
<line num="
|
|
3811
|
-
<line num="
|
|
3812
|
-
<line num="
|
|
3813
|
-
<line num="
|
|
3814
|
-
<line num="
|
|
3815
|
-
<line num="
|
|
3816
|
-
<line num="
|
|
3817
|
-
<line num="
|
|
3818
|
-
<line num="
|
|
3819
|
-
<line num="
|
|
3820
|
-
<line num="68" count="
|
|
3821
|
-
<line num="
|
|
3822
|
-
<line num="
|
|
3823
|
-
<line num="
|
|
3824
|
-
<line num="
|
|
3825
|
-
<line num="
|
|
3826
|
-
<line num="
|
|
3827
|
-
<line num="
|
|
3828
|
-
<line num="
|
|
3829
|
-
<line num="
|
|
3830
|
-
<line num="
|
|
3806
|
+
<line num="35" count="153" type="cond" truecount="1" falsecount="1"/>
|
|
3807
|
+
<line num="39" count="159" type="cond" truecount="2" falsecount="0"/>
|
|
3808
|
+
<line num="43" count="2" type="stmt"/>
|
|
3809
|
+
<line num="44" count="2" type="stmt"/>
|
|
3810
|
+
<line num="48" count="157" type="stmt"/>
|
|
3811
|
+
<line num="49" count="157" type="cond" truecount="2" falsecount="0"/>
|
|
3812
|
+
<line num="51" count="33" type="stmt"/>
|
|
3813
|
+
<line num="52" count="124" type="cond" truecount="1" falsecount="1"/>
|
|
3814
|
+
<line num="54" count="124" type="stmt"/>
|
|
3815
|
+
<line num="55" count="124" type="stmt"/>
|
|
3816
|
+
<line num="57" count="124" type="cond" truecount="2" falsecount="0"/>
|
|
3817
|
+
<line num="61" count="157" type="cond" truecount="1" falsecount="1"/>
|
|
3818
|
+
<line num="62" count="0" type="stmt"/>
|
|
3819
|
+
<line num="65" count="157" type="stmt"/>
|
|
3820
|
+
<line num="68" count="157" type="cond" truecount="1" falsecount="1"/>
|
|
3821
|
+
<line num="75" count="0" type="stmt"/>
|
|
3822
|
+
<line num="76" count="0" type="stmt"/>
|
|
3823
|
+
<line num="77" count="0" type="stmt"/>
|
|
3824
|
+
<line num="78" count="0" type="stmt"/>
|
|
3825
|
+
<line num="79" count="0" type="stmt"/>
|
|
3826
|
+
<line num="82" count="157" type="stmt"/>
|
|
3827
|
+
<line num="83" count="157" type="cond" truecount="1" falsecount="1"/>
|
|
3828
|
+
<line num="84" count="157" type="stmt"/>
|
|
3829
|
+
<line num="85" count="157" type="cond" truecount="2" falsecount="0"/>
|
|
3830
|
+
<line num="86" count="157" type="stmt"/>
|
|
3831
|
+
<line num="95" count="157" type="cond" truecount="2" falsecount="0"/>
|
|
3832
|
+
<line num="101" count="7" type="stmt"/>
|
|
3833
|
+
<line num="104" count="157" type="stmt"/>
|
|
3831
3834
|
</file>
|
|
3832
3835
|
<file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
|
|
3833
3836
|
<metrics statements="17" coveredstatements="14" conditionals="8" coveredconditionals="5" methods="4" coveredmethods="4"/>
|
|
@@ -3927,7 +3930,7 @@
|
|
|
3927
3930
|
</file>
|
|
3928
3931
|
</package>
|
|
3929
3932
|
<package name="utilities">
|
|
3930
|
-
<metrics statements="283" coveredstatements="
|
|
3933
|
+
<metrics statements="283" coveredstatements="205" conditionals="105" coveredconditionals="58" methods="57" coveredmethods="38"/>
|
|
3931
3934
|
<file name="bcrypt.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/bcrypt.js">
|
|
3932
3935
|
<metrics statements="9" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
3933
3936
|
<line num="3" count="0" type="stmt"/>
|
|
@@ -4007,7 +4010,7 @@
|
|
|
4007
4010
|
<line num="95" count="35" type="stmt"/>
|
|
4008
4011
|
</file>
|
|
4009
4012
|
<file name="global.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/global.js">
|
|
4010
|
-
<metrics statements="53" coveredstatements="
|
|
4013
|
+
<metrics statements="53" coveredstatements="43" conditionals="25" coveredconditionals="17" methods="14" coveredmethods="10"/>
|
|
4011
4014
|
<line num="4" count="39" type="stmt"/>
|
|
4012
4015
|
<line num="5" count="39" type="stmt"/>
|
|
4013
4016
|
<line num="6" count="39" type="stmt"/>
|
|
@@ -4016,26 +4019,26 @@
|
|
|
4016
4019
|
<line num="9" count="39" type="stmt"/>
|
|
4017
4020
|
<line num="10" count="39" type="stmt"/>
|
|
4018
4021
|
<line num="12" count="39" type="stmt"/>
|
|
4019
|
-
<line num="13" count="
|
|
4022
|
+
<line num="13" count="133" type="cond" truecount="4" falsecount="0"/>
|
|
4020
4023
|
<line num="14" count="3" type="stmt"/>
|
|
4021
|
-
<line num="17" count="
|
|
4024
|
+
<line num="17" count="130" type="cond" truecount="2" falsecount="2"/>
|
|
4022
4025
|
<line num="18" count="0" type="stmt"/>
|
|
4023
4026
|
<line num="19" count="0" type="stmt"/>
|
|
4024
4027
|
<line num="20" count="0" type="stmt"/>
|
|
4025
4028
|
<line num="21" count="0" type="stmt"/>
|
|
4026
|
-
<line num="24" count="
|
|
4027
|
-
<line num="26" count="
|
|
4028
|
-
<line num="27" count="
|
|
4029
|
-
<line num="28" count="
|
|
4030
|
-
<line num="29" count="
|
|
4031
|
-
<line num="31" count="
|
|
4032
|
-
<line num="32" count="
|
|
4033
|
-
<line num="36" count="
|
|
4034
|
-
<line num="37" count="
|
|
4035
|
-
<line num="39" count="
|
|
4029
|
+
<line num="24" count="130" type="stmt"/>
|
|
4030
|
+
<line num="26" count="130" type="cond" truecount="5" falsecount="0"/>
|
|
4031
|
+
<line num="27" count="125" type="stmt"/>
|
|
4032
|
+
<line num="28" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4033
|
+
<line num="29" count="0" type="stmt"/>
|
|
4034
|
+
<line num="31" count="130" type="stmt"/>
|
|
4035
|
+
<line num="32" count="130" type="stmt"/>
|
|
4036
|
+
<line num="36" count="126" type="cond" truecount="1" falsecount="1"/>
|
|
4037
|
+
<line num="37" count="126" type="stmt"/>
|
|
4038
|
+
<line num="39" count="126" type="stmt"/>
|
|
4036
4039
|
<line num="42" count="39" type="stmt"/>
|
|
4037
|
-
<line num="45" count="
|
|
4038
|
-
<line num="46" count="
|
|
4040
|
+
<line num="45" count="124" type="stmt"/>
|
|
4041
|
+
<line num="46" count="124" type="stmt"/>
|
|
4039
4042
|
<line num="49" count="39" type="stmt"/>
|
|
4040
4043
|
<line num="50" count="2" type="stmt"/>
|
|
4041
4044
|
<line num="51" count="2" type="stmt"/>
|
|
@@ -4047,11 +4050,11 @@
|
|
|
4047
4050
|
<line num="60" count="30" type="stmt"/>
|
|
4048
4051
|
<line num="61" count="0" type="stmt"/>
|
|
4049
4052
|
<line num="64" count="2" type="stmt"/>
|
|
4050
|
-
<line num="70" count="
|
|
4053
|
+
<line num="70" count="7" type="stmt"/>
|
|
4051
4054
|
<line num="72" count="32" type="stmt"/>
|
|
4052
|
-
<line num="73" count="
|
|
4053
|
-
<line num="75" count="
|
|
4054
|
-
<line num="76" count="
|
|
4055
|
+
<line num="73" count="7" type="stmt"/>
|
|
4056
|
+
<line num="75" count="7" type="stmt"/>
|
|
4057
|
+
<line num="76" count="7" type="stmt"/>
|
|
4055
4058
|
<line num="78" count="32" type="cond" truecount="1" falsecount="1"/>
|
|
4056
4059
|
<line num="79" count="0" type="stmt"/>
|
|
4057
4060
|
<line num="81" count="32" type="stmt"/>
|
|
@@ -4079,15 +4082,15 @@
|
|
|
4079
4082
|
<line num="17" count="1" type="stmt"/>
|
|
4080
4083
|
<line num="19" count="1" type="stmt"/>
|
|
4081
4084
|
<line num="28" count="36" type="stmt"/>
|
|
4082
|
-
<line num="29" count="
|
|
4085
|
+
<line num="29" count="186" type="stmt"/>
|
|
4083
4086
|
<line num="36" count="36" type="stmt"/>
|
|
4084
4087
|
<line num="37" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4085
4088
|
<line num="39" count="2" type="stmt"/>
|
|
4086
4089
|
<line num="41" count="0" type="stmt"/>
|
|
4087
4090
|
<line num="54" count="36" type="stmt"/>
|
|
4088
|
-
<line num="55" count="
|
|
4091
|
+
<line num="55" count="187" type="cond" truecount="1" falsecount="1"/>
|
|
4089
4092
|
<line num="56" count="0" type="stmt"/>
|
|
4090
|
-
<line num="60" count="
|
|
4093
|
+
<line num="60" count="187" type="stmt"/>
|
|
4091
4094
|
<line num="64" count="36" type="stmt"/>
|
|
4092
4095
|
<line num="65" count="2" type="stmt"/>
|
|
4093
4096
|
<line num="70" count="36" type="stmt"/>
|
|
@@ -4197,19 +4200,19 @@
|
|
|
4197
4200
|
<line num="5" count="34" type="stmt"/>
|
|
4198
4201
|
<line num="6" count="34" type="stmt"/>
|
|
4199
4202
|
<line num="7" count="34" type="stmt"/>
|
|
4200
|
-
<line num="10" count="
|
|
4201
|
-
<line num="11" count="
|
|
4202
|
-
<line num="13" count="
|
|
4203
|
-
<line num="14" count="
|
|
4204
|
-
<line num="15" count="
|
|
4203
|
+
<line num="10" count="184" type="cond" truecount="1" falsecount="1"/>
|
|
4204
|
+
<line num="11" count="184" type="stmt"/>
|
|
4205
|
+
<line num="13" count="184" type="cond" truecount="2" falsecount="0"/>
|
|
4206
|
+
<line num="14" count="173" type="stmt"/>
|
|
4207
|
+
<line num="15" count="173" type="cond" truecount="2" falsecount="0"/>
|
|
4205
4208
|
<line num="16" count="6" type="stmt"/>
|
|
4206
|
-
<line num="19" count="
|
|
4209
|
+
<line num="19" count="184" type="cond" truecount="2" falsecount="2"/>
|
|
4207
4210
|
<line num="20" count="0" type="stmt"/>
|
|
4208
4211
|
<line num="21" count="0" type="stmt"/>
|
|
4209
|
-
<line num="26" count="
|
|
4210
|
-
<line num="28" count="
|
|
4212
|
+
<line num="26" count="184" type="stmt"/>
|
|
4213
|
+
<line num="28" count="184" type="cond" truecount="3" falsecount="1"/>
|
|
4211
4214
|
<line num="29" count="0" type="stmt"/>
|
|
4212
|
-
<line num="31" count="
|
|
4215
|
+
<line num="31" count="184" type="stmt"/>
|
|
4213
4216
|
<line num="34" count="34" type="stmt"/>
|
|
4214
4217
|
<line num="37" count="34" type="stmt"/>
|
|
4215
4218
|
<line num="39" count="0" type="stmt"/>
|
|
@@ -4218,15 +4221,15 @@
|
|
|
4218
4221
|
<line num="56" count="0" type="stmt"/>
|
|
4219
4222
|
<line num="58" count="0" type="stmt"/>
|
|
4220
4223
|
<line num="61" count="34" type="stmt"/>
|
|
4221
|
-
<line num="62" count="
|
|
4222
|
-
<line num="63" count="
|
|
4223
|
-
<line num="69" count="
|
|
4224
|
-
<line num="70" count="
|
|
4225
|
-
<line num="71" count="
|
|
4226
|
-
<line num="72" count="
|
|
4227
|
-
<line num="73" count="
|
|
4228
|
-
<line num="74" count="
|
|
4229
|
-
<line num="77" count="
|
|
4224
|
+
<line num="62" count="173" type="stmt"/>
|
|
4225
|
+
<line num="63" count="173" type="stmt"/>
|
|
4226
|
+
<line num="69" count="173" type="stmt"/>
|
|
4227
|
+
<line num="70" count="173" type="stmt"/>
|
|
4228
|
+
<line num="71" count="173" type="stmt"/>
|
|
4229
|
+
<line num="72" count="173" type="cond" truecount="1" falsecount="1"/>
|
|
4230
|
+
<line num="73" count="173" type="stmt"/>
|
|
4231
|
+
<line num="74" count="173" type="stmt"/>
|
|
4232
|
+
<line num="77" count="173" type="stmt"/>
|
|
4230
4233
|
<line num="80" count="0" type="stmt"/>
|
|
4231
4234
|
<line num="84" count="34" type="cond" truecount="0" falsecount="1"/>
|
|
4232
4235
|
<line num="85" count="0" type="stmt"/>
|
|
@@ -4246,9 +4249,9 @@
|
|
|
4246
4249
|
</file>
|
|
4247
4250
|
</package>
|
|
4248
4251
|
<package name="utilities.queue">
|
|
4249
|
-
<metrics statements="
|
|
4252
|
+
<metrics statements="20" coveredstatements="18" conditionals="7" coveredconditionals="4" methods="7" coveredmethods="6"/>
|
|
4250
4253
|
<file name="inMemoryQueue.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/queue/inMemoryQueue.js">
|
|
4251
|
-
<metrics statements="
|
|
4254
|
+
<metrics statements="20" coveredstatements="18" conditionals="7" coveredconditionals="4" methods="7" coveredmethods="6"/>
|
|
4252
4255
|
<line num="1" count="33" type="stmt"/>
|
|
4253
4256
|
<line num="13" count="8" type="stmt"/>
|
|
4254
4257
|
<line num="33" count="33" type="stmt"/>
|
|
@@ -4267,7 +4270,8 @@
|
|
|
4267
4270
|
<line num="73" count="8" type="stmt"/>
|
|
4268
4271
|
<line num="74" count="8" type="stmt"/>
|
|
4269
4272
|
<line num="83" count="0" type="stmt"/>
|
|
4270
|
-
<line num="
|
|
4273
|
+
<line num="90" count="185" type="stmt"/>
|
|
4274
|
+
<line num="94" count="33" type="stmt"/>
|
|
4271
4275
|
</file>
|
|
4272
4276
|
</package>
|
|
4273
4277
|
<package name="utilities.routing">
|