@budibase/server 2.0.33 → 2.0.34-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__mocks__/mongodb.ts +1 -1
- package/builder/assets/backups-default.8c011f1b.png +0 -0
- package/builder/assets/{index.dfa4073c.css → index.b15ffe95.css} +2 -2
- package/builder/assets/{index.ce49a649.js → index.cf543543.js} +340 -332
- package/builder/index.html +2 -2
- package/coverage/clover.xml +635 -690
- package/coverage/coverage-final.json +34 -36
- 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 +2 -2
- 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 +12 -12
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +15 -15
- package/coverage/lcov-report/api/controllers/row/utils.js.html +13 -13
- 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 +7 -7
- 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 +20 -20
- package/coverage/lcov-report/automations/index.js.html +9 -9
- 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 +3 -3
- 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 +30 -30
- package/coverage/lcov-report/constants/index.html +5 -5
- package/coverage/lcov-report/constants/index.js.html +10 -16
- 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 +11 -11
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +11 -11
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +3 -3
- package/coverage/lcov-report/db/newid.js.html +2 -2
- package/coverage/lcov-report/db/utils.js.html +37 -316
- 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 +2 -2
- package/coverage/lcov-report/events/utils.js.html +9 -9
- package/coverage/lcov-report/index.html +77 -77
- 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 +11 -11
- package/coverage/lcov-report/middleware/currentapp.js.html +34 -34
- 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 +7 -7
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/utils.js.html +2 -2
- 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 +11 -8
- package/coverage/lcov-report/utilities/global.js.html +16 -16
- package/coverage/lcov-report/utilities/index.html +15 -15
- package/coverage/lcov-report/utilities/index.js.html +7 -7
- 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 +54 -39
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +10 -10
- 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 +14 -14
- package/coverage/lcov-report/utilities/usageQuota/rows.js.html +23 -11
- 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 +1144 -1248
- package/dist/api/controllers/application.js +4 -7
- 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/dev.js +1 -1
- package/dist/api/controllers/query/index.js +7 -2
- package/dist/api/controllers/row/index.js +30 -10
- package/dist/api/controllers/static/index.js +2 -2
- package/dist/api/controllers/static/templates/preview.hbs +10 -0
- 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 +10 -3
- package/dist/api/controllers/table/utils.js +7 -49
- 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 +18 -2
- package/dist/automations/automationUtils.js +2 -2
- package/dist/automations/bullboard.js +5 -33
- package/dist/automations/index.js +4 -4
- package/dist/automations/steps/updateRow.js +2 -2
- package/dist/automations/triggers.js +6 -6
- package/dist/automations/utils.js +18 -12
- package/dist/constants/index.js +4 -5
- package/dist/db/utils.js +10 -75
- package/dist/index.js +1 -0
- package/dist/integrations/arangodb.js +2 -0
- package/dist/integrations/base/sqlTable.js +1 -0
- package/dist/integrations/mongodb.js +300 -11
- package/dist/integrations/rest.js +38 -5
- package/dist/migrations/functions/backfill/app/tables.js +5 -8
- package/dist/migrations/functions/{quotas1.js → syncQuotas.js} +3 -7
- package/dist/migrations/functions/usageQuotas/syncApps.js +0 -1
- package/dist/migrations/functions/{pluginCount.js → usageQuotas/syncPlugins.js} +1 -3
- package/dist/migrations/functions/usageQuotas/syncRows.js +9 -5
- package/dist/migrations/index.js +10 -38
- package/dist/package.json +14 -14
- 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/csvParser.js +1 -0
- package/dist/utilities/fileSystem/index.js +3 -95
- package/dist/utilities/fileSystem/utilities.js +2 -1
- package/dist/utilities/rowProcessor/index.js +5 -0
- package/dist/utilities/usageQuota/rows.js +6 -4
- package/package.json +15 -15
- package/specs/openapi.json +3 -0
- package/specs/openapi.yaml +3 -0
- package/src/api/controllers/application.ts +5 -12
- 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 -8
- package/src/api/controllers/dev.js +1 -1
- package/src/api/controllers/query/index.ts +8 -2
- package/src/api/controllers/row/index.ts +36 -13
- package/src/api/controllers/static/index.ts +2 -2
- package/src/api/controllers/static/templates/preview.hbs +10 -0
- 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 +8 -9
- package/src/api/controllers/table/utils.ts +4 -53
- 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/api/routes/tests/row.spec.js +22 -27
- package/src/app.ts +19 -2
- package/src/automations/automationUtils.js +2 -2
- package/src/automations/bullboard.js +8 -33
- package/src/automations/index.js +4 -4
- package/src/automations/steps/updateRow.js +2 -2
- package/src/automations/tests/automation.spec.js +1 -6
- package/src/automations/triggers.js +6 -6
- package/src/automations/utils.ts +18 -12
- package/src/constants/index.js +4 -6
- package/src/db/utils.js +17 -110
- package/src/definitions/automations.ts +0 -12
- package/src/definitions/datasource.ts +1 -0
- package/src/index.ts +1 -0
- package/src/integrations/arangodb.ts +2 -0
- package/src/integrations/base/sqlTable.ts +1 -0
- package/src/integrations/mongodb.ts +290 -27
- package/src/integrations/rest.ts +17 -5
- package/src/integrations/tests/mongo.spec.ts +19 -19
- package/src/integrations/tests/rest.spec.ts +38 -22
- package/src/migrations/functions/backfill/app/tables.ts +7 -13
- package/src/migrations/functions/backfill/global.ts +1 -1
- package/src/migrations/functions/{quotas1.ts → syncQuotas.ts} +3 -8
- package/src/migrations/functions/tests/{quotas1.spec.js → syncQuotas.spec.js} +5 -2
- package/src/migrations/functions/usageQuotas/syncApps.ts +0 -1
- package/src/migrations/functions/usageQuotas/syncPlugins.ts +10 -0
- package/src/migrations/functions/usageQuotas/syncRows.ts +15 -6
- package/src/migrations/functions/usageQuotas/tests/syncRows.spec.ts +9 -1
- package/src/migrations/index.ts +21 -45
- package/src/migrations/tests/index.spec.ts +0 -1
- 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 +169 -0
- package/src/sdk/app/backups/index.ts +9 -0
- package/src/sdk/app/backups/statistics.ts +78 -0
- package/src/sdk/app/tables/index.ts +61 -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/csvParser.js +1 -0
- package/src/utilities/fileSystem/index.js +2 -119
- package/src/utilities/fileSystem/utilities.js +2 -0
- package/src/utilities/rowProcessor/index.js +5 -0
- package/src/utilities/usageQuota/rows.js +7 -3
- 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/src/migrations/functions/pluginCount.ts +0 -12
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="1666704707330" clover="3.2.0">
|
|
3
|
+
<project timestamp="1666704707330" name="All files">
|
|
4
|
+
<metrics statements="4071" coveredstatements="2938" conditionals="1747" coveredconditionals="956" methods="607" coveredmethods="415" elements="6425" coveredelements="4309" 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">
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
<line num="19" count="28" type="stmt"/>
|
|
22
22
|
<line num="20" count="28" type="stmt"/>
|
|
23
23
|
<line num="22" count="28" type="stmt"/>
|
|
24
|
-
<line num="36" count="
|
|
25
|
-
<line num="40" count="
|
|
24
|
+
<line num="36" count="238" type="stmt"/>
|
|
25
|
+
<line num="40" count="238" type="stmt"/>
|
|
26
26
|
<line num="62" count="28" type="stmt"/>
|
|
27
|
-
<line num="63" count="
|
|
28
|
-
<line num="64" count="
|
|
27
|
+
<line num="63" count="236" type="stmt"/>
|
|
28
|
+
<line num="64" count="236" type="stmt"/>
|
|
29
29
|
<line num="66" count="37" type="cond" truecount="1" falsecount="2"/>
|
|
30
30
|
<line num="67" count="37" type="stmt"/>
|
|
31
31
|
<line num="68" count="37" type="stmt"/>
|
|
@@ -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"/>
|
|
@@ -1203,18 +1186,18 @@
|
|
|
1203
1186
|
<line num="138" count="0" type="stmt"/>
|
|
1204
1187
|
<line num="141" count="5" type="stmt"/>
|
|
1205
1188
|
<line num="147" count="45" type="stmt"/>
|
|
1206
|
-
<line num="148" count="
|
|
1207
|
-
<line num="149" count="
|
|
1208
|
-
<line num="150" count="
|
|
1209
|
-
<line num="152" count="
|
|
1210
|
-
<line num="153" count="
|
|
1211
|
-
<line num="157" count="
|
|
1212
|
-
<line num="158" count="
|
|
1213
|
-
<line num="159" count="
|
|
1214
|
-
<line num="164" count="
|
|
1189
|
+
<line num="148" count="77" type="stmt"/>
|
|
1190
|
+
<line num="149" count="77" type="stmt"/>
|
|
1191
|
+
<line num="150" count="77" type="stmt"/>
|
|
1192
|
+
<line num="152" count="77" type="cond" truecount="3" falsecount="1"/>
|
|
1193
|
+
<line num="153" count="77" type="stmt"/>
|
|
1194
|
+
<line num="157" count="77" type="stmt"/>
|
|
1195
|
+
<line num="158" count="77" type="stmt"/>
|
|
1196
|
+
<line num="159" count="77" type="stmt"/>
|
|
1197
|
+
<line num="164" count="77" type="cond" truecount="1" falsecount="1"/>
|
|
1215
1198
|
<line num="165" count="0" type="stmt"/>
|
|
1216
|
-
<line num="169" count="
|
|
1217
|
-
<line num="176" count="
|
|
1199
|
+
<line num="169" count="77" type="stmt"/>
|
|
1200
|
+
<line num="176" count="76" type="stmt"/>
|
|
1218
1201
|
<line num="182" count="45" type="stmt"/>
|
|
1219
1202
|
<line num="183" count="9" type="stmt"/>
|
|
1220
1203
|
<line num="186" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -1578,9 +1561,9 @@
|
|
|
1578
1561
|
<line num="9" count="45" type="stmt"/>
|
|
1579
1562
|
<line num="10" count="45" type="stmt"/>
|
|
1580
1563
|
<line num="18" count="45" type="stmt"/>
|
|
1581
|
-
<line num="19" count="
|
|
1582
|
-
<line num="21" count="
|
|
1583
|
-
<line num="22" count="
|
|
1564
|
+
<line num="19" count="86" type="stmt"/>
|
|
1565
|
+
<line num="21" count="86" type="cond" truecount="1" falsecount="1"/>
|
|
1566
|
+
<line num="22" count="86" type="stmt"/>
|
|
1584
1567
|
<line num="24" count="0" type="stmt"/>
|
|
1585
1568
|
<line num="25" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1586
1569
|
<line num="29" count="0" type="stmt"/>
|
|
@@ -1615,11 +1598,11 @@
|
|
|
1615
1598
|
<line num="98" count="0" type="stmt"/>
|
|
1616
1599
|
<line num="102" count="0" type="stmt"/>
|
|
1617
1600
|
<line num="111" count="45" type="stmt"/>
|
|
1618
|
-
<line num="116" count="
|
|
1619
|
-
<line num="117" count="
|
|
1620
|
-
<line num="119" count="
|
|
1621
|
-
<line num="123" count="
|
|
1622
|
-
<line num="131" count="
|
|
1601
|
+
<line num="116" count="81" type="stmt"/>
|
|
1602
|
+
<line num="117" count="81" type="stmt"/>
|
|
1603
|
+
<line num="119" count="81" type="stmt"/>
|
|
1604
|
+
<line num="123" count="81" type="stmt"/>
|
|
1605
|
+
<line num="131" count="81" type="cond" truecount="3" falsecount="1"/>
|
|
1623
1606
|
<line num="132" count="0" type="stmt"/>
|
|
1624
1607
|
<line num="133" count="0" type="stmt"/>
|
|
1625
1608
|
<line num="135" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -1628,12 +1611,12 @@
|
|
|
1628
1611
|
<line num="140" count="0" type="stmt"/>
|
|
1629
1612
|
<line num="141" count="0" type="stmt"/>
|
|
1630
1613
|
<line num="143" count="0" type="stmt"/>
|
|
1631
|
-
<line num="147" count="
|
|
1632
|
-
<line num="149" count="
|
|
1633
|
-
<line num="150" count="
|
|
1634
|
-
<line num="152" count="
|
|
1635
|
-
<line num="153" count="
|
|
1636
|
-
<line num="155" count="
|
|
1614
|
+
<line num="147" count="81" type="stmt"/>
|
|
1615
|
+
<line num="149" count="81" type="stmt"/>
|
|
1616
|
+
<line num="150" count="81" type="stmt"/>
|
|
1617
|
+
<line num="152" count="81" type="cond" truecount="1" falsecount="1"/>
|
|
1618
|
+
<line num="153" count="81" type="stmt"/>
|
|
1619
|
+
<line num="155" count="81" type="stmt"/>
|
|
1637
1620
|
</file>
|
|
1638
1621
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/utils.js">
|
|
1639
1622
|
<metrics statements="55" coveredstatements="37" conditionals="34" coveredconditionals="13" methods="6" coveredmethods="4"/>
|
|
@@ -1665,18 +1648,18 @@
|
|
|
1665
1648
|
<line num="43" count="0" type="stmt"/>
|
|
1666
1649
|
<line num="45" count="23" type="stmt"/>
|
|
1667
1650
|
<line num="48" count="46" type="stmt"/>
|
|
1668
|
-
<line num="49" count="
|
|
1651
|
+
<line num="49" count="85" type="cond" truecount="2" falsecount="0"/>
|
|
1669
1652
|
<line num="50" count="2" type="stmt"/>
|
|
1670
1653
|
<line num="51" count="2" type="stmt"/>
|
|
1671
|
-
<line num="53" count="
|
|
1672
|
-
<line num="54" count="
|
|
1673
|
-
<line num="55" count="
|
|
1674
|
-
<line num="56" count="
|
|
1675
|
-
<line num="58" count="
|
|
1654
|
+
<line num="53" count="85" type="stmt"/>
|
|
1655
|
+
<line num="54" count="85" type="stmt"/>
|
|
1656
|
+
<line num="55" count="228" type="stmt"/>
|
|
1657
|
+
<line num="56" count="228" type="stmt"/>
|
|
1658
|
+
<line num="58" count="228" type="cond" truecount="1" falsecount="1"/>
|
|
1676
1659
|
<line num="59" count="0" type="stmt"/>
|
|
1677
|
-
<line num="62" count="
|
|
1660
|
+
<line num="62" count="228" type="cond" truecount="2" falsecount="2"/>
|
|
1678
1661
|
<line num="63" count="0" type="stmt"/>
|
|
1679
|
-
<line num="68" count="
|
|
1662
|
+
<line num="68" count="228" type="cond" truecount="2" falsecount="2"/>
|
|
1680
1663
|
<line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1681
1664
|
<line num="70" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1682
1665
|
<line num="71" count="0" type="stmt"/>
|
|
@@ -1685,19 +1668,19 @@
|
|
|
1685
1668
|
<line num="78" count="0" type="stmt"/>
|
|
1686
1669
|
<line num="81" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1687
1670
|
<line num="83" count="0" type="stmt"/>
|
|
1688
|
-
<line num="85" count="
|
|
1671
|
+
<line num="85" count="228" type="cond" truecount="2" falsecount="2"/>
|
|
1689
1672
|
<line num="87" count="0" type="stmt"/>
|
|
1690
1673
|
<line num="88" count="0" type="stmt"/>
|
|
1691
1674
|
<line num="90" count="0" type="stmt"/>
|
|
1692
|
-
<line num="93" count="
|
|
1693
|
-
<line num="95" count="
|
|
1694
|
-
<line num="97" count="
|
|
1675
|
+
<line num="93" count="228" type="stmt"/>
|
|
1676
|
+
<line num="95" count="228" type="cond" truecount="2" falsecount="0"/>
|
|
1677
|
+
<line num="97" count="85" type="stmt"/>
|
|
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="69" coveredconditionals="48" 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"/>
|
|
@@ -2679,10 +2637,10 @@
|
|
|
2679
2637
|
<line num="3" count="44" type="stmt"/>
|
|
2680
2638
|
<line num="4" count="44" type="stmt"/>
|
|
2681
2639
|
<line num="9" count="44" type="stmt"/>
|
|
2682
|
-
<line num="11" count="
|
|
2683
|
-
<line num="12" count="
|
|
2684
|
-
<line num="15" count="
|
|
2685
|
-
<line num="16" count="
|
|
2640
|
+
<line num="11" count="31" type="stmt"/>
|
|
2641
|
+
<line num="12" count="7" type="stmt"/>
|
|
2642
|
+
<line num="15" count="31" type="stmt"/>
|
|
2643
|
+
<line num="16" count="31" type="stmt"/>
|
|
2686
2644
|
<line num="19" count="44" type="stmt"/>
|
|
2687
2645
|
<line num="20" count="0" type="stmt"/>
|
|
2688
2646
|
<line num="23" count="44" type="stmt"/>
|
|
@@ -2692,7 +2650,7 @@
|
|
|
2692
2650
|
<line num="29" count="44" type="stmt"/>
|
|
2693
2651
|
</file>
|
|
2694
2652
|
<file name="triggers.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggers.js">
|
|
2695
|
-
<metrics statements="61" coveredstatements="55" conditionals="
|
|
2653
|
+
<metrics statements="61" coveredstatements="55" conditionals="34" coveredconditionals="26" methods="11" coveredmethods="11"/>
|
|
2696
2654
|
<line num="1" count="45" type="stmt"/>
|
|
2697
2655
|
<line num="2" count="45" type="stmt"/>
|
|
2698
2656
|
<line num="3" count="45" type="stmt"/>
|
|
@@ -2706,17 +2664,17 @@
|
|
|
2706
2664
|
<line num="12" count="45" type="stmt"/>
|
|
2707
2665
|
<line num="14" count="45" type="stmt"/>
|
|
2708
2666
|
<line num="15" count="45" type="stmt"/>
|
|
2709
|
-
<line num="21" count="
|
|
2710
|
-
<line num="22" count="
|
|
2711
|
-
<line num="25" count="
|
|
2712
|
-
<line num="29" count="
|
|
2667
|
+
<line num="21" count="21" type="stmt"/>
|
|
2668
|
+
<line num="22" count="21" type="stmt"/>
|
|
2669
|
+
<line num="25" count="21" type="stmt"/>
|
|
2670
|
+
<line num="29" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
2713
2671
|
<line num="30" count="0" type="stmt"/>
|
|
2714
|
-
<line num="33" count="
|
|
2715
|
-
<line num="34" count="
|
|
2716
|
-
<line num="37" count="
|
|
2672
|
+
<line num="33" count="18" type="stmt"/>
|
|
2673
|
+
<line num="34" count="18" type="stmt"/>
|
|
2674
|
+
<line num="37" count="18" type="stmt"/>
|
|
2717
2675
|
<line num="38" count="4" type="stmt"/>
|
|
2718
2676
|
<line num="39" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
2719
|
-
<line num="42" count="
|
|
2677
|
+
<line num="42" count="18" type="stmt"/>
|
|
2720
2678
|
<line num="43" count="4" type="stmt"/>
|
|
2721
2679
|
<line num="44" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2722
2680
|
<line num="48" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
@@ -2724,35 +2682,35 @@
|
|
|
2724
2682
|
<line num="55" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2725
2683
|
<line num="59" count="4" type="stmt"/>
|
|
2726
2684
|
<line num="65" count="45" type="stmt"/>
|
|
2727
|
-
<line num="70" count="
|
|
2685
|
+
<line num="70" count="8" type="stmt"/>
|
|
2728
2686
|
<line num="73" count="45" type="stmt"/>
|
|
2729
2687
|
<line num="78" count="4" type="stmt"/>
|
|
2730
2688
|
<line num="81" count="45" type="stmt"/>
|
|
2731
2689
|
<line num="86" count="6" type="stmt"/>
|
|
2732
2690
|
<line num="89" count="45" type="stmt"/>
|
|
2733
|
-
<line num="94" count="
|
|
2691
|
+
<line num="94" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
2734
2692
|
<line num="102" count="1" type="stmt"/>
|
|
2735
2693
|
<line num="103" count="1" type="stmt"/>
|
|
2736
2694
|
<line num="104" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2737
2695
|
<line num="105" count="1" type="stmt"/>
|
|
2738
2696
|
<line num="107" count="1" type="stmt"/>
|
|
2739
|
-
<line num="109" count="
|
|
2740
|
-
<line num="110" count="
|
|
2697
|
+
<line num="109" count="5" type="stmt"/>
|
|
2698
|
+
<line num="110" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
2741
2699
|
<line num="111" count="2" type="stmt"/>
|
|
2742
|
-
<line num="113" count="
|
|
2700
|
+
<line num="113" count="3" type="stmt"/>
|
|
2743
2701
|
<line num="117" count="45" type="stmt"/>
|
|
2744
|
-
<line num="120" count="
|
|
2702
|
+
<line num="120" count="31" type="cond" truecount="4" falsecount="1"/>
|
|
2745
2703
|
<line num="121" count="0" type="stmt"/>
|
|
2746
|
-
<line num="125" count="
|
|
2747
|
-
<line num="126" count="
|
|
2748
|
-
<line num="127" count="
|
|
2749
|
-
<line num="128" count="
|
|
2750
|
-
<line num="129" count="
|
|
2751
|
-
<line num="130" count="
|
|
2704
|
+
<line num="125" count="31" type="stmt"/>
|
|
2705
|
+
<line num="126" count="31" type="stmt"/>
|
|
2706
|
+
<line num="127" count="3" type="stmt"/>
|
|
2707
|
+
<line num="128" count="3" type="stmt"/>
|
|
2708
|
+
<line num="129" count="3" type="stmt"/>
|
|
2709
|
+
<line num="130" count="3" type="stmt"/>
|
|
2752
2710
|
<line num="131" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2753
2711
|
<line num="132" count="0" type="stmt"/>
|
|
2754
2712
|
<line num="139" count="0" type="stmt"/>
|
|
2755
|
-
<line num="142" count="
|
|
2713
|
+
<line num="142" count="3" type="stmt"/>
|
|
2756
2714
|
<line num="147" count="45" type="stmt"/>
|
|
2757
2715
|
</file>
|
|
2758
2716
|
</package>
|
|
@@ -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="
|
|
3098
|
-
<line num="
|
|
3099
|
-
<line num="
|
|
3100
|
-
<line num="
|
|
3101
|
-
<line num="
|
|
3102
|
-
<line num="
|
|
3103
|
-
<line num="
|
|
3104
|
-
<line num="
|
|
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="
|
|
3114
|
-
<line num="
|
|
3115
|
-
<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"/>
|
|
3057
|
+
<line num="60" 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"/>
|
|
3062
|
+
<line num="92" count="53" type="stmt"/>
|
|
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"/>
|
|
3072
|
+
<line num="203" count="53" type="stmt"/>
|
|
3073
|
+
<line num="210" count="53" type="stmt"/>
|
|
3116
3074
|
<line num="212" count="53" type="stmt"/>
|
|
3117
|
-
<line num="214" 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,34 @@
|
|
|
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"/>
|
|
3145
|
+
<line num="49" count="59" type="stmt"/>
|
|
3146
|
+
<line num="50" count="59" type="stmt"/>
|
|
3186
3147
|
<line num="51" count="59" type="stmt"/>
|
|
3148
|
+
<line num="52" count="59" type="stmt"/>
|
|
3149
|
+
<line num="53" count="59" type="stmt"/>
|
|
3150
|
+
<line num="54" count="59" type="stmt"/>
|
|
3187
3151
|
<line num="55" count="59" type="stmt"/>
|
|
3152
|
+
<line num="56" count="59" type="stmt"/>
|
|
3188
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"/>
|
|
3159
|
+
<line num="63" count="59" type="stmt"/>
|
|
3160
|
+
<line num="64" count="59" type="stmt"/>
|
|
3189
3161
|
<line num="65" count="59" type="stmt"/>
|
|
3190
3162
|
<line num="66" count="59" type="stmt"/>
|
|
3191
3163
|
<line num="67" count="59" type="stmt"/>
|
|
@@ -3196,98 +3168,67 @@
|
|
|
3196
3168
|
<line num="72" count="59" type="stmt"/>
|
|
3197
3169
|
<line num="73" count="59" type="stmt"/>
|
|
3198
3170
|
<line num="74" count="59" type="stmt"/>
|
|
3199
|
-
<line num="
|
|
3200
|
-
<line num="
|
|
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="
|
|
3248
|
-
<line num="
|
|
3249
|
-
<line num="
|
|
3250
|
-
<line num="
|
|
3251
|
-
<line num="
|
|
3252
|
-
<line num="
|
|
3253
|
-
<line num="
|
|
3254
|
-
<line num="
|
|
3255
|
-
<line num="
|
|
3256
|
-
<line num="
|
|
3257
|
-
<line num="
|
|
3258
|
-
<line num="
|
|
3259
|
-
<line num="
|
|
3260
|
-
<line num="292" count="59" type="cond" truecount="1" falsecount="1"/>
|
|
3261
|
-
<line num="293" count="64" type="stmt"/>
|
|
3262
|
-
<line num="301" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3263
|
-
<line num="302" count="5" type="stmt"/>
|
|
3264
|
-
<line num="309" count="59" type="stmt"/>
|
|
3265
|
-
<line num="310" count="139" type="stmt"/>
|
|
3266
|
-
<line num="319" count="59" type="stmt"/>
|
|
3267
|
-
<line num="320" count="0" type="stmt"/>
|
|
3268
|
-
<line num="326" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3269
|
-
<line num="327" count="253" type="stmt"/>
|
|
3270
|
-
<line num="333" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3271
|
-
<line num="334" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3272
|
-
<line num="335" count="4" type="stmt"/>
|
|
3273
|
-
<line num="338" count="1" type="stmt"/>
|
|
3274
|
-
<line num="349" count="59" type="stmt"/>
|
|
3275
|
-
<line num="350" count="0" type="stmt"/>
|
|
3276
|
-
<line num="353" count="59" type="stmt"/>
|
|
3277
|
-
<line num="354" count="10" type="stmt"/>
|
|
3278
|
-
<line num="357" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3279
|
-
<line num="358" count="0" type="stmt"/>
|
|
3280
|
-
<line num="359" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3281
|
-
<line num="360" count="0" type="stmt"/>
|
|
3282
|
-
<line num="362" count="0" type="stmt"/>
|
|
3283
|
-
<line num="365" count="59" type="stmt"/>
|
|
3284
|
-
<line num="366" count="1" type="stmt"/>
|
|
3285
|
-
<line num="369" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3286
|
-
<line num="370" count="0" type="stmt"/>
|
|
3287
|
-
<line num="373" count="59" type="stmt"/>
|
|
3288
|
-
<line num="374" count="0" type="stmt"/>
|
|
3289
|
-
<line num="380" count="59" type="stmt"/>
|
|
3290
|
-
<line num="381" count="60" 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"/>
|
|
3217
|
+
<line num="260" count="59" 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">
|
|
@@ -3303,21 +3244,21 @@
|
|
|
3303
3244
|
<line num="41" count="9" type="stmt"/>
|
|
3304
3245
|
<line num="42" count="9" type="stmt"/>
|
|
3305
3246
|
<line num="47" count="9" type="stmt"/>
|
|
3306
|
-
<line num="56" count="
|
|
3307
|
-
<line num="57" count="
|
|
3308
|
-
<line num="58" count="
|
|
3309
|
-
<line num="59" count="
|
|
3310
|
-
<line num="60" count="
|
|
3247
|
+
<line num="56" count="231" type="stmt"/>
|
|
3248
|
+
<line num="57" count="231" type="stmt"/>
|
|
3249
|
+
<line num="58" count="231" type="stmt"/>
|
|
3250
|
+
<line num="59" count="231" type="stmt"/>
|
|
3251
|
+
<line num="60" count="231" type="stmt"/>
|
|
3311
3252
|
<line num="69" count="53" type="cond" truecount="2" falsecount="0"/>
|
|
3312
3253
|
<line num="70" count="6" type="stmt"/>
|
|
3313
3254
|
<line num="73" count="53" type="stmt"/>
|
|
3314
|
-
<line num="84" count="
|
|
3255
|
+
<line num="84" count="226" type="cond" truecount="2" falsecount="0"/>
|
|
3315
3256
|
<line num="85" count="6" type="stmt"/>
|
|
3316
|
-
<line num="87" count="
|
|
3317
|
-
<line num="88" count="
|
|
3318
|
-
<line num="89" count="
|
|
3257
|
+
<line num="87" count="226" type="stmt"/>
|
|
3258
|
+
<line num="88" count="542" type="stmt"/>
|
|
3259
|
+
<line num="89" count="542" type="cond" truecount="2" falsecount="0"/>
|
|
3319
3260
|
<line num="90" count="41" type="stmt"/>
|
|
3320
|
-
<line num="93" count="
|
|
3261
|
+
<line num="93" count="185" type="stmt"/>
|
|
3321
3262
|
<line num="100" count="27" type="stmt"/>
|
|
3322
3263
|
<line num="111" count="9" type="stmt"/>
|
|
3323
3264
|
<line num="121" count="22" type="stmt"/>
|
|
@@ -3487,14 +3428,14 @@
|
|
|
3487
3428
|
<line num="91" count="30" type="stmt"/>
|
|
3488
3429
|
<line num="92" count="30" type="stmt"/>
|
|
3489
3430
|
<line num="106" count="45" type="stmt"/>
|
|
3490
|
-
<line num="107" count="
|
|
3491
|
-
<line num="108" count="
|
|
3492
|
-
<line num="110" count="
|
|
3431
|
+
<line num="107" count="221" type="stmt"/>
|
|
3432
|
+
<line num="108" count="221" type="cond" truecount="2" falsecount="0"/>
|
|
3433
|
+
<line num="110" count="221" type="cond" truecount="4" falsecount="0"/>
|
|
3493
3434
|
<line num="111" count="133" type="stmt"/>
|
|
3494
|
-
<line num="113" count="
|
|
3495
|
-
<line num="114" count="
|
|
3496
|
-
<line num="115" count="
|
|
3497
|
-
<line num="120" count="
|
|
3435
|
+
<line num="113" count="221" type="stmt"/>
|
|
3436
|
+
<line num="114" count="221" type="stmt"/>
|
|
3437
|
+
<line num="115" count="221" type="cond" truecount="2" falsecount="0"/>
|
|
3438
|
+
<line num="120" count="180" type="stmt"/>
|
|
3498
3439
|
<line num="123" count="0" type="stmt"/>
|
|
3499
3440
|
<line num="125" count="41" type="cond" truecount="5" falsecount="2"/>
|
|
3500
3441
|
<line num="128" count="21" type="stmt"/>
|
|
@@ -3504,9 +3445,9 @@
|
|
|
3504
3445
|
<line num="136" count="1" type="stmt"/>
|
|
3505
3446
|
<line num="138" count="0" type="stmt"/>
|
|
3506
3447
|
<line num="149" count="45" type="stmt"/>
|
|
3507
|
-
<line num="150" count="
|
|
3508
|
-
<line num="151" count="
|
|
3509
|
-
<line num="152" count="
|
|
3448
|
+
<line num="150" count="126" type="stmt"/>
|
|
3449
|
+
<line num="151" count="126" type="cond" truecount="2" falsecount="0"/>
|
|
3450
|
+
<line num="152" count="96" type="stmt"/>
|
|
3510
3451
|
<line num="155" count="30" type="stmt"/>
|
|
3511
3452
|
<line num="156" count="25" type="stmt"/>
|
|
3512
3453
|
<line num="159" count="30" type="stmt"/>
|
|
@@ -3577,8 +3518,8 @@
|
|
|
3577
3518
|
<line num="80" count="30" type="stmt"/>
|
|
3578
3519
|
<line num="81" count="33" type="stmt"/>
|
|
3579
3520
|
<line num="85" count="45" type="stmt"/>
|
|
3580
|
-
<line num="86" count="
|
|
3581
|
-
<line num="87" count="
|
|
3521
|
+
<line num="86" count="126" type="stmt"/>
|
|
3522
|
+
<line num="87" count="351" type="stmt"/>
|
|
3582
3523
|
<line num="88" count="53" type="stmt"/>
|
|
3583
3524
|
<line num="91" count="45" type="stmt"/>
|
|
3584
3525
|
<line num="92" count="77" type="stmt"/>
|
|
@@ -3621,7 +3562,7 @@
|
|
|
3621
3562
|
<metrics statements="7" coveredstatements="7" conditionals="2" coveredconditionals="1" methods="3" coveredmethods="3"/>
|
|
3622
3563
|
<line num="1" count="45" type="stmt"/>
|
|
3623
3564
|
<line num="2" count="45" type="stmt"/>
|
|
3624
|
-
<line num="16" count="
|
|
3565
|
+
<line num="16" count="14" type="stmt"/>
|
|
3625
3566
|
<line num="20" count="12" type="stmt"/>
|
|
3626
3567
|
<line num="24" count="28" type="stmt"/>
|
|
3627
3568
|
<line num="28" count="45" type="stmt"/>
|
|
@@ -3630,15 +3571,15 @@
|
|
|
3630
3571
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/events/utils.js">
|
|
3631
3572
|
<metrics statements="19" coveredstatements="18" conditionals="10" coveredconditionals="7" methods="2" coveredmethods="2"/>
|
|
3632
3573
|
<line num="1" count="45" type="stmt"/>
|
|
3633
|
-
<line num="2" count="
|
|
3634
|
-
<line num="7" count="
|
|
3635
|
-
<line num="8" count="
|
|
3636
|
-
<line num="10" count="
|
|
3637
|
-
<line num="11" count="
|
|
3638
|
-
<line num="12" count="
|
|
3639
|
-
<line num="14" count="
|
|
3574
|
+
<line num="2" count="18" type="stmt"/>
|
|
3575
|
+
<line num="7" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
3576
|
+
<line num="8" count="12" type="stmt"/>
|
|
3577
|
+
<line num="10" count="18" type="stmt"/>
|
|
3578
|
+
<line num="11" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
3579
|
+
<line num="12" count="18" type="stmt"/>
|
|
3580
|
+
<line num="14" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
3640
3581
|
<line num="15" count="4" type="stmt"/>
|
|
3641
|
-
<line num="17" count="
|
|
3582
|
+
<line num="17" count="18" type="stmt"/>
|
|
3642
3583
|
<line num="20" count="45" type="stmt"/>
|
|
3643
3584
|
<line num="21" count="12" type="stmt"/>
|
|
3644
3585
|
<line num="22" count="12" type="stmt"/>
|
|
@@ -3700,19 +3641,19 @@
|
|
|
3700
3641
|
<line num="59" count="1" type="stmt"/>
|
|
3701
3642
|
<line num="61" count="1" type="stmt"/>
|
|
3702
3643
|
<line num="65" count="29" type="stmt"/>
|
|
3703
|
-
<line num="66" count="
|
|
3704
|
-
<line num="68" count="
|
|
3644
|
+
<line num="66" count="224" type="stmt"/>
|
|
3645
|
+
<line num="68" count="224" type="cond" truecount="2" falsecount="0"/>
|
|
3705
3646
|
<line num="69" count="5" type="stmt"/>
|
|
3706
|
-
<line num="71" count="
|
|
3707
|
-
<line num="72" count="
|
|
3708
|
-
<line num="74" count="
|
|
3709
|
-
<line num="75" count="
|
|
3710
|
-
<line num="76" count="
|
|
3647
|
+
<line num="71" count="219" type="stmt"/>
|
|
3648
|
+
<line num="72" count="219" type="stmt"/>
|
|
3649
|
+
<line num="74" count="219" type="stmt"/>
|
|
3650
|
+
<line num="75" count="219" type="cond" truecount="2" falsecount="0"/>
|
|
3651
|
+
<line num="76" count="219" type="cond" truecount="1" falsecount="1"/>
|
|
3711
3652
|
<line num="77" count="0" type="stmt"/>
|
|
3712
|
-
<line num="80" count="
|
|
3713
|
-
<line num="81" count="
|
|
3714
|
-
<line num="83" count="
|
|
3715
|
-
<line num="84" count="
|
|
3653
|
+
<line num="80" count="219" type="cond" truecount="2" falsecount="0"/>
|
|
3654
|
+
<line num="81" count="219" type="cond" truecount="2" falsecount="0"/>
|
|
3655
|
+
<line num="83" count="219" type="cond" truecount="4" falsecount="0"/>
|
|
3656
|
+
<line num="84" count="218" type="stmt"/>
|
|
3716
3657
|
<line num="87" count="1" type="stmt"/>
|
|
3717
3658
|
<line num="89" count="1" type="stmt"/>
|
|
3718
3659
|
</file>
|
|
@@ -3730,60 +3671,60 @@
|
|
|
3730
3671
|
<line num="15" count="33" type="stmt"/>
|
|
3731
3672
|
<line num="16" count="33" type="stmt"/>
|
|
3732
3673
|
<line num="18" count="33" type="stmt"/>
|
|
3733
|
-
<line num="20" count="
|
|
3734
|
-
<line num="22" count="
|
|
3735
|
-
<line num="23" count="
|
|
3736
|
-
<line num="24" count="
|
|
3674
|
+
<line num="20" count="243" type="stmt"/>
|
|
3675
|
+
<line num="22" count="243" type="stmt"/>
|
|
3676
|
+
<line num="23" count="243" type="stmt"/>
|
|
3677
|
+
<line num="24" count="243" type="stmt"/>
|
|
3737
3678
|
<line num="26" count="0" type="stmt"/>
|
|
3738
|
-
<line num="28" count="
|
|
3679
|
+
<line num="28" count="243" type="cond" truecount="4" falsecount="0"/>
|
|
3739
3680
|
<line num="29" count="1" type="stmt"/>
|
|
3740
|
-
<line num="32" count="
|
|
3741
|
-
<line num="33" count="
|
|
3742
|
-
<line num="34" count="
|
|
3743
|
-
<line num="35" count="
|
|
3681
|
+
<line num="32" count="242" type="cond" truecount="2" falsecount="0"/>
|
|
3682
|
+
<line num="33" count="236" type="stmt"/>
|
|
3683
|
+
<line num="34" count="236" type="stmt"/>
|
|
3684
|
+
<line num="35" count="236" type="cond" truecount="1" falsecount="1"/>
|
|
3744
3685
|
<line num="36" count="0" type="stmt"/>
|
|
3745
3686
|
<line num="37" count="0" type="stmt"/>
|
|
3746
|
-
<line num="40" count="
|
|
3747
|
-
<line num="44" count="
|
|
3687
|
+
<line num="40" count="236" type="cond" truecount="1" falsecount="1"/>
|
|
3688
|
+
<line num="44" count="242" type="cond" truecount="2" falsecount="0"/>
|
|
3748
3689
|
<line num="45" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
3749
3690
|
<line num="50" count="2" type="stmt"/>
|
|
3750
3691
|
<line num="51" count="2" type="stmt"/>
|
|
3751
|
-
<line num="56" count="
|
|
3752
|
-
<line num="57" count="
|
|
3692
|
+
<line num="56" count="240" type="stmt"/>
|
|
3693
|
+
<line num="57" count="240" type="cond" truecount="2" falsecount="0"/>
|
|
3753
3694
|
<line num="59" count="5" type="stmt"/>
|
|
3754
|
-
<line num="60" count="
|
|
3755
|
-
<line num="62" count="
|
|
3756
|
-
<line num="63" count="
|
|
3757
|
-
<line num="65" count="
|
|
3758
|
-
<line num="69" count="
|
|
3759
|
-
<line num="70" count="
|
|
3760
|
-
<line num="71" count="
|
|
3761
|
-
<line num="72" count="
|
|
3695
|
+
<line num="60" count="235" type="cond" truecount="1" falsecount="1"/>
|
|
3696
|
+
<line num="62" count="235" type="stmt"/>
|
|
3697
|
+
<line num="63" count="235" type="stmt"/>
|
|
3698
|
+
<line num="65" count="235" type="cond" truecount="2" falsecount="0"/>
|
|
3699
|
+
<line num="69" count="235" type="cond" truecount="3" falsecount="0"/>
|
|
3700
|
+
<line num="70" count="235" type="cond" truecount="2" falsecount="0"/>
|
|
3701
|
+
<line num="71" count="235" type="cond" truecount="2" falsecount="0"/>
|
|
3702
|
+
<line num="72" count="235" type="cond" truecount="4" falsecount="1"/>
|
|
3762
3703
|
<line num="74" count="0" type="stmt"/>
|
|
3763
3704
|
<line num="75" count="0" type="stmt"/>
|
|
3764
3705
|
<line num="76" count="0" type="stmt"/>
|
|
3765
3706
|
<line num="79" count="0" type="stmt"/>
|
|
3766
3707
|
<line num="80" count="0" type="stmt"/>
|
|
3767
|
-
<line num="88" count="
|
|
3708
|
+
<line num="88" count="240" type="cond" truecount="1" falsecount="1"/>
|
|
3768
3709
|
<line num="89" count="0" type="stmt"/>
|
|
3769
|
-
<line num="92" count="
|
|
3770
|
-
<line num="93" count="
|
|
3771
|
-
<line num="96" count="
|
|
3710
|
+
<line num="92" count="240" type="stmt"/>
|
|
3711
|
+
<line num="93" count="240" type="stmt"/>
|
|
3712
|
+
<line num="96" count="240" type="cond" truecount="1" falsecount="1"/>
|
|
3772
3713
|
<line num="103" count="0" type="stmt"/>
|
|
3773
3714
|
<line num="104" count="0" type="stmt"/>
|
|
3774
3715
|
<line num="105" count="0" type="stmt"/>
|
|
3775
3716
|
<line num="106" count="0" type="stmt"/>
|
|
3776
3717
|
<line num="107" count="0" type="stmt"/>
|
|
3777
3718
|
<line num="108" count="0" type="stmt"/>
|
|
3778
|
-
<line num="111" count="
|
|
3779
|
-
<line num="112" count="
|
|
3780
|
-
<line num="113" count="
|
|
3781
|
-
<line num="114" count="
|
|
3782
|
-
<line num="115" count="
|
|
3783
|
-
<line num="116" count="
|
|
3784
|
-
<line num="126" count="
|
|
3719
|
+
<line num="111" count="240" type="stmt"/>
|
|
3720
|
+
<line num="112" count="240" type="cond" truecount="1" falsecount="1"/>
|
|
3721
|
+
<line num="113" count="240" type="stmt"/>
|
|
3722
|
+
<line num="114" count="240" type="cond" truecount="2" falsecount="0"/>
|
|
3723
|
+
<line num="115" count="240" type="cond" truecount="2" falsecount="0"/>
|
|
3724
|
+
<line num="116" count="240" type="stmt"/>
|
|
3725
|
+
<line num="126" count="240" type="cond" truecount="2" falsecount="0"/>
|
|
3785
3726
|
<line num="132" count="10" type="stmt"/>
|
|
3786
|
-
<line num="135" count="
|
|
3727
|
+
<line num="135" count="240" type="stmt"/>
|
|
3787
3728
|
</file>
|
|
3788
3729
|
<file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
|
|
3789
3730
|
<metrics statements="20" coveredstatements="0" conditionals="10" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
@@ -3835,14 +3776,14 @@
|
|
|
3835
3776
|
<line num="21" count="958" type="stmt"/>
|
|
3836
3777
|
<line num="22" count="958" type="stmt"/>
|
|
3837
3778
|
<line num="23" count="958" type="stmt"/>
|
|
3838
|
-
<line num="24" count="
|
|
3839
|
-
<line num="25" count="
|
|
3779
|
+
<line num="24" count="102" type="cond" truecount="2" falsecount="0"/>
|
|
3780
|
+
<line num="25" count="102" type="cond" truecount="2" falsecount="0"/>
|
|
3840
3781
|
<line num="26" count="1" type="stmt"/>
|
|
3841
|
-
<line num="28" count="
|
|
3842
|
-
<line num="29" count="
|
|
3843
|
-
<line num="31" count="
|
|
3782
|
+
<line num="28" count="101" type="cond" truecount="4" falsecount="0"/>
|
|
3783
|
+
<line num="29" count="89" type="stmt"/>
|
|
3784
|
+
<line num="31" count="101" type="cond" truecount="4" falsecount="0"/>
|
|
3844
3785
|
<line num="32" count="15" type="stmt"/>
|
|
3845
|
-
<line num="34" count="
|
|
3786
|
+
<line num="34" count="101" type="stmt"/>
|
|
3846
3787
|
<line num="39" count="29" type="stmt"/>
|
|
3847
3788
|
<line num="41" count="29" type="stmt"/>
|
|
3848
3789
|
<line num="42" count="758" type="stmt"/>
|
|
@@ -3866,11 +3807,11 @@
|
|
|
3866
3807
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3867
3808
|
<line num="1" count="34" type="stmt"/>
|
|
3868
3809
|
<line num="5" count="34" type="stmt"/>
|
|
3869
|
-
<line num="6" count="
|
|
3810
|
+
<line num="6" count="228" type="stmt"/>
|
|
3870
3811
|
</file>
|
|
3871
3812
|
</package>
|
|
3872
3813
|
<package name="utilities">
|
|
3873
|
-
<metrics statements="
|
|
3814
|
+
<metrics statements="378" coveredstatements="269" conditionals="164" coveredconditionals="94" methods="73" coveredmethods="50"/>
|
|
3874
3815
|
<file name="budibaseDir.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/budibaseDir.js">
|
|
3875
3816
|
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3876
3817
|
<line num="1" count="47" type="stmt"/>
|
|
@@ -3885,79 +3826,80 @@
|
|
|
3885
3826
|
<line num="21" count="1" type="stmt"/>
|
|
3886
3827
|
</file>
|
|
3887
3828
|
<file name="csvParser.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/csvParser.js">
|
|
3888
|
-
<metrics statements="
|
|
3829
|
+
<metrics statements="73" coveredstatements="57" conditionals="34" coveredconditionals="23" methods="16" coveredmethods="12"/>
|
|
3889
3830
|
<line num="1" count="46" type="stmt"/>
|
|
3890
3831
|
<line num="2" count="46" type="stmt"/>
|
|
3891
3832
|
<line num="4" count="46" type="stmt"/>
|
|
3892
3833
|
<line num="5" count="0" type="stmt"/>
|
|
3893
3834
|
<line num="6" count="0" type="stmt"/>
|
|
3894
|
-
<line num="
|
|
3895
|
-
<line num="10" count="
|
|
3896
|
-
<line num="
|
|
3897
|
-
<line num="
|
|
3898
|
-
<line num="17" count="0" type="
|
|
3899
|
-
<line num="
|
|
3900
|
-
<line num="
|
|
3901
|
-
<line num="
|
|
3902
|
-
<line num="26" count="
|
|
3903
|
-
<line num="
|
|
3904
|
-
<line num="
|
|
3905
|
-
<line num="32" count="
|
|
3906
|
-
<line num="
|
|
3907
|
-
<line num="
|
|
3908
|
-
<line num="
|
|
3909
|
-
<line num="
|
|
3835
|
+
<line num="7" count="0" type="stmt"/>
|
|
3836
|
+
<line num="10" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
3837
|
+
<line num="11" count="0" type="stmt"/>
|
|
3838
|
+
<line num="13" count="7" type="stmt"/>
|
|
3839
|
+
<line num="17" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3840
|
+
<line num="18" count="0" type="stmt"/>
|
|
3841
|
+
<line num="20" count="0" type="stmt"/>
|
|
3842
|
+
<line num="24" count="46" type="stmt"/>
|
|
3843
|
+
<line num="26" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
3844
|
+
<line num="27" count="0" type="stmt"/>
|
|
3845
|
+
<line num="29" count="3" type="stmt"/>
|
|
3846
|
+
<line num="32" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
3847
|
+
<line num="33" count="0" type="stmt"/>
|
|
3848
|
+
<line num="35" count="2" type="stmt"/>
|
|
3849
|
+
<line num="40" count="3" type="stmt"/>
|
|
3850
|
+
<line num="42" count="3" type="stmt"/>
|
|
3910
3851
|
<line num="44" count="3" type="stmt"/>
|
|
3911
3852
|
<line num="45" count="3" type="stmt"/>
|
|
3912
|
-
<line num="46" count="
|
|
3913
|
-
<line num="
|
|
3914
|
-
<line num="
|
|
3915
|
-
<line num="55" count="
|
|
3916
|
-
<line num="
|
|
3917
|
-
<line num="
|
|
3918
|
-
<line num="
|
|
3919
|
-
<line num="
|
|
3920
|
-
<line num="
|
|
3921
|
-
<line num="69" count="3" type="
|
|
3922
|
-
<line num="70" count="
|
|
3853
|
+
<line num="46" count="3" type="stmt"/>
|
|
3854
|
+
<line num="47" count="10" type="stmt"/>
|
|
3855
|
+
<line num="53" count="3" type="stmt"/>
|
|
3856
|
+
<line num="55" count="7" type="stmt"/>
|
|
3857
|
+
<line num="56" count="9" type="cond" truecount="4" falsecount="0"/>
|
|
3858
|
+
<line num="58" count="7" type="stmt"/>
|
|
3859
|
+
<line num="60" count="7" type="stmt"/>
|
|
3860
|
+
<line num="62" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
3861
|
+
<line num="64" count="0" type="stmt"/>
|
|
3862
|
+
<line num="69" count="3" type="stmt"/>
|
|
3863
|
+
<line num="70" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
3923
3864
|
<line num="71" count="0" type="stmt"/>
|
|
3924
|
-
<line num="
|
|
3925
|
-
<line num="
|
|
3926
|
-
<line num="81" count="
|
|
3927
|
-
<line num="
|
|
3865
|
+
<line num="72" count="0" type="stmt"/>
|
|
3866
|
+
<line num="75" count="3" type="stmt"/>
|
|
3867
|
+
<line num="81" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
3868
|
+
<line num="82" count="0" type="stmt"/>
|
|
3928
3869
|
<line num="84" count="3" type="stmt"/>
|
|
3929
|
-
<line num="85" count="
|
|
3930
|
-
<line num="86" count="
|
|
3931
|
-
<line num="87" count="
|
|
3870
|
+
<line num="85" count="3" type="stmt"/>
|
|
3871
|
+
<line num="86" count="8" type="stmt"/>
|
|
3872
|
+
<line num="87" count="3" type="stmt"/>
|
|
3932
3873
|
<line num="88" count="8" type="stmt"/>
|
|
3933
|
-
<line num="89" count="8" type="
|
|
3934
|
-
<line num="90" count="8" type="
|
|
3874
|
+
<line num="89" count="8" type="stmt"/>
|
|
3875
|
+
<line num="90" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
3935
3876
|
<line num="91" count="8" type="stmt"/>
|
|
3936
|
-
<line num="
|
|
3937
|
-
<line num="
|
|
3938
|
-
<line num="
|
|
3939
|
-
<line num="102" count="
|
|
3940
|
-
<line num="
|
|
3941
|
-
<line num="
|
|
3942
|
-
<line num="108" count="13" type="cond" truecount="
|
|
3943
|
-
<line num="
|
|
3877
|
+
<line num="92" count="8" type="stmt"/>
|
|
3878
|
+
<line num="95" count="3" type="stmt"/>
|
|
3879
|
+
<line num="99" count="6" type="stmt"/>
|
|
3880
|
+
<line num="102" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
3881
|
+
<line num="103" count="3" type="stmt"/>
|
|
3882
|
+
<line num="106" count="6" type="stmt"/>
|
|
3883
|
+
<line num="108" count="13" type="cond" truecount="1" falsecount="1"/>
|
|
3884
|
+
<line num="109" count="13" type="cond" truecount="2" falsecount="0"/>
|
|
3944
3885
|
<line num="113" count="6" type="stmt"/>
|
|
3945
|
-
<line num="114" count="
|
|
3946
|
-
<line num="115" count="
|
|
3947
|
-
<line num="116" count="
|
|
3948
|
-
<line num="117" count="
|
|
3949
|
-
<line num="118" count="
|
|
3950
|
-
<line num="
|
|
3951
|
-
<line num="121" count="
|
|
3952
|
-
<line num="
|
|
3953
|
-
<line num="124" count="
|
|
3954
|
-
<line num="
|
|
3955
|
-
<line num="128" count="
|
|
3886
|
+
<line num="114" count="6" type="stmt"/>
|
|
3887
|
+
<line num="115" count="5" type="stmt"/>
|
|
3888
|
+
<line num="116" count="12" type="stmt"/>
|
|
3889
|
+
<line num="117" count="5" type="stmt"/>
|
|
3890
|
+
<line num="118" count="9" type="cond" truecount="1" falsecount="1"/>
|
|
3891
|
+
<line num="119" count="0" type="stmt"/>
|
|
3892
|
+
<line num="121" count="9" type="stmt"/>
|
|
3893
|
+
<line num="122" count="20" type="stmt"/>
|
|
3894
|
+
<line num="124" count="20" type="cond" truecount="2" falsecount="0"/>
|
|
3895
|
+
<line num="125" count="6" type="stmt"/>
|
|
3896
|
+
<line num="128" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
3956
3897
|
<line num="129" count="0" type="stmt"/>
|
|
3957
|
-
<line num="
|
|
3958
|
-
<line num="
|
|
3898
|
+
<line num="130" count="0" type="stmt"/>
|
|
3899
|
+
<line num="134" count="5" type="stmt"/>
|
|
3959
3900
|
<line num="136" count="1" type="stmt"/>
|
|
3960
|
-
<line num="
|
|
3901
|
+
<line num="137" count="1" type="stmt"/>
|
|
3902
|
+
<line num="141" count="46" type="stmt"/>
|
|
3961
3903
|
</file>
|
|
3962
3904
|
<file name="global.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/global.js">
|
|
3963
3905
|
<metrics statements="70" coveredstatements="55" conditionals="41" coveredconditionals="27" methods="16" coveredmethods="11"/>
|
|
@@ -3971,36 +3913,36 @@
|
|
|
3971
3913
|
<line num="14" count="51" type="stmt"/>
|
|
3972
3914
|
<line num="15" count="51" type="stmt"/>
|
|
3973
3915
|
<line num="17" count="51" type="cond" truecount="1" falsecount="0"/>
|
|
3974
|
-
<line num="18" count="
|
|
3975
|
-
<line num="20" count="
|
|
3916
|
+
<line num="18" count="244" type="cond" truecount="2" falsecount="0"/>
|
|
3917
|
+
<line num="20" count="244" type="cond" truecount="4" falsecount="0"/>
|
|
3976
3918
|
<line num="21" count="3" type="stmt"/>
|
|
3977
|
-
<line num="24" count="
|
|
3919
|
+
<line num="24" count="241" type="cond" truecount="2" falsecount="2"/>
|
|
3978
3920
|
<line num="25" count="0" type="stmt"/>
|
|
3979
3921
|
<line num="26" count="0" type="stmt"/>
|
|
3980
3922
|
<line num="27" count="0" type="stmt"/>
|
|
3981
3923
|
<line num="28" count="0" type="stmt"/>
|
|
3982
|
-
<line num="31" count="
|
|
3983
|
-
<line num="33" count="
|
|
3984
|
-
<line num="34" count="
|
|
3924
|
+
<line num="31" count="241" type="stmt"/>
|
|
3925
|
+
<line num="33" count="241" type="cond" truecount="5" falsecount="0"/>
|
|
3926
|
+
<line num="34" count="209" type="stmt"/>
|
|
3985
3927
|
<line num="35" count="32" type="cond" truecount="4" falsecount="0"/>
|
|
3986
3928
|
<line num="36" count="27" type="stmt"/>
|
|
3987
3929
|
<line num="37" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
3988
3930
|
<line num="38" count="0" type="stmt"/>
|
|
3989
|
-
<line num="41" count="
|
|
3990
|
-
<line num="42" count="
|
|
3931
|
+
<line num="41" count="241" type="stmt"/>
|
|
3932
|
+
<line num="42" count="241" type="stmt"/>
|
|
3991
3933
|
<line num="46" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
3992
3934
|
<line num="47" count="0" type="stmt"/>
|
|
3993
3935
|
<line num="49" count="0" type="stmt"/>
|
|
3994
3936
|
<line num="50" count="0" type="stmt"/>
|
|
3995
|
-
<line num="54" count="
|
|
3996
|
-
<line num="55" count="
|
|
3997
|
-
<line num="57" count="
|
|
3998
|
-
<line num="58" count="
|
|
3937
|
+
<line num="54" count="237" type="cond" truecount="1" falsecount="1"/>
|
|
3938
|
+
<line num="55" count="237" type="stmt"/>
|
|
3939
|
+
<line num="57" count="237" type="stmt"/>
|
|
3940
|
+
<line num="58" count="237" type="cond" truecount="3" falsecount="1"/>
|
|
3999
3941
|
<line num="59" count="0" type="stmt"/>
|
|
4000
|
-
<line num="62" count="
|
|
3942
|
+
<line num="62" count="237" type="stmt"/>
|
|
4001
3943
|
<line num="65" count="51" type="stmt"/>
|
|
4002
|
-
<line num="68" count="
|
|
4003
|
-
<line num="69" count="
|
|
3944
|
+
<line num="68" count="235" type="stmt"/>
|
|
3945
|
+
<line num="69" count="235" type="stmt"/>
|
|
4004
3946
|
<line num="72" count="51" type="stmt"/>
|
|
4005
3947
|
<line num="73" count="2" type="stmt"/>
|
|
4006
3948
|
<line num="74" count="2" type="stmt"/>
|
|
@@ -4098,13 +4040,13 @@
|
|
|
4098
4040
|
<line num="141" count="1" type="stmt"/>
|
|
4099
4041
|
<line num="142" count="1" type="stmt"/>
|
|
4100
4042
|
<line num="147" count="50" type="stmt"/>
|
|
4101
|
-
<line num="148" count="
|
|
4102
|
-
<line num="149" count="
|
|
4103
|
-
<line num="150" count="
|
|
4104
|
-
<line num="151" count="
|
|
4105
|
-
<line num="152" count="
|
|
4043
|
+
<line num="148" count="39" type="stmt"/>
|
|
4044
|
+
<line num="149" count="39" type="stmt"/>
|
|
4045
|
+
<line num="150" count="39" type="stmt"/>
|
|
4046
|
+
<line num="151" count="39" type="cond" truecount="2" falsecount="0"/>
|
|
4047
|
+
<line num="152" count="39" type="cond" truecount="1" falsecount="1"/>
|
|
4106
4048
|
<line num="153" count="0" type="stmt"/>
|
|
4107
|
-
<line num="155" count="
|
|
4049
|
+
<line num="155" count="39" type="cond" truecount="3" falsecount="1"/>
|
|
4108
4050
|
<line num="158" count="50" type="stmt"/>
|
|
4109
4051
|
<line num="159" count="1" type="stmt"/>
|
|
4110
4052
|
<line num="160" count="1" type="cond" truecount="2" falsecount="2"/>
|
|
@@ -4156,7 +4098,7 @@
|
|
|
4156
4098
|
<line num="13" count="44" type="stmt"/>
|
|
4157
4099
|
<line num="19" count="44" type="stmt"/>
|
|
4158
4100
|
<line num="20" count="4" type="stmt"/>
|
|
4159
|
-
<line num="21" count="
|
|
4101
|
+
<line num="21" count="128" type="stmt"/>
|
|
4160
4102
|
<line num="23" count="4" type="cond" truecount="2" falsecount="5"/>
|
|
4161
4103
|
<line num="26" count="4" type="stmt"/>
|
|
4162
4104
|
<line num="28" count="0" type="stmt"/>
|
|
@@ -4283,32 +4225,32 @@
|
|
|
4283
4225
|
</file>
|
|
4284
4226
|
</package>
|
|
4285
4227
|
<package name="utilities.queue">
|
|
4286
|
-
<metrics statements="23" coveredstatements="
|
|
4228
|
+
<metrics statements="23" coveredstatements="0" conditionals="7" coveredconditionals="0" methods="12" coveredmethods="0"/>
|
|
4287
4229
|
<file name="inMemoryQueue.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/queue/inMemoryQueue.js">
|
|
4288
|
-
<metrics statements="23" coveredstatements="
|
|
4289
|
-
<line num="1" count="
|
|
4290
|
-
<line num="13" count="
|
|
4291
|
-
<line num="33" count="
|
|
4292
|
-
<line num="34" count="
|
|
4293
|
-
<line num="35" count="
|
|
4294
|
-
<line num="36" count="
|
|
4295
|
-
<line num="49" count="
|
|
4296
|
-
<line num="50" count="
|
|
4297
|
-
<line num="51" count="
|
|
4298
|
-
<line num="53" count="
|
|
4299
|
-
<line num="54" count="
|
|
4300
|
-
<line num="55" count="
|
|
4301
|
-
<line num="56" count="
|
|
4302
|
-
<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"/>
|
|
4303
4245
|
<line num="72" count="0" type="stmt"/>
|
|
4304
|
-
<line num="74" count="
|
|
4305
|
-
<line num="75" count="
|
|
4246
|
+
<line num="74" count="0" type="stmt"/>
|
|
4247
|
+
<line num="75" count="0" type="stmt"/>
|
|
4306
4248
|
<line num="82" count="0" type="stmt"/>
|
|
4307
4249
|
<line num="91" count="0" type="stmt"/>
|
|
4308
|
-
<line num="98" count="
|
|
4250
|
+
<line num="98" count="0" type="stmt"/>
|
|
4309
4251
|
<line num="110" count="0" type="stmt"/>
|
|
4310
4252
|
<line num="114" count="0" type="stmt"/>
|
|
4311
|
-
<line num="122" count="
|
|
4253
|
+
<line num="122" count="0" type="stmt"/>
|
|
4312
4254
|
</file>
|
|
4313
4255
|
</package>
|
|
4314
4256
|
<package name="utilities.routing">
|
|
@@ -4347,119 +4289,119 @@
|
|
|
4347
4289
|
<line num="30" count="9" type="cond" truecount="1" falsecount="1"/>
|
|
4348
4290
|
<line num="31" count="0" type="stmt"/>
|
|
4349
4291
|
<line num="33" count="9" type="stmt"/>
|
|
4350
|
-
<line num="
|
|
4351
|
-
<line num="
|
|
4352
|
-
<line num="
|
|
4353
|
-
<line num="
|
|
4354
|
-
<line num="
|
|
4355
|
-
<line num="
|
|
4356
|
-
<line num="
|
|
4357
|
-
<line num="
|
|
4358
|
-
<line num="
|
|
4359
|
-
<line num="
|
|
4360
|
-
<line num="112" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4361
|
-
<line num="113" count="0" type="stmt"/>
|
|
4362
|
-
<line num="115" count="0" type="stmt"/>
|
|
4292
|
+
<line num="70" count="9" type="stmt"/>
|
|
4293
|
+
<line num="77" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
4294
|
+
<line num="78" count="1" type="stmt"/>
|
|
4295
|
+
<line num="80" count="1" type="stmt"/>
|
|
4296
|
+
<line num="96" count="0" type="stmt"/>
|
|
4297
|
+
<line num="100" count="0" type="stmt"/>
|
|
4298
|
+
<line num="101" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4299
|
+
<line num="102" count="0" type="stmt"/>
|
|
4300
|
+
<line num="104" count="0" type="stmt"/>
|
|
4301
|
+
<line num="106" count="0" type="stmt"/>
|
|
4363
4302
|
<line num="117" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4364
4303
|
<line num="118" count="0" type="stmt"/>
|
|
4365
4304
|
<line num="120" count="0" type="stmt"/>
|
|
4366
|
-
<line num="
|
|
4367
|
-
<line num="
|
|
4368
|
-
<line num="
|
|
4369
|
-
<line num="
|
|
4370
|
-
<line num="
|
|
4371
|
-
<line num="
|
|
4372
|
-
<line num="
|
|
4373
|
-
<line num="149" count="
|
|
4374
|
-
<line num="
|
|
4375
|
-
<line num="
|
|
4376
|
-
<line num="
|
|
4377
|
-
<line num="155" count="
|
|
4378
|
-
<line num="157" count="0" type="cond" truecount="0" falsecount="
|
|
4305
|
+
<line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4306
|
+
<line num="123" count="0" type="stmt"/>
|
|
4307
|
+
<line num="125" count="0" type="stmt"/>
|
|
4308
|
+
<line num="126" count="0" type="stmt"/>
|
|
4309
|
+
<line num="145" count="86" type="cond" truecount="2" falsecount="0"/>
|
|
4310
|
+
<line num="146" count="86" type="stmt"/>
|
|
4311
|
+
<line num="147" count="86" type="stmt"/>
|
|
4312
|
+
<line num="149" count="86" type="stmt"/>
|
|
4313
|
+
<line num="152" count="86" type="cond" truecount="4" falsecount="0"/>
|
|
4314
|
+
<line num="153" count="86" type="stmt"/>
|
|
4315
|
+
<line num="154" count="232" type="cond" truecount="1" falsecount="1"/>
|
|
4316
|
+
<line num="155" count="232" type="stmt"/>
|
|
4317
|
+
<line num="157" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4379
4318
|
<line num="158" count="0" type="stmt"/>
|
|
4380
|
-
<line num="160" count="0" type="
|
|
4381
|
-
<line num="162" count="0" type="cond" truecount="0" falsecount="
|
|
4319
|
+
<line num="160" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
4320
|
+
<line num="162" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
4382
4321
|
<line num="163" count="0" type="stmt"/>
|
|
4383
4322
|
<line num="165" count="0" type="stmt"/>
|
|
4384
4323
|
<line num="167" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4385
4324
|
<line num="168" count="0" type="stmt"/>
|
|
4386
4325
|
<line num="170" count="0" type="stmt"/>
|
|
4387
|
-
<line num="172" count="0" type="
|
|
4326
|
+
<line num="172" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4388
4327
|
<line num="173" count="0" type="stmt"/>
|
|
4389
|
-
<line num="175" count="0" type="
|
|
4390
|
-
<line num="176" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4328
|
+
<line num="175" count="0" type="stmt"/>
|
|
4391
4329
|
<line num="177" count="0" type="stmt"/>
|
|
4392
|
-
<line num="
|
|
4393
|
-
<line num="
|
|
4394
|
-
<line num="
|
|
4395
|
-
<line num="
|
|
4396
|
-
<line num="
|
|
4397
|
-
<line num="
|
|
4398
|
-
<line num="
|
|
4399
|
-
<line num="
|
|
4400
|
-
<line num="
|
|
4401
|
-
<line num="
|
|
4402
|
-
<line num="
|
|
4403
|
-
<line num="
|
|
4404
|
-
<line num="
|
|
4405
|
-
<line num="
|
|
4406
|
-
<line num="
|
|
4407
|
-
<line num="
|
|
4408
|
-
<line num="
|
|
4409
|
-
<line num="
|
|
4410
|
-
<line num="229" count="
|
|
4411
|
-
<line num="231" count="
|
|
4412
|
-
<line num="232" count="
|
|
4413
|
-
<line num="233" count="
|
|
4414
|
-
<line num="
|
|
4415
|
-
<line num="
|
|
4416
|
-
<line num="
|
|
4417
|
-
<line num="
|
|
4418
|
-
<line num="
|
|
4419
|
-
<line num="
|
|
4420
|
-
<line num="
|
|
4421
|
-
<line num="
|
|
4422
|
-
<line num="
|
|
4423
|
-
<line num="
|
|
4424
|
-
<line num="
|
|
4425
|
-
<line num="
|
|
4426
|
-
<line num="
|
|
4427
|
-
<line num="
|
|
4428
|
-
<line num="
|
|
4429
|
-
<line num="
|
|
4430
|
-
<line num="
|
|
4431
|
-
<line num="
|
|
4432
|
-
<line num="
|
|
4433
|
-
<line num="
|
|
4434
|
-
<line num="284" count="
|
|
4435
|
-
<line num="285" count="
|
|
4436
|
-
<line num="
|
|
4437
|
-
<line num="
|
|
4438
|
-
<line num="
|
|
4439
|
-
<line num="
|
|
4440
|
-
<line num="
|
|
4441
|
-
<line num="
|
|
4442
|
-
<line num="
|
|
4443
|
-
<line num="311" count="
|
|
4444
|
-
<line num="312" count="14" type="
|
|
4445
|
-
<line num="313" count="14" type="
|
|
4446
|
-
<line num="
|
|
4447
|
-
<line num="
|
|
4448
|
-
<line num="
|
|
4449
|
-
<line num="
|
|
4450
|
-
<line num="
|
|
4451
|
-
<line num="
|
|
4452
|
-
<line num="
|
|
4453
|
-
<line num="
|
|
4454
|
-
<line num="
|
|
4455
|
-
<line num="
|
|
4456
|
-
<line num="
|
|
4457
|
-
<line num="333" count="0" type="cond" truecount="0" falsecount="
|
|
4330
|
+
<line num="178" count="0" type="stmt"/>
|
|
4331
|
+
<line num="180" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4332
|
+
<line num="181" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4333
|
+
<line num="182" count="0" type="stmt"/>
|
|
4334
|
+
<line num="184" count="0" type="stmt"/>
|
|
4335
|
+
<line num="187" count="86" type="stmt"/>
|
|
4336
|
+
<line num="189" count="45" type="stmt"/>
|
|
4337
|
+
<line num="190" count="45" type="stmt"/>
|
|
4338
|
+
<line num="191" count="45" type="stmt"/>
|
|
4339
|
+
<line num="199" count="45" type="stmt"/>
|
|
4340
|
+
<line num="201" count="200" type="cond" truecount="1" falsecount="1"/>
|
|
4341
|
+
<line num="202" count="0" type="stmt"/>
|
|
4342
|
+
<line num="205" count="200" type="cond" truecount="2" falsecount="0"/>
|
|
4343
|
+
<line num="206" count="16" type="stmt"/>
|
|
4344
|
+
<line num="207" count="184" type="cond" truecount="2" falsecount="0"/>
|
|
4345
|
+
<line num="208" count="22" type="stmt"/>
|
|
4346
|
+
<line num="211" count="162" type="stmt"/>
|
|
4347
|
+
<line num="223" count="45" type="stmt"/>
|
|
4348
|
+
<line num="229" count="86" type="stmt"/>
|
|
4349
|
+
<line num="231" count="86" type="stmt"/>
|
|
4350
|
+
<line num="232" count="86" type="stmt"/>
|
|
4351
|
+
<line num="233" count="86" type="stmt"/>
|
|
4352
|
+
<line num="234" count="397" type="stmt"/>
|
|
4353
|
+
<line num="236" count="397" type="cond" truecount="2" falsecount="0"/>
|
|
4354
|
+
<line num="237" count="198" type="cond" truecount="2" falsecount="0"/>
|
|
4355
|
+
<line num="238" count="13" type="stmt"/>
|
|
4356
|
+
<line num="240" count="198" type="stmt"/>
|
|
4357
|
+
<line num="243" count="199" type="cond" truecount="1" falsecount="1"/>
|
|
4358
|
+
<line num="244" count="0" type="stmt"/>
|
|
4359
|
+
<line num="248" count="199" type="stmt"/>
|
|
4360
|
+
<line num="252" count="86" type="cond" truecount="4" falsecount="0"/>
|
|
4361
|
+
<line num="253" count="80" type="stmt"/>
|
|
4362
|
+
<line num="254" count="80" type="stmt"/>
|
|
4363
|
+
<line num="258" count="86" type="stmt"/>
|
|
4364
|
+
<line num="270" count="45" type="cond" truecount="1" falsecount="0"/>
|
|
4365
|
+
<line num="271" count="126" type="stmt"/>
|
|
4366
|
+
<line num="272" count="126" type="cond" truecount="2" falsecount="0"/>
|
|
4367
|
+
<line num="273" count="106" type="stmt"/>
|
|
4368
|
+
<line num="274" count="106" type="stmt"/>
|
|
4369
|
+
<line num="277" count="126" type="stmt"/>
|
|
4370
|
+
<line num="280" count="126" type="stmt"/>
|
|
4371
|
+
<line num="283" count="126" type="stmt"/>
|
|
4372
|
+
<line num="284" count="351" type="cond" truecount="2" falsecount="0"/>
|
|
4373
|
+
<line num="285" count="8" type="stmt"/>
|
|
4374
|
+
<line num="286" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
4375
|
+
<line num="287" count="2" type="stmt"/>
|
|
4376
|
+
<line num="289" count="6" type="stmt"/>
|
|
4377
|
+
<line num="290" count="2" type="stmt"/>
|
|
4378
|
+
<line num="295" count="126" type="cond" truecount="2" falsecount="0"/>
|
|
4379
|
+
<line num="296" count="40" type="stmt"/>
|
|
4380
|
+
<line num="298" count="126" type="cond" truecount="2" falsecount="0"/>
|
|
4381
|
+
<line num="311" count="45" type="stmt"/>
|
|
4382
|
+
<line num="312" count="14" type="stmt"/>
|
|
4383
|
+
<line num="313" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
4384
|
+
<line num="314" count="14" type="stmt"/>
|
|
4385
|
+
<line num="316" count="14" type="stmt"/>
|
|
4386
|
+
<line num="317" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
4387
|
+
<line num="318" count="14" type="stmt"/>
|
|
4388
|
+
<line num="321" count="0" type="stmt"/>
|
|
4389
|
+
<line num="323" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4390
|
+
<line num="324" count="0" type="stmt"/>
|
|
4391
|
+
<line num="327" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4392
|
+
<line num="328" count="0" type="stmt"/>
|
|
4393
|
+
<line num="329" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4394
|
+
<line num="330" count="0" type="stmt"/>
|
|
4395
|
+
<line num="333" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
4458
4396
|
<line num="334" count="0" type="stmt"/>
|
|
4459
|
-
<line num="335" count="0" type="cond" truecount="0" falsecount="
|
|
4460
|
-
<line num="
|
|
4461
|
-
<line num="
|
|
4462
|
-
<line num="
|
|
4397
|
+
<line num="335" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
4398
|
+
<line num="337" count="0" type="stmt"/>
|
|
4399
|
+
<line num="338" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4400
|
+
<line num="339" count="0" type="stmt"/>
|
|
4401
|
+
<line num="340" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4402
|
+
<line num="341" count="0" type="stmt"/>
|
|
4403
|
+
<line num="344" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4404
|
+
<line num="345" count="0" type="stmt"/>
|
|
4463
4405
|
</file>
|
|
4464
4406
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/utils.js">
|
|
4465
4407
|
<metrics statements="43" coveredstatements="21" conditionals="44" coveredconditionals="18" methods="3" coveredmethods="2"/>
|
|
@@ -4480,20 +4422,20 @@
|
|
|
4480
4422
|
<line num="27" count="0" type="stmt"/>
|
|
4481
4423
|
<line num="29" count="2" type="stmt"/>
|
|
4482
4424
|
<line num="35" count="45" type="stmt"/>
|
|
4483
|
-
<line num="40" count="
|
|
4484
|
-
<line num="41" count="
|
|
4485
|
-
<line num="42" count="
|
|
4486
|
-
<line num="43" count="
|
|
4487
|
-
<line num="45" count="
|
|
4488
|
-
<line num="46" count="
|
|
4489
|
-
<line num="47" count="
|
|
4490
|
-
<line num="52" count="
|
|
4425
|
+
<line num="40" count="306" type="stmt"/>
|
|
4426
|
+
<line num="41" count="306" type="cond" truecount="2" falsecount="0"/>
|
|
4427
|
+
<line num="42" count="180" type="stmt"/>
|
|
4428
|
+
<line num="43" count="180" type="cond" truecount="2" falsecount="0"/>
|
|
4429
|
+
<line num="45" count="306" type="stmt"/>
|
|
4430
|
+
<line num="46" count="857" type="stmt"/>
|
|
4431
|
+
<line num="47" count="857" type="cond" truecount="1" falsecount="1"/>
|
|
4432
|
+
<line num="52" count="857" type="stmt"/>
|
|
4491
4433
|
<line num="55" count="0" type="stmt"/>
|
|
4492
4434
|
<line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4493
4435
|
<line num="57" count="0" type="stmt"/>
|
|
4494
4436
|
<line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4495
4437
|
<line num="59" count="0" type="stmt"/>
|
|
4496
|
-
<line num="66" count="
|
|
4438
|
+
<line num="66" count="306" type="cond" truecount="2" falsecount="0"/>
|
|
4497
4439
|
<line num="73" count="45" type="stmt"/>
|
|
4498
4440
|
<line num="74" count="0" type="stmt"/>
|
|
4499
4441
|
<line num="75" count="0" type="stmt"/>
|
|
@@ -4509,44 +4451,47 @@
|
|
|
4509
4451
|
</file>
|
|
4510
4452
|
</package>
|
|
4511
4453
|
<package name="utilities.usageQuota">
|
|
4512
|
-
<metrics statements="
|
|
4454
|
+
<metrics statements="43" coveredstatements="36" conditionals="12" coveredconditionals="9" methods="8" coveredmethods="6"/>
|
|
4513
4455
|
<file name="rows.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/usageQuota/rows.js">
|
|
4514
|
-
<metrics statements="
|
|
4456
|
+
<metrics statements="38" coveredstatements="36" conditionals="10" coveredconditionals="9" methods="6" coveredmethods="6"/>
|
|
4515
4457
|
<line num="1" count="44" type="stmt"/>
|
|
4516
|
-
<line num="
|
|
4517
|
-
<line num="
|
|
4518
|
-
<line num="
|
|
4519
|
-
<line num="13" count="27" type="stmt"/>
|
|
4458
|
+
<line num="7" count="44" type="stmt"/>
|
|
4459
|
+
<line num="9" count="44" type="stmt"/>
|
|
4460
|
+
<line num="11" count="44" type="stmt"/>
|
|
4520
4461
|
<line num="14" count="27" type="stmt"/>
|
|
4521
|
-
<line num="15" count="
|
|
4522
|
-
<line num="16" count="30" type="
|
|
4523
|
-
<line num="17" count="
|
|
4524
|
-
<line num="
|
|
4525
|
-
<line num="20" count="
|
|
4526
|
-
<line num="
|
|
4527
|
-
<line num="
|
|
4528
|
-
<line num="
|
|
4529
|
-
<line num="
|
|
4462
|
+
<line num="15" count="27" type="stmt"/>
|
|
4463
|
+
<line num="16" count="30" type="stmt"/>
|
|
4464
|
+
<line num="17" count="30" type="cond" truecount="2" falsecount="0"/>
|
|
4465
|
+
<line num="18" count="28" type="stmt"/>
|
|
4466
|
+
<line num="20" count="30" type="cond" truecount="2" falsecount="0"/>
|
|
4467
|
+
<line num="21" count="27" type="stmt"/>
|
|
4468
|
+
<line num="23" count="3" type="stmt"/>
|
|
4469
|
+
<line num="26" count="27" type="stmt"/>
|
|
4470
|
+
<line num="29" count="44" type="stmt"/>
|
|
4530
4471
|
<line num="31" count="30" type="stmt"/>
|
|
4531
|
-
<line num="
|
|
4532
|
-
<line num="37" count="
|
|
4533
|
-
<line num="
|
|
4534
|
-
<line num="40" count="3" type="
|
|
4535
|
-
<line num="41" count="
|
|
4536
|
-
<line num="
|
|
4537
|
-
<line num="
|
|
4538
|
-
<line num="55" count="
|
|
4472
|
+
<line num="32" count="30" type="stmt"/>
|
|
4473
|
+
<line num="37" count="30" type="stmt"/>
|
|
4474
|
+
<line num="38" count="3" type="stmt"/>
|
|
4475
|
+
<line num="40" count="3" type="stmt"/>
|
|
4476
|
+
<line num="41" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
4477
|
+
<line num="42" count="0" type="stmt"/>
|
|
4478
|
+
<line num="45" count="3" type="stmt"/>
|
|
4479
|
+
<line num="55" count="44" type="stmt"/>
|
|
4539
4480
|
<line num="56" count="27" type="stmt"/>
|
|
4481
|
+
<line num="57" count="27" type="stmt"/>
|
|
4540
4482
|
<line num="58" count="27" type="stmt"/>
|
|
4541
|
-
<line num="
|
|
4542
|
-
<line num="
|
|
4543
|
-
<line num="
|
|
4544
|
-
<line num="
|
|
4545
|
-
<line num="64" count="
|
|
4546
|
-
<line num="
|
|
4547
|
-
<line num="67" count="
|
|
4548
|
-
<line num="
|
|
4549
|
-
<line num="
|
|
4483
|
+
<line num="60" count="27" type="stmt"/>
|
|
4484
|
+
<line num="61" count="28" type="stmt"/>
|
|
4485
|
+
<line num="62" count="28" type="stmt"/>
|
|
4486
|
+
<line num="63" count="56" type="cond" truecount="2" falsecount="0"/>
|
|
4487
|
+
<line num="64" count="26" type="stmt"/>
|
|
4488
|
+
<line num="66" count="30" type="stmt"/>
|
|
4489
|
+
<line num="67" count="30" type="stmt"/>
|
|
4490
|
+
<line num="69" count="0" type="stmt"/>
|
|
4491
|
+
<line num="78" count="28" type="cond" truecount="2" falsecount="0"/>
|
|
4492
|
+
<line num="79" count="28" type="stmt"/>
|
|
4493
|
+
<line num="80" count="28" type="stmt"/>
|
|
4494
|
+
<line num="83" count="27" type="stmt"/>
|
|
4550
4495
|
</file>
|
|
4551
4496
|
<file name="usageQuoteReset.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/usageQuota/usageQuoteReset.js">
|
|
4552
4497
|
<metrics statements="5" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
|