@budibase/server 2.0.30-alpha.14 → 2.0.30-alpha.16
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/backups-default.8c011f1b.png +0 -0
- package/builder/assets/{index.099ad307.js → index.7ebb4fb6.js} +333 -329
- package/builder/assets/{index.acdbfe62.css → index.b15ffe95.css} +1 -1
- package/builder/index.html +2 -2
- package/coverage/clover.xml +254 -313
- package/coverage/coverage-final.json +15 -17
- package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +74 -62
- 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/index.html +17 -32
- 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/migrations.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query/index.html +1 -1
- package/coverage/lcov-report/api/controllers/query/validation.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/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +12 -9
- package/coverage/lcov-report/api/controllers/table/external.js.html +10 -10
- package/coverage/lcov-report/api/controllers/table/index.html +16 -16
- package/coverage/lcov-report/api/controllers/table/index.js.html +5 -5
- package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
- package/coverage/lcov-report/api/controllers/user.js.html +1 -1
- 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 +3 -3
- 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/automation.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/index.html +5 -20
- 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/migrations.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/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.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/utils/index.html +1 -1
- package/coverage/lcov-report/api/routes/utils/validators.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 +6 -6
- package/coverage/lcov-report/automations/bullboard.js.html +17 -92
- package/coverage/lcov-report/automations/index.html +18 -18
- package/coverage/lcov-report/automations/index.js.html +5 -5
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.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/loop.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/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 +5 -5
- package/coverage/lcov-report/constants/index.html +5 -5
- package/coverage/lcov-report/constants/index.js.html +6 -18
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +1 -1
- package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
- package/coverage/lcov-report/db/index.html +19 -19
- 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 +35 -308
- 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 +62 -62
- 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/builder.js.html +1 -1
- package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
- package/coverage/lcov-report/middleware/index.html +1 -1
- package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
- package/coverage/lcov-report/middleware/publicApi.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/utils.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 +1 -1
- package/coverage/lcov-report/utilities/index.html +1 -1
- package/coverage/lcov-report/utilities/index.js.html +1 -1
- package/coverage/lcov-report/utilities/plugins.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +52 -52
- package/coverage/lcov-report/utilities/queue/index.html +21 -21
- 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 +2 -2
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
- package/coverage/lcov.info +451 -564
- package/dist/api/controllers/application.js +2 -5
- package/dist/api/controllers/backup.js +19 -13
- package/dist/api/controllers/cloud.js +38 -35
- package/dist/api/controllers/deploy/index.js +11 -2
- package/dist/api/controllers/static/index.js +2 -2
- package/dist/api/controllers/table/bulkFormula.js +4 -3
- package/dist/api/controllers/table/external.js +5 -4
- package/dist/api/controllers/table/index.js +4 -4
- package/dist/api/controllers/table/internal.js +2 -1
- package/dist/api/controllers/table/utils.js +4 -48
- package/dist/api/controllers/view/index.js +2 -2
- package/dist/api/routes/backup.js +34 -7
- package/dist/api/routes/index.js +9 -4
- package/dist/app.js +14 -0
- package/dist/automations/automationUtils.js +2 -2
- package/dist/automations/bullboard.js +5 -33
- package/dist/automations/index.js +4 -4
- package/dist/automations/triggers.js +4 -4
- package/dist/automations/utils.js +13 -9
- package/dist/constants/index.js +2 -5
- package/dist/db/utils.js +10 -75
- package/dist/migrations/functions/backfill/app/tables.js +5 -8
- package/dist/package.json +11 -11
- package/dist/sdk/app/backups/constants.js +5 -0
- package/dist/sdk/app/backups/exports.js +172 -0
- package/dist/sdk/app/backups/imports.js +162 -0
- package/dist/sdk/app/backups/index.js +29 -0
- package/dist/sdk/app/backups/statistics.js +73 -0
- package/dist/sdk/app/tables/index.js +61 -0
- package/dist/sdk/index.js +15 -0
- package/dist/tests/utilities/TestConfiguration.js +4 -2
- package/dist/threads/automation.js +12 -17
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utilities/fileSystem/index.js +3 -95
- package/dist/utilities/fileSystem/utilities.js +2 -1
- package/package.json +12 -12
- package/src/api/controllers/application.ts +3 -10
- package/src/api/controllers/{backup.js → backup.ts} +7 -7
- package/src/api/controllers/cloud.js +44 -40
- package/src/api/controllers/deploy/index.ts +20 -7
- package/src/api/controllers/static/index.ts +2 -2
- package/src/api/controllers/table/bulkFormula.js +4 -3
- package/src/api/controllers/table/external.js +4 -4
- package/src/api/controllers/table/index.js +4 -4
- package/src/api/controllers/table/internal.ts +3 -7
- package/src/api/controllers/table/utils.ts +1 -52
- package/src/api/controllers/view/index.js +2 -2
- package/src/api/routes/backup.ts +10 -0
- package/src/api/routes/index.ts +11 -5
- package/src/api/routes/tests/backup.spec.js +1 -1
- package/src/api/routes/tests/{deployment.spec.js → deployment.spec.ts} +4 -4
- package/src/app.ts +15 -0
- package/src/automations/automationUtils.js +2 -2
- package/src/automations/bullboard.js +8 -33
- package/src/automations/index.js +4 -4
- package/src/automations/triggers.js +4 -4
- package/src/automations/utils.ts +12 -8
- package/src/constants/index.js +2 -6
- package/src/db/utils.js +17 -108
- package/src/definitions/automations.ts +0 -12
- package/src/migrations/functions/backfill/app/tables.ts +6 -13
- package/src/sdk/app/backups/constants.ts +2 -0
- package/src/sdk/app/backups/exports.ts +171 -0
- package/src/sdk/app/backups/imports.ts +168 -0
- package/src/sdk/app/backups/index.ts +9 -0
- package/src/sdk/app/backups/statistics.ts +77 -0
- package/src/sdk/app/tables/index.ts +60 -0
- package/src/sdk/index.ts +13 -0
- package/src/tests/utilities/TestConfiguration.js +5 -2
- package/src/threads/automation.ts +20 -27
- package/src/utilities/fileSystem/index.js +2 -119
- package/src/utilities/fileSystem/utilities.js +2 -0
- package/coverage/lcov-report/api/controllers/backup.js.html +0 -142
- package/coverage/lcov-report/api/routes/backup.js.html +0 -115
- package/dist/automations/listeners.js +0 -102
- package/src/api/routes/backup.js +0 -10
- package/src/automations/listeners.ts +0 -78
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="1666683016051" clover="3.2.0">
|
|
3
|
+
<project timestamp="1666683016052" name="All files">
|
|
4
|
+
<metrics statements="4071" coveredstatements="2938" conditionals="1746" coveredconditionals="955" methods="607" coveredmethods="415" elements="6424" coveredelements="4308" complexity="0" loc="4071" ncloc="4071" packages="22" files="121" classes="121"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="35" coveredstatements="34" conditionals="5" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
<line num="76" count="37" type="cond" truecount="1" falsecount="1"/>
|
|
34
34
|
<line num="77" count="0" type="stmt"/>
|
|
35
35
|
<line num="83" count="28" type="stmt"/>
|
|
36
|
-
<line num="84" count="
|
|
37
|
-
<line num="85" count="
|
|
36
|
+
<line num="84" count="812" type="stmt"/>
|
|
37
|
+
<line num="85" count="812" type="stmt"/>
|
|
38
38
|
<line num="88" count="28" type="stmt"/>
|
|
39
39
|
<line num="89" count="28" type="stmt"/>
|
|
40
40
|
<line num="92" count="28" type="stmt"/>
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
</file>
|
|
45
45
|
</package>
|
|
46
46
|
<package name="api.controllers">
|
|
47
|
-
<metrics statements="
|
|
47
|
+
<metrics statements="883" coveredstatements="614" conditionals="278" coveredconditionals="124" methods="134" coveredmethods="85"/>
|
|
48
48
|
<file name="apikeys.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/apikeys.js">
|
|
49
49
|
<metrics statements="24" coveredstatements="24" conditionals="4" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
50
50
|
<line num="1" count="28" type="stmt"/>
|
|
@@ -206,80 +206,63 @@
|
|
|
206
206
|
<line num="283" count="2" type="stmt"/>
|
|
207
207
|
<line num="284" count="2" type="stmt"/>
|
|
208
208
|
</file>
|
|
209
|
-
<file name="
|
|
210
|
-
<metrics statements="
|
|
209
|
+
<file name="cloud.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/cloud.js">
|
|
210
|
+
<metrics statements="55" coveredstatements="12" conditionals="25" coveredconditionals="0" methods="10" coveredmethods="0"/>
|
|
211
211
|
<line num="1" count="28" type="stmt"/>
|
|
212
212
|
<line num="2" count="28" type="stmt"/>
|
|
213
213
|
<line num="3" count="28" type="stmt"/>
|
|
214
214
|
<line num="4" count="28" type="stmt"/>
|
|
215
|
+
<line num="5" count="28" type="stmt"/>
|
|
215
216
|
<line num="6" count="28" type="stmt"/>
|
|
216
|
-
<line num="7" count="1" type="stmt"/>
|
|
217
|
-
<line num="8" count="1" type="stmt"/>
|
|
218
|
-
<line num="9" count="1" type="stmt"/>
|
|
219
|
-
<line num="10" count="1" type="stmt"/>
|
|
220
|
-
<line num="11" count="1" type="stmt"/>
|
|
221
|
-
<line num="12" count="1" type="stmt"/>
|
|
222
|
-
<line num="14" count="1" type="stmt"/>
|
|
223
|
-
<line num="15" count="1" type="stmt"/>
|
|
224
|
-
<line num="16" count="1" type="stmt"/>
|
|
225
|
-
<line num="17" count="1" type="stmt"/>
|
|
226
|
-
</file>
|
|
227
|
-
<file name="cloud.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/cloud.js">
|
|
228
|
-
<metrics statements="54" coveredstatements="10" conditionals="23" coveredconditionals="0" methods="8" coveredmethods="0"/>
|
|
229
|
-
<line num="1" count="28" type="stmt"/>
|
|
230
|
-
<line num="2" count="28" type="stmt"/>
|
|
231
217
|
<line num="7" count="28" type="stmt"/>
|
|
232
218
|
<line num="8" count="28" type="stmt"/>
|
|
233
219
|
<line num="9" count="28" type="stmt"/>
|
|
234
|
-
<line num="
|
|
235
|
-
<line num="
|
|
236
|
-
<line num="14" count="0" type="stmt"/>
|
|
237
|
-
<line num="22" count="0" type="stmt"/>
|
|
238
|
-
<line num="25" count="28" type="stmt"/>
|
|
239
|
-
<line num="26" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
240
|
-
<line num="27" count="0" type="stmt"/>
|
|
220
|
+
<line num="12" count="0" type="stmt"/>
|
|
221
|
+
<line num="25" count="0" type="stmt"/>
|
|
241
222
|
<line num="29" count="0" type="stmt"/>
|
|
242
|
-
<line num="
|
|
243
|
-
<line num="
|
|
244
|
-
<line num="
|
|
245
|
-
<line num="
|
|
246
|
-
<line num="37" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
247
|
-
<line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
223
|
+
<line num="34" count="0" type="stmt"/>
|
|
224
|
+
<line num="37" count="28" type="stmt"/>
|
|
225
|
+
<line num="38" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
226
|
+
<line num="39" count="0" type="stmt"/>
|
|
248
227
|
<line num="41" count="0" type="stmt"/>
|
|
249
|
-
<line num="
|
|
250
|
-
<line num="
|
|
251
|
-
<line num="
|
|
228
|
+
<line num="42" count="0" type="stmt"/>
|
|
229
|
+
<line num="43" count="0" type="stmt"/>
|
|
230
|
+
<line num="47" count="0" type="stmt"/>
|
|
231
|
+
<line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
232
|
+
<line num="49" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
252
233
|
<line num="50" count="0" type="stmt"/>
|
|
234
|
+
<line num="54" count="0" type="stmt"/>
|
|
253
235
|
<line num="55" count="0" type="stmt"/>
|
|
254
|
-
<line num="
|
|
255
|
-
<line num="60" count="0" type="
|
|
256
|
-
<line num="
|
|
236
|
+
<line num="56" count="0" type="stmt"/>
|
|
237
|
+
<line num="60" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
238
|
+
<line num="61" count="0" type="stmt"/>
|
|
257
239
|
<line num="63" count="0" type="stmt"/>
|
|
258
|
-
<line num="
|
|
259
|
-
<line num="67" count="
|
|
260
|
-
<line num="
|
|
261
|
-
<line num="73" count="
|
|
262
|
-
<line num="74" count="0" type="
|
|
263
|
-
<line num="
|
|
264
|
-
<line num="77" count="0" type="
|
|
265
|
-
<line num="78" count="0" type="
|
|
266
|
-
<line num="
|
|
267
|
-
<line num="84" count="0" type="
|
|
240
|
+
<line num="64" count="0" type="stmt"/>
|
|
241
|
+
<line num="67" count="28" type="stmt"/>
|
|
242
|
+
<line num="68" count="0" type="stmt"/>
|
|
243
|
+
<line num="73" count="28" type="stmt"/>
|
|
244
|
+
<line num="74" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
245
|
+
<line num="75" count="0" type="stmt"/>
|
|
246
|
+
<line num="77" count="0" type="stmt"/>
|
|
247
|
+
<line num="78" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
248
|
+
<line num="79" count="0" type="stmt"/>
|
|
249
|
+
<line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
268
250
|
<line num="85" count="0" type="stmt"/>
|
|
269
|
-
<line num="86" count="0" type="stmt"/>
|
|
270
|
-
<line num="88" count="0" type="stmt"/>
|
|
271
251
|
<line num="89" count="0" type="stmt"/>
|
|
252
|
+
<line num="90" count="0" type="stmt"/>
|
|
272
253
|
<line num="91" count="0" type="stmt"/>
|
|
273
|
-
<line num="92" count="0" type="stmt"/>
|
|
274
254
|
<line num="93" count="0" type="stmt"/>
|
|
255
|
+
<line num="95" count="0" type="stmt"/>
|
|
256
|
+
<line num="96" count="0" type="stmt"/>
|
|
275
257
|
<line num="97" count="0" type="stmt"/>
|
|
276
|
-
<line num="
|
|
277
|
-
<line num="
|
|
278
|
-
<line num="100" count="0" type="stmt"/>
|
|
279
|
-
<line num="102" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
258
|
+
<line num="101" count="0" type="stmt"/>
|
|
259
|
+
<line num="102" count="0" type="stmt"/>
|
|
280
260
|
<line num="103" count="0" type="stmt"/>
|
|
281
|
-
<line num="
|
|
261
|
+
<line num="104" count="0" type="stmt"/>
|
|
262
|
+
<line num="106" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
282
263
|
<line num="107" count="0" type="stmt"/>
|
|
264
|
+
<line num="110" count="0" type="stmt"/>
|
|
265
|
+
<line num="111" count="0" type="stmt"/>
|
|
283
266
|
</file>
|
|
284
267
|
<file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/datasource.js">
|
|
285
268
|
<metrics statements="144" coveredstatements="83" conditionals="59" coveredconditionals="20" methods="21" coveredmethods="11"/>
|
|
@@ -1695,9 +1678,9 @@
|
|
|
1695
1678
|
</file>
|
|
1696
1679
|
</package>
|
|
1697
1680
|
<package name="api.controllers.table">
|
|
1698
|
-
<metrics statements="
|
|
1681
|
+
<metrics statements="281" coveredstatements="122" conditionals="167" coveredconditionals="49" methods="39" coveredmethods="20"/>
|
|
1699
1682
|
<file name="bulkFormula.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/bulkFormula.js">
|
|
1700
|
-
<metrics statements="
|
|
1683
|
+
<metrics statements="76" coveredstatements="53" conditionals="57" coveredconditionals="24" methods="16" coveredmethods="13"/>
|
|
1701
1684
|
<line num="1" count="45" type="stmt"/>
|
|
1702
1685
|
<line num="2" count="45" type="stmt"/>
|
|
1703
1686
|
<line num="3" count="45" type="stmt"/>
|
|
@@ -1705,79 +1688,81 @@
|
|
|
1705
1688
|
<line num="5" count="45" type="stmt"/>
|
|
1706
1689
|
<line num="6" count="45" type="stmt"/>
|
|
1707
1690
|
<line num="7" count="45" type="stmt"/>
|
|
1708
|
-
<line num="
|
|
1709
|
-
<line num="
|
|
1710
|
-
<line num="22" count="320" type="
|
|
1711
|
-
<line num="23" count="320" type="
|
|
1712
|
-
<line num="
|
|
1713
|
-
<line num="26" count="1214" type="
|
|
1714
|
-
<line num="
|
|
1715
|
-
<line num="29" count="0" type="
|
|
1716
|
-
<line num="
|
|
1717
|
-
<line num="
|
|
1718
|
-
<line num="
|
|
1719
|
-
<line num="43" count="
|
|
1720
|
-
<line num="
|
|
1721
|
-
<line num="46" count="133" type="
|
|
1722
|
-
<line num="47" count="
|
|
1723
|
-
<line num="
|
|
1724
|
-
<line num="51" count="
|
|
1725
|
-
<line num="
|
|
1726
|
-
<line num="54" count="
|
|
1727
|
-
<line num="
|
|
1728
|
-
<line num="57" count="287" type="
|
|
1729
|
-
<line num="58" count="
|
|
1730
|
-
<line num="
|
|
1731
|
-
<line num="63" count="287" type="
|
|
1732
|
-
<line num="
|
|
1691
|
+
<line num="8" count="45" type="stmt"/>
|
|
1692
|
+
<line num="11" count="1532" type="stmt"/>
|
|
1693
|
+
<line num="22" count="320" type="stmt"/>
|
|
1694
|
+
<line num="23" count="320" type="cond" truecount="1" falsecount="1"/>
|
|
1695
|
+
<line num="24" count="320" type="stmt"/>
|
|
1696
|
+
<line num="26" count="1214" type="cond" truecount="1" falsecount="1"/>
|
|
1697
|
+
<line num="27" count="1214" type="stmt"/>
|
|
1698
|
+
<line num="29" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1699
|
+
<line num="30" count="0" type="stmt"/>
|
|
1700
|
+
<line num="32" count="0" type="stmt"/>
|
|
1701
|
+
<line num="34" count="320" type="stmt"/>
|
|
1702
|
+
<line num="43" count="133" type="stmt"/>
|
|
1703
|
+
<line num="44" count="308" type="stmt"/>
|
|
1704
|
+
<line num="46" count="133" type="cond" truecount="2" falsecount="0"/>
|
|
1705
|
+
<line num="47" count="133" type="stmt"/>
|
|
1706
|
+
<line num="48" count="323" type="cond" truecount="2" falsecount="0"/>
|
|
1707
|
+
<line num="51" count="133" type="stmt"/>
|
|
1708
|
+
<line num="52" count="287" type="stmt"/>
|
|
1709
|
+
<line num="54" count="287" type="cond" truecount="2" falsecount="0"/>
|
|
1710
|
+
<line num="55" count="2" type="stmt"/>
|
|
1711
|
+
<line num="57" count="287" type="stmt"/>
|
|
1712
|
+
<line num="58" count="287" type="cond" truecount="1" falsecount="1"/>
|
|
1713
|
+
<line num="59" count="0" type="stmt"/>
|
|
1714
|
+
<line num="63" count="287" type="cond" truecount="1" falsecount="1"/>
|
|
1715
|
+
<line num="64" count="287" type="stmt"/>
|
|
1733
1716
|
<line num="66" count="0" type="stmt"/>
|
|
1734
1717
|
<line num="67" count="0" type="stmt"/>
|
|
1735
|
-
<line num="
|
|
1736
|
-
<line num="
|
|
1737
|
-
<line num="73" count="0" type="
|
|
1718
|
+
<line num="68" count="0" type="stmt"/>
|
|
1719
|
+
<line num="70" count="0" type="stmt"/>
|
|
1720
|
+
<line num="73" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
1738
1721
|
<line num="74" count="0" type="stmt"/>
|
|
1739
1722
|
<line num="75" count="0" type="stmt"/>
|
|
1740
|
-
<line num="
|
|
1741
|
-
<line num="83" count="0" type="
|
|
1742
|
-
<line num="
|
|
1743
|
-
<line num="
|
|
1744
|
-
<line num="103" count="
|
|
1745
|
-
<line num="
|
|
1746
|
-
<line num="
|
|
1747
|
-
<line num="109" count="
|
|
1748
|
-
<line num="
|
|
1749
|
-
<line num="113" count="
|
|
1750
|
-
<line num="114" count="178" type="
|
|
1751
|
-
<line num="
|
|
1752
|
-
<line num="117" count="0" type="
|
|
1753
|
-
<line num="118" count="0" type="
|
|
1754
|
-
<line num="
|
|
1755
|
-
<line num="123" count="
|
|
1756
|
-
<line num="124" count="
|
|
1757
|
-
<line num="125" count="33" type="
|
|
1758
|
-
<line num="126" count="33" type="
|
|
1759
|
-
<line num="
|
|
1723
|
+
<line num="76" count="0" type="stmt"/>
|
|
1724
|
+
<line num="83" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1725
|
+
<line num="84" count="0" type="stmt"/>
|
|
1726
|
+
<line num="101" count="133" type="stmt"/>
|
|
1727
|
+
<line num="103" count="133" type="stmt"/>
|
|
1728
|
+
<line num="104" count="308" type="stmt"/>
|
|
1729
|
+
<line num="107" count="133" type="stmt"/>
|
|
1730
|
+
<line num="109" count="133" type="stmt"/>
|
|
1731
|
+
<line num="110" count="325" type="stmt"/>
|
|
1732
|
+
<line num="113" count="133" type="stmt"/>
|
|
1733
|
+
<line num="114" count="178" type="cond" truecount="1" falsecount="1"/>
|
|
1734
|
+
<line num="115" count="178" type="stmt"/>
|
|
1735
|
+
<line num="117" count="0" type="stmt"/>
|
|
1736
|
+
<line num="118" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1737
|
+
<line num="119" count="0" type="stmt"/>
|
|
1738
|
+
<line num="123" count="133" type="cond" truecount="2" falsecount="0"/>
|
|
1739
|
+
<line num="124" count="130" type="stmt"/>
|
|
1740
|
+
<line num="125" count="33" type="stmt"/>
|
|
1741
|
+
<line num="126" count="33" type="cond" truecount="3" falsecount="1"/>
|
|
1742
|
+
<line num="127" count="33" type="stmt"/>
|
|
1760
1743
|
<line num="129" count="0" type="stmt"/>
|
|
1761
|
-
<line num="
|
|
1762
|
-
<line num="
|
|
1763
|
-
<line num="
|
|
1764
|
-
<line num="145" count="
|
|
1765
|
-
<line num="146" count="
|
|
1766
|
-
<line num="147" count="
|
|
1767
|
-
<line num="
|
|
1768
|
-
<line num="
|
|
1769
|
-
<line num="
|
|
1770
|
-
<line num="163" count="
|
|
1771
|
-
<line num="
|
|
1772
|
-
<line num="168" count="
|
|
1744
|
+
<line num="130" count="0" type="stmt"/>
|
|
1745
|
+
<line num="133" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1746
|
+
<line num="138" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1747
|
+
<line num="145" count="133" type="stmt"/>
|
|
1748
|
+
<line num="146" count="235" type="stmt"/>
|
|
1749
|
+
<line num="147" count="178" type="cond" truecount="3" falsecount="1"/>
|
|
1750
|
+
<line num="148" count="0" type="stmt"/>
|
|
1751
|
+
<line num="155" count="130" type="stmt"/>
|
|
1752
|
+
<line num="157" count="318" type="cond" truecount="1" falsecount="3"/>
|
|
1753
|
+
<line num="163" count="130" type="cond" truecount="1" falsecount="1"/>
|
|
1754
|
+
<line num="164" count="0" type="stmt"/>
|
|
1755
|
+
<line num="168" count="45" type="stmt"/>
|
|
1773
1756
|
<line num="169" count="133" type="stmt"/>
|
|
1774
|
-
<line num="170" count="133" type="
|
|
1775
|
-
<line num="171" count="
|
|
1757
|
+
<line num="170" count="133" type="stmt"/>
|
|
1758
|
+
<line num="171" count="133" type="cond" truecount="2" falsecount="0"/>
|
|
1759
|
+
<line num="172" count="130" type="stmt"/>
|
|
1776
1760
|
</file>
|
|
1777
1761
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/external.js">
|
|
1778
|
-
<metrics statements="
|
|
1762
|
+
<metrics statements="141" coveredstatements="13" conditionals="79" coveredconditionals="0" methods="14" coveredmethods="0"/>
|
|
1779
1763
|
<line num="4" count="45" type="stmt"/>
|
|
1780
|
-
<line num="
|
|
1764
|
+
<line num="10" count="45" type="stmt"/>
|
|
1765
|
+
<line num="15" count="45" type="stmt"/>
|
|
1781
1766
|
<line num="16" count="45" type="stmt"/>
|
|
1782
1767
|
<line num="17" count="45" type="stmt"/>
|
|
1783
1768
|
<line num="18" count="45" type="stmt"/>
|
|
@@ -2241,7 +2226,7 @@
|
|
|
2241
2226
|
</file>
|
|
2242
2227
|
</package>
|
|
2243
2228
|
<package name="api.routes">
|
|
2244
|
-
<metrics statements="
|
|
2229
|
+
<metrics statements="179" coveredstatements="172" conditionals="4" coveredconditionals="2" methods="1" coveredmethods="1"/>
|
|
2245
2230
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/analytics.js">
|
|
2246
2231
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2247
2232
|
<line num="1" count="28" type="stmt"/>
|
|
@@ -2274,16 +2259,6 @@
|
|
|
2274
2259
|
<line num="18" count="28" type="stmt"/>
|
|
2275
2260
|
<line num="85" count="28" type="stmt"/>
|
|
2276
2261
|
</file>
|
|
2277
|
-
<file name="backup.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/backup.js">
|
|
2278
|
-
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2279
|
-
<line num="1" count="28" type="stmt"/>
|
|
2280
|
-
<line num="2" count="28" type="stmt"/>
|
|
2281
|
-
<line num="3" count="28" type="stmt"/>
|
|
2282
|
-
<line num="4" count="28" type="stmt"/>
|
|
2283
|
-
<line num="6" count="28" type="stmt"/>
|
|
2284
|
-
<line num="8" count="28" type="stmt"/>
|
|
2285
|
-
<line num="10" count="28" type="stmt"/>
|
|
2286
|
-
</file>
|
|
2287
2262
|
<file name="cloud.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/cloud.js">
|
|
2288
2263
|
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2289
2264
|
<line num="1" count="28" type="stmt"/>
|
|
@@ -2550,7 +2525,7 @@
|
|
|
2550
2525
|
</file>
|
|
2551
2526
|
</package>
|
|
2552
2527
|
<package name="automations">
|
|
2553
|
-
<metrics statements="
|
|
2528
|
+
<metrics statements="172" coveredstatements="135" conditionals="68" coveredconditionals="47" methods="22" coveredmethods="16"/>
|
|
2554
2529
|
<file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
|
|
2555
2530
|
<metrics statements="24" coveredstatements="24" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
|
|
2556
2531
|
<line num="1" count="45" type="stmt"/>
|
|
@@ -2580,7 +2555,7 @@
|
|
|
2580
2555
|
</file>
|
|
2581
2556
|
<file name="automationUtils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/automationUtils.js">
|
|
2582
2557
|
<metrics statements="52" coveredstatements="32" conditionals="33" coveredconditionals="21" methods="5" coveredmethods="3"/>
|
|
2583
|
-
<line num="
|
|
2558
|
+
<line num="6" count="45" type="stmt"/>
|
|
2584
2559
|
<line num="7" count="45" type="stmt"/>
|
|
2585
2560
|
<line num="25" count="45" type="stmt"/>
|
|
2586
2561
|
<line num="26" count="14" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -2634,43 +2609,26 @@
|
|
|
2634
2609
|
<line num="114" count="0" type="stmt"/>
|
|
2635
2610
|
</file>
|
|
2636
2611
|
<file name="bullboard.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/bullboard.js">
|
|
2637
|
-
<metrics statements="
|
|
2612
|
+
<metrics statements="19" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
2638
2613
|
<line num="1" count="45" type="stmt"/>
|
|
2639
2614
|
<line num="2" count="45" type="stmt"/>
|
|
2640
2615
|
<line num="3" count="45" type="stmt"/>
|
|
2641
2616
|
<line num="4" count="45" type="stmt"/>
|
|
2642
|
-
<line num="5" count="45" type="
|
|
2643
|
-
<line num="
|
|
2644
|
-
<line num="
|
|
2645
|
-
<line num="
|
|
2646
|
-
<line num="
|
|
2647
|
-
<line num="
|
|
2648
|
-
<line num="
|
|
2649
|
-
<line num="
|
|
2650
|
-
<line num="
|
|
2651
|
-
<line num="
|
|
2652
|
-
<line num="
|
|
2653
|
-
<line num="
|
|
2654
|
-
<line num="
|
|
2655
|
-
<line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2656
|
-
<line num="29" count="0" type="stmt"/>
|
|
2617
|
+
<line num="5" count="45" type="stmt"/>
|
|
2618
|
+
<line num="7" count="45" type="stmt"/>
|
|
2619
|
+
<line num="12" count="45" type="stmt"/>
|
|
2620
|
+
<line num="14" count="45" type="stmt"/>
|
|
2621
|
+
<line num="16" count="0" type="stmt"/>
|
|
2622
|
+
<line num="17" count="0" type="stmt"/>
|
|
2623
|
+
<line num="18" count="0" type="stmt"/>
|
|
2624
|
+
<line num="19" count="0" type="stmt"/>
|
|
2625
|
+
<line num="20" count="0" type="stmt"/>
|
|
2626
|
+
<line num="22" count="0" type="stmt"/>
|
|
2627
|
+
<line num="26" count="0" type="stmt"/>
|
|
2628
|
+
<line num="27" count="0" type="stmt"/>
|
|
2629
|
+
<line num="30" count="45" type="stmt"/>
|
|
2657
2630
|
<line num="31" count="0" type="stmt"/>
|
|
2658
|
-
<line num="
|
|
2659
|
-
<line num="36" count="0" type="stmt"/>
|
|
2660
|
-
<line num="37" count="0" type="stmt"/>
|
|
2661
|
-
<line num="38" count="0" type="stmt"/>
|
|
2662
|
-
<line num="39" count="0" type="stmt"/>
|
|
2663
|
-
<line num="40" count="0" type="stmt"/>
|
|
2664
|
-
<line num="42" count="0" type="stmt"/>
|
|
2665
|
-
<line num="46" count="0" type="stmt"/>
|
|
2666
|
-
<line num="47" count="0" type="stmt"/>
|
|
2667
|
-
<line num="50" count="45" type="stmt"/>
|
|
2668
|
-
<line num="51" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2669
|
-
<line num="52" count="0" type="stmt"/>
|
|
2670
|
-
<line num="53" count="0" type="stmt"/>
|
|
2671
|
-
<line num="54" count="0" type="stmt"/>
|
|
2672
|
-
<line num="56" count="0" type="stmt"/>
|
|
2673
|
-
<line num="59" count="45" type="stmt"/>
|
|
2631
|
+
<line num="34" count="45" type="stmt"/>
|
|
2674
2632
|
</file>
|
|
2675
2633
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/index.js">
|
|
2676
2634
|
<metrics statements="16" coveredstatements="14" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="2"/>
|
|
@@ -3083,38 +3041,37 @@
|
|
|
3083
3041
|
</file>
|
|
3084
3042
|
</package>
|
|
3085
3043
|
<package name="constants">
|
|
3086
|
-
<metrics statements="
|
|
3044
|
+
<metrics statements="35" coveredstatements="35" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
|
|
3087
3045
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/index.js">
|
|
3088
|
-
<metrics statements="
|
|
3046
|
+
<metrics statements="28" coveredstatements="28" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
3089
3047
|
<line num="1" count="53" type="stmt"/>
|
|
3090
3048
|
<line num="2" count="53" type="stmt"/>
|
|
3091
3049
|
<line num="3" count="53" type="stmt"/>
|
|
3092
3050
|
<line num="5" count="53" type="stmt"/>
|
|
3093
|
-
<line num="
|
|
3094
|
-
<line num="
|
|
3095
|
-
<line num="
|
|
3096
|
-
<line num="
|
|
3097
|
-
<line num="
|
|
3051
|
+
<line num="18" count="53" type="stmt"/>
|
|
3052
|
+
<line num="19" count="53" type="stmt"/>
|
|
3053
|
+
<line num="28" count="53" type="stmt"/>
|
|
3054
|
+
<line num="45" count="53" type="stmt"/>
|
|
3055
|
+
<line num="56" count="53" type="stmt"/>
|
|
3056
|
+
<line num="57" count="106" type="cond" truecount="1" falsecount="1"/>
|
|
3098
3057
|
<line num="60" count="53" type="stmt"/>
|
|
3099
|
-
<line num="
|
|
3100
|
-
<line num="
|
|
3101
|
-
<line num="
|
|
3102
|
-
<line num="
|
|
3103
|
-
<line num="81" count="53" type="stmt"/>
|
|
3058
|
+
<line num="66" count="53" type="stmt"/>
|
|
3059
|
+
<line num="71" count="53" type="stmt"/>
|
|
3060
|
+
<line num="77" count="53" type="stmt"/>
|
|
3061
|
+
<line num="88" count="53" type="stmt"/>
|
|
3104
3062
|
<line num="92" count="53" type="stmt"/>
|
|
3105
|
-
<line num="
|
|
3106
|
-
<line num="
|
|
3107
|
-
<line num="
|
|
3108
|
-
<line num="
|
|
3109
|
-
<line num="
|
|
3110
|
-
<line num="
|
|
3111
|
-
<line num="
|
|
3112
|
-
<line num="
|
|
3113
|
-
<line num="
|
|
3063
|
+
<line num="97" count="53" type="stmt"/>
|
|
3064
|
+
<line num="159" count="53" type="stmt"/>
|
|
3065
|
+
<line num="167" count="53" type="stmt"/>
|
|
3066
|
+
<line num="175" count="53" type="stmt"/>
|
|
3067
|
+
<line num="176" count="53" type="stmt"/>
|
|
3068
|
+
<line num="183" count="53" type="stmt"/>
|
|
3069
|
+
<line num="188" count="53" type="stmt"/>
|
|
3070
|
+
<line num="194" count="53" type="stmt"/>
|
|
3071
|
+
<line num="199" count="53" type="stmt"/>
|
|
3114
3072
|
<line num="203" count="53" type="stmt"/>
|
|
3115
|
-
<line num="
|
|
3116
|
-
<line num="
|
|
3117
|
-
<line num="216" count="53" type="stmt"/>
|
|
3073
|
+
<line num="210" count="53" type="stmt"/>
|
|
3074
|
+
<line num="212" count="53" type="stmt"/>
|
|
3118
3075
|
</file>
|
|
3119
3076
|
<file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
|
|
3120
3077
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -3131,7 +3088,7 @@
|
|
|
3131
3088
|
</file>
|
|
3132
3089
|
</package>
|
|
3133
3090
|
<package name="db">
|
|
3134
|
-
<metrics statements="
|
|
3091
|
+
<metrics statements="129" coveredstatements="99" conditionals="41" coveredconditionals="9" methods="32" coveredmethods="21"/>
|
|
3135
3092
|
<file name="inMemoryView.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/inMemoryView.js">
|
|
3136
3093
|
<metrics statements="23" coveredstatements="4" conditionals="8" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
3137
3094
|
<line num="1" count="45" type="stmt"/>
|
|
@@ -3173,19 +3130,32 @@
|
|
|
3173
3130
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3174
3131
|
<line num="1" count="59" type="stmt"/>
|
|
3175
3132
|
<line num="3" count="59" type="stmt"/>
|
|
3176
|
-
<line num="4" count="
|
|
3133
|
+
<line num="4" count="887" type="stmt"/>
|
|
3177
3134
|
</file>
|
|
3178
3135
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3179
|
-
<metrics statements="
|
|
3136
|
+
<metrics statements="95" coveredstatements="84" conditionals="29" coveredconditionals="6" methods="26" coveredmethods="19"/>
|
|
3180
3137
|
<line num="1" count="59" type="stmt"/>
|
|
3181
|
-
<line num="
|
|
3182
|
-
<line num="
|
|
3183
|
-
<line num="
|
|
3184
|
-
<line num="
|
|
3185
|
-
<line num="
|
|
3138
|
+
<line num="23" count="59" type="stmt"/>
|
|
3139
|
+
<line num="25" count="59" type="stmt"/>
|
|
3140
|
+
<line num="27" count="59" type="stmt"/>
|
|
3141
|
+
<line num="33" count="59" type="stmt"/>
|
|
3142
|
+
<line num="35" count="59" type="stmt"/>
|
|
3143
|
+
<line num="39" count="59" type="stmt"/>
|
|
3144
|
+
<line num="41" count="59" type="stmt"/>
|
|
3186
3145
|
<line num="49" count="59" type="stmt"/>
|
|
3146
|
+
<line num="50" count="59" type="stmt"/>
|
|
3147
|
+
<line num="51" count="59" type="stmt"/>
|
|
3148
|
+
<line num="52" count="59" type="stmt"/>
|
|
3187
3149
|
<line num="53" count="59" type="stmt"/>
|
|
3150
|
+
<line num="54" count="59" type="stmt"/>
|
|
3188
3151
|
<line num="55" count="59" type="stmt"/>
|
|
3152
|
+
<line num="56" count="59" type="stmt"/>
|
|
3153
|
+
<line num="57" count="59" type="stmt"/>
|
|
3154
|
+
<line num="58" count="59" type="stmt"/>
|
|
3155
|
+
<line num="59" count="59" type="stmt"/>
|
|
3156
|
+
<line num="60" count="59" type="stmt"/>
|
|
3157
|
+
<line num="61" count="59" type="stmt"/>
|
|
3158
|
+
<line num="62" count="59" type="stmt"/>
|
|
3189
3159
|
<line num="63" count="59" type="stmt"/>
|
|
3190
3160
|
<line num="64" count="59" type="stmt"/>
|
|
3191
3161
|
<line num="65" count="59" type="stmt"/>
|
|
@@ -3198,96 +3168,67 @@
|
|
|
3198
3168
|
<line num="72" count="59" type="stmt"/>
|
|
3199
3169
|
<line num="73" count="59" type="stmt"/>
|
|
3200
3170
|
<line num="74" count="59" type="stmt"/>
|
|
3201
|
-
<line num="
|
|
3202
|
-
<line num="
|
|
3203
|
-
<line num="
|
|
3204
|
-
<line num="
|
|
3205
|
-
<line num="
|
|
3206
|
-
<line num="
|
|
3207
|
-
<line num="
|
|
3208
|
-
<line num="
|
|
3209
|
-
<line num="
|
|
3210
|
-
<line num="
|
|
3211
|
-
<line num="
|
|
3212
|
-
<line num="
|
|
3213
|
-
<line num="
|
|
3214
|
-
<line num="
|
|
3215
|
-
<line num="
|
|
3216
|
-
<line num="
|
|
3217
|
-
<line num="
|
|
3218
|
-
<line num="
|
|
3219
|
-
<line num="
|
|
3220
|
-
<line num="
|
|
3221
|
-
<line num="
|
|
3222
|
-
<line num="
|
|
3223
|
-
<line num="
|
|
3224
|
-
<line num="
|
|
3225
|
-
<line num="
|
|
3226
|
-
<line num="
|
|
3227
|
-
<line num="
|
|
3228
|
-
<line num="
|
|
3229
|
-
<line num="
|
|
3230
|
-
<line num="
|
|
3231
|
-
<line num="
|
|
3232
|
-
<line num="
|
|
3233
|
-
<line num="
|
|
3234
|
-
<line num="
|
|
3235
|
-
<line num="
|
|
3236
|
-
<line num="
|
|
3237
|
-
<line num="
|
|
3238
|
-
<line num="
|
|
3239
|
-
<line num="
|
|
3240
|
-
<line num="
|
|
3241
|
-
<line num="
|
|
3242
|
-
<line num="
|
|
3243
|
-
<line num="
|
|
3244
|
-
<line num="
|
|
3245
|
-
<line num="
|
|
3246
|
-
<line num="
|
|
3247
|
-
<line num="238" count="0" type="stmt"/>
|
|
3248
|
-
<line num="245" count="59" type="stmt"/>
|
|
3249
|
-
<line num="246" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
3250
|
-
<line num="252" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3251
|
-
<line num="253" count="9" type="stmt"/>
|
|
3171
|
+
<line num="79" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3172
|
+
<line num="80" count="273" type="stmt"/>
|
|
3173
|
+
<line num="87" count="59" type="stmt"/>
|
|
3174
|
+
<line num="88" count="130" type="stmt"/>
|
|
3175
|
+
<line num="96" count="59" type="stmt"/>
|
|
3176
|
+
<line num="97" count="0" type="stmt"/>
|
|
3177
|
+
<line num="100" count="0" type="stmt"/>
|
|
3178
|
+
<line num="106" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3179
|
+
<line num="107" count="276" type="stmt"/>
|
|
3180
|
+
<line num="114" count="59" type="stmt"/>
|
|
3181
|
+
<line num="115" count="27" type="stmt"/>
|
|
3182
|
+
<line num="129" count="59" type="stmt"/>
|
|
3183
|
+
<line num="137" count="9" type="stmt"/>
|
|
3184
|
+
<line num="138" count="9" type="stmt"/>
|
|
3185
|
+
<line num="139" count="9" type="stmt"/>
|
|
3186
|
+
<line num="140" count="9" type="stmt"/>
|
|
3187
|
+
<line num="146" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3188
|
+
<line num="147" count="0" type="stmt"/>
|
|
3189
|
+
<line num="154" count="59" type="stmt"/>
|
|
3190
|
+
<line num="155" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
3191
|
+
<line num="161" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3192
|
+
<line num="162" count="9" type="stmt"/>
|
|
3193
|
+
<line num="169" count="59" type="stmt"/>
|
|
3194
|
+
<line num="170" count="23" type="stmt"/>
|
|
3195
|
+
<line num="176" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3196
|
+
<line num="177" count="11" type="stmt"/>
|
|
3197
|
+
<line num="184" count="59" type="stmt"/>
|
|
3198
|
+
<line num="185" count="10" type="stmt"/>
|
|
3199
|
+
<line num="191" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3200
|
+
<line num="192" count="2" type="stmt"/>
|
|
3201
|
+
<line num="199" count="59" type="cond" truecount="1" falsecount="1"/>
|
|
3202
|
+
<line num="200" count="64" type="stmt"/>
|
|
3203
|
+
<line num="208" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3204
|
+
<line num="209" count="5" type="stmt"/>
|
|
3205
|
+
<line num="216" count="59" type="stmt"/>
|
|
3206
|
+
<line num="217" count="139" type="stmt"/>
|
|
3207
|
+
<line num="226" count="59" type="stmt"/>
|
|
3208
|
+
<line num="227" count="0" type="stmt"/>
|
|
3209
|
+
<line num="233" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3210
|
+
<line num="234" count="252" type="stmt"/>
|
|
3211
|
+
<line num="240" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3212
|
+
<line num="241" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3213
|
+
<line num="242" count="4" type="stmt"/>
|
|
3214
|
+
<line num="245" count="1" type="stmt"/>
|
|
3215
|
+
<line num="256" count="59" type="stmt"/>
|
|
3216
|
+
<line num="257" count="0" type="stmt"/>
|
|
3252
3217
|
<line num="260" count="59" type="stmt"/>
|
|
3253
|
-
<line num="261" count="
|
|
3254
|
-
<line num="
|
|
3255
|
-
<line num="
|
|
3256
|
-
<line num="
|
|
3257
|
-
<line num="
|
|
3258
|
-
<line num="
|
|
3259
|
-
<line num="
|
|
3260
|
-
<line num="
|
|
3261
|
-
<line num="
|
|
3262
|
-
<line num="
|
|
3263
|
-
<line num="
|
|
3264
|
-
<line num="
|
|
3265
|
-
<line num="
|
|
3266
|
-
<line num="
|
|
3267
|
-
<line num="318" count="0" type="stmt"/>
|
|
3268
|
-
<line num="324" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3269
|
-
<line num="325" count="252" type="stmt"/>
|
|
3270
|
-
<line num="331" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3271
|
-
<line num="332" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3272
|
-
<line num="333" count="4" type="stmt"/>
|
|
3273
|
-
<line num="336" count="1" type="stmt"/>
|
|
3274
|
-
<line num="347" count="59" type="stmt"/>
|
|
3275
|
-
<line num="348" count="0" type="stmt"/>
|
|
3276
|
-
<line num="351" count="59" type="stmt"/>
|
|
3277
|
-
<line num="352" count="10" type="stmt"/>
|
|
3278
|
-
<line num="355" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3279
|
-
<line num="356" count="0" type="stmt"/>
|
|
3280
|
-
<line num="357" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3281
|
-
<line num="358" count="0" type="stmt"/>
|
|
3282
|
-
<line num="360" count="0" type="stmt"/>
|
|
3283
|
-
<line num="363" count="59" type="stmt"/>
|
|
3284
|
-
<line num="364" count="1" type="stmt"/>
|
|
3285
|
-
<line num="367" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3286
|
-
<line num="368" count="0" type="stmt"/>
|
|
3287
|
-
<line num="371" count="59" type="stmt"/>
|
|
3288
|
-
<line num="372" count="0" type="stmt"/>
|
|
3289
|
-
<line num="378" count="59" type="stmt"/>
|
|
3290
|
-
<line num="379" count="60" type="stmt"/>
|
|
3218
|
+
<line num="261" count="10" type="stmt"/>
|
|
3219
|
+
<line num="264" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3220
|
+
<line num="265" count="0" type="stmt"/>
|
|
3221
|
+
<line num="266" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3222
|
+
<line num="267" count="0" type="stmt"/>
|
|
3223
|
+
<line num="269" count="0" type="stmt"/>
|
|
3224
|
+
<line num="272" count="59" type="stmt"/>
|
|
3225
|
+
<line num="273" count="1" type="stmt"/>
|
|
3226
|
+
<line num="276" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3227
|
+
<line num="277" count="0" type="stmt"/>
|
|
3228
|
+
<line num="280" count="59" type="stmt"/>
|
|
3229
|
+
<line num="281" count="0" type="stmt"/>
|
|
3230
|
+
<line num="287" count="59" type="stmt"/>
|
|
3231
|
+
<line num="288" count="60" type="stmt"/>
|
|
3291
3232
|
</file>
|
|
3292
3233
|
</package>
|
|
3293
3234
|
<package name="db.linkedRows">
|
|
@@ -4157,7 +4098,7 @@
|
|
|
4157
4098
|
<line num="13" count="44" type="stmt"/>
|
|
4158
4099
|
<line num="19" count="44" type="stmt"/>
|
|
4159
4100
|
<line num="20" count="4" type="stmt"/>
|
|
4160
|
-
<line num="21" count="
|
|
4101
|
+
<line num="21" count="128" type="stmt"/>
|
|
4161
4102
|
<line num="23" count="4" type="cond" truecount="2" falsecount="5"/>
|
|
4162
4103
|
<line num="26" count="4" type="stmt"/>
|
|
4163
4104
|
<line num="28" count="0" type="stmt"/>
|
|
@@ -4284,32 +4225,32 @@
|
|
|
4284
4225
|
</file>
|
|
4285
4226
|
</package>
|
|
4286
4227
|
<package name="utilities.queue">
|
|
4287
|
-
<metrics statements="23" coveredstatements="
|
|
4228
|
+
<metrics statements="23" coveredstatements="0" conditionals="7" coveredconditionals="0" methods="12" coveredmethods="0"/>
|
|
4288
4229
|
<file name="inMemoryQueue.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/queue/inMemoryQueue.js">
|
|
4289
|
-
<metrics statements="23" coveredstatements="
|
|
4290
|
-
<line num="1" count="
|
|
4291
|
-
<line num="13" count="
|
|
4292
|
-
<line num="33" count="
|
|
4293
|
-
<line num="34" count="
|
|
4294
|
-
<line num="35" count="
|
|
4295
|
-
<line num="36" count="
|
|
4296
|
-
<line num="49" count="
|
|
4297
|
-
<line num="50" count="
|
|
4298
|
-
<line num="51" count="
|
|
4299
|
-
<line num="53" count="
|
|
4300
|
-
<line num="54" count="
|
|
4301
|
-
<line num="55" count="
|
|
4302
|
-
<line num="56" count="
|
|
4303
|
-
<line num="71" count="
|
|
4230
|
+
<metrics statements="23" coveredstatements="0" conditionals="7" coveredconditionals="0" methods="12" coveredmethods="0"/>
|
|
4231
|
+
<line num="1" count="0" type="stmt"/>
|
|
4232
|
+
<line num="13" count="0" type="stmt"/>
|
|
4233
|
+
<line num="33" count="0" type="stmt"/>
|
|
4234
|
+
<line num="34" count="0" type="stmt"/>
|
|
4235
|
+
<line num="35" count="0" type="stmt"/>
|
|
4236
|
+
<line num="36" count="0" type="stmt"/>
|
|
4237
|
+
<line num="49" count="0" type="stmt"/>
|
|
4238
|
+
<line num="50" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4239
|
+
<line num="51" count="0" type="stmt"/>
|
|
4240
|
+
<line num="53" count="0" type="stmt"/>
|
|
4241
|
+
<line num="54" count="0" type="stmt"/>
|
|
4242
|
+
<line num="55" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4243
|
+
<line num="56" count="0" type="stmt"/>
|
|
4244
|
+
<line num="71" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4304
4245
|
<line num="72" count="0" type="stmt"/>
|
|
4305
|
-
<line num="74" count="
|
|
4306
|
-
<line num="75" count="
|
|
4246
|
+
<line num="74" count="0" type="stmt"/>
|
|
4247
|
+
<line num="75" count="0" type="stmt"/>
|
|
4307
4248
|
<line num="82" count="0" type="stmt"/>
|
|
4308
4249
|
<line num="91" count="0" type="stmt"/>
|
|
4309
|
-
<line num="98" count="
|
|
4250
|
+
<line num="98" count="0" type="stmt"/>
|
|
4310
4251
|
<line num="110" count="0" type="stmt"/>
|
|
4311
4252
|
<line num="114" count="0" type="stmt"/>
|
|
4312
|
-
<line num="122" count="
|
|
4253
|
+
<line num="122" count="0" type="stmt"/>
|
|
4313
4254
|
</file>
|
|
4314
4255
|
</package>
|
|
4315
4256
|
<package name="utilities.routing">
|