@budibase/server 1.0.27-alpha.10 → 1.0.27-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/builder/assets/{index.0dce895b.css → index.39e01193.css} +1 -1
- package/builder/assets/{index.39751e34.js → index.411e6960.js} +239 -239
- package/builder/index.html +2 -2
- package/coverage/clover.xml +909 -890
- package/coverage/coverage-final.json +68 -68
- package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
- package/coverage/lcov-report/api/controllers/apikeys.js.html +3 -3
- package/coverage/lcov-report/api/controllers/application.js.html +71 -62
- package/coverage/lcov-report/api/controllers/auth.js.html +2 -2
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +13 -4
- package/coverage/lcov-report/api/controllers/component.js.html +1 -1
- package/coverage/lcov-report/api/controllers/datasource.js.html +138 -36
- package/coverage/lcov-report/api/controllers/dev.js.html +3 -3
- package/coverage/lcov-report/api/controllers/hosting.js.html +3 -3
- package/coverage/lcov-report/api/controllers/index.html +19 -19
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +3 -3
- package/coverage/lcov-report/api/controllers/query/index.html +21 -21
- package/coverage/lcov-report/api/controllers/query/index.js.html +51 -48
- package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/role.js.html +2 -2
- package/coverage/lcov-report/api/controllers/routing.js.html +2 -2
- package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +2 -2
- package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/screen.js.html +2 -2
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
- package/coverage/lcov-report/api/controllers/user.js.html +14 -5
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
- package/coverage/lcov-report/api/controllers/webhook.js.html +2 -2
- package/coverage/lcov-report/api/index.html +1 -1
- package/coverage/lcov-report/api/index.js.html +6 -6
- package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
- package/coverage/lcov-report/api/routes/apikeys.js.html +2 -2
- package/coverage/lcov-report/api/routes/application.js.html +2 -2
- package/coverage/lcov-report/api/routes/auth.js.html +1 -1
- package/coverage/lcov-report/api/routes/automation.js.html +2 -2
- package/coverage/lcov-report/api/routes/backup.js.html +2 -2
- package/coverage/lcov-report/api/routes/cloud.js.html +2 -2
- package/coverage/lcov-report/api/routes/component.js.html +2 -2
- package/coverage/lcov-report/api/routes/datasource.js.html +2 -2
- package/coverage/lcov-report/api/routes/deploy.js.html +2 -2
- package/coverage/lcov-report/api/routes/dev.js.html +2 -2
- package/coverage/lcov-report/api/routes/hosting.js.html +2 -2
- package/coverage/lcov-report/api/routes/index.html +1 -1
- package/coverage/lcov-report/api/routes/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/integration.js.html +2 -2
- package/coverage/lcov-report/api/routes/layout.js.html +2 -2
- package/coverage/lcov-report/api/routes/metadata.js.html +2 -2
- package/coverage/lcov-report/api/routes/permission.js.html +12 -3
- package/coverage/lcov-report/api/routes/query.js.html +2 -2
- package/coverage/lcov-report/api/routes/role.js.html +2 -2
- package/coverage/lcov-report/api/routes/routing.js.html +2 -2
- package/coverage/lcov-report/api/routes/row.js.html +2 -2
- package/coverage/lcov-report/api/routes/screen.js.html +2 -2
- package/coverage/lcov-report/api/routes/script.js.html +2 -2
- package/coverage/lcov-report/api/routes/static.js.html +2 -2
- package/coverage/lcov-report/api/routes/table.js.html +2 -2
- package/coverage/lcov-report/api/routes/templates.js.html +2 -2
- package/coverage/lcov-report/api/routes/user.js.html +2 -2
- package/coverage/lcov-report/api/routes/view.js.html +2 -2
- package/coverage/lcov-report/api/routes/webhook.js.html +2 -2
- package/coverage/lcov-report/automations/actions.js.html +1 -1
- package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
- package/coverage/lcov-report/automations/bullboard.js.html +2 -2
- package/coverage/lcov-report/automations/index.html +1 -1
- package/coverage/lcov-report/automations/index.js.html +1 -1
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +2 -2
- package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +1 -1
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
- package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/triggers.js.html +1 -1
- package/coverage/lcov-report/automations/utils.js.html +6 -6
- package/coverage/lcov-report/constants/index.html +1 -1
- package/coverage/lcov-report/constants/index.js.html +4 -4
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +2 -2
- package/coverage/lcov-report/db/client.js.html +2 -2
- package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
- package/coverage/lcov-report/db/index.html +1 -1
- package/coverage/lcov-report/db/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
- package/coverage/lcov-report/db/newid.js.html +2 -2
- package/coverage/lcov-report/db/utils.js.html +19 -19
- package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
- package/coverage/lcov-report/events/index.html +1 -1
- package/coverage/lcov-report/events/index.js.html +1 -1
- package/coverage/lcov-report/events/utils.js.html +1 -1
- package/coverage/lcov-report/index.html +38 -38
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
- package/coverage/lcov-report/middleware/authorized.js.html +11 -11
- package/coverage/lcov-report/middleware/builder.js.html +10 -10
- package/coverage/lcov-report/middleware/currentapp.js.html +48 -36
- package/coverage/lcov-report/middleware/index.html +1 -1
- package/coverage/lcov-report/middleware/joi-validator.js.html +9 -9
- 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/usageQuota.js.html +2 -2
- package/coverage/lcov-report/middleware/utils.js.html +2 -2
- package/coverage/lcov-report/threads/automation.js.html +3 -3
- package/coverage/lcov-report/threads/index.html +28 -28
- package/coverage/lcov-report/threads/index.js.html +12 -12
- package/coverage/lcov-report/threads/query.js.html +253 -85
- package/coverage/lcov-report/threads/utils.js.html +31 -181
- package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
- package/coverage/lcov-report/utilities/budibaseDir.js.html +2 -2
- package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
- package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
- package/coverage/lcov-report/utilities/global.js.html +27 -18
- package/coverage/lcov-report/utilities/index.html +4 -4
- package/coverage/lcov-report/utilities/index.js.html +13 -13
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +2 -2
- package/coverage/lcov-report/utilities/queue/index.html +1 -1
- 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 +15 -3
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
- package/coverage/lcov-report/utilities/security.js.html +13 -4
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +22 -22
- package/coverage/lcov.info +1566 -1528
- package/dist/api/controllers/apikeys.js +2 -2
- package/dist/api/controllers/application.js +4 -4
- package/dist/api/controllers/auth.js +1 -1
- package/dist/api/controllers/cloud.js +2 -2
- package/dist/api/controllers/datasource.js +29 -0
- package/dist/api/controllers/deploy/index.js +2 -2
- package/dist/api/controllers/dev.js +2 -2
- package/dist/api/controllers/hosting.js +2 -2
- package/dist/api/controllers/permission.js +2 -2
- package/dist/api/controllers/query/index.js +3 -2
- package/dist/api/controllers/role.js +1 -1
- package/dist/api/controllers/routing.js +1 -1
- package/dist/api/controllers/row/internalSearch.js +1 -1
- package/dist/api/controllers/screen.js +1 -1
- package/dist/api/controllers/user.js +3 -3
- package/dist/api/controllers/webhook.js +1 -1
- package/dist/api/index.js +1 -1
- package/dist/api/routes/apikeys.js +1 -1
- package/dist/api/routes/application.js +1 -1
- package/dist/api/routes/automation.js +1 -1
- package/dist/api/routes/backup.js +1 -1
- package/dist/api/routes/cloud.js +1 -1
- package/dist/api/routes/component.js +1 -1
- package/dist/api/routes/datasource.js +1 -1
- package/dist/api/routes/deploy.js +1 -1
- package/dist/api/routes/dev.js +1 -1
- package/dist/api/routes/hosting.js +1 -1
- package/dist/api/routes/integration.js +1 -1
- package/dist/api/routes/layout.js +1 -1
- package/dist/api/routes/metadata.js +1 -1
- package/dist/api/routes/permission.js +1 -1
- package/dist/api/routes/query.js +1 -1
- package/dist/api/routes/role.js +1 -1
- package/dist/api/routes/routing.js +1 -1
- package/dist/api/routes/row.js +1 -1
- package/dist/api/routes/screen.js +1 -1
- package/dist/api/routes/script.js +1 -1
- package/dist/api/routes/static.js +1 -1
- package/dist/api/routes/table.js +1 -1
- package/dist/api/routes/templates.js +1 -1
- package/dist/api/routes/tests/utilities/TestFunctions.js +1 -1
- package/dist/api/routes/user.js +1 -1
- package/dist/api/routes/view.js +1 -1
- package/dist/api/routes/webhook.js +1 -1
- package/dist/app.js +1 -1
- package/dist/automations/bullboard.js +1 -1
- package/dist/automations/steps/executeQuery.js +1 -1
- package/dist/automations/utils.js +1 -1
- package/dist/constants/index.js +3 -3
- package/dist/constants/screens.js +1 -1
- package/dist/db/client.js +1 -1
- package/dist/db/utils.js +1 -1
- package/dist/environment.js +1 -0
- package/dist/integrations/dynamodb.js +19 -0
- package/dist/integrations/rest.js +68 -19
- package/dist/integrations/s3.js +17 -8
- package/dist/middleware/authorized.js +2 -2
- package/dist/middleware/builder.js +2 -2
- package/dist/middleware/currentapp.js +6 -6
- package/dist/middleware/usageQuota.js +1 -1
- package/dist/package.json +4 -4
- package/dist/tests/utilities/TestConfiguration.js +48 -8
- package/dist/tests/utilities/structures.js +2 -2
- package/dist/threads/automation.js +2 -2
- package/dist/threads/query.js +52 -3
- package/dist/threads/utils.js +3 -47
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utilities/budibaseDir.js +1 -1
- package/dist/utilities/fileSystem/utilities.js +1 -1
- package/dist/utilities/global.js +5 -5
- package/dist/utilities/index.js +2 -2
- package/dist/utilities/redis.js +1 -1
- package/dist/utilities/rowProcessor/index.js +1 -1
- package/dist/utilities/security.js +2 -2
- package/dist/utilities/usageQuota.js +2 -2
- package/dist/utilities/workerRequests.js +3 -3
- package/package.json +5 -5
- package/scripts/replicateApp.js +1 -1
- package/src/api/controllers/apikeys.js +2 -2
- package/src/api/controllers/application.js +7 -4
- package/src/api/controllers/auth.js +1 -1
- package/src/api/controllers/cloud.js +5 -2
- package/src/api/controllers/datasource.js +34 -0
- package/src/api/controllers/deploy/index.js +2 -2
- package/src/api/controllers/dev.js +2 -2
- package/src/api/controllers/hosting.js +2 -2
- package/src/api/controllers/permission.js +2 -2
- package/src/api/controllers/query/index.js +3 -2
- package/src/api/controllers/role.js +1 -1
- package/src/api/controllers/routing.js +1 -1
- package/src/api/controllers/row/internalSearch.js +1 -1
- package/src/api/controllers/screen.js +1 -1
- package/src/api/controllers/user.js +6 -3
- package/src/api/controllers/webhook.js +1 -1
- package/src/api/index.js +1 -1
- package/src/api/routes/apikeys.js +1 -1
- package/src/api/routes/application.js +1 -1
- package/src/api/routes/automation.js +1 -1
- package/src/api/routes/backup.js +1 -1
- package/src/api/routes/cloud.js +1 -1
- package/src/api/routes/component.js +1 -1
- package/src/api/routes/datasource.js +1 -1
- package/src/api/routes/deploy.js +1 -1
- package/src/api/routes/dev.js +1 -1
- package/src/api/routes/hosting.js +1 -1
- package/src/api/routes/integration.js +1 -1
- package/src/api/routes/layout.js +1 -1
- package/src/api/routes/metadata.js +1 -1
- package/src/api/routes/permission.js +4 -1
- package/src/api/routes/query.js +1 -1
- package/src/api/routes/role.js +1 -1
- package/src/api/routes/routing.js +1 -1
- package/src/api/routes/row.js +1 -1
- package/src/api/routes/screen.js +1 -1
- package/src/api/routes/script.js +1 -1
- package/src/api/routes/static.js +1 -1
- package/src/api/routes/table.js +1 -1
- package/src/api/routes/templates.js +1 -1
- package/src/api/routes/tests/datasource.spec.js +45 -0
- package/src/api/routes/tests/permissions.spec.js +1 -1
- package/src/api/routes/tests/query.spec.js +25 -44
- package/src/api/routes/tests/role.spec.js +2 -2
- package/src/api/routes/tests/routing.spec.js +1 -1
- package/src/api/routes/tests/user.spec.js +1 -1
- package/src/api/routes/tests/utilities/TestFunctions.js +1 -1
- package/src/api/routes/user.js +1 -1
- package/src/api/routes/view.js +1 -1
- package/src/api/routes/webhook.js +1 -1
- package/src/app.ts +1 -1
- package/src/automations/bullboard.js +1 -1
- package/src/automations/steps/executeQuery.js +1 -1
- package/src/automations/utils.js +1 -1
- package/src/constants/index.js +3 -3
- package/src/constants/screens.js +1 -1
- package/src/db/client.js +1 -1
- package/src/db/utils.js +1 -1
- package/src/definitions/datasource.ts +15 -0
- package/src/environment.js +1 -0
- package/src/integrations/dynamodb.ts +18 -0
- package/src/integrations/rest.ts +78 -17
- package/src/integrations/s3.ts +18 -7
- package/src/integrations/tests/rest.spec.js +287 -24
- package/src/middleware/authorized.js +2 -2
- package/src/middleware/builder.js +2 -2
- package/src/middleware/currentapp.js +11 -7
- package/src/middleware/tests/authorized.spec.js +2 -2
- package/src/middleware/tests/currentapp.spec.js +35 -41
- package/src/middleware/tests/usageQuota.spec.js +1 -1
- package/src/middleware/usageQuota.js +1 -1
- package/src/tests/utilities/TestConfiguration.js +55 -8
- package/src/tests/utilities/structures.js +2 -2
- package/src/threads/automation.js +2 -2
- package/src/threads/query.js +59 -3
- package/src/threads/utils.js +3 -53
- package/src/utilities/budibaseDir.js +1 -1
- package/src/utilities/fileSystem/utilities.js +1 -1
- package/src/utilities/global.js +8 -5
- package/src/utilities/index.js +2 -2
- package/src/utilities/redis.js +1 -1
- package/src/utilities/rowProcessor/index.js +5 -1
- package/src/utilities/security.js +5 -2
- package/src/utilities/usageQuota.js +2 -2
- package/src/utilities/workerRequests.js +3 -3
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="1642083491662" clover="3.2.0">
|
|
3
|
+
<project timestamp="1642083491663" name="All files">
|
|
4
|
+
<metrics statements="4633" coveredstatements="3427" conditionals="1856" coveredconditionals="1013" methods="661" coveredmethods="465" elements="7150" coveredelements="4905" complexity="0" loc="4633" ncloc="4633" packages="21" files="140" classes="140"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="29" coveredstatements="27" conditionals="5" coveredconditionals="2" methods="5" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
<line num="13" count="23" type="stmt"/>
|
|
17
17
|
<line num="15" count="23" type="stmt"/>
|
|
18
18
|
<line num="17" count="23" type="stmt"/>
|
|
19
|
-
<line num="31" count="
|
|
20
|
-
<line num="35" count="
|
|
19
|
+
<line num="31" count="167" type="stmt"/>
|
|
20
|
+
<line num="35" count="167" type="stmt"/>
|
|
21
21
|
<line num="37" count="1" type="stmt"/>
|
|
22
22
|
<line num="38" count="1" type="stmt"/>
|
|
23
23
|
<line num="60" count="23" type="stmt"/>
|
|
24
|
-
<line num="61" count="
|
|
25
|
-
<line num="62" count="
|
|
24
|
+
<line num="61" count="163" type="stmt"/>
|
|
25
|
+
<line num="62" count="163" type="stmt"/>
|
|
26
26
|
<line num="64" count="37" type="cond" truecount="1" falsecount="2"/>
|
|
27
27
|
<line num="65" count="37" type="stmt"/>
|
|
28
28
|
<line num="70" count="37" type="cond" truecount="1" falsecount="1"/>
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</file>
|
|
39
39
|
</package>
|
|
40
40
|
<package name="api.controllers">
|
|
41
|
-
<metrics statements="
|
|
41
|
+
<metrics statements="1080" coveredstatements="769" conditionals="357" coveredconditionals="165" methods="149" coveredmethods="103"/>
|
|
42
42
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.js">
|
|
43
43
|
<metrics statements="13" coveredstatements="6" conditionals="13" coveredconditionals="4" methods="2" coveredmethods="1"/>
|
|
44
44
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -90,180 +90,180 @@
|
|
|
90
90
|
<line num="8" count="33" type="stmt"/>
|
|
91
91
|
<line num="13" count="33" type="stmt"/>
|
|
92
92
|
<line num="21" count="33" type="stmt"/>
|
|
93
|
-
<line num="22" count="33" type="stmt"/>
|
|
94
|
-
<line num="23" count="33" type="stmt"/>
|
|
95
|
-
<line num="24" count="33" type="stmt"/>
|
|
96
93
|
<line num="25" count="33" type="stmt"/>
|
|
97
|
-
<line num="
|
|
98
|
-
<line num="
|
|
99
|
-
<line num="
|
|
100
|
-
<line num="
|
|
101
|
-
<line num="
|
|
102
|
-
<line num="
|
|
103
|
-
<line num="
|
|
104
|
-
<line num="
|
|
94
|
+
<line num="26" count="33" type="stmt"/>
|
|
95
|
+
<line num="27" count="33" type="stmt"/>
|
|
96
|
+
<line num="28" count="33" type="stmt"/>
|
|
97
|
+
<line num="34" count="33" type="stmt"/>
|
|
98
|
+
<line num="35" count="33" type="stmt"/>
|
|
99
|
+
<line num="39" count="33" type="stmt"/>
|
|
100
|
+
<line num="40" count="33" type="stmt"/>
|
|
101
|
+
<line num="41" count="33" type="stmt"/>
|
|
105
102
|
<line num="46" count="33" type="stmt"/>
|
|
106
103
|
<line num="47" count="33" type="stmt"/>
|
|
104
|
+
<line num="48" count="33" type="stmt"/>
|
|
107
105
|
<line num="49" count="33" type="stmt"/>
|
|
108
|
-
<line num="
|
|
109
|
-
<line num="
|
|
110
|
-
<line num="
|
|
111
|
-
<line num="
|
|
112
|
-
<line num="
|
|
113
|
-
<line num="
|
|
114
|
-
<line num="
|
|
115
|
-
<line num="
|
|
116
|
-
<line num="
|
|
117
|
-
<line num="85" count="
|
|
118
|
-
<line num="86" count="
|
|
119
|
-
<line num="88" count="
|
|
120
|
-
<line num="89" count="
|
|
121
|
-
<line num="91" count="
|
|
122
|
-
<line num="92" count="
|
|
123
|
-
<line num="
|
|
124
|
-
<line num="
|
|
125
|
-
<line num="
|
|
126
|
-
<line num="
|
|
127
|
-
<line num="
|
|
128
|
-
<line num="108" count="
|
|
129
|
-
<line num="109" count="
|
|
130
|
-
<line num="
|
|
131
|
-
<line num="
|
|
132
|
-
<line num="
|
|
133
|
-
<line num="
|
|
134
|
-
<line num="
|
|
135
|
-
<line num="
|
|
136
|
-
<line num="
|
|
137
|
-
<line num="129" count="
|
|
138
|
-
<line num="
|
|
139
|
-
<line num="
|
|
140
|
-
<line num="
|
|
141
|
-
<line num="
|
|
142
|
-
<line num="
|
|
143
|
-
<line num="
|
|
144
|
-
<line num="
|
|
145
|
-
<line num="
|
|
146
|
-
<line num="
|
|
147
|
-
<line num="
|
|
148
|
-
<line num="
|
|
149
|
-
<line num="
|
|
150
|
-
<line num="
|
|
151
|
-
<line num="155" count="
|
|
152
|
-
<line num="156" count="
|
|
153
|
-
<line num="
|
|
106
|
+
<line num="50" count="33" type="stmt"/>
|
|
107
|
+
<line num="52" count="33" type="stmt"/>
|
|
108
|
+
<line num="56" count="195" type="stmt"/>
|
|
109
|
+
<line num="62" count="390" type="stmt"/>
|
|
110
|
+
<line num="66" count="195" type="stmt"/>
|
|
111
|
+
<line num="72" count="12" type="stmt"/>
|
|
112
|
+
<line num="76" count="193" type="cond" truecount="4" falsecount="0"/>
|
|
113
|
+
<line num="83" count="190" type="cond" truecount="1" falsecount="1"/>
|
|
114
|
+
<line num="84" count="0" type="stmt"/>
|
|
115
|
+
<line num="85" count="190" type="cond" truecount="2" falsecount="0"/>
|
|
116
|
+
<line num="86" count="187" type="stmt"/>
|
|
117
|
+
<line num="88" count="190" type="cond" truecount="2" falsecount="0"/>
|
|
118
|
+
<line num="89" count="187" type="stmt"/>
|
|
119
|
+
<line num="91" count="190" type="cond" truecount="2" falsecount="0"/>
|
|
120
|
+
<line num="92" count="15" type="stmt"/>
|
|
121
|
+
<line num="94" count="175" type="stmt"/>
|
|
122
|
+
<line num="95" count="175" type="cond" truecount="1" falsecount="1"/>
|
|
123
|
+
<line num="101" count="0" type="stmt"/>
|
|
124
|
+
<line num="103" count="175" type="stmt"/>
|
|
125
|
+
<line num="107" count="185" type="cond" truecount="1" falsecount="1"/>
|
|
126
|
+
<line num="108" count="185" type="stmt"/>
|
|
127
|
+
<line num="109" count="185" type="stmt"/>
|
|
128
|
+
<line num="111" count="185" type="stmt"/>
|
|
129
|
+
<line num="112" count="185" type="stmt"/>
|
|
130
|
+
<line num="121" count="185" type="stmt"/>
|
|
131
|
+
<line num="122" count="185" type="stmt"/>
|
|
132
|
+
<line num="123" count="185" type="stmt"/>
|
|
133
|
+
<line num="127" count="185" type="cond" truecount="3" falsecount="1"/>
|
|
134
|
+
<line num="128" count="0" type="stmt"/>
|
|
135
|
+
<line num="129" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
136
|
+
<line num="130" count="0" type="stmt"/>
|
|
137
|
+
<line num="132" count="185" type="cond" truecount="3" falsecount="1"/>
|
|
138
|
+
<line num="135" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
139
|
+
<line num="136" count="0" type="stmt"/>
|
|
140
|
+
<line num="140" count="185" type="stmt"/>
|
|
141
|
+
<line num="143" count="185" type="stmt"/>
|
|
142
|
+
<line num="146" count="33" type="stmt"/>
|
|
143
|
+
<line num="147" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
144
|
+
<line num="148" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
145
|
+
<line num="149" count="10" type="stmt"/>
|
|
146
|
+
<line num="152" count="10" type="cond" truecount="2" falsecount="2"/>
|
|
147
|
+
<line num="153" count="10" type="stmt"/>
|
|
148
|
+
<line num="154" count="10" type="stmt"/>
|
|
149
|
+
<line num="155" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
150
|
+
<line num="156" count="14" type="stmt"/>
|
|
151
|
+
<line num="158" count="0" type="stmt"/>
|
|
152
|
+
<line num="159" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
154
153
|
<line num="160" count="0" type="stmt"/>
|
|
155
|
-
<line num="
|
|
156
|
-
<line num="168" count="
|
|
157
|
-
<line num="
|
|
158
|
-
<line num="170" count="1" type="stmt"/>
|
|
159
|
-
<line num="171" count="1" type="stmt"/>
|
|
154
|
+
<line num="163" count="0" type="stmt"/>
|
|
155
|
+
<line num="168" count="10" type="stmt"/>
|
|
156
|
+
<line num="171" count="33" type="stmt"/>
|
|
160
157
|
<line num="172" count="1" type="stmt"/>
|
|
161
158
|
<line num="173" count="1" type="stmt"/>
|
|
162
|
-
<line num="
|
|
163
|
-
<line num="
|
|
164
|
-
<line num="
|
|
165
|
-
<line num="
|
|
166
|
-
<line num="187" count="
|
|
167
|
-
<line num="188" count="
|
|
168
|
-
<line num="
|
|
169
|
-
<line num="
|
|
170
|
-
<line num="
|
|
171
|
-
<line num="194" count="
|
|
172
|
-
<line num="
|
|
173
|
-
<line num="
|
|
174
|
-
<line num="
|
|
175
|
-
<line num="
|
|
176
|
-
<line num="
|
|
177
|
-
<line num="
|
|
178
|
-
<line num="
|
|
179
|
-
<line num="
|
|
180
|
-
<line num="
|
|
181
|
-
<line num="
|
|
182
|
-
<line num="
|
|
183
|
-
<line num="
|
|
184
|
-
<line num="
|
|
185
|
-
<line num="
|
|
186
|
-
<line num="
|
|
187
|
-
<line num="
|
|
188
|
-
<line num="
|
|
189
|
-
<line num="
|
|
190
|
-
<line num="
|
|
191
|
-
<line num="
|
|
192
|
-
<line num="
|
|
193
|
-
<line num="
|
|
194
|
-
<line num="
|
|
195
|
-
<line num="
|
|
196
|
-
<line num="265" count="
|
|
197
|
-
<line num="
|
|
198
|
-
<line num="
|
|
199
|
-
<line num="
|
|
200
|
-
<line num="
|
|
201
|
-
<line num="
|
|
202
|
-
<line num="
|
|
203
|
-
<line num="
|
|
204
|
-
<line num="
|
|
205
|
-
<line num="
|
|
206
|
-
<line num="
|
|
207
|
-
<line num="
|
|
208
|
-
<line num="
|
|
209
|
-
<line num="
|
|
210
|
-
<line num="
|
|
211
|
-
<line num="
|
|
212
|
-
<line num="295" count="
|
|
213
|
-
<line num="
|
|
214
|
-
<line num="
|
|
215
|
-
<line num="
|
|
216
|
-
<line num="
|
|
217
|
-
<line num="
|
|
218
|
-
<line num="
|
|
219
|
-
<line num="
|
|
220
|
-
<line num="
|
|
221
|
-
<line num="
|
|
222
|
-
<line num="
|
|
223
|
-
<line num="
|
|
224
|
-
<line num="
|
|
225
|
-
<line num="
|
|
159
|
+
<line num="174" count="1" type="stmt"/>
|
|
160
|
+
<line num="175" count="1" type="stmt"/>
|
|
161
|
+
<line num="176" count="1" type="stmt"/>
|
|
162
|
+
<line num="180" count="1" type="stmt"/>
|
|
163
|
+
<line num="187" count="33" type="stmt"/>
|
|
164
|
+
<line num="188" count="194" type="stmt"/>
|
|
165
|
+
<line num="189" count="194" type="stmt"/>
|
|
166
|
+
<line num="190" count="194" type="stmt"/>
|
|
167
|
+
<line num="191" count="194" type="stmt"/>
|
|
168
|
+
<line num="194" count="194" type="cond" truecount="4" falsecount="0"/>
|
|
169
|
+
<line num="195" count="192" type="stmt"/>
|
|
170
|
+
<line num="196" count="192" type="stmt"/>
|
|
171
|
+
<line num="197" count="192" type="stmt"/>
|
|
172
|
+
<line num="200" count="194" type="stmt"/>
|
|
173
|
+
<line num="208" count="33" type="stmt"/>
|
|
174
|
+
<line num="209" count="185" type="stmt"/>
|
|
175
|
+
<line num="210" count="185" type="stmt"/>
|
|
176
|
+
<line num="215" count="185" type="cond" truecount="2" falsecount="2"/>
|
|
177
|
+
<line num="216" count="0" type="stmt"/>
|
|
178
|
+
<line num="218" count="185" type="stmt"/>
|
|
179
|
+
<line num="219" count="185" type="stmt"/>
|
|
180
|
+
<line num="221" count="185" type="stmt"/>
|
|
181
|
+
<line num="222" count="185" type="stmt"/>
|
|
182
|
+
<line num="224" count="185" type="stmt"/>
|
|
183
|
+
<line num="226" count="185" type="stmt"/>
|
|
184
|
+
<line num="227" count="0" type="stmt"/>
|
|
185
|
+
<line num="231" count="185" type="stmt"/>
|
|
186
|
+
<line num="246" count="185" type="stmt"/>
|
|
187
|
+
<line num="247" count="185" type="stmt"/>
|
|
188
|
+
<line num="251" count="185" type="cond" truecount="1" falsecount="1"/>
|
|
189
|
+
<line num="252" count="185" type="stmt"/>
|
|
190
|
+
<line num="260" count="185" type="stmt"/>
|
|
191
|
+
<line num="261" count="185" type="stmt"/>
|
|
192
|
+
<line num="262" count="185" type="stmt"/>
|
|
193
|
+
<line num="265" count="33" type="stmt"/>
|
|
194
|
+
<line num="266" count="2" type="stmt"/>
|
|
195
|
+
<line num="267" count="2" type="stmt"/>
|
|
196
|
+
<line num="268" count="2" type="stmt"/>
|
|
197
|
+
<line num="271" count="33" type="stmt"/>
|
|
198
|
+
<line num="273" count="2" type="stmt"/>
|
|
199
|
+
<line num="274" count="2" type="stmt"/>
|
|
200
|
+
<line num="275" count="2" type="stmt"/>
|
|
201
|
+
<line num="278" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
202
|
+
<line num="279" count="0" type="stmt"/>
|
|
203
|
+
<line num="280" count="0" type="stmt"/>
|
|
204
|
+
<line num="284" count="2" type="stmt"/>
|
|
205
|
+
<line num="288" count="2" type="stmt"/>
|
|
206
|
+
<line num="289" count="2" type="stmt"/>
|
|
207
|
+
<line num="290" count="2" type="stmt"/>
|
|
208
|
+
<line num="293" count="33" type="stmt"/>
|
|
209
|
+
<line num="295" count="1" type="stmt"/>
|
|
210
|
+
<line num="296" count="1" type="stmt"/>
|
|
211
|
+
<line num="297" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
212
|
+
<line num="298" count="0" type="stmt"/>
|
|
213
|
+
<line num="302" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
214
|
+
<line num="303" count="0" type="stmt"/>
|
|
215
|
+
<line num="307" count="1" type="stmt"/>
|
|
216
|
+
<line num="311" count="1" type="stmt"/>
|
|
217
|
+
<line num="312" count="1" type="stmt"/>
|
|
218
|
+
<line num="313" count="1" type="stmt"/>
|
|
219
|
+
<line num="316" count="33" type="stmt"/>
|
|
220
|
+
<line num="317" count="11" type="stmt"/>
|
|
221
|
+
<line num="319" count="11" type="stmt"/>
|
|
222
|
+
<line num="324" count="11" type="cond" truecount="2" falsecount="2"/>
|
|
223
|
+
<line num="325" count="0" type="stmt"/>
|
|
226
224
|
<line num="328" count="11" type="stmt"/>
|
|
227
225
|
<line num="329" count="11" type="stmt"/>
|
|
228
|
-
<line num="
|
|
229
|
-
<line num="
|
|
230
|
-
<line num="
|
|
231
|
-
<line num="
|
|
232
|
-
<line num="
|
|
233
|
-
<line num="
|
|
226
|
+
<line num="331" count="11" type="stmt"/>
|
|
227
|
+
<line num="332" count="11" type="stmt"/>
|
|
228
|
+
<line num="335" count="33" type="stmt"/>
|
|
229
|
+
<line num="336" count="0" type="stmt"/>
|
|
230
|
+
<line num="337" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
231
|
+
<line num="338" count="0" type="stmt"/>
|
|
234
232
|
<line num="342" count="0" type="stmt"/>
|
|
235
|
-
<line num="
|
|
236
|
-
<line num="
|
|
237
|
-
<line num="
|
|
238
|
-
<line num="
|
|
233
|
+
<line num="344" count="0" type="stmt"/>
|
|
234
|
+
<line num="345" count="0" type="stmt"/>
|
|
235
|
+
<line num="346" count="0" type="stmt"/>
|
|
236
|
+
<line num="347" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
237
|
+
<line num="350" count="0" type="stmt"/>
|
|
239
238
|
<line num="351" count="0" type="stmt"/>
|
|
240
239
|
<line num="354" count="0" type="stmt"/>
|
|
241
|
-
<line num="
|
|
242
|
-
<line num="360" count="0" type="stmt"/>
|
|
240
|
+
<line num="357" count="0" type="stmt"/>
|
|
243
241
|
<line num="362" count="0" type="stmt"/>
|
|
244
|
-
<line num="
|
|
245
|
-
<line num="
|
|
246
|
-
<line num="
|
|
242
|
+
<line num="363" count="0" type="stmt"/>
|
|
243
|
+
<line num="365" count="0" type="stmt"/>
|
|
244
|
+
<line num="369" count="0" type="stmt"/>
|
|
247
245
|
<line num="373" count="0" type="stmt"/>
|
|
248
|
-
<line num="375" count="0" type="
|
|
249
|
-
<line num="
|
|
250
|
-
<line num="
|
|
251
|
-
<line num="
|
|
252
|
-
<line num="
|
|
246
|
+
<line num="375" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
247
|
+
<line num="376" count="0" type="stmt"/>
|
|
248
|
+
<line num="378" count="0" type="stmt"/>
|
|
249
|
+
<line num="384" count="33" type="stmt"/>
|
|
250
|
+
<line num="385" count="5" type="stmt"/>
|
|
253
251
|
<line num="386" count="5" type="stmt"/>
|
|
254
|
-
<line num="387" count="5" type="
|
|
255
|
-
<line num="
|
|
256
|
-
<line num="
|
|
257
|
-
<line num="
|
|
258
|
-
<line num="
|
|
252
|
+
<line num="387" count="5" type="stmt"/>
|
|
253
|
+
<line num="389" count="5" type="stmt"/>
|
|
254
|
+
<line num="390" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
255
|
+
<line num="391" count="5" type="stmt"/>
|
|
256
|
+
<line num="396" count="5" type="stmt"/>
|
|
259
257
|
<line num="398" count="5" type="stmt"/>
|
|
260
|
-
<line num="
|
|
261
|
-
<line num="
|
|
262
|
-
<line num="404" count="
|
|
263
|
-
<line num="405" count="
|
|
264
|
-
<line num="
|
|
265
|
-
<line num="
|
|
266
|
-
<line num="
|
|
258
|
+
<line num="400" count="5" type="stmt"/>
|
|
259
|
+
<line num="401" count="5" type="stmt"/>
|
|
260
|
+
<line num="404" count="33" type="stmt"/>
|
|
261
|
+
<line num="405" count="185" type="stmt"/>
|
|
262
|
+
<line num="407" count="185" type="stmt"/>
|
|
263
|
+
<line num="408" count="185" type="stmt"/>
|
|
264
|
+
<line num="409" count="370" type="stmt"/>
|
|
265
|
+
<line num="410" count="370" type="stmt"/>
|
|
266
|
+
<line num="413" count="185" type="stmt"/>
|
|
267
267
|
</file>
|
|
268
268
|
<file name="auth.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/auth.js">
|
|
269
269
|
<metrics statements="27" coveredstatements="23" conditionals="8" coveredconditionals="4" methods="1" coveredmethods="1"/>
|
|
@@ -411,56 +411,56 @@
|
|
|
411
411
|
<line num="3" count="23" type="stmt"/>
|
|
412
412
|
<line num="8" count="23" type="stmt"/>
|
|
413
413
|
<line num="9" count="23" type="stmt"/>
|
|
414
|
-
<line num="
|
|
415
|
-
<line num="
|
|
416
|
-
<line num="
|
|
417
|
-
<line num="
|
|
418
|
-
<line num="
|
|
419
|
-
<line num="
|
|
420
|
-
<line num="
|
|
421
|
-
<line num="28" count="0" type="stmt"/>
|
|
422
|
-
<line num="30" count="0" type="stmt"/>
|
|
414
|
+
<line num="13" count="23" type="stmt"/>
|
|
415
|
+
<line num="14" count="23" type="stmt"/>
|
|
416
|
+
<line num="15" count="23" type="stmt"/>
|
|
417
|
+
<line num="18" count="0" type="stmt"/>
|
|
418
|
+
<line num="26" count="0" type="stmt"/>
|
|
419
|
+
<line num="29" count="23" type="stmt"/>
|
|
420
|
+
<line num="30" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
423
421
|
<line num="31" count="0" type="stmt"/>
|
|
424
|
-
<line num="
|
|
422
|
+
<line num="33" count="0" type="stmt"/>
|
|
425
423
|
<line num="34" count="0" type="stmt"/>
|
|
424
|
+
<line num="35" count="0" type="stmt"/>
|
|
426
425
|
<line num="37" count="0" type="stmt"/>
|
|
427
|
-
<line num="
|
|
426
|
+
<line num="40" count="0" type="stmt"/>
|
|
428
427
|
<line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
429
|
-
<line num="
|
|
428
|
+
<line num="44" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
430
429
|
<line num="45" count="0" type="stmt"/>
|
|
431
|
-
<line num="
|
|
432
|
-
<line num="
|
|
433
|
-
<line num="
|
|
434
|
-
<line num="
|
|
435
|
-
<line num="
|
|
436
|
-
<line num="
|
|
437
|
-
<line num="63" count="0" type="stmt"/>
|
|
430
|
+
<line num="48" count="0" type="stmt"/>
|
|
431
|
+
<line num="49" count="0" type="stmt"/>
|
|
432
|
+
<line num="50" count="0" type="stmt"/>
|
|
433
|
+
<line num="54" count="0" type="stmt"/>
|
|
434
|
+
<line num="59" count="0" type="stmt"/>
|
|
435
|
+
<line num="63" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
438
436
|
<line num="64" count="0" type="stmt"/>
|
|
439
|
-
<line num="
|
|
440
|
-
<line num="
|
|
441
|
-
<line num="
|
|
442
|
-
<line num="
|
|
443
|
-
<line num="
|
|
444
|
-
<line num="77" count="0" type="
|
|
445
|
-
<line num="78" count="0" type="
|
|
446
|
-
<line num="
|
|
447
|
-
<line num="
|
|
448
|
-
<line num="
|
|
449
|
-
<line num="86" count="0" type="stmt"/>
|
|
437
|
+
<line num="66" count="0" type="stmt"/>
|
|
438
|
+
<line num="67" count="0" type="stmt"/>
|
|
439
|
+
<line num="70" count="23" type="stmt"/>
|
|
440
|
+
<line num="71" count="0" type="stmt"/>
|
|
441
|
+
<line num="76" count="23" type="stmt"/>
|
|
442
|
+
<line num="77" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
443
|
+
<line num="78" count="0" type="stmt"/>
|
|
444
|
+
<line num="80" count="0" type="stmt"/>
|
|
445
|
+
<line num="81" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
446
|
+
<line num="82" count="0" type="stmt"/>
|
|
450
447
|
<line num="87" count="0" type="stmt"/>
|
|
448
|
+
<line num="88" count="0" type="stmt"/>
|
|
451
449
|
<line num="89" count="0" type="stmt"/>
|
|
452
450
|
<line num="90" count="0" type="stmt"/>
|
|
453
451
|
<line num="92" count="0" type="stmt"/>
|
|
454
452
|
<line num="93" count="0" type="stmt"/>
|
|
455
|
-
<line num="
|
|
456
|
-
<line num="
|
|
457
|
-
<line num="
|
|
458
|
-
<line num="100" count="0" type="stmt"/>
|
|
453
|
+
<line num="95" count="0" type="stmt"/>
|
|
454
|
+
<line num="96" count="0" type="stmt"/>
|
|
455
|
+
<line num="97" count="0" type="stmt"/>
|
|
459
456
|
<line num="101" count="0" type="stmt"/>
|
|
460
|
-
<line num="
|
|
457
|
+
<line num="102" count="0" type="stmt"/>
|
|
458
|
+
<line num="103" count="0" type="stmt"/>
|
|
461
459
|
<line num="104" count="0" type="stmt"/>
|
|
460
|
+
<line num="106" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
462
461
|
<line num="107" count="0" type="stmt"/>
|
|
463
|
-
<line num="
|
|
462
|
+
<line num="110" count="0" type="stmt"/>
|
|
463
|
+
<line num="111" count="0" type="stmt"/>
|
|
464
464
|
</file>
|
|
465
465
|
<file name="component.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/component.js">
|
|
466
466
|
<metrics statements="18" coveredstatements="18" conditionals="4" coveredconditionals="3" methods="2" coveredmethods="2"/>
|
|
@@ -484,114 +484,130 @@
|
|
|
484
484
|
<line num="34" count="1" type="stmt"/>
|
|
485
485
|
</file>
|
|
486
486
|
<file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/datasource.js">
|
|
487
|
-
<metrics statements="
|
|
487
|
+
<metrics statements="123" coveredstatements="73" conditionals="45" coveredconditionals="15" methods="19" coveredmethods="11"/>
|
|
488
488
|
<line num="1" count="34" type="stmt"/>
|
|
489
489
|
<line num="9" count="34" type="stmt"/>
|
|
490
490
|
<line num="10" count="34" type="stmt"/>
|
|
491
491
|
<line num="11" count="34" type="stmt"/>
|
|
492
492
|
<line num="12" count="34" type="stmt"/>
|
|
493
|
-
<line num="
|
|
494
|
-
<line num="15" count="
|
|
495
|
-
<line num="
|
|
493
|
+
<line num="13" count="34" type="stmt"/>
|
|
494
|
+
<line num="15" count="34" type="stmt"/>
|
|
495
|
+
<line num="16" count="2" type="stmt"/>
|
|
496
496
|
<line num="19" count="2" type="stmt"/>
|
|
497
|
-
<line num="
|
|
498
|
-
<line num="
|
|
499
|
-
<line num="
|
|
500
|
-
<line num="
|
|
501
|
-
<line num="
|
|
502
|
-
<line num="
|
|
503
|
-
<line num="44" count="
|
|
497
|
+
<line num="20" count="2" type="stmt"/>
|
|
498
|
+
<line num="25" count="2" type="stmt"/>
|
|
499
|
+
<line num="27" count="2" type="stmt"/>
|
|
500
|
+
<line num="33" count="2" type="stmt"/>
|
|
501
|
+
<line num="39" count="1" type="stmt"/>
|
|
502
|
+
<line num="41" count="2" type="stmt"/>
|
|
503
|
+
<line num="44" count="34" type="stmt"/>
|
|
504
504
|
<line num="45" count="0" type="stmt"/>
|
|
505
|
-
<line num="
|
|
505
|
+
<line num="46" count="0" type="stmt"/>
|
|
506
506
|
<line num="48" count="0" type="stmt"/>
|
|
507
|
-
<line num="
|
|
507
|
+
<line num="49" count="0" type="stmt"/>
|
|
508
508
|
<line num="51" count="0" type="stmt"/>
|
|
509
|
-
<line num="
|
|
510
|
-
<line num="54" count="0" type="
|
|
511
|
-
<line num="55" count="0" type="
|
|
512
|
-
<line num="
|
|
513
|
-
<line num="
|
|
514
|
-
<line num="
|
|
515
|
-
<line num="
|
|
516
|
-
<line num="
|
|
517
|
-
<line num="
|
|
518
|
-
<line num="
|
|
519
|
-
<line num="
|
|
520
|
-
<line num="
|
|
521
|
-
<line num="
|
|
522
|
-
<line num="
|
|
523
|
-
<line num="
|
|
524
|
-
<line num="
|
|
525
|
-
<line num="
|
|
526
|
-
<line num="
|
|
527
|
-
<line num="
|
|
528
|
-
<line num="
|
|
529
|
-
<line num="
|
|
530
|
-
<line num="
|
|
531
|
-
<line num="
|
|
532
|
-
<line num="
|
|
533
|
-
<line num="
|
|
534
|
-
<line num="
|
|
535
|
-
<line num="
|
|
536
|
-
<line num="
|
|
537
|
-
<line num="
|
|
538
|
-
<line num="
|
|
539
|
-
<line num="104" count="30" type="cond" truecount="1" falsecount="1"/>
|
|
540
|
-
<line num="105" count="30" type="stmt"/>
|
|
541
|
-
<line num="106" count="30" type="cond" truecount="3" falsecount="1"/>
|
|
509
|
+
<line num="52" count="0" type="stmt"/>
|
|
510
|
+
<line num="54" count="0" type="stmt"/>
|
|
511
|
+
<line num="55" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
512
|
+
<line num="56" count="0" type="stmt"/>
|
|
513
|
+
<line num="58" count="0" type="stmt"/>
|
|
514
|
+
<line num="64" count="34" type="stmt"/>
|
|
515
|
+
<line num="65" count="6" type="stmt"/>
|
|
516
|
+
<line num="66" count="6" type="stmt"/>
|
|
517
|
+
<line num="67" count="6" type="stmt"/>
|
|
518
|
+
<line num="69" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
519
|
+
<line num="70" count="5" type="stmt"/>
|
|
520
|
+
<line num="73" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
521
|
+
<line num="75" count="0" type="stmt"/>
|
|
522
|
+
<line num="78" count="1" type="stmt"/>
|
|
523
|
+
<line num="79" count="1" type="stmt"/>
|
|
524
|
+
<line num="81" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
525
|
+
<line num="85" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
526
|
+
<line num="86" count="1" type="stmt"/>
|
|
527
|
+
<line num="90" count="1" type="stmt"/>
|
|
528
|
+
<line num="93" count="34" type="stmt"/>
|
|
529
|
+
<line num="94" count="6" type="stmt"/>
|
|
530
|
+
<line num="95" count="6" type="stmt"/>
|
|
531
|
+
<line num="96" count="6" type="stmt"/>
|
|
532
|
+
<line num="97" count="6" type="stmt"/>
|
|
533
|
+
<line num="98" count="6" type="stmt"/>
|
|
534
|
+
<line num="100" count="6" type="stmt"/>
|
|
535
|
+
<line num="101" count="6" type="stmt"/>
|
|
536
|
+
<line num="104" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
537
|
+
<line num="105" count="6" type="stmt"/>
|
|
538
|
+
<line num="106" count="6" type="cond" truecount="3" falsecount="1"/>
|
|
542
539
|
<line num="107" count="0" type="stmt"/>
|
|
543
|
-
<line num="111" count="
|
|
544
|
-
<line num="112" count="
|
|
545
|
-
<line num="113" count="
|
|
546
|
-
<line num="
|
|
547
|
-
<line num="
|
|
548
|
-
<line num="
|
|
549
|
-
<line num="
|
|
550
|
-
<line num="
|
|
551
|
-
<line num="
|
|
552
|
-
<line num="
|
|
553
|
-
<line num="
|
|
554
|
-
<line num="
|
|
555
|
-
<line num="
|
|
556
|
-
<line num="
|
|
557
|
-
<line num="
|
|
558
|
-
<line num="
|
|
559
|
-
<line num="
|
|
560
|
-
<line num="
|
|
561
|
-
<line num="
|
|
562
|
-
<line num="
|
|
563
|
-
<line num="
|
|
564
|
-
<line num="
|
|
565
|
-
<line num="
|
|
566
|
-
<line num="
|
|
567
|
-
<line num="
|
|
568
|
-
<line num="
|
|
569
|
-
<line num="
|
|
570
|
-
<line num="
|
|
571
|
-
<line num="
|
|
572
|
-
<line num="
|
|
573
|
-
<line num="
|
|
574
|
-
<line num="
|
|
575
|
-
<line num="
|
|
576
|
-
<line num="
|
|
577
|
-
<line num="
|
|
578
|
-
<line num="
|
|
579
|
-
<line num="
|
|
540
|
+
<line num="111" count="6" type="stmt"/>
|
|
541
|
+
<line num="112" count="6" type="stmt"/>
|
|
542
|
+
<line num="113" count="6" type="stmt"/>
|
|
543
|
+
<line num="116" count="34" type="stmt"/>
|
|
544
|
+
<line num="117" count="35" type="stmt"/>
|
|
545
|
+
<line num="118" count="35" type="stmt"/>
|
|
546
|
+
<line num="119" count="35" type="stmt"/>
|
|
547
|
+
<line num="121" count="35" type="stmt"/>
|
|
548
|
+
<line num="127" count="35" type="stmt"/>
|
|
549
|
+
<line num="128" count="35" type="cond" truecount="1" falsecount="1"/>
|
|
550
|
+
<line num="129" count="0" type="stmt"/>
|
|
551
|
+
<line num="130" count="0" type="stmt"/>
|
|
552
|
+
<line num="131" count="0" type="stmt"/>
|
|
553
|
+
<line num="134" count="35" type="stmt"/>
|
|
554
|
+
<line num="135" count="35" type="stmt"/>
|
|
555
|
+
<line num="138" count="35" type="cond" truecount="1" falsecount="1"/>
|
|
556
|
+
<line num="139" count="35" type="stmt"/>
|
|
557
|
+
<line num="140" count="35" type="cond" truecount="3" falsecount="1"/>
|
|
558
|
+
<line num="141" count="0" type="stmt"/>
|
|
559
|
+
<line num="145" count="35" type="stmt"/>
|
|
560
|
+
<line num="146" count="35" type="cond" truecount="1" falsecount="1"/>
|
|
561
|
+
<line num="147" count="0" type="stmt"/>
|
|
562
|
+
<line num="149" count="35" type="stmt"/>
|
|
563
|
+
<line num="152" count="34" type="stmt"/>
|
|
564
|
+
<line num="153" count="1" type="stmt"/>
|
|
565
|
+
<line num="156" count="1" type="stmt"/>
|
|
566
|
+
<line num="159" count="1" type="stmt"/>
|
|
567
|
+
<line num="160" count="1" type="stmt"/>
|
|
568
|
+
<line num="168" count="1" type="stmt"/>
|
|
569
|
+
<line num="170" count="1" type="stmt"/>
|
|
570
|
+
<line num="171" count="1" type="stmt"/>
|
|
571
|
+
<line num="174" count="34" type="stmt"/>
|
|
572
|
+
<line num="175" count="1" type="stmt"/>
|
|
573
|
+
<line num="176" count="1" type="stmt"/>
|
|
574
|
+
<line num="180" count="34" type="stmt"/>
|
|
575
|
+
<line num="181" count="1" type="stmt"/>
|
|
576
|
+
<line num="182" count="1" type="stmt"/>
|
|
577
|
+
<line num="183" count="1" type="stmt"/>
|
|
580
578
|
<line num="185" count="0" type="stmt"/>
|
|
581
|
-
<line num="
|
|
582
|
-
<line num="
|
|
583
|
-
<line num="
|
|
584
|
-
<line num="
|
|
585
|
-
<line num="194" count="0" type="stmt"/>
|
|
586
|
-
<line num="195" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
587
|
-
<line num="196" count="0" type="stmt"/>
|
|
579
|
+
<line num="190" count="0" type="stmt"/>
|
|
580
|
+
<line num="191" count="0" type="stmt"/>
|
|
581
|
+
<line num="192" count="0" type="stmt"/>
|
|
582
|
+
<line num="196" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
588
583
|
<line num="197" count="0" type="stmt"/>
|
|
589
|
-
<line num="
|
|
590
|
-
<line num="
|
|
591
|
-
<line num="
|
|
592
|
-
<line num="
|
|
584
|
+
<line num="199" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
585
|
+
<line num="200" count="0" type="stmt"/>
|
|
586
|
+
<line num="202" count="0" type="stmt"/>
|
|
587
|
+
<line num="203" count="0" type="stmt"/>
|
|
588
|
+
<line num="206" count="34" type="stmt"/>
|
|
593
589
|
<line num="207" count="0" type="stmt"/>
|
|
594
|
-
<line num="
|
|
590
|
+
<line num="210" count="0" type="stmt"/>
|
|
591
|
+
<line num="211" count="0" type="stmt"/>
|
|
592
|
+
<line num="212" count="0" type="stmt"/>
|
|
593
|
+
<line num="215" count="0" type="stmt"/>
|
|
594
|
+
<line num="216" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
595
|
+
<line num="217" count="0" type="stmt"/>
|
|
596
|
+
<line num="219" count="0" type="stmt"/>
|
|
597
|
+
<line num="220" count="0" type="stmt"/>
|
|
598
|
+
<line num="222" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
599
|
+
<line num="223" count="0" type="stmt"/>
|
|
600
|
+
<line num="227" count="0" type="stmt"/>
|
|
601
|
+
<line num="228" count="0" type="stmt"/>
|
|
602
|
+
<line num="229" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
603
|
+
<line num="230" count="0" type="stmt"/>
|
|
604
|
+
<line num="231" count="0" type="stmt"/>
|
|
605
|
+
<line num="232" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
606
|
+
<line num="233" count="0" type="stmt"/>
|
|
607
|
+
<line num="239" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
608
|
+
<line num="240" count="0" type="stmt"/>
|
|
609
|
+
<line num="241" count="0" type="stmt"/>
|
|
610
|
+
<line num="248" count="0" type="stmt"/>
|
|
595
611
|
</file>
|
|
596
612
|
<file name="dev.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/dev.js">
|
|
597
613
|
<metrics statements="63" coveredstatements="18" conditionals="15" coveredconditionals="0" methods="10" coveredmethods="3"/>
|
|
@@ -996,118 +1012,118 @@
|
|
|
996
1012
|
<line num="9" count="34" type="stmt"/>
|
|
997
1013
|
<line num="10" count="34" type="stmt"/>
|
|
998
1014
|
<line num="11" count="34" type="stmt"/>
|
|
999
|
-
<line num="
|
|
1000
|
-
<line num="
|
|
1001
|
-
<line num="
|
|
1002
|
-
<line num="
|
|
1003
|
-
<line num="
|
|
1004
|
-
<line num="
|
|
1005
|
-
<line num="29" count="0" type="stmt"/>
|
|
1006
|
-
<line num="31" count="0" type="stmt"/>
|
|
1015
|
+
<line num="15" count="34" type="stmt"/>
|
|
1016
|
+
<line num="16" count="34" type="stmt"/>
|
|
1017
|
+
<line num="17" count="34" type="stmt"/>
|
|
1018
|
+
<line num="20" count="2" type="stmt"/>
|
|
1019
|
+
<line num="26" count="0" type="stmt"/>
|
|
1020
|
+
<line num="31" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1007
1021
|
<line num="32" count="0" type="stmt"/>
|
|
1008
|
-
<line num="
|
|
1009
|
-
<line num="
|
|
1010
|
-
<line num="
|
|
1011
|
-
<line num="
|
|
1012
|
-
<line num="
|
|
1013
|
-
<line num="45" count="0" type="cond" truecount="0" falsecount="
|
|
1022
|
+
<line num="34" count="0" type="stmt"/>
|
|
1023
|
+
<line num="35" count="0" type="stmt"/>
|
|
1024
|
+
<line num="36" count="0" type="stmt"/>
|
|
1025
|
+
<line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1026
|
+
<line num="42" count="0" type="stmt"/>
|
|
1027
|
+
<line num="45" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1014
1028
|
<line num="46" count="0" type="stmt"/>
|
|
1015
|
-
<line num="
|
|
1016
|
-
<line num="
|
|
1017
|
-
<line num="
|
|
1018
|
-
<line num="57" count="
|
|
1019
|
-
<line num="
|
|
1020
|
-
<line num="
|
|
1021
|
-
<line num="
|
|
1022
|
-
<line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1029
|
+
<line num="48" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1030
|
+
<line num="49" count="0" type="stmt"/>
|
|
1031
|
+
<line num="54" count="0" type="stmt"/>
|
|
1032
|
+
<line num="57" count="34" type="stmt"/>
|
|
1033
|
+
<line num="59" count="0" type="stmt"/>
|
|
1034
|
+
<line num="60" count="0" type="stmt"/>
|
|
1035
|
+
<line num="64" count="0" type="stmt"/>
|
|
1023
1036
|
<line num="65" count="0" type="stmt"/>
|
|
1037
|
+
<line num="66" count="0" type="stmt"/>
|
|
1038
|
+
<line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1024
1039
|
<line num="68" count="0" type="stmt"/>
|
|
1025
|
-
<line num="71" count="
|
|
1026
|
-
<line num="
|
|
1027
|
-
<line num="74" count="0" type="stmt"/>
|
|
1040
|
+
<line num="71" count="0" type="stmt"/>
|
|
1041
|
+
<line num="74" count="34" type="stmt"/>
|
|
1028
1042
|
<line num="75" count="0" type="stmt"/>
|
|
1029
|
-
<line num="
|
|
1030
|
-
<line num="78" count="0" type="
|
|
1043
|
+
<line num="77" count="0" type="stmt"/>
|
|
1044
|
+
<line num="78" count="0" type="stmt"/>
|
|
1031
1045
|
<line num="79" count="0" type="stmt"/>
|
|
1032
|
-
<line num="
|
|
1046
|
+
<line num="81" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1033
1047
|
<line num="82" count="0" type="stmt"/>
|
|
1034
|
-
<line num="
|
|
1035
|
-
<line num="
|
|
1036
|
-
<line num="88" count="0" type="
|
|
1037
|
-
<line num="
|
|
1038
|
-
<line num="
|
|
1039
|
-
<line num="
|
|
1040
|
-
<line num="96" count="0" type="
|
|
1048
|
+
<line num="83" count="0" type="stmt"/>
|
|
1049
|
+
<line num="85" count="0" type="stmt"/>
|
|
1050
|
+
<line num="88" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1051
|
+
<line num="90" count="0" type="stmt"/>
|
|
1052
|
+
<line num="91" count="0" type="stmt"/>
|
|
1053
|
+
<line num="92" count="0" type="stmt"/>
|
|
1054
|
+
<line num="96" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
1041
1055
|
<line num="97" count="0" type="stmt"/>
|
|
1042
|
-
<line num="
|
|
1056
|
+
<line num="99" count="0" type="stmt"/>
|
|
1043
1057
|
<line num="100" count="0" type="stmt"/>
|
|
1044
1058
|
<line num="101" count="0" type="stmt"/>
|
|
1045
|
-
<line num="102" count="0" type="stmt"/>
|
|
1046
1059
|
<line num="103" count="0" type="stmt"/>
|
|
1047
|
-
<line num="104" count="0" type="
|
|
1060
|
+
<line num="104" count="0" type="stmt"/>
|
|
1048
1061
|
<line num="105" count="0" type="stmt"/>
|
|
1049
|
-
<line num="
|
|
1062
|
+
<line num="106" count="0" type="stmt"/>
|
|
1063
|
+
<line num="107" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1050
1064
|
<line num="108" count="0" type="stmt"/>
|
|
1051
1065
|
<line num="110" count="0" type="stmt"/>
|
|
1052
1066
|
<line num="111" count="0" type="stmt"/>
|
|
1053
|
-
<line num="113" count="0" type="
|
|
1067
|
+
<line num="113" count="0" type="stmt"/>
|
|
1054
1068
|
<line num="114" count="0" type="stmt"/>
|
|
1055
|
-
<line num="116" count="0" type="
|
|
1056
|
-
<line num="
|
|
1057
|
-
<line num="
|
|
1069
|
+
<line num="116" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1070
|
+
<line num="117" count="0" type="stmt"/>
|
|
1071
|
+
<line num="119" count="0" type="stmt"/>
|
|
1058
1072
|
<line num="124" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1059
|
-
<line num="
|
|
1060
|
-
<line num="
|
|
1061
|
-
<line num="
|
|
1062
|
-
<line num="
|
|
1063
|
-
<line num="
|
|
1064
|
-
<line num="
|
|
1065
|
-
<line num="145" count="2" type="stmt"/>
|
|
1073
|
+
<line num="125" count="0" type="stmt"/>
|
|
1074
|
+
<line num="127" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1075
|
+
<line num="135" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1076
|
+
<line num="136" count="0" type="stmt"/>
|
|
1077
|
+
<line num="140" count="0" type="stmt"/>
|
|
1078
|
+
<line num="145" count="34" type="stmt"/>
|
|
1066
1079
|
<line num="146" count="2" type="stmt"/>
|
|
1067
1080
|
<line num="147" count="2" type="stmt"/>
|
|
1068
|
-
<line num="
|
|
1069
|
-
<line num="
|
|
1070
|
-
<line num="
|
|
1071
|
-
<line num="
|
|
1072
|
-
<line num="
|
|
1073
|
-
<line num="
|
|
1081
|
+
<line num="148" count="2" type="stmt"/>
|
|
1082
|
+
<line num="149" count="2" type="stmt"/>
|
|
1083
|
+
<line num="150" count="2" type="stmt"/>
|
|
1084
|
+
<line num="152" count="7" type="stmt"/>
|
|
1085
|
+
<line num="154" count="7" type="stmt"/>
|
|
1086
|
+
<line num="162" count="2" type="stmt"/>
|
|
1087
|
+
<line num="165" count="34" type="stmt"/>
|
|
1074
1088
|
<line num="167" count="0" type="stmt"/>
|
|
1075
|
-
<line num="
|
|
1076
|
-
<line num="
|
|
1077
|
-
<line num="
|
|
1078
|
-
<line num="
|
|
1089
|
+
<line num="169" count="0" type="stmt"/>
|
|
1090
|
+
<line num="170" count="0" type="stmt"/>
|
|
1091
|
+
<line num="173" count="34" type="stmt"/>
|
|
1092
|
+
<line num="174" count="1" type="stmt"/>
|
|
1079
1093
|
<line num="175" count="1" type="stmt"/>
|
|
1080
1094
|
<line num="176" count="1" type="stmt"/>
|
|
1081
|
-
<line num="
|
|
1082
|
-
<line num="
|
|
1083
|
-
<line num="
|
|
1084
|
-
<line num="
|
|
1085
|
-
<line num="
|
|
1086
|
-
<line num="
|
|
1087
|
-
<line num="
|
|
1088
|
-
<line num="
|
|
1089
|
-
<line num="
|
|
1090
|
-
<line num="
|
|
1091
|
-
<line num="
|
|
1092
|
-
<line num="
|
|
1093
|
-
<line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1095
|
+
<line num="178" count="1" type="stmt"/>
|
|
1096
|
+
<line num="179" count="1" type="stmt"/>
|
|
1097
|
+
<line num="183" count="1" type="stmt"/>
|
|
1098
|
+
<line num="186" count="34" type="stmt"/>
|
|
1099
|
+
<line num="187" count="1" type="stmt"/>
|
|
1100
|
+
<line num="188" count="1" type="stmt"/>
|
|
1101
|
+
<line num="189" count="1" type="stmt"/>
|
|
1102
|
+
<line num="190" count="0" type="stmt"/>
|
|
1103
|
+
<line num="194" count="1" type="stmt"/>
|
|
1104
|
+
<line num="199" count="34" type="stmt"/>
|
|
1105
|
+
<line num="200" count="1" type="stmt"/>
|
|
1106
|
+
<line num="203" count="34" type="stmt"/>
|
|
1094
1107
|
<line num="204" count="0" type="stmt"/>
|
|
1095
|
-
<line num="
|
|
1108
|
+
<line num="205" count="0" type="stmt"/>
|
|
1109
|
+
<line num="206" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1096
1110
|
<line num="207" count="0" type="stmt"/>
|
|
1097
1111
|
<line num="209" count="0" type="stmt"/>
|
|
1098
1112
|
<line num="210" count="0" type="stmt"/>
|
|
1099
1113
|
<line num="212" count="0" type="stmt"/>
|
|
1100
|
-
<line num="
|
|
1114
|
+
<line num="213" count="0" type="stmt"/>
|
|
1101
1115
|
<line num="215" count="0" type="stmt"/>
|
|
1102
|
-
<line num="
|
|
1103
|
-
<line num="
|
|
1104
|
-
<line num="
|
|
1105
|
-
<line num="
|
|
1106
|
-
<line num="
|
|
1116
|
+
<line num="217" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1117
|
+
<line num="218" count="0" type="stmt"/>
|
|
1118
|
+
<line num="219" count="0" type="stmt"/>
|
|
1119
|
+
<line num="222" count="34" type="stmt"/>
|
|
1120
|
+
<line num="223" count="0" type="stmt"/>
|
|
1107
1121
|
<line num="224" count="0" type="stmt"/>
|
|
1108
1122
|
<line num="225" count="0" type="stmt"/>
|
|
1109
1123
|
<line num="227" count="0" type="stmt"/>
|
|
1110
|
-
<line num="
|
|
1124
|
+
<line num="228" count="0" type="stmt"/>
|
|
1125
|
+
<line num="230" count="0" type="stmt"/>
|
|
1126
|
+
<line num="232" count="0" type="stmt"/>
|
|
1111
1127
|
</file>
|
|
1112
1128
|
<file name="webhook.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/webhook.js">
|
|
1113
1129
|
<metrics statements="57" coveredstatements="52" conditionals="10" coveredconditionals="4" methods="7" coveredmethods="7"/>
|
|
@@ -1171,9 +1187,9 @@
|
|
|
1171
1187
|
</file>
|
|
1172
1188
|
</package>
|
|
1173
1189
|
<package name="api.controllers.query">
|
|
1174
|
-
<metrics statements="96" coveredstatements="
|
|
1190
|
+
<metrics statements="96" coveredstatements="79" conditionals="19" coveredconditionals="13" methods="17" coveredmethods="15"/>
|
|
1175
1191
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query/index.js">
|
|
1176
|
-
<metrics statements="88" coveredstatements="
|
|
1192
|
+
<metrics statements="88" coveredstatements="71" conditionals="19" coveredconditionals="13" methods="14" coveredmethods="12"/>
|
|
1177
1193
|
<line num="1" count="34" type="stmt"/>
|
|
1178
1194
|
<line num="6" count="34" type="stmt"/>
|
|
1179
1195
|
<line num="7" count="34" type="stmt"/>
|
|
@@ -1209,59 +1225,59 @@
|
|
|
1209
1225
|
<line num="71" count="0" type="stmt"/>
|
|
1210
1226
|
<line num="75" count="0" type="stmt"/>
|
|
1211
1227
|
<line num="78" count="34" type="stmt"/>
|
|
1212
|
-
<line num="79" count="
|
|
1213
|
-
<line num="80" count="
|
|
1214
|
-
<line num="82" count="
|
|
1215
|
-
<line num="83" count="
|
|
1216
|
-
<line num="86" count="
|
|
1217
|
-
<line num="87" count="
|
|
1218
|
-
<line num="89" count="
|
|
1219
|
-
<line num="90" count="
|
|
1228
|
+
<line num="79" count="28" type="stmt"/>
|
|
1229
|
+
<line num="80" count="28" type="stmt"/>
|
|
1230
|
+
<line num="82" count="28" type="cond" truecount="1" falsecount="1"/>
|
|
1231
|
+
<line num="83" count="28" type="stmt"/>
|
|
1232
|
+
<line num="86" count="28" type="stmt"/>
|
|
1233
|
+
<line num="87" count="28" type="stmt"/>
|
|
1234
|
+
<line num="89" count="28" type="stmt"/>
|
|
1235
|
+
<line num="90" count="28" type="stmt"/>
|
|
1220
1236
|
<line num="93" count="34" type="stmt"/>
|
|
1221
|
-
<line num="94" count="3" type="stmt"/>
|
|
1222
|
-
<line num="95" count="3" type="stmt"/>
|
|
1223
|
-
<line num="97" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
1224
|
-
<line num="98" count="1" type="stmt"/>
|
|
1225
|
-
<line num="99" count="1" type="stmt"/>
|
|
1226
|
-
<line num="101" count="3" type="stmt"/>
|
|
1227
|
-
<line num="104" count="34" type="stmt"/>
|
|
1228
|
-
<line num="105" count="
|
|
1229
|
-
<line num="107" count="
|
|
1230
|
-
<line num="111" count="
|
|
1231
|
-
<line num="113" count="
|
|
1232
|
-
<line num="114" count="
|
|
1233
|
-
<line num="124" count="
|
|
1234
|
-
<line num="131" count="1" type="stmt"/>
|
|
1235
|
-
<line num="136" count="2" type="stmt"/>
|
|
1236
|
-
<line num="138" count="2" type="stmt"/>
|
|
1237
|
-
<line num="139" count="2" type="stmt"/>
|
|
1238
|
-
<line num="142" count="2" type="stmt"/>
|
|
1239
|
-
<line num="143" count="2" type="stmt"/>
|
|
1240
|
-
<line num="
|
|
1241
|
-
<line num="
|
|
1242
|
-
<line num="
|
|
1243
|
-
<line num="
|
|
1244
|
-
<line num="
|
|
1245
|
-
<line num="
|
|
1246
|
-
<line num="
|
|
1247
|
-
<line num="
|
|
1248
|
-
<line num="
|
|
1249
|
-
<line num="
|
|
1250
|
-
<line num="
|
|
1251
|
-
<line num="
|
|
1252
|
-
<line num="
|
|
1253
|
-
<line num="
|
|
1254
|
-
<line num="
|
|
1255
|
-
<line num="
|
|
1256
|
-
<line num="
|
|
1257
|
-
<line num="
|
|
1258
|
-
<line num="
|
|
1259
|
-
<line num="
|
|
1260
|
-
<line num="
|
|
1261
|
-
<line num="
|
|
1262
|
-
<line num="
|
|
1263
|
-
<line num="
|
|
1264
|
-
<line num="
|
|
1237
|
+
<line num="94" count="3" type="stmt"/>
|
|
1238
|
+
<line num="95" count="3" type="stmt"/>
|
|
1239
|
+
<line num="97" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
1240
|
+
<line num="98" count="1" type="stmt"/>
|
|
1241
|
+
<line num="99" count="1" type="stmt"/>
|
|
1242
|
+
<line num="101" count="3" type="stmt"/>
|
|
1243
|
+
<line num="104" count="34" type="stmt"/>
|
|
1244
|
+
<line num="105" count="8" type="stmt"/>
|
|
1245
|
+
<line num="107" count="8" type="stmt"/>
|
|
1246
|
+
<line num="111" count="8" type="stmt"/>
|
|
1247
|
+
<line num="113" count="8" type="stmt"/>
|
|
1248
|
+
<line num="114" count="8" type="stmt"/>
|
|
1249
|
+
<line num="124" count="7" type="stmt"/>
|
|
1250
|
+
<line num="131" count="1" type="stmt"/>
|
|
1251
|
+
<line num="136" count="2" type="stmt"/>
|
|
1252
|
+
<line num="138" count="2" type="stmt"/>
|
|
1253
|
+
<line num="139" count="2" type="stmt"/>
|
|
1254
|
+
<line num="142" count="2" type="stmt"/>
|
|
1255
|
+
<line num="143" count="2" type="stmt"/>
|
|
1256
|
+
<line num="153" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
1257
|
+
<line num="154" count="1" type="stmt"/>
|
|
1258
|
+
<line num="156" count="0" type="stmt"/>
|
|
1259
|
+
<line num="159" count="1" type="stmt"/>
|
|
1260
|
+
<line num="163" count="34" type="stmt"/>
|
|
1261
|
+
<line num="164" count="2" type="stmt"/>
|
|
1262
|
+
<line num="167" count="34" type="stmt"/>
|
|
1263
|
+
<line num="168" count="0" type="stmt"/>
|
|
1264
|
+
<line num="171" count="34" type="stmt"/>
|
|
1265
|
+
<line num="172" count="2" type="stmt"/>
|
|
1266
|
+
<line num="173" count="2" type="stmt"/>
|
|
1267
|
+
<line num="174" count="2" type="stmt"/>
|
|
1268
|
+
<line num="176" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1269
|
+
<line num="178" count="1" type="stmt"/>
|
|
1270
|
+
<line num="179" count="1" type="stmt"/>
|
|
1271
|
+
<line num="180" count="1" type="stmt"/>
|
|
1272
|
+
<line num="183" count="1" type="stmt"/>
|
|
1273
|
+
<line num="184" count="1" type="stmt"/>
|
|
1274
|
+
<line num="186" count="1" type="stmt"/>
|
|
1275
|
+
<line num="190" count="34" type="stmt"/>
|
|
1276
|
+
<line num="191" count="2" type="stmt"/>
|
|
1277
|
+
<line num="192" count="2" type="stmt"/>
|
|
1278
|
+
<line num="193" count="2" type="stmt"/>
|
|
1279
|
+
<line num="194" count="2" type="stmt"/>
|
|
1280
|
+
<line num="195" count="2" type="stmt"/>
|
|
1265
1281
|
</file>
|
|
1266
1282
|
<file name="validation.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query/validation.js">
|
|
1267
1283
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
@@ -2731,14 +2747,14 @@
|
|
|
2731
2747
|
<line num="1" count="23" type="stmt"/>
|
|
2732
2748
|
<line num="2" count="23" type="stmt"/>
|
|
2733
2749
|
<line num="3" count="23" type="stmt"/>
|
|
2734
|
-
<line num="
|
|
2735
|
-
<line num="5" count="23" type="stmt"/>
|
|
2736
|
-
<line num="6" count="23" type="stmt"/>
|
|
2750
|
+
<line num="7" count="23" type="stmt"/>
|
|
2737
2751
|
<line num="8" count="23" type="stmt"/>
|
|
2738
|
-
<line num="
|
|
2739
|
-
<line num="
|
|
2740
|
-
<line num="
|
|
2741
|
-
<line num="
|
|
2752
|
+
<line num="9" count="23" type="stmt"/>
|
|
2753
|
+
<line num="11" count="23" type="stmt"/>
|
|
2754
|
+
<line num="14" count="46" type="stmt"/>
|
|
2755
|
+
<line num="16" count="46" type="stmt"/>
|
|
2756
|
+
<line num="23" count="23" type="stmt"/>
|
|
2757
|
+
<line num="47" count="23" type="stmt"/>
|
|
2742
2758
|
</file>
|
|
2743
2759
|
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/query.js">
|
|
2744
2760
|
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -3071,13 +3087,13 @@
|
|
|
3071
3087
|
<line num="50" count="33" type="stmt"/>
|
|
3072
3088
|
<line num="53" count="66" type="stmt"/>
|
|
3073
3089
|
<line num="57" count="33" type="stmt"/>
|
|
3074
|
-
<line num="58" count="
|
|
3075
|
-
<line num="59" count="
|
|
3076
|
-
<line num="60" count="
|
|
3090
|
+
<line num="58" count="192" type="stmt"/>
|
|
3091
|
+
<line num="59" count="192" type="stmt"/>
|
|
3092
|
+
<line num="60" count="192" type="stmt"/>
|
|
3077
3093
|
<line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3078
3094
|
<line num="62" count="0" type="stmt"/>
|
|
3079
3095
|
<line num="63" count="0" type="stmt"/>
|
|
3080
|
-
<line num="66" count="
|
|
3096
|
+
<line num="66" count="192" type="stmt"/>
|
|
3081
3097
|
<line num="74" count="33" type="stmt"/>
|
|
3082
3098
|
<line num="75" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
3083
3099
|
<line num="77" count="1" type="stmt"/>
|
|
@@ -3546,7 +3562,7 @@
|
|
|
3546
3562
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3547
3563
|
<line num="1" count="49" type="stmt"/>
|
|
3548
3564
|
<line num="3" count="49" type="stmt"/>
|
|
3549
|
-
<line num="4" count="
|
|
3565
|
+
<line num="4" count="714" type="stmt"/>
|
|
3550
3566
|
</file>
|
|
3551
3567
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3552
3568
|
<metrics statements="110" coveredstatements="101" conditionals="51" coveredconditionals="18" methods="31" coveredmethods="27"/>
|
|
@@ -3578,9 +3594,9 @@
|
|
|
3578
3594
|
<line num="85" count="49" type="stmt"/>
|
|
3579
3595
|
<line num="87" count="49" type="stmt"/>
|
|
3580
3596
|
<line num="88" count="74" type="stmt"/>
|
|
3581
|
-
<line num="104" count="
|
|
3582
|
-
<line num="105" count="
|
|
3583
|
-
<line num="107" count="
|
|
3597
|
+
<line num="104" count="624" type="cond" truecount="2" falsecount="0"/>
|
|
3598
|
+
<line num="105" count="611" type="stmt"/>
|
|
3599
|
+
<line num="107" count="624" type="stmt"/>
|
|
3584
3600
|
<line num="114" count="49" type="stmt"/>
|
|
3585
3601
|
<line num="119" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3586
3602
|
<line num="120" count="3" type="stmt"/>
|
|
@@ -3592,19 +3608,19 @@
|
|
|
3592
3608
|
<line num="144" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
3593
3609
|
<line num="146" count="11" type="stmt"/>
|
|
3594
3610
|
<line num="155" count="49" type="cond" truecount="1" falsecount="0"/>
|
|
3595
|
-
<line num="156" count="
|
|
3596
|
-
<line num="157" count="
|
|
3611
|
+
<line num="156" count="210" type="cond" truecount="2" falsecount="0"/>
|
|
3612
|
+
<line num="157" count="210" type="stmt"/>
|
|
3597
3613
|
<line num="163" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3598
3614
|
<line num="164" count="3" type="stmt"/>
|
|
3599
3615
|
<line num="172" count="49" type="stmt"/>
|
|
3600
|
-
<line num="173" count="
|
|
3616
|
+
<line num="173" count="142" type="stmt"/>
|
|
3601
3617
|
<line num="179" count="49" type="stmt"/>
|
|
3602
3618
|
<line num="180" count="2" type="stmt"/>
|
|
3603
3619
|
<line num="181" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
3604
3620
|
<line num="182" count="1" type="stmt"/>
|
|
3605
3621
|
<line num="184" count="1" type="stmt"/>
|
|
3606
3622
|
<line num="190" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3607
|
-
<line num="191" count="
|
|
3623
|
+
<line num="191" count="210" type="stmt"/>
|
|
3608
3624
|
<line num="198" count="49" type="stmt"/>
|
|
3609
3625
|
<line num="199" count="20" type="stmt"/>
|
|
3610
3626
|
<line num="213" count="49" type="stmt"/>
|
|
@@ -3615,32 +3631,32 @@
|
|
|
3615
3631
|
<line num="230" count="49" type="cond" truecount="0" falsecount="1"/>
|
|
3616
3632
|
<line num="231" count="0" type="stmt"/>
|
|
3617
3633
|
<line num="238" count="49" type="cond" truecount="0" falsecount="1"/>
|
|
3618
|
-
<line num="239" count="
|
|
3619
|
-
<line num="240" count="
|
|
3634
|
+
<line num="239" count="185" type="stmt"/>
|
|
3635
|
+
<line num="240" count="185" type="cond" truecount="1" falsecount="1"/>
|
|
3620
3636
|
<line num="241" count="0" type="stmt"/>
|
|
3621
|
-
<line num="243" count="
|
|
3637
|
+
<line num="243" count="185" type="stmt"/>
|
|
3622
3638
|
<line num="250" count="49" type="stmt"/>
|
|
3623
|
-
<line num="251" count="
|
|
3624
|
-
<line num="252" count="
|
|
3625
|
-
<line num="253" count="
|
|
3639
|
+
<line num="251" count="185" type="stmt"/>
|
|
3640
|
+
<line num="252" count="185" type="stmt"/>
|
|
3641
|
+
<line num="253" count="185" type="stmt"/>
|
|
3626
3642
|
<line num="260" count="49" type="stmt"/>
|
|
3627
3643
|
<line num="261" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3628
3644
|
<line num="267" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3629
|
-
<line num="268" count="
|
|
3645
|
+
<line num="268" count="195" type="stmt"/>
|
|
3630
3646
|
<line num="275" count="49" type="stmt"/>
|
|
3631
3647
|
<line num="276" count="19" type="stmt"/>
|
|
3632
3648
|
<line num="282" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3633
|
-
<line num="283" count="
|
|
3649
|
+
<line num="283" count="197" type="stmt"/>
|
|
3634
3650
|
<line num="290" count="49" type="stmt"/>
|
|
3635
3651
|
<line num="291" count="10" type="stmt"/>
|
|
3636
3652
|
<line num="297" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3637
3653
|
<line num="298" count="2" type="stmt"/>
|
|
3638
3654
|
<line num="305" count="49" type="cond" truecount="1" falsecount="1"/>
|
|
3639
|
-
<line num="306" count="
|
|
3655
|
+
<line num="306" count="35" type="stmt"/>
|
|
3640
3656
|
<line num="314" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3641
3657
|
<line num="315" count="3" type="stmt"/>
|
|
3642
3658
|
<line num="322" count="49" type="stmt"/>
|
|
3643
|
-
<line num="323" count="
|
|
3659
|
+
<line num="323" count="81" type="stmt"/>
|
|
3644
3660
|
<line num="331" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3645
3661
|
<line num="332" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
3646
3662
|
<line num="333" count="2" type="stmt"/>
|
|
@@ -4054,16 +4070,16 @@
|
|
|
4054
4070
|
<line num="14" count="7" type="stmt"/>
|
|
4055
4071
|
<line num="17" count="24" type="stmt"/>
|
|
4056
4072
|
<line num="19" count="2338" type="stmt"/>
|
|
4057
|
-
<line num="22" count="
|
|
4073
|
+
<line num="22" count="160" type="cond" truecount="4" falsecount="0"/>
|
|
4058
4074
|
<line num="23" count="1" type="stmt"/>
|
|
4059
|
-
<line num="26" count="
|
|
4075
|
+
<line num="26" count="159" type="cond" truecount="2" falsecount="0"/>
|
|
4060
4076
|
<line num="27" count="1" type="stmt"/>
|
|
4061
|
-
<line num="32" count="
|
|
4062
|
-
<line num="34" count="
|
|
4063
|
-
<line num="36" count="
|
|
4064
|
-
<line num="37" count="
|
|
4065
|
-
<line num="38" count="
|
|
4066
|
-
<line num="39" count="
|
|
4077
|
+
<line num="32" count="158" type="stmt"/>
|
|
4078
|
+
<line num="34" count="158" type="stmt"/>
|
|
4079
|
+
<line num="36" count="158" type="cond" truecount="3" falsecount="0"/>
|
|
4080
|
+
<line num="37" count="158" type="stmt"/>
|
|
4081
|
+
<line num="38" count="158" type="cond" truecount="2" falsecount="0"/>
|
|
4082
|
+
<line num="39" count="122" type="stmt"/>
|
|
4067
4083
|
<line num="40" count="36" type="cond" truecount="4" falsecount="0"/>
|
|
4068
4084
|
<line num="41" count="29" type="stmt"/>
|
|
4069
4085
|
<line num="45" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -4110,23 +4126,19 @@
|
|
|
4110
4126
|
<line num="56" count="1" type="stmt"/>
|
|
4111
4127
|
<line num="58" count="1" type="stmt"/>
|
|
4112
4128
|
<line num="61" count="24" type="stmt"/>
|
|
4113
|
-
<line num="62" count="
|
|
4114
|
-
<line num="64" count="
|
|
4129
|
+
<line num="62" count="158" type="stmt"/>
|
|
4130
|
+
<line num="64" count="158" type="cond" truecount="2" falsecount="0"/>
|
|
4115
4131
|
<line num="65" count="5" type="stmt"/>
|
|
4116
|
-
<line num="67" count="
|
|
4117
|
-
<line num="68" count="
|
|
4118
|
-
<line num="69" count="
|
|
4119
|
-
<line num="71" count="
|
|
4120
|
-
<line num="72" count="
|
|
4132
|
+
<line num="67" count="153" type="stmt"/>
|
|
4133
|
+
<line num="68" count="153" type="stmt"/>
|
|
4134
|
+
<line num="69" count="153" type="cond" truecount="2" falsecount="0"/>
|
|
4135
|
+
<line num="71" count="153" type="cond" truecount="4" falsecount="0"/>
|
|
4136
|
+
<line num="72" count="152" type="stmt"/>
|
|
4121
4137
|
<line num="75" count="1" type="stmt"/>
|
|
4122
4138
|
<line num="77" count="1" type="stmt"/>
|
|
4123
4139
|
</file>
|
|
4124
4140
|
<file name="currentapp.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/currentapp.js">
|
|
4125
4141
|
<metrics statements="53" coveredstatements="44" conditionals="41" coveredconditionals="32" methods="1" coveredmethods="1"/>
|
|
4126
|
-
<line num="2" count="28" type="stmt"/>
|
|
4127
|
-
<line num="3" count="28" type="stmt"/>
|
|
4128
|
-
<line num="4" count="28" type="stmt"/>
|
|
4129
|
-
<line num="5" count="28" type="stmt"/>
|
|
4130
4142
|
<line num="6" count="28" type="stmt"/>
|
|
4131
4143
|
<line num="7" count="28" type="stmt"/>
|
|
4132
4144
|
<line num="8" count="28" type="stmt"/>
|
|
@@ -4134,64 +4146,68 @@
|
|
|
4134
4146
|
<line num="10" count="28" type="stmt"/>
|
|
4135
4147
|
<line num="11" count="28" type="stmt"/>
|
|
4136
4148
|
<line num="12" count="28" type="stmt"/>
|
|
4149
|
+
<line num="13" count="28" type="stmt"/>
|
|
4137
4150
|
<line num="14" count="28" type="stmt"/>
|
|
4138
|
-
<line num="
|
|
4139
|
-
<line num="
|
|
4140
|
-
<line num="
|
|
4141
|
-
<line num="20" count="
|
|
4142
|
-
<line num="22" count="
|
|
4143
|
-
<line num="
|
|
4144
|
-
<line num="
|
|
4145
|
-
<line num="
|
|
4146
|
-
<line num="
|
|
4147
|
-
<line num="
|
|
4148
|
-
<line num="
|
|
4149
|
-
<line num="
|
|
4150
|
-
<line num="
|
|
4151
|
-
<line num="
|
|
4152
|
-
<line num="
|
|
4153
|
-
<line num="
|
|
4154
|
-
<line num="
|
|
4155
|
-
<line num="
|
|
4156
|
-
<line num="
|
|
4157
|
-
<line num="
|
|
4158
|
-
<line num="54" count="
|
|
4159
|
-
<line num="
|
|
4160
|
-
<line num="57" count="
|
|
4161
|
-
<line num="
|
|
4162
|
-
<line num="
|
|
4163
|
-
<line num="
|
|
4164
|
-
<line num="
|
|
4165
|
-
<line num="
|
|
4166
|
-
<line num="
|
|
4167
|
-
<line num="
|
|
4168
|
-
<line num="
|
|
4169
|
-
<line num="80" count="0" type="stmt"/>
|
|
4151
|
+
<line num="15" count="28" type="stmt"/>
|
|
4152
|
+
<line num="16" count="28" type="stmt"/>
|
|
4153
|
+
<line num="18" count="28" type="stmt"/>
|
|
4154
|
+
<line num="20" count="170" type="stmt"/>
|
|
4155
|
+
<line num="22" count="170" type="stmt"/>
|
|
4156
|
+
<line num="23" count="170" type="stmt"/>
|
|
4157
|
+
<line num="24" count="170" type="stmt"/>
|
|
4158
|
+
<line num="26" count="0" type="stmt"/>
|
|
4159
|
+
<line num="28" count="170" type="cond" truecount="4" falsecount="0"/>
|
|
4160
|
+
<line num="29" count="1" type="stmt"/>
|
|
4161
|
+
<line num="32" count="169" type="cond" truecount="2" falsecount="0"/>
|
|
4162
|
+
<line num="33" count="163" type="stmt"/>
|
|
4163
|
+
<line num="34" count="163" type="stmt"/>
|
|
4164
|
+
<line num="35" count="163" type="cond" truecount="1" falsecount="1"/>
|
|
4165
|
+
<line num="36" count="0" type="stmt"/>
|
|
4166
|
+
<line num="37" count="0" type="stmt"/>
|
|
4167
|
+
<line num="40" count="163" type="cond" truecount="1" falsecount="1"/>
|
|
4168
|
+
<line num="44" count="169" type="cond" truecount="2" falsecount="0"/>
|
|
4169
|
+
<line num="49" count="2" type="stmt"/>
|
|
4170
|
+
<line num="50" count="2" type="stmt"/>
|
|
4171
|
+
<line num="54" count="167" type="stmt"/>
|
|
4172
|
+
<line num="55" count="167" type="cond" truecount="2" falsecount="0"/>
|
|
4173
|
+
<line num="57" count="33" type="stmt"/>
|
|
4174
|
+
<line num="58" count="134" type="cond" truecount="1" falsecount="1"/>
|
|
4175
|
+
<line num="60" count="134" type="stmt"/>
|
|
4176
|
+
<line num="61" count="134" type="stmt"/>
|
|
4177
|
+
<line num="63" count="134" type="cond" truecount="2" falsecount="0"/>
|
|
4178
|
+
<line num="67" count="167" type="cond" truecount="1" falsecount="1"/>
|
|
4179
|
+
<line num="68" count="0" type="stmt"/>
|
|
4180
|
+
<line num="71" count="167" type="stmt"/>
|
|
4181
|
+
<line num="74" count="167" type="cond" truecount="1" falsecount="1"/>
|
|
4170
4182
|
<line num="81" count="0" type="stmt"/>
|
|
4171
|
-
<line num="
|
|
4172
|
-
<line num="
|
|
4173
|
-
<line num="
|
|
4174
|
-
<line num="
|
|
4175
|
-
<line num="88" count="
|
|
4176
|
-
<line num="
|
|
4177
|
-
<line num="
|
|
4178
|
-
<line num="
|
|
4183
|
+
<line num="82" count="0" type="stmt"/>
|
|
4184
|
+
<line num="83" count="0" type="stmt"/>
|
|
4185
|
+
<line num="84" count="0" type="stmt"/>
|
|
4186
|
+
<line num="85" count="0" type="stmt"/>
|
|
4187
|
+
<line num="88" count="167" type="stmt"/>
|
|
4188
|
+
<line num="89" count="167" type="cond" truecount="1" falsecount="1"/>
|
|
4189
|
+
<line num="90" count="167" type="stmt"/>
|
|
4190
|
+
<line num="91" count="167" type="cond" truecount="2" falsecount="0"/>
|
|
4191
|
+
<line num="92" count="167" type="stmt"/>
|
|
4192
|
+
<line num="101" count="167" type="cond" truecount="2" falsecount="0"/>
|
|
4193
|
+
<line num="107" count="7" type="stmt"/>
|
|
4194
|
+
<line num="110" count="167" type="stmt"/>
|
|
4179
4195
|
</file>
|
|
4180
4196
|
<file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
|
|
4181
4197
|
<metrics statements="17" coveredstatements="14" conditionals="8" coveredconditionals="5" methods="4" coveredmethods="4"/>
|
|
4182
4198
|
<line num="3" count="276" type="stmt"/>
|
|
4183
|
-
<line num="4" count="
|
|
4199
|
+
<line num="4" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
4184
4200
|
<line num="5" count="0" type="stmt"/>
|
|
4185
|
-
<line num="7" count="
|
|
4186
|
-
<line num="8" count="
|
|
4201
|
+
<line num="7" count="24" type="stmt"/>
|
|
4202
|
+
<line num="8" count="24" type="cond" truecount="2" falsecount="0"/>
|
|
4187
4203
|
<line num="9" count="1" type="stmt"/>
|
|
4188
|
-
<line num="10" count="
|
|
4189
|
-
<line num="11" count="
|
|
4190
|
-
<line num="13" count="
|
|
4191
|
-
<line num="14" count="
|
|
4204
|
+
<line num="10" count="23" type="cond" truecount="1" falsecount="1"/>
|
|
4205
|
+
<line num="11" count="23" type="stmt"/>
|
|
4206
|
+
<line num="13" count="24" type="stmt"/>
|
|
4207
|
+
<line num="14" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
4192
4208
|
<line num="15" count="0" type="stmt"/>
|
|
4193
4209
|
<line num="16" count="0" type="stmt"/>
|
|
4194
|
-
<line num="18" count="
|
|
4210
|
+
<line num="18" count="24" type="stmt"/>
|
|
4195
4211
|
<line num="22" count="35" type="stmt"/>
|
|
4196
4212
|
<line num="23" count="230" type="stmt"/>
|
|
4197
4213
|
<line num="26" count="35" type="stmt"/>
|
|
@@ -4211,14 +4227,14 @@
|
|
|
4211
4227
|
<line num="21" count="627" type="stmt"/>
|
|
4212
4228
|
<line num="22" count="627" type="stmt"/>
|
|
4213
4229
|
<line num="23" count="627" type="stmt"/>
|
|
4214
|
-
<line num="24" count="
|
|
4215
|
-
<line num="25" count="
|
|
4230
|
+
<line num="24" count="65" type="cond" truecount="2" falsecount="0"/>
|
|
4231
|
+
<line num="25" count="65" type="cond" truecount="2" falsecount="0"/>
|
|
4216
4232
|
<line num="26" count="1" type="stmt"/>
|
|
4217
|
-
<line num="28" count="
|
|
4218
|
-
<line num="29" count="
|
|
4219
|
-
<line num="31" count="
|
|
4233
|
+
<line num="28" count="64" type="cond" truecount="4" falsecount="0"/>
|
|
4234
|
+
<line num="29" count="60" type="stmt"/>
|
|
4235
|
+
<line num="31" count="64" type="cond" truecount="4" falsecount="0"/>
|
|
4220
4236
|
<line num="32" count="11" type="stmt"/>
|
|
4221
|
-
<line num="34" count="
|
|
4237
|
+
<line num="34" count="64" type="stmt"/>
|
|
4222
4238
|
<line num="39" count="24" type="stmt"/>
|
|
4223
4239
|
<line num="41" count="24" type="stmt"/>
|
|
4224
4240
|
<line num="42" count="485" type="stmt"/>
|
|
@@ -4281,11 +4297,11 @@
|
|
|
4281
4297
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
4282
4298
|
<line num="1" count="29" type="stmt"/>
|
|
4283
4299
|
<line num="5" count="29" type="stmt"/>
|
|
4284
|
-
<line num="6" count="
|
|
4300
|
+
<line num="6" count="289" type="stmt"/>
|
|
4285
4301
|
</file>
|
|
4286
4302
|
</package>
|
|
4287
4303
|
<package name="threads">
|
|
4288
|
-
<metrics statements="
|
|
4304
|
+
<metrics statements="254" coveredstatements="216" conditionals="113" coveredconditionals="72" methods="37" coveredmethods="34"/>
|
|
4289
4305
|
<file name="automation.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/automation.js">
|
|
4290
4306
|
<metrics statements="76" coveredstatements="64" conditionals="23" coveredconditionals="13" methods="10" coveredmethods="9"/>
|
|
4291
4307
|
<line num="1" count="4" type="stmt"/>
|
|
@@ -4370,14 +4386,14 @@
|
|
|
4370
4386
|
<line num="1" count="34" type="stmt"/>
|
|
4371
4387
|
<line num="2" count="34" type="stmt"/>
|
|
4372
4388
|
<line num="4" count="34" type="stmt"/>
|
|
4373
|
-
<line num="10" count="
|
|
4374
|
-
<line num="11" count="
|
|
4375
|
-
<line num="13" count="
|
|
4376
|
-
<line num="14" count="
|
|
4389
|
+
<line num="10" count="20" type="stmt"/>
|
|
4390
|
+
<line num="11" count="20" type="cond" truecount="2" falsecount="1"/>
|
|
4391
|
+
<line num="13" count="10" type="stmt"/>
|
|
4392
|
+
<line num="14" count="10" type="stmt"/>
|
|
4377
4393
|
<line num="16" count="10" type="stmt"/>
|
|
4378
4394
|
<line num="17" count="10" type="stmt"/>
|
|
4379
4395
|
<line num="19" count="0" type="stmt"/>
|
|
4380
|
-
<line num="21" count="
|
|
4396
|
+
<line num="21" count="20" type="stmt"/>
|
|
4381
4397
|
<line num="26" count="67" type="stmt"/>
|
|
4382
4398
|
<line num="27" count="67" type="cond" truecount="2" falsecount="0"/>
|
|
4383
4399
|
<line num="28" count="67" type="stmt"/>
|
|
@@ -4386,172 +4402,175 @@
|
|
|
4386
4402
|
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4387
4403
|
<line num="39" count="0" type="stmt"/>
|
|
4388
4404
|
<line num="41" count="0" type="stmt"/>
|
|
4389
|
-
<line num="46" count="
|
|
4390
|
-
<line num="49" count="
|
|
4391
|
-
<line num="50" count="
|
|
4405
|
+
<line num="46" count="20" type="stmt"/>
|
|
4406
|
+
<line num="49" count="20" type="cond" truecount="1" falsecount="1"/>
|
|
4407
|
+
<line num="50" count="20" type="stmt"/>
|
|
4392
4408
|
<line num="52" count="0" type="stmt"/>
|
|
4393
|
-
<line num="54" count="
|
|
4394
|
-
<line num="55" count="
|
|
4409
|
+
<line num="54" count="20" type="stmt"/>
|
|
4410
|
+
<line num="55" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
4395
4411
|
<line num="56" count="2" type="stmt"/>
|
|
4396
|
-
<line num="58" count="
|
|
4412
|
+
<line num="58" count="14" type="stmt"/>
|
|
4397
4413
|
<line num="65" count="34" type="stmt"/>
|
|
4398
4414
|
<line num="66" count="34" type="stmt"/>
|
|
4399
4415
|
</file>
|
|
4400
4416
|
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/query.js">
|
|
4401
|
-
<metrics statements="
|
|
4402
|
-
<line num="1" count="
|
|
4403
|
-
<line num="2" count="
|
|
4404
|
-
<line num="3" count="
|
|
4405
|
-
<line num="4" count="
|
|
4406
|
-
<line num="5" count="
|
|
4407
|
-
<line num="6" count="
|
|
4408
|
-
<line num="
|
|
4409
|
-
<line num="
|
|
4410
|
-
<line num="
|
|
4411
|
-
<line num="
|
|
4412
|
-
<line num="
|
|
4413
|
-
<line num="
|
|
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="31" count="
|
|
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="
|
|
4435
|
-
<line num="
|
|
4436
|
-
<line num="
|
|
4437
|
-
<line num="
|
|
4438
|
-
<line num="
|
|
4439
|
-
<line num="
|
|
4440
|
-
<line num="
|
|
4441
|
-
<line num="
|
|
4442
|
-
<line num="
|
|
4443
|
-
<line num="
|
|
4444
|
-
<line num="
|
|
4445
|
-
<line num="
|
|
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="
|
|
4458
|
-
<line num="
|
|
4459
|
-
<line num="
|
|
4460
|
-
<line num="
|
|
4461
|
-
<line num="
|
|
4462
|
-
<line num="121" count="
|
|
4463
|
-
<line num="
|
|
4464
|
-
<line num="
|
|
4465
|
-
<line num="
|
|
4466
|
-
<line num="
|
|
4467
|
-
<line num="
|
|
4468
|
-
<line num="131" count="
|
|
4469
|
-
<line num="
|
|
4470
|
-
<line num="
|
|
4471
|
-
<line num="
|
|
4472
|
-
<line num="
|
|
4473
|
-
<line num="
|
|
4474
|
-
<line num="
|
|
4475
|
-
<line num="
|
|
4476
|
-
<line num="
|
|
4477
|
-
<line num="
|
|
4478
|
-
<line num="148" count="
|
|
4479
|
-
<line num="
|
|
4480
|
-
<line num="
|
|
4481
|
-
<line num="
|
|
4482
|
-
<line num="
|
|
4483
|
-
<line num="157" count="
|
|
4484
|
-
<line num="
|
|
4485
|
-
<line num="
|
|
4486
|
-
<line num="
|
|
4487
|
-
<line num="
|
|
4488
|
-
<line num="
|
|
4489
|
-
<line num="
|
|
4417
|
+
<metrics statements="112" coveredstatements="98" conditionals="58" coveredconditionals="40" methods="13" coveredmethods="12"/>
|
|
4418
|
+
<line num="1" count="2" type="stmt"/>
|
|
4419
|
+
<line num="2" count="2" type="stmt"/>
|
|
4420
|
+
<line num="3" count="2" type="stmt"/>
|
|
4421
|
+
<line num="4" count="2" type="stmt"/>
|
|
4422
|
+
<line num="5" count="2" type="stmt"/>
|
|
4423
|
+
<line num="6" count="2" type="stmt"/>
|
|
4424
|
+
<line num="8" count="2" type="stmt"/>
|
|
4425
|
+
<line num="9" count="2" type="stmt"/>
|
|
4426
|
+
<line num="13" count="15" type="stmt"/>
|
|
4427
|
+
<line num="14" count="15" type="stmt"/>
|
|
4428
|
+
<line num="15" count="15" type="stmt"/>
|
|
4429
|
+
<line num="16" count="15" type="stmt"/>
|
|
4430
|
+
<line num="17" count="15" type="stmt"/>
|
|
4431
|
+
<line num="18" count="15" type="stmt"/>
|
|
4432
|
+
<line num="19" count="15" type="stmt"/>
|
|
4433
|
+
<line num="20" count="15" type="stmt"/>
|
|
4434
|
+
<line num="21" count="15" type="stmt"/>
|
|
4435
|
+
<line num="22" count="15" type="stmt"/>
|
|
4436
|
+
<line num="26" count="15" type="stmt"/>
|
|
4437
|
+
<line num="27" count="15" type="stmt"/>
|
|
4438
|
+
<line num="31" count="16" type="stmt"/>
|
|
4439
|
+
<line num="33" count="16" type="stmt"/>
|
|
4440
|
+
<line num="34" count="16" type="stmt"/>
|
|
4441
|
+
<line num="37" count="16" type="cond" truecount="1" falsecount="1"/>
|
|
4442
|
+
<line num="38" count="0" type="stmt"/>
|
|
4443
|
+
<line num="41" count="16" type="stmt"/>
|
|
4444
|
+
<line num="42" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
4445
|
+
<line num="43" count="2" type="stmt"/>
|
|
4446
|
+
<line num="45" count="14" type="stmt"/>
|
|
4447
|
+
<line num="47" count="14" type="stmt"/>
|
|
4448
|
+
<line num="48" count="14" type="stmt"/>
|
|
4449
|
+
<line num="49" count="14" type="stmt"/>
|
|
4450
|
+
<line num="50" count="14" type="stmt"/>
|
|
4451
|
+
<line num="51" count="14" type="stmt"/>
|
|
4452
|
+
<line num="52" count="14" type="cond" truecount="2" falsecount="0"/>
|
|
4453
|
+
<line num="53" count="12" type="stmt"/>
|
|
4454
|
+
<line num="54" count="12" type="stmt"/>
|
|
4455
|
+
<line num="55" count="12" type="stmt"/>
|
|
4456
|
+
<line num="56" count="12" type="stmt"/>
|
|
4457
|
+
<line num="60" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
4458
|
+
<line num="61" count="0" type="stmt"/>
|
|
4459
|
+
<line num="65" count="0" type="stmt"/>
|
|
4460
|
+
<line num="69" count="14" type="cond" truecount="2" falsecount="0"/>
|
|
4461
|
+
<line num="75" count="1" type="stmt"/>
|
|
4462
|
+
<line num="77" count="1" type="stmt"/>
|
|
4463
|
+
<line num="78" count="1" type="stmt"/>
|
|
4464
|
+
<line num="82" count="13" type="cond" truecount="2" falsecount="0"/>
|
|
4465
|
+
<line num="83" count="11" type="stmt"/>
|
|
4466
|
+
<line num="87" count="13" type="cond" truecount="1" falsecount="1"/>
|
|
4467
|
+
<line num="88" count="0" type="stmt"/>
|
|
4468
|
+
<line num="92" count="13" type="stmt"/>
|
|
4469
|
+
<line num="94" count="13" type="cond" truecount="1" falsecount="1"/>
|
|
4470
|
+
<line num="95" count="0" type="stmt"/>
|
|
4471
|
+
<line num="98" count="13" type="stmt"/>
|
|
4472
|
+
<line num="102" count="5" type="stmt"/>
|
|
4473
|
+
<line num="103" count="5" type="stmt"/>
|
|
4474
|
+
<line num="104" count="5" type="stmt"/>
|
|
4475
|
+
<line num="105" count="5" type="stmt"/>
|
|
4476
|
+
<line num="119" count="6" type="stmt"/>
|
|
4477
|
+
<line num="120" count="6" type="stmt"/>
|
|
4478
|
+
<line num="121" count="6" type="stmt"/>
|
|
4479
|
+
<line num="122" count="6" type="stmt"/>
|
|
4480
|
+
<line num="123" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
4481
|
+
<line num="124" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4482
|
+
<line num="128" count="5" type="stmt"/>
|
|
4483
|
+
<line num="129" count="5" type="stmt"/>
|
|
4484
|
+
<line num="131" count="1" type="stmt"/>
|
|
4485
|
+
<line num="133" count="6" type="stmt"/>
|
|
4486
|
+
<line num="137" count="16" type="stmt"/>
|
|
4487
|
+
<line num="138" count="16" type="cond" truecount="3" falsecount="1"/>
|
|
4488
|
+
<line num="139" count="0" type="stmt"/>
|
|
4489
|
+
<line num="141" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
4490
|
+
<line num="142" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
4491
|
+
<line num="143" count="16" type="stmt"/>
|
|
4492
|
+
<line num="144" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4493
|
+
<line num="145" count="2" type="stmt"/>
|
|
4494
|
+
<line num="148" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
4495
|
+
<line num="150" count="11" type="stmt"/>
|
|
4496
|
+
<line num="151" count="11" type="stmt"/>
|
|
4497
|
+
<line num="153" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
4498
|
+
<line num="154" count="0" type="stmt"/>
|
|
4499
|
+
<line num="157" count="6" type="stmt"/>
|
|
4500
|
+
<line num="158" count="6" type="stmt"/>
|
|
4501
|
+
<line num="160" count="11" type="stmt"/>
|
|
4502
|
+
<line num="161" count="11" type="stmt"/>
|
|
4503
|
+
<line num="162" count="11" type="stmt"/>
|
|
4504
|
+
<line num="163" count="6" type="stmt"/>
|
|
4505
|
+
<line num="164" count="6" type="stmt"/>
|
|
4506
|
+
<line num="169" count="6" type="stmt"/>
|
|
4507
|
+
<line num="172" count="16" type="stmt"/>
|
|
4508
|
+
<line num="176" count="16" type="stmt"/>
|
|
4509
|
+
<line num="179" count="16" type="stmt"/>
|
|
4510
|
+
<line num="180" count="19" type="cond" truecount="1" falsecount="1"/>
|
|
4511
|
+
<line num="181" count="0" type="stmt"/>
|
|
4512
|
+
<line num="183" count="19" type="cond" truecount="1" falsecount="1"/>
|
|
4513
|
+
<line num="185" count="0" type="stmt"/>
|
|
4514
|
+
<line num="186" count="19" type="cond" truecount="1" falsecount="1"/>
|
|
4515
|
+
<line num="188" count="19" type="stmt"/>
|
|
4516
|
+
<line num="190" count="19" type="cond" truecount="2" falsecount="2"/>
|
|
4517
|
+
<line num="191" count="0" type="stmt"/>
|
|
4518
|
+
<line num="193" count="19" type="stmt"/>
|
|
4519
|
+
<line num="197" count="0" type="stmt"/>
|
|
4520
|
+
<line num="200" count="16" type="cond" truecount="1" falsecount="1"/>
|
|
4521
|
+
<line num="205" count="0" type="stmt"/>
|
|
4522
|
+
<line num="206" count="0" type="stmt"/>
|
|
4523
|
+
<line num="214" count="0" type="stmt"/>
|
|
4524
|
+
<line num="216" count="16" type="stmt"/>
|
|
4525
|
+
<line num="220" count="2" type="stmt"/>
|
|
4526
|
+
<line num="221" count="10" type="stmt"/>
|
|
4527
|
+
<line num="222" count="10" type="stmt"/>
|
|
4528
|
+
<line num="224" count="8" type="stmt"/>
|
|
4529
|
+
<line num="227" count="2" type="stmt"/>
|
|
4490
4530
|
</file>
|
|
4491
4531
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/utils.js">
|
|
4492
|
-
<metrics statements="
|
|
4532
|
+
<metrics statements="37" coveredstatements="31" conditionals="14" coveredconditionals="9" methods="9" coveredmethods="8"/>
|
|
4493
4533
|
<line num="1" count="34" type="stmt"/>
|
|
4494
4534
|
<line num="2" count="34" type="stmt"/>
|
|
4495
4535
|
<line num="3" count="34" type="stmt"/>
|
|
4496
4536
|
<line num="4" count="34" type="stmt"/>
|
|
4497
4537
|
<line num="5" count="34" type="stmt"/>
|
|
4498
|
-
<line num="
|
|
4499
|
-
<line num="
|
|
4500
|
-
<line num="
|
|
4501
|
-
<line num="
|
|
4502
|
-
<line num="
|
|
4503
|
-
<line num="
|
|
4504
|
-
<line num="18" count="9" type="stmt"/>
|
|
4538
|
+
<line num="7" count="34" type="stmt"/>
|
|
4539
|
+
<line num="11" count="19" type="cond" truecount="2" falsecount="0"/>
|
|
4540
|
+
<line num="12" count="2" type="stmt"/>
|
|
4541
|
+
<line num="14" count="19" type="stmt"/>
|
|
4542
|
+
<line num="17" count="34" type="stmt"/>
|
|
4543
|
+
<line num="18" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4505
4544
|
<line num="21" count="34" type="stmt"/>
|
|
4506
|
-
<line num="
|
|
4507
|
-
<line num="
|
|
4508
|
-
<line num="27" count="
|
|
4509
|
-
<line num="28" count="
|
|
4510
|
-
<line num="
|
|
4511
|
-
<line num="
|
|
4512
|
-
<line num="36" count="
|
|
4513
|
-
<line num="
|
|
4514
|
-
<line num="40" count="
|
|
4515
|
-
<line num="41" count="
|
|
4516
|
-
<line num="
|
|
4517
|
-
<line num="
|
|
4518
|
-
<line num="
|
|
4519
|
-
<line num="
|
|
4520
|
-
<line num="
|
|
4521
|
-
<line num="52" count="
|
|
4522
|
-
<line num="
|
|
4523
|
-
<line num="
|
|
4524
|
-
<line num="
|
|
4525
|
-
<line num="
|
|
4526
|
-
<line num="
|
|
4527
|
-
<line num="
|
|
4528
|
-
<line num="
|
|
4529
|
-
<line num="
|
|
4530
|
-
<line num="72" count="
|
|
4531
|
-
<line num="75" count="34" type="stmt"/>
|
|
4532
|
-
<line num="76" count="10" type="stmt"/>
|
|
4533
|
-
<line num="84" count="34" type="cond" truecount="0" falsecount="1"/>
|
|
4534
|
-
<line num="85" count="12" type="stmt"/>
|
|
4535
|
-
<line num="88" count="12" type="stmt"/>
|
|
4536
|
-
<line num="89" count="13" type="cond" truecount="1" falsecount="1"/>
|
|
4537
|
-
<line num="90" count="0" type="stmt"/>
|
|
4538
|
-
<line num="92" count="13" type="cond" truecount="1" falsecount="1"/>
|
|
4539
|
-
<line num="94" count="0" type="stmt"/>
|
|
4540
|
-
<line num="95" count="13" type="cond" truecount="1" falsecount="1"/>
|
|
4541
|
-
<line num="97" count="13" type="stmt"/>
|
|
4542
|
-
<line num="99" count="13" type="cond" truecount="2" falsecount="2"/>
|
|
4543
|
-
<line num="100" count="0" type="stmt"/>
|
|
4544
|
-
<line num="102" count="13" type="stmt"/>
|
|
4545
|
-
<line num="106" count="0" type="stmt"/>
|
|
4546
|
-
<line num="110" count="12" type="cond" truecount="1" falsecount="1"/>
|
|
4547
|
-
<line num="115" count="0" type="stmt"/>
|
|
4548
|
-
<line num="116" count="0" type="stmt"/>
|
|
4549
|
-
<line num="124" count="0" type="stmt"/>
|
|
4550
|
-
<line num="127" count="12" type="stmt"/>
|
|
4545
|
+
<line num="23" count="6" type="cond" truecount="2" falsecount="2"/>
|
|
4546
|
+
<line num="24" count="6" type="stmt"/>
|
|
4547
|
+
<line num="27" count="0" type="stmt"/>
|
|
4548
|
+
<line num="28" count="0" type="stmt"/>
|
|
4549
|
+
<line num="32" count="19" type="stmt"/>
|
|
4550
|
+
<line num="35" count="34" type="stmt"/>
|
|
4551
|
+
<line num="36" count="11" type="stmt"/>
|
|
4552
|
+
<line num="37" count="11" type="stmt"/>
|
|
4553
|
+
<line num="40" count="34" type="stmt"/>
|
|
4554
|
+
<line num="41" count="3" type="stmt"/>
|
|
4555
|
+
<line num="42" count="3" type="stmt"/>
|
|
4556
|
+
<line num="43" count="3" type="stmt"/>
|
|
4557
|
+
<line num="44" count="3" type="stmt"/>
|
|
4558
|
+
<line num="48" count="3" type="stmt"/>
|
|
4559
|
+
<line num="51" count="34" type="stmt"/>
|
|
4560
|
+
<line num="52" count="5" type="stmt"/>
|
|
4561
|
+
<line num="53" count="5" type="stmt"/>
|
|
4562
|
+
<line num="60" count="34" type="stmt"/>
|
|
4563
|
+
<line num="61" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
4564
|
+
<line num="62" count="0" type="stmt"/>
|
|
4565
|
+
<line num="63" count="0" type="stmt"/>
|
|
4566
|
+
<line num="65" count="0" type="stmt"/>
|
|
4567
|
+
<line num="68" count="14" type="stmt"/>
|
|
4568
|
+
<line num="71" count="34" type="stmt"/>
|
|
4569
|
+
<line num="72" count="14" type="stmt"/>
|
|
4551
4570
|
</file>
|
|
4552
4571
|
</package>
|
|
4553
4572
|
<package name="utilities">
|
|
4554
|
-
<metrics statements="331" coveredstatements="240" conditionals="
|
|
4573
|
+
<metrics statements="331" coveredstatements="240" conditionals="133" coveredconditionals="74" methods="63" coveredmethods="43"/>
|
|
4555
4574
|
<file name="bcrypt.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/bcrypt.js">
|
|
4556
4575
|
<metrics statements="9" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
4557
4576
|
<line num="3" count="0" type="stmt"/>
|
|
@@ -4664,60 +4683,60 @@
|
|
|
4664
4683
|
<line num="6" count="39" type="stmt"/>
|
|
4665
4684
|
<line num="7" count="39" type="stmt"/>
|
|
4666
4685
|
<line num="8" count="39" type="stmt"/>
|
|
4667
|
-
<line num="9" count="39" type="stmt"/>
|
|
4668
|
-
<line num="10" count="39" type="stmt"/>
|
|
4669
4686
|
<line num="12" count="39" type="stmt"/>
|
|
4670
|
-
<line num="13" count="
|
|
4671
|
-
<line num="
|
|
4672
|
-
<line num="
|
|
4673
|
-
<line num="
|
|
4674
|
-
<line num="
|
|
4675
|
-
<line num="20" count="0" type="stmt"/>
|
|
4687
|
+
<line num="13" count="39" type="stmt"/>
|
|
4688
|
+
<line num="15" count="39" type="stmt"/>
|
|
4689
|
+
<line num="16" count="143" type="cond" truecount="4" falsecount="0"/>
|
|
4690
|
+
<line num="17" count="3" type="stmt"/>
|
|
4691
|
+
<line num="20" count="140" type="cond" truecount="2" falsecount="2"/>
|
|
4676
4692
|
<line num="21" count="0" type="stmt"/>
|
|
4677
|
-
<line num="
|
|
4678
|
-
<line num="
|
|
4679
|
-
<line num="
|
|
4680
|
-
<line num="
|
|
4681
|
-
<line num="29" count="
|
|
4682
|
-
<line num="
|
|
4683
|
-
<line num="
|
|
4684
|
-
<line num="
|
|
4685
|
-
<line num="
|
|
4686
|
-
<line num="
|
|
4687
|
-
<line num="
|
|
4688
|
-
<line num="
|
|
4689
|
-
<line num="
|
|
4690
|
-
<line num="
|
|
4691
|
-
<line num="
|
|
4692
|
-
<line num="
|
|
4693
|
-
<line num="
|
|
4694
|
-
<line num="
|
|
4695
|
-
<line num="
|
|
4696
|
-
<line num="
|
|
4697
|
-
<line num="
|
|
4698
|
-
<line num="
|
|
4699
|
-
<line num="
|
|
4700
|
-
<line num="
|
|
4701
|
-
<line num="65" count="
|
|
4702
|
-
<line num="
|
|
4703
|
-
<line num="
|
|
4704
|
-
<line num="
|
|
4693
|
+
<line num="22" count="0" type="stmt"/>
|
|
4694
|
+
<line num="23" count="0" type="stmt"/>
|
|
4695
|
+
<line num="24" count="0" type="stmt"/>
|
|
4696
|
+
<line num="27" count="140" type="stmt"/>
|
|
4697
|
+
<line num="29" count="140" type="cond" truecount="5" falsecount="0"/>
|
|
4698
|
+
<line num="30" count="135" type="stmt"/>
|
|
4699
|
+
<line num="31" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4700
|
+
<line num="32" count="0" type="stmt"/>
|
|
4701
|
+
<line num="34" count="140" type="stmt"/>
|
|
4702
|
+
<line num="35" count="140" type="stmt"/>
|
|
4703
|
+
<line num="39" count="136" type="cond" truecount="1" falsecount="1"/>
|
|
4704
|
+
<line num="40" count="136" type="stmt"/>
|
|
4705
|
+
<line num="42" count="136" type="stmt"/>
|
|
4706
|
+
<line num="45" count="39" type="stmt"/>
|
|
4707
|
+
<line num="48" count="134" type="stmt"/>
|
|
4708
|
+
<line num="49" count="134" type="stmt"/>
|
|
4709
|
+
<line num="52" count="39" type="stmt"/>
|
|
4710
|
+
<line num="53" count="2" type="stmt"/>
|
|
4711
|
+
<line num="54" count="2" type="stmt"/>
|
|
4712
|
+
<line num="57" count="39" type="stmt"/>
|
|
4713
|
+
<line num="58" count="2" type="stmt"/>
|
|
4714
|
+
<line num="59" count="2" type="stmt"/>
|
|
4715
|
+
<line num="62" count="39" type="cond" truecount="1" falsecount="1"/>
|
|
4716
|
+
<line num="63" count="32" type="stmt"/>
|
|
4717
|
+
<line num="65" count="32" type="cond" truecount="2" falsecount="0"/>
|
|
4718
|
+
<line num="66" count="30" type="stmt"/>
|
|
4719
|
+
<line num="67" count="30" type="stmt"/>
|
|
4720
|
+
<line num="68" count="0" type="stmt"/>
|
|
4721
|
+
<line num="71" count="2" type="stmt"/>
|
|
4705
4722
|
<line num="77" count="7" type="stmt"/>
|
|
4706
|
-
<line num="79" count="
|
|
4723
|
+
<line num="79" count="32" type="stmt"/>
|
|
4707
4724
|
<line num="80" count="7" type="stmt"/>
|
|
4708
|
-
<line num="
|
|
4709
|
-
<line num="83" count="
|
|
4710
|
-
<line num="84" count="
|
|
4711
|
-
<line num="86" count="32" type="
|
|
4712
|
-
<line num="
|
|
4713
|
-
<line num="
|
|
4714
|
-
<line num="
|
|
4715
|
-
<line num="
|
|
4716
|
-
<line num="
|
|
4725
|
+
<line num="82" count="7" type="stmt"/>
|
|
4726
|
+
<line num="83" count="7" type="stmt"/>
|
|
4727
|
+
<line num="84" count="7" type="stmt"/>
|
|
4728
|
+
<line num="86" count="32" type="cond" truecount="1" falsecount="1"/>
|
|
4729
|
+
<line num="87" count="0" type="stmt"/>
|
|
4730
|
+
<line num="89" count="32" type="stmt"/>
|
|
4731
|
+
<line num="92" count="39" type="stmt"/>
|
|
4732
|
+
<line num="93" count="30" type="stmt"/>
|
|
4733
|
+
<line num="94" count="30" type="stmt"/>
|
|
4717
4734
|
<line num="95" count="0" type="stmt"/>
|
|
4735
|
+
<line num="96" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4736
|
+
<line num="98" count="0" type="stmt"/>
|
|
4718
4737
|
</file>
|
|
4719
4738
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/index.js">
|
|
4720
|
-
<metrics statements="76" coveredstatements="55" conditionals="
|
|
4739
|
+
<metrics statements="76" coveredstatements="55" conditionals="28" coveredconditionals="14" methods="16" coveredmethods="12"/>
|
|
4721
4740
|
<line num="1" count="37" type="stmt"/>
|
|
4722
4741
|
<line num="2" count="37" type="stmt"/>
|
|
4723
4742
|
<line num="3" count="37" type="stmt"/>
|
|
@@ -4733,18 +4752,18 @@
|
|
|
4733
4752
|
<line num="17" count="1" type="stmt"/>
|
|
4734
4753
|
<line num="19" count="1" type="stmt"/>
|
|
4735
4754
|
<line num="28" count="37" type="stmt"/>
|
|
4736
|
-
<line num="29" count="
|
|
4755
|
+
<line num="29" count="189" type="stmt"/>
|
|
4737
4756
|
<line num="36" count="37" type="stmt"/>
|
|
4738
|
-
<line num="37" count="2" type="cond" truecount="
|
|
4757
|
+
<line num="37" count="2" type="cond" truecount="2" falsecount="2"/>
|
|
4739
4758
|
<line num="39" count="2" type="stmt"/>
|
|
4740
4759
|
<line num="41" count="0" type="stmt"/>
|
|
4741
4760
|
<line num="55" count="37" type="stmt"/>
|
|
4742
|
-
<line num="56" count="
|
|
4761
|
+
<line num="56" count="194" type="cond" truecount="1" falsecount="1"/>
|
|
4743
4762
|
<line num="57" count="0" type="stmt"/>
|
|
4744
4763
|
<line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4745
4764
|
<line num="62" count="0" type="stmt"/>
|
|
4746
4765
|
<line num="64" count="0" type="stmt"/>
|
|
4747
|
-
<line num="66" count="
|
|
4766
|
+
<line num="66" count="194" type="stmt"/>
|
|
4748
4767
|
<line num="70" count="37" type="stmt"/>
|
|
4749
4768
|
<line num="71" count="2" type="stmt"/>
|
|
4750
4769
|
<line num="76" count="37" type="stmt"/>
|
|
@@ -4787,13 +4806,13 @@
|
|
|
4787
4806
|
<line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4788
4807
|
<line num="150" count="0" type="stmt"/>
|
|
4789
4808
|
<line num="154" count="37" type="stmt"/>
|
|
4790
|
-
<line num="155" count="
|
|
4791
|
-
<line num="156" count="
|
|
4792
|
-
<line num="157" count="
|
|
4793
|
-
<line num="158" count="
|
|
4794
|
-
<line num="159" count="
|
|
4809
|
+
<line num="155" count="29" type="stmt"/>
|
|
4810
|
+
<line num="156" count="29" type="stmt"/>
|
|
4811
|
+
<line num="157" count="29" type="stmt"/>
|
|
4812
|
+
<line num="158" count="29" type="cond" truecount="2" falsecount="0"/>
|
|
4813
|
+
<line num="159" count="29" type="cond" truecount="1" falsecount="1"/>
|
|
4795
4814
|
<line num="160" count="0" type="stmt"/>
|
|
4796
|
-
<line num="162" count="
|
|
4815
|
+
<line num="162" count="29" type="cond" truecount="3" falsecount="1"/>
|
|
4797
4816
|
</file>
|
|
4798
4817
|
<file name="scriptRunner.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/scriptRunner.js">
|
|
4799
4818
|
<metrics statements="13" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
@@ -4814,33 +4833,33 @@
|
|
|
4814
4833
|
<file name="security.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/security.js">
|
|
4815
4834
|
<metrics statements="28" coveredstatements="23" conditionals="15" coveredconditionals="8" methods="4" coveredmethods="4"/>
|
|
4816
4835
|
<line num="6" count="33" type="stmt"/>
|
|
4817
|
-
<line num="7" count="33" type="stmt"/>
|
|
4818
|
-
<line num="8" count="33" type="stmt"/>
|
|
4819
4836
|
<line num="10" count="33" type="stmt"/>
|
|
4820
|
-
<line num="
|
|
4821
|
-
<line num="
|
|
4822
|
-
<line num="
|
|
4823
|
-
<line num="19" count="4" type="
|
|
4824
|
-
<line num="
|
|
4825
|
-
<line num="
|
|
4826
|
-
<line num="
|
|
4837
|
+
<line num="11" count="33" type="stmt"/>
|
|
4838
|
+
<line num="13" count="33" type="stmt"/>
|
|
4839
|
+
<line num="18" count="33" type="stmt"/>
|
|
4840
|
+
<line num="19" count="4" type="stmt"/>
|
|
4841
|
+
<line num="20" count="84" type="stmt"/>
|
|
4842
|
+
<line num="22" count="4" type="cond" truecount="2" falsecount="5"/>
|
|
4843
|
+
<line num="25" count="4" type="stmt"/>
|
|
4844
|
+
<line num="27" count="0" type="stmt"/>
|
|
4827
4845
|
<line num="29" count="0" type="stmt"/>
|
|
4828
4846
|
<line num="32" count="0" type="stmt"/>
|
|
4829
|
-
<line num="
|
|
4830
|
-
<line num="
|
|
4831
|
-
<line num="
|
|
4832
|
-
<line num="
|
|
4833
|
-
<line num="
|
|
4834
|
-
<line num="
|
|
4835
|
-
<line num="
|
|
4836
|
-
<line num="
|
|
4837
|
-
<line num="
|
|
4838
|
-
<line num="
|
|
4839
|
-
<line num="55" count="8" type="stmt"/>
|
|
4840
|
-
<line num="56" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
4847
|
+
<line num="35" count="0" type="stmt"/>
|
|
4848
|
+
<line num="44" count="33" type="stmt"/>
|
|
4849
|
+
<line num="45" count="4" type="stmt"/>
|
|
4850
|
+
<line num="46" count="4" type="stmt"/>
|
|
4851
|
+
<line num="47" count="4" type="stmt"/>
|
|
4852
|
+
<line num="48" count="20" type="cond" truecount="1" falsecount="1"/>
|
|
4853
|
+
<line num="49" count="0" type="stmt"/>
|
|
4854
|
+
<line num="51" count="20" type="stmt"/>
|
|
4855
|
+
<line num="52" count="24" type="stmt"/>
|
|
4856
|
+
<line num="53" count="20" type="cond" truecount="2" falsecount="0"/>
|
|
4841
4857
|
<line num="57" count="8" type="stmt"/>
|
|
4842
|
-
<line num="
|
|
4843
|
-
<line num="
|
|
4858
|
+
<line num="58" count="8" type="stmt"/>
|
|
4859
|
+
<line num="59" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
4860
|
+
<line num="60" count="8" type="stmt"/>
|
|
4861
|
+
<line num="67" count="4" type="stmt"/>
|
|
4862
|
+
<line num="70" count="33" type="stmt"/>
|
|
4844
4863
|
</file>
|
|
4845
4864
|
<file name="statusCodes.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/statusCodes.js">
|
|
4846
4865
|
<metrics statements="1" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -4869,19 +4888,19 @@
|
|
|
4869
4888
|
<line num="5" count="34" type="stmt"/>
|
|
4870
4889
|
<line num="6" count="34" type="stmt"/>
|
|
4871
4890
|
<line num="7" count="34" type="stmt"/>
|
|
4872
|
-
<line num="10" count="
|
|
4873
|
-
<line num="11" count="
|
|
4874
|
-
<line num="13" count="
|
|
4875
|
-
<line num="14" count="
|
|
4876
|
-
<line num="15" count="
|
|
4891
|
+
<line num="10" count="186" type="cond" truecount="1" falsecount="1"/>
|
|
4892
|
+
<line num="11" count="186" type="stmt"/>
|
|
4893
|
+
<line num="13" count="186" type="cond" truecount="2" falsecount="0"/>
|
|
4894
|
+
<line num="14" count="175" type="stmt"/>
|
|
4895
|
+
<line num="15" count="175" type="cond" truecount="2" falsecount="0"/>
|
|
4877
4896
|
<line num="16" count="6" type="stmt"/>
|
|
4878
|
-
<line num="19" count="
|
|
4897
|
+
<line num="19" count="186" type="cond" truecount="2" falsecount="2"/>
|
|
4879
4898
|
<line num="20" count="0" type="stmt"/>
|
|
4880
4899
|
<line num="21" count="0" type="stmt"/>
|
|
4881
|
-
<line num="26" count="
|
|
4882
|
-
<line num="28" count="
|
|
4900
|
+
<line num="26" count="186" type="stmt"/>
|
|
4901
|
+
<line num="28" count="186" type="cond" truecount="3" falsecount="1"/>
|
|
4883
4902
|
<line num="29" count="0" type="stmt"/>
|
|
4884
|
-
<line num="31" count="
|
|
4903
|
+
<line num="31" count="186" type="stmt"/>
|
|
4885
4904
|
<line num="34" count="34" type="stmt"/>
|
|
4886
4905
|
<line num="37" count="34" type="stmt"/>
|
|
4887
4906
|
<line num="39" count="0" type="stmt"/>
|
|
@@ -4890,15 +4909,15 @@
|
|
|
4890
4909
|
<line num="56" count="0" type="stmt"/>
|
|
4891
4910
|
<line num="58" count="0" type="stmt"/>
|
|
4892
4911
|
<line num="61" count="34" type="stmt"/>
|
|
4893
|
-
<line num="62" count="
|
|
4894
|
-
<line num="63" count="
|
|
4895
|
-
<line num="69" count="
|
|
4896
|
-
<line num="70" count="
|
|
4897
|
-
<line num="71" count="
|
|
4898
|
-
<line num="72" count="
|
|
4899
|
-
<line num="73" count="
|
|
4900
|
-
<line num="74" count="
|
|
4901
|
-
<line num="77" count="
|
|
4912
|
+
<line num="62" count="175" type="stmt"/>
|
|
4913
|
+
<line num="63" count="175" type="stmt"/>
|
|
4914
|
+
<line num="69" count="175" type="stmt"/>
|
|
4915
|
+
<line num="70" count="175" type="stmt"/>
|
|
4916
|
+
<line num="71" count="175" type="stmt"/>
|
|
4917
|
+
<line num="72" count="175" type="cond" truecount="1" falsecount="1"/>
|
|
4918
|
+
<line num="73" count="175" type="stmt"/>
|
|
4919
|
+
<line num="74" count="175" type="stmt"/>
|
|
4920
|
+
<line num="77" count="175" type="stmt"/>
|
|
4902
4921
|
<line num="80" count="0" type="stmt"/>
|
|
4903
4922
|
<line num="84" count="34" type="cond" truecount="0" falsecount="1"/>
|
|
4904
4923
|
<line num="85" count="0" type="stmt"/>
|
|
@@ -4939,7 +4958,7 @@
|
|
|
4939
4958
|
<line num="73" count="8" type="stmt"/>
|
|
4940
4959
|
<line num="74" count="8" type="stmt"/>
|
|
4941
4960
|
<line num="83" count="0" type="stmt"/>
|
|
4942
|
-
<line num="90" count="
|
|
4961
|
+
<line num="90" count="192" type="stmt"/>
|
|
4943
4962
|
<line num="97" count="0" type="stmt"/>
|
|
4944
4963
|
<line num="101" count="33" type="stmt"/>
|
|
4945
4964
|
</file>
|
|
@@ -4970,119 +4989,119 @@
|
|
|
4970
4989
|
<line num="5" count="34" type="stmt"/>
|
|
4971
4990
|
<line num="6" count="34" type="stmt"/>
|
|
4972
4991
|
<line num="7" count="34" type="stmt"/>
|
|
4973
|
-
<line num="
|
|
4974
|
-
<line num="
|
|
4975
|
-
<line num="
|
|
4976
|
-
<line num="
|
|
4977
|
-
<line num="
|
|
4978
|
-
<line num="
|
|
4979
|
-
<line num="
|
|
4980
|
-
<line num="
|
|
4981
|
-
<line num="
|
|
4982
|
-
<line num="
|
|
4983
|
-
<line num="
|
|
4984
|
-
<line num="
|
|
4985
|
-
<line num="
|
|
4986
|
-
<line num="86" count="0" type="stmt"/>
|
|
4992
|
+
<line num="12" count="34" type="stmt"/>
|
|
4993
|
+
<line num="13" count="34" type="stmt"/>
|
|
4994
|
+
<line num="15" count="34" type="stmt"/>
|
|
4995
|
+
<line num="20" count="34" type="stmt"/>
|
|
4996
|
+
<line num="26" count="11" type="cond" truecount="4" falsecount="0"/>
|
|
4997
|
+
<line num="27" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
4998
|
+
<line num="29" count="9" type="cond" truecount="1" falsecount="1"/>
|
|
4999
|
+
<line num="30" count="0" type="stmt"/>
|
|
5000
|
+
<line num="32" count="9" type="stmt"/>
|
|
5001
|
+
<line num="64" count="9" type="stmt"/>
|
|
5002
|
+
<line num="71" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
5003
|
+
<line num="72" count="1" type="stmt"/>
|
|
5004
|
+
<line num="74" count="1" type="stmt"/>
|
|
4987
5005
|
<line num="90" count="0" type="stmt"/>
|
|
4988
|
-
<line num="91" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4989
|
-
<line num="92" count="0" type="stmt"/>
|
|
4990
5006
|
<line num="94" count="0" type="stmt"/>
|
|
5007
|
+
<line num="95" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4991
5008
|
<line num="96" count="0" type="stmt"/>
|
|
4992
|
-
<line num="
|
|
4993
|
-
<line num="
|
|
4994
|
-
<line num="
|
|
4995
|
-
<line num="112" count="0" type="
|
|
4996
|
-
<line num="
|
|
4997
|
-
<line num="
|
|
4998
|
-
<line num="
|
|
4999
|
-
<line num="
|
|
5000
|
-
<line num="
|
|
5001
|
-
<line num="
|
|
5002
|
-
<line num="
|
|
5003
|
-
<line num="
|
|
5004
|
-
<line num="
|
|
5005
|
-
<line num="
|
|
5006
|
-
<line num="145" count="
|
|
5007
|
-
<line num="
|
|
5008
|
-
<line num="
|
|
5009
|
-
<line num="155" count="0" type="
|
|
5010
|
-
<line num="
|
|
5011
|
-
<line num="
|
|
5012
|
-
<line num="160" count="0" type="
|
|
5013
|
-
<line num="
|
|
5014
|
-
<line num="
|
|
5009
|
+
<line num="98" count="0" type="stmt"/>
|
|
5010
|
+
<line num="100" count="0" type="stmt"/>
|
|
5011
|
+
<line num="111" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5012
|
+
<line num="112" count="0" type="stmt"/>
|
|
5013
|
+
<line num="114" count="0" type="stmt"/>
|
|
5014
|
+
<line num="116" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5015
|
+
<line num="117" count="0" type="stmt"/>
|
|
5016
|
+
<line num="119" count="0" type="stmt"/>
|
|
5017
|
+
<line num="120" count="0" type="stmt"/>
|
|
5018
|
+
<line num="139" count="73" type="cond" truecount="2" falsecount="0"/>
|
|
5019
|
+
<line num="140" count="73" type="stmt"/>
|
|
5020
|
+
<line num="142" count="73" type="stmt"/>
|
|
5021
|
+
<line num="143" count="73" type="stmt"/>
|
|
5022
|
+
<line num="144" count="206" type="cond" truecount="1" falsecount="1"/>
|
|
5023
|
+
<line num="145" count="206" type="stmt"/>
|
|
5024
|
+
<line num="147" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
5025
|
+
<line num="149" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5026
|
+
<line num="155" count="0" type="stmt"/>
|
|
5027
|
+
<line num="157" count="0" type="stmt"/>
|
|
5028
|
+
<line num="159" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5029
|
+
<line num="160" count="0" type="stmt"/>
|
|
5030
|
+
<line num="162" count="0" type="stmt"/>
|
|
5031
|
+
<line num="164" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
5015
5032
|
<line num="165" count="0" type="stmt"/>
|
|
5016
|
-
<line num="
|
|
5017
|
-
<line num="
|
|
5018
|
-
<line num="169" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5033
|
+
<line num="167" count="0" type="stmt"/>
|
|
5034
|
+
<line num="169" count="0" type="stmt"/>
|
|
5019
5035
|
<line num="170" count="0" type="stmt"/>
|
|
5020
|
-
<line num="172" count="0" type="
|
|
5021
|
-
<line num="
|
|
5022
|
-
<line num="
|
|
5023
|
-
<line num="
|
|
5024
|
-
<line num="
|
|
5025
|
-
<line num="
|
|
5026
|
-
<line num="
|
|
5027
|
-
<line num="
|
|
5028
|
-
<line num="
|
|
5029
|
-
<line num="
|
|
5030
|
-
<line num="
|
|
5031
|
-
<line num="
|
|
5032
|
-
<line num="
|
|
5033
|
-
<line num="
|
|
5034
|
-
<line num="
|
|
5036
|
+
<line num="172" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5037
|
+
<line num="173" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5038
|
+
<line num="174" count="0" type="stmt"/>
|
|
5039
|
+
<line num="176" count="0" type="stmt"/>
|
|
5040
|
+
<line num="179" count="73" type="stmt"/>
|
|
5041
|
+
<line num="181" count="34" type="stmt"/>
|
|
5042
|
+
<line num="189" count="34" type="stmt"/>
|
|
5043
|
+
<line num="191" count="174" type="cond" truecount="1" falsecount="1"/>
|
|
5044
|
+
<line num="192" count="0" type="stmt"/>
|
|
5045
|
+
<line num="195" count="174" type="cond" truecount="2" falsecount="0"/>
|
|
5046
|
+
<line num="196" count="16" type="stmt"/>
|
|
5047
|
+
<line num="197" count="158" type="cond" truecount="2" falsecount="0"/>
|
|
5048
|
+
<line num="198" count="22" type="stmt"/>
|
|
5049
|
+
<line num="201" count="136" type="stmt"/>
|
|
5050
|
+
<line num="213" count="34" type="stmt"/>
|
|
5035
5051
|
<line num="219" count="73" type="stmt"/>
|
|
5036
|
-
<line num="
|
|
5037
|
-
<line num="222" count="
|
|
5038
|
-
<line num="223" count="
|
|
5039
|
-
<line num="224" count="
|
|
5040
|
-
<line num="226" count="
|
|
5041
|
-
<line num="
|
|
5042
|
-
<line num="
|
|
5043
|
-
<line num="
|
|
5044
|
-
<line num="
|
|
5045
|
-
<line num="
|
|
5046
|
-
<line num="
|
|
5047
|
-
<line num="
|
|
5048
|
-
<line num="
|
|
5049
|
-
<line num="
|
|
5050
|
-
<line num="
|
|
5051
|
-
<line num="
|
|
5052
|
-
<line num="
|
|
5053
|
-
<line num="
|
|
5054
|
-
<line num="
|
|
5055
|
-
<line num="
|
|
5056
|
-
<line num="
|
|
5057
|
-
<line num="
|
|
5058
|
-
<line num="
|
|
5059
|
-
<line num="
|
|
5060
|
-
<line num="
|
|
5061
|
-
<line num="281" count="
|
|
5062
|
-
<line num="282" count="
|
|
5063
|
-
<line num="
|
|
5064
|
-
<line num="
|
|
5065
|
-
<line num="
|
|
5066
|
-
<line num="
|
|
5067
|
-
<line num="
|
|
5068
|
-
<line num="
|
|
5069
|
-
<line num="310" count="
|
|
5052
|
+
<line num="221" count="73" type="stmt"/>
|
|
5053
|
+
<line num="222" count="73" type="stmt"/>
|
|
5054
|
+
<line num="223" count="73" type="stmt"/>
|
|
5055
|
+
<line num="224" count="332" type="stmt"/>
|
|
5056
|
+
<line num="226" count="332" type="cond" truecount="2" falsecount="0"/>
|
|
5057
|
+
<line num="227" count="159" type="cond" truecount="2" falsecount="0"/>
|
|
5058
|
+
<line num="228" count="3" type="stmt"/>
|
|
5059
|
+
<line num="230" count="159" type="stmt"/>
|
|
5060
|
+
<line num="234" count="173" type="cond" truecount="1" falsecount="1"/>
|
|
5061
|
+
<line num="235" count="0" type="stmt"/>
|
|
5062
|
+
<line num="237" count="173" type="stmt"/>
|
|
5063
|
+
<line num="241" count="73" type="cond" truecount="4" falsecount="0"/>
|
|
5064
|
+
<line num="242" count="68" type="stmt"/>
|
|
5065
|
+
<line num="243" count="68" type="stmt"/>
|
|
5066
|
+
<line num="247" count="73" type="stmt"/>
|
|
5067
|
+
<line num="260" count="34" type="stmt"/>
|
|
5068
|
+
<line num="266" count="100" type="stmt"/>
|
|
5069
|
+
<line num="267" count="100" type="stmt"/>
|
|
5070
|
+
<line num="268" count="100" type="cond" truecount="2" falsecount="0"/>
|
|
5071
|
+
<line num="269" count="87" type="stmt"/>
|
|
5072
|
+
<line num="270" count="87" type="stmt"/>
|
|
5073
|
+
<line num="273" count="100" type="stmt"/>
|
|
5074
|
+
<line num="276" count="100" type="stmt"/>
|
|
5075
|
+
<line num="279" count="100" type="stmt"/>
|
|
5076
|
+
<line num="280" count="296" type="cond" truecount="2" falsecount="0"/>
|
|
5077
|
+
<line num="281" count="8" type="stmt"/>
|
|
5078
|
+
<line num="282" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
5079
|
+
<line num="283" count="6" type="stmt"/>
|
|
5080
|
+
<line num="285" count="2" type="stmt"/>
|
|
5081
|
+
<line num="286" count="2" type="stmt"/>
|
|
5082
|
+
<line num="291" count="100" type="cond" truecount="2" falsecount="0"/>
|
|
5083
|
+
<line num="292" count="26" type="stmt"/>
|
|
5084
|
+
<line num="298" count="100" type="cond" truecount="2" falsecount="0"/>
|
|
5085
|
+
<line num="310" count="34" type="stmt"/>
|
|
5070
5086
|
<line num="311" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
5071
5087
|
<line num="312" count="8" type="stmt"/>
|
|
5072
|
-
<line num="
|
|
5073
|
-
<line num="
|
|
5074
|
-
<line num="
|
|
5075
|
-
<line num="
|
|
5076
|
-
<line num="
|
|
5077
|
-
<line num="
|
|
5078
|
-
<line num="
|
|
5088
|
+
<line num="314" count="8" type="stmt"/>
|
|
5089
|
+
<line num="315" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
5090
|
+
<line num="316" count="8" type="stmt"/>
|
|
5091
|
+
<line num="319" count="0" type="stmt"/>
|
|
5092
|
+
<line num="321" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5093
|
+
<line num="322" count="0" type="stmt"/>
|
|
5094
|
+
<line num="325" count="0" type="stmt"/>
|
|
5095
|
+
<line num="326" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5079
5096
|
<line num="327" count="0" type="stmt"/>
|
|
5080
|
-
<line num="
|
|
5081
|
-
<line num="329" count="0" type="stmt"/>
|
|
5082
|
-
<line num="330" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5097
|
+
<line num="330" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
5083
5098
|
<line num="331" count="0" type="stmt"/>
|
|
5099
|
+
<line num="332" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5100
|
+
<line num="333" count="0" type="stmt"/>
|
|
5084
5101
|
<line num="334" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5085
5102
|
<line num="335" count="0" type="stmt"/>
|
|
5103
|
+
<line num="338" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5104
|
+
<line num="339" count="0" type="stmt"/>
|
|
5086
5105
|
</file>
|
|
5087
5106
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/utils.js">
|
|
5088
5107
|
<metrics statements="11" coveredstatements="10" conditionals="6" coveredconditionals="5" methods="2" coveredmethods="1"/>
|