@budibase/server 1.0.123-alpha.0 → 1.0.123
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.68a7f4e3.css +6 -0
- package/builder/assets/index.8d4a5b33.js +1291 -0
- package/builder/assets/{vendor.5240f480.js → vendor.8e34a169.js} +1 -1
- package/builder/index.html +3 -3
- package/coverage/clover.xml +1763 -758
- package/coverage/coverage-final.json +43 -28
- package/coverage/lcov-report/api/controllers/analytics.js.html +3 -8
- package/coverage/lcov-report/api/controllers/apikeys.js.html +4 -9
- package/coverage/lcov-report/api/controllers/application.js.html +1436 -0
- package/coverage/lcov-report/api/controllers/auth.js.html +3 -8
- package/coverage/lcov-report/api/controllers/automation.js.html +3 -8
- package/coverage/lcov-report/api/controllers/backup.js.html +3 -8
- package/coverage/lcov-report/api/controllers/cloud.js.html +3 -8
- package/coverage/lcov-report/api/controllers/component.js.html +3 -8
- package/coverage/lcov-report/api/controllers/datasource.js.html +6 -11
- package/coverage/lcov-report/api/controllers/dev.js.html +3 -8
- package/coverage/lcov-report/api/controllers/index.html +26 -16
- package/coverage/lcov-report/api/controllers/integration.js.html +3 -8
- package/coverage/lcov-report/api/controllers/layout.js.html +3 -8
- package/coverage/lcov-report/api/controllers/metadata.js.html +3 -8
- package/coverage/lcov-report/api/controllers/migrations.js.html +3 -8
- package/coverage/lcov-report/api/controllers/permission.js.html +3 -8
- package/coverage/lcov-report/api/controllers/query/index.html +26 -16
- package/coverage/lcov-report/api/controllers/query/index.js.html +713 -0
- package/coverage/lcov-report/api/controllers/query/validation.js.html +3 -8
- package/coverage/lcov-report/api/controllers/role.js.html +5 -10
- package/coverage/lcov-report/api/controllers/routing.js.html +4 -9
- package/coverage/lcov-report/api/controllers/row/external.js.html +3 -8
- package/coverage/lcov-report/api/controllers/row/index.html +35 -25
- package/coverage/lcov-report/api/controllers/row/index.js.html +524 -0
- package/coverage/lcov-report/api/controllers/row/internal.js.html +24 -32
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +16 -21
- package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +19 -24
- package/coverage/lcov-report/api/controllers/row/utils.js.html +19 -33
- package/coverage/lcov-report/api/controllers/screen.js.html +4 -9
- package/coverage/lcov-report/api/controllers/script.js.html +3 -8
- package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +50 -55
- package/coverage/lcov-report/api/controllers/table/external.js.html +3 -8
- package/coverage/lcov-report/api/controllers/table/index.html +44 -19
- package/coverage/lcov-report/api/controllers/table/index.js.html +15 -20
- package/coverage/lcov-report/api/controllers/table/internal.js.html +620 -0
- package/coverage/lcov-report/api/controllers/table/utils.js.html +1331 -0
- package/coverage/lcov-report/api/controllers/templates.js.html +3 -8
- package/coverage/lcov-report/api/controllers/user.js.html +3 -8
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +3 -8
- package/coverage/lcov-report/api/controllers/view/index.html +3 -8
- package/coverage/lcov-report/api/controllers/view/index.js.html +5 -10
- package/coverage/lcov-report/api/controllers/view/utils.js.html +3 -8
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +3 -8
- package/coverage/lcov-report/api/controllers/webhook.js.html +5 -10
- package/coverage/lcov-report/api/index.html +13 -18
- package/coverage/lcov-report/api/index.js.html +8 -28
- package/coverage/lcov-report/api/routes/analytics.js.html +3 -8
- package/coverage/lcov-report/api/routes/apikeys.js.html +3 -8
- package/coverage/lcov-report/api/routes/application.js.html +179 -0
- package/coverage/lcov-report/api/routes/auth.js.html +3 -8
- package/coverage/lcov-report/api/routes/automation.js.html +3 -8
- package/coverage/lcov-report/api/routes/backup.js.html +3 -8
- package/coverage/lcov-report/api/routes/cloud.js.html +3 -8
- package/coverage/lcov-report/api/routes/component.js.html +3 -8
- package/coverage/lcov-report/api/routes/datasource.js.html +3 -8
- package/coverage/lcov-report/api/routes/deploy.js.html +3 -8
- package/coverage/lcov-report/api/routes/dev.js.html +4 -9
- package/coverage/lcov-report/api/routes/index.html +68 -13
- package/coverage/lcov-report/api/routes/index.js.html +266 -0
- package/coverage/lcov-report/api/routes/integration.js.html +3 -8
- package/coverage/lcov-report/api/routes/layout.js.html +3 -8
- package/coverage/lcov-report/api/routes/metadata.js.html +3 -8
- package/coverage/lcov-report/api/routes/migrations.js.html +3 -8
- package/coverage/lcov-report/api/routes/permission.js.html +3 -8
- package/coverage/lcov-report/api/routes/query.js.html +3 -8
- package/coverage/lcov-report/api/routes/role.js.html +3 -8
- package/coverage/lcov-report/api/routes/routing.js.html +3 -8
- package/coverage/lcov-report/api/routes/row.js.html +908 -0
- package/coverage/lcov-report/api/routes/screen.js.html +3 -8
- package/coverage/lcov-report/api/routes/script.js.html +3 -8
- package/coverage/lcov-report/{automations/steps/loop.js.html → api/routes/static.js.html} +80 -70
- package/coverage/lcov-report/api/routes/table.js.html +3 -8
- package/coverage/lcov-report/api/routes/templates.js.html +3 -8
- package/coverage/lcov-report/api/routes/user.js.html +3 -8
- package/coverage/lcov-report/api/routes/utils/index.html +3 -8
- package/coverage/lcov-report/api/routes/utils/validators.js.html +3 -8
- package/coverage/lcov-report/api/routes/view.js.html +3 -8
- package/coverage/lcov-report/api/routes/webhook.js.html +3 -8
- package/coverage/lcov-report/automations/actions.js.html +7 -21
- package/coverage/lcov-report/automations/automationUtils.js.html +23 -64
- package/coverage/lcov-report/automations/bullboard.js.html +3 -8
- package/coverage/lcov-report/automations/index.html +37 -27
- package/coverage/lcov-report/automations/index.js.html +3 -8
- package/coverage/lcov-report/automations/steps/bash.js.html +3 -8
- package/coverage/lcov-report/automations/steps/createRow.js.html +380 -0
- package/coverage/lcov-report/automations/steps/delay.js.html +3 -8
- package/coverage/lcov-report/automations/steps/deleteRow.js.html +347 -0
- package/coverage/lcov-report/automations/steps/discord.js.html +3 -8
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +3 -8
- package/coverage/lcov-report/automations/steps/executeScript.js.html +3 -8
- package/coverage/lcov-report/automations/steps/filter.js.html +3 -8
- package/coverage/lcov-report/automations/steps/index.html +41 -31
- package/coverage/lcov-report/automations/steps/integromat.js.html +3 -8
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +4 -9
- package/coverage/lcov-report/automations/steps/queryRows.js.html +4 -9
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +3 -8
- package/coverage/lcov-report/automations/steps/serverLog.js.html +3 -8
- package/coverage/lcov-report/automations/steps/slack.js.html +3 -8
- package/coverage/lcov-report/automations/steps/updateRow.js.html +3 -8
- package/coverage/lcov-report/automations/steps/utils.js.html +9 -14
- package/coverage/lcov-report/automations/steps/zapier.js.html +3 -8
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +3 -8
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +3 -8
- package/coverage/lcov-report/automations/triggerInfo/index.html +3 -8
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +3 -8
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +3 -8
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +3 -8
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +3 -8
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +3 -8
- package/coverage/lcov-report/automations/triggers.js.html +11 -16
- package/coverage/lcov-report/automations/utils.js.html +665 -0
- package/coverage/lcov-report/block-navigation.js +0 -8
- package/coverage/lcov-report/constants/index.html +3 -8
- package/coverage/lcov-report/constants/index.js.html +42 -41
- package/coverage/lcov-report/constants/layouts.js.html +3 -8
- package/coverage/lcov-report/constants/screens.js.html +3 -8
- package/coverage/lcov-report/db/inMemoryView.js.html +3 -8
- package/coverage/lcov-report/db/index.html +3 -8
- package/coverage/lcov-report/db/index.js.html +4 -9
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +23 -25
- package/coverage/lcov-report/db/linkedRows/index.html +12 -17
- package/coverage/lcov-report/db/linkedRows/index.js.html +17 -22
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +7 -12
- package/coverage/lcov-report/db/newid.js.html +6 -11
- package/coverage/lcov-report/db/utils.js.html +79 -84
- package/coverage/lcov-report/events/AutomationEmitter.js.html +9 -14
- package/coverage/lcov-report/events/index.html +3 -8
- package/coverage/lcov-report/events/index.js.html +4 -9
- package/coverage/lcov-report/events/utils.js.html +13 -18
- package/coverage/lcov-report/index.html +132 -137
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +3 -8
- package/coverage/lcov-report/integrations/tests/index.html +3 -8
- package/coverage/lcov-report/middleware/appInfo.js.html +3 -8
- package/coverage/lcov-report/middleware/authorized.js.html +458 -0
- package/coverage/lcov-report/middleware/builder.js.html +3 -8
- package/coverage/lcov-report/middleware/currentapp.js.html +15 -65
- package/coverage/lcov-report/middleware/index.html +50 -25
- package/coverage/lcov-report/middleware/joi-validator.js.html +4 -9
- package/coverage/lcov-report/middleware/publicApi.js.html +3 -8
- package/coverage/lcov-report/middleware/resourceId.js.html +3 -8
- package/coverage/lcov-report/middleware/selfhost.js.html +4 -9
- package/coverage/lcov-report/middleware/usageQuota.js.html +572 -0
- package/coverage/lcov-report/middleware/utils.js.html +3 -8
- package/coverage/lcov-report/sorter.js +0 -26
- package/coverage/lcov-report/threads/automation.js.html +90 -581
- package/coverage/lcov-report/threads/index.html +40 -30
- package/coverage/lcov-report/threads/index.js.html +296 -0
- package/coverage/lcov-report/threads/query.js.html +4 -9
- package/coverage/lcov-report/threads/utils.js.html +9 -17
- package/coverage/lcov-report/utilities/bcrypt.js.html +3 -8
- package/coverage/lcov-report/utilities/budibaseDir.js.html +3 -8
- package/coverage/lcov-report/utilities/centralPath.js.html +3 -8
- package/coverage/lcov-report/utilities/csvParser.js.html +5 -10
- package/coverage/lcov-report/utilities/global.js.html +4 -9
- package/coverage/lcov-report/utilities/index.html +3 -8
- package/coverage/lcov-report/utilities/index.js.html +6 -11
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +9 -32
- package/coverage/lcov-report/utilities/queue/index.html +7 -12
- package/coverage/lcov-report/utilities/routing/index.html +3 -8
- package/coverage/lcov-report/utilities/routing/index.js.html +3 -8
- package/coverage/lcov-report/utilities/rowProcessor/index.html +27 -32
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +71 -67
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +106 -27
- package/coverage/lcov-report/utilities/scriptRunner.js.html +3 -8
- package/coverage/lcov-report/utilities/security.js.html +4 -9
- package/coverage/lcov-report/utilities/statusCodes.js.html +3 -8
- package/coverage/lcov-report/utilities/usageQuota/index.html +34 -24
- package/coverage/lcov-report/utilities/usageQuota/index.js.html +359 -0
- package/coverage/lcov-report/utilities/usageQuota/rows.js.html +39 -44
- package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +3 -8
- package/coverage/lcov-report/utilities/users.js.html +3 -8
- package/coverage/lcov-report/utilities/workerRequests.js.html +4 -9
- package/coverage/lcov.info +3061 -1290
- package/dist/api/controllers/application.js +73 -145
- package/dist/api/controllers/deploy/index.js +36 -68
- package/dist/api/controllers/public/applications.js +9 -29
- package/dist/api/controllers/public/queries.js +7 -27
- package/dist/api/controllers/public/rows.js +12 -32
- package/dist/api/controllers/public/tables.js +2 -2
- package/dist/api/controllers/public/users.js +8 -8
- package/dist/api/controllers/public/utils.js +1 -1
- package/dist/api/controllers/query/import/index.js +3 -3
- package/dist/api/controllers/query/index.js +44 -57
- package/dist/api/controllers/row/ExternalRequest.js +27 -27
- package/dist/api/controllers/row/index.js +60 -83
- package/dist/api/controllers/row/internal.js +1 -2
- package/dist/api/controllers/row/utils.js +1 -2
- package/dist/api/controllers/static/templates/BudibaseApp.svelte +0 -3
- package/dist/api/controllers/table/bulkFormula.js +1 -2
- package/dist/api/controllers/table/internal.js +55 -40
- package/dist/api/controllers/table/utils.js +229 -271
- package/dist/api/index.js +0 -5
- package/dist/api/routes/application.js +13 -39
- package/dist/api/routes/index.js +56 -61
- package/dist/api/routes/public/index.js +9 -6
- package/dist/api/routes/public/queries.js +1 -1
- package/dist/api/routes/public/rows.js +1 -1
- package/dist/api/routes/public/tables.js +3 -3
- package/dist/api/routes/public/users.js +1 -1
- package/dist/api/routes/row.js +17 -43
- package/dist/api/routes/static.js +13 -40
- package/dist/api/routes/tests/utilities/TestFunctions.js +33 -75
- package/dist/app.js +4 -8
- package/dist/automations/actions.js +0 -3
- package/dist/automations/automationUtils.js +0 -10
- package/dist/automations/steps/createRow.js +12 -12
- package/dist/automations/steps/deleteRow.js +16 -13
- package/dist/automations/tests/utilities/index.js +11 -13
- package/dist/automations/utils.js +133 -187
- package/dist/constants/index.js +7 -5
- package/dist/db/linkedRows/LinkController.js +1 -0
- package/dist/definitions/datasource.js +0 -1
- package/dist/environment.js +3 -2
- package/dist/index.js +0 -4
- package/dist/integrations/base/sql.js +2 -2
- package/dist/integrations/base/sqlTable.js +2 -2
- package/dist/integrations/googlesheets.js +1 -1
- package/dist/integrations/index.js +0 -4
- package/dist/integrations/microsoftSqlServer.js +8 -8
- package/dist/integrations/mysql.js +9 -9
- package/dist/integrations/oracle.js +7 -7
- package/dist/integrations/postgres.js +7 -7
- package/dist/integrations/queries/sql.js +2 -2
- package/dist/integrations/rest.js +1 -1
- package/dist/middleware/authorized.js +51 -51
- package/dist/middleware/currentapp.js +1 -15
- package/dist/middleware/usageQuota.js +154 -0
- package/dist/migrations/functions/appUrls.js +1 -1
- package/dist/migrations/functions/quotas1.js +2 -6
- package/dist/migrations/functions/usageQuotas/index.js +4 -0
- package/dist/migrations/functions/usageQuotas/syncApps.js +7 -4
- package/dist/migrations/functions/usageQuotas/syncRows.js +8 -5
- package/dist/migrations/index.js +1 -17
- package/dist/package.json +4 -10
- package/dist/threads/automation.js +27 -149
- package/dist/threads/index.js +10 -36
- package/dist/threads/utils.js +0 -1
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/utilities/queue/inMemoryQueue.js +1 -6
- package/dist/utilities/rowProcessor/index.js +11 -6
- package/dist/utilities/rowProcessor/utils.js +27 -1
- package/dist/utilities/usageQuota/index.js +86 -0
- package/nodemon.json +1 -1
- package/package.json +9 -15
- package/scripts/dev/manage.js +0 -2
- package/src/api/controllers/{application.ts → application.js} +51 -118
- package/src/api/controllers/deploy/{index.ts → index.js} +29 -53
- package/src/api/controllers/public/applications.ts +2 -2
- package/src/api/controllers/public/queries.ts +1 -1
- package/src/api/controllers/public/rows.ts +1 -1
- package/src/api/controllers/query/{index.ts → index.js} +48 -51
- package/src/api/controllers/row/ExternalRequest.ts +1 -1
- package/src/api/controllers/row/{index.ts → index.js} +17 -24
- package/src/api/controllers/row/internal.js +1 -2
- package/src/api/controllers/row/utils.js +1 -4
- package/src/api/controllers/static/templates/BudibaseApp.svelte +0 -3
- package/src/api/controllers/table/bulkFormula.js +1 -1
- package/src/api/controllers/table/{internal.ts → internal.js} +48 -27
- package/src/api/controllers/table/{utils.ts → utils.js} +69 -86
- package/src/api/index.js +0 -5
- package/src/api/routes/{application.ts → application.js} +14 -8
- package/src/api/routes/index.js +62 -0
- package/src/api/routes/public/index.ts +4 -1
- package/src/api/routes/{row.ts → row.js} +15 -7
- package/src/api/routes/{static.ts → static.js} +11 -11
- package/src/api/routes/tests/misc.spec.js +37 -39
- package/src/api/routes/tests/routing.spec.js +0 -1
- package/src/api/routes/tests/utilities/{TestFunctions.ts → TestFunctions.js} +33 -57
- package/src/app.ts +2 -1
- package/src/automations/actions.js +0 -3
- package/src/automations/automationUtils.js +0 -12
- package/src/automations/steps/{createRow.ts → createRow.js} +15 -9
- package/src/automations/steps/{deleteRow.ts → deleteRow.js} +16 -10
- package/src/automations/tests/automation.spec.js +1 -0
- package/src/automations/tests/{createRow.spec.ts → createRow.spec.js} +15 -4
- package/src/automations/tests/{deleteRow.spec.ts → deleteRow.spec.js} +5 -3
- package/src/automations/tests/utilities/index.js +10 -12
- package/src/automations/{utils.ts → utils.js} +28 -39
- package/src/constants/index.js +8 -6
- package/src/db/linkedRows/LinkController.js +1 -0
- package/src/definitions/datasource.ts +0 -1
- package/src/environment.js +3 -2
- package/src/index.ts +0 -3
- package/src/integrations/index.ts +0 -4
- package/src/middleware/{authorized.ts → authorized.js} +14 -20
- package/src/middleware/currentapp.js +1 -16
- package/src/middleware/tests/usageQuota.spec.js +120 -0
- package/src/middleware/usageQuota.js +164 -0
- package/src/migrations/functions/tests/quotas1.spec.js +2 -0
- package/src/migrations/functions/usageQuotas/index.ts +5 -0
- package/src/migrations/functions/usageQuotas/syncApps.ts +6 -3
- package/src/migrations/functions/usageQuotas/syncRows.ts +6 -3
- package/src/migrations/functions/usageQuotas/tests/syncApps.spec.js +41 -0
- package/src/migrations/functions/usageQuotas/tests/syncRows.spec.js +45 -0
- package/src/migrations/index.ts +1 -13
- package/src/threads/automation.js +34 -196
- package/src/threads/{index.ts → index.js} +14 -18
- package/src/threads/utils.js +0 -1
- package/src/utilities/queue/inMemoryQueue.js +1 -7
- package/src/utilities/rowProcessor/index.js +12 -9
- package/src/utilities/rowProcessor/utils.js +29 -1
- package/src/utilities/tests/usageQuota/usageQuota.spec.js +72 -0
- package/src/utilities/usageQuota/index.js +93 -0
- package/tsconfig.json +2 -2
- package/builder/assets/index.89795487.css +0 -6
- package/builder/assets/index.be9a1b80.js +0 -1299
- package/dist/automations/steps/loop.js +0 -51
- package/dist/integrations/redis.js +0 -158
- package/dist/migrations/functions/developerQuota.js +0 -49
- package/dist/migrations/functions/publishedAppsQuota.js +0 -47
- package/dist/migrations/functions/usageQuotas/syncDevelopers.js +0 -24
- package/dist/migrations/functions/usageQuotas/syncPublishedApps.js +0 -26
- package/dist/tsconfig.build.tsbuildinfo +0 -1
- package/src/api/routes/index.ts +0 -60
- package/src/automations/steps/loop.js +0 -50
- package/src/integrations/redis.ts +0 -152
- package/src/integrations/tests/redis.spec.js +0 -60
- package/src/migrations/functions/developerQuota.ts +0 -15
- package/src/migrations/functions/publishedAppsQuota.ts +0 -13
- package/src/migrations/functions/usageQuotas/syncDevelopers.ts +0 -19
- package/src/migrations/functions/usageQuotas/syncPublishedApps.ts +0 -21
- package/src/migrations/functions/usageQuotas/tests/syncApps.spec.ts +0 -34
- package/src/migrations/functions/usageQuotas/tests/syncRows.spec.ts +0 -40
- package/tsconfig.build.json +0 -10
package/coverage/clover.xml
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1650993062603" clover="3.2.0">
|
|
3
|
+
<project timestamp="1650993062604" name="All files">
|
|
4
|
+
<metrics statements="5059" coveredstatements="3748" conditionals="2097" coveredconditionals="1149" methods="737" coveredmethods="529" elements="7893" coveredelements="5426" complexity="0" loc="5059" ncloc="5059" packages="23" files="146" classes="146"/>
|
|
5
5
|
<package name="api">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="30" coveredstatements="28" conditionals="5" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
8
|
-
<metrics statements="
|
|
8
|
+
<metrics statements="30" coveredstatements="28" conditionals="5" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
9
9
|
<line num="1" count="24" type="stmt"/>
|
|
10
10
|
<line num="6" count="24" type="stmt"/>
|
|
11
11
|
<line num="7" count="24" type="stmt"/>
|
|
@@ -14,35 +14,32 @@
|
|
|
14
14
|
<line num="10" count="24" type="stmt"/>
|
|
15
15
|
<line num="11" count="24" type="stmt"/>
|
|
16
16
|
<line num="12" count="24" type="stmt"/>
|
|
17
|
-
<line num="13" count="24" type="stmt"/>
|
|
18
17
|
<line num="14" count="24" type="stmt"/>
|
|
19
18
|
<line num="16" count="24" type="stmt"/>
|
|
20
|
-
<line num="
|
|
19
|
+
<line num="17" count="24" type="stmt"/>
|
|
21
20
|
<line num="19" count="24" type="stmt"/>
|
|
22
|
-
<line num="
|
|
23
|
-
<line num="
|
|
24
|
-
<line num="
|
|
25
|
-
<line num="
|
|
26
|
-
<line num="
|
|
27
|
-
<line num="
|
|
28
|
-
<line num="
|
|
29
|
-
<line num="
|
|
30
|
-
<line num="
|
|
31
|
-
<line num="
|
|
32
|
-
<line num="
|
|
33
|
-
<line num="
|
|
21
|
+
<line num="33" count="188" type="stmt"/>
|
|
22
|
+
<line num="37" count="188" type="stmt"/>
|
|
23
|
+
<line num="58" count="24" type="stmt"/>
|
|
24
|
+
<line num="59" count="186" type="stmt"/>
|
|
25
|
+
<line num="60" count="186" type="stmt"/>
|
|
26
|
+
<line num="62" count="39" type="cond" truecount="1" falsecount="2"/>
|
|
27
|
+
<line num="63" count="39" type="stmt"/>
|
|
28
|
+
<line num="68" count="39" type="cond" truecount="1" falsecount="1"/>
|
|
29
|
+
<line num="69" count="0" type="stmt"/>
|
|
30
|
+
<line num="70" count="0" type="stmt"/>
|
|
31
|
+
<line num="76" count="24" type="stmt"/>
|
|
32
|
+
<line num="77" count="624" type="stmt"/>
|
|
33
|
+
<line num="78" count="624" type="stmt"/>
|
|
34
34
|
<line num="81" count="24" type="stmt"/>
|
|
35
|
-
<line num="82" count="
|
|
36
|
-
<line num="
|
|
35
|
+
<line num="82" count="24" type="stmt"/>
|
|
36
|
+
<line num="85" count="24" type="stmt"/>
|
|
37
37
|
<line num="86" count="24" type="stmt"/>
|
|
38
|
-
<line num="
|
|
39
|
-
<line num="90" count="24" type="stmt"/>
|
|
40
|
-
<line num="91" count="24" type="stmt"/>
|
|
41
|
-
<line num="93" count="24" type="stmt"/>
|
|
38
|
+
<line num="88" count="24" type="stmt"/>
|
|
42
39
|
</file>
|
|
43
40
|
</package>
|
|
44
41
|
<package name="api.controllers">
|
|
45
|
-
<metrics statements="
|
|
42
|
+
<metrics statements="1111" coveredstatements="786" conditionals="368" coveredconditionals="172" methods="156" coveredmethods="108"/>
|
|
46
43
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.js">
|
|
47
44
|
<metrics statements="13" coveredstatements="6" conditionals="13" coveredconditionals="4" methods="2" coveredmethods="1"/>
|
|
48
45
|
<line num="1" count="24" type="stmt"/>
|
|
@@ -86,6 +83,211 @@
|
|
|
86
83
|
<line num="45" count="1" type="stmt"/>
|
|
87
84
|
<line num="46" count="1" type="stmt"/>
|
|
88
85
|
</file>
|
|
86
|
+
<file name="application.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/application.js">
|
|
87
|
+
<metrics statements="202" coveredstatements="164" conditionals="78" coveredconditionals="47" methods="26" coveredmethods="23"/>
|
|
88
|
+
<line num="1" count="40" type="stmt"/>
|
|
89
|
+
<line num="2" count="40" type="stmt"/>
|
|
90
|
+
<line num="7" count="40" type="stmt"/>
|
|
91
|
+
<line num="12" count="40" type="stmt"/>
|
|
92
|
+
<line num="20" count="40" type="stmt"/>
|
|
93
|
+
<line num="24" count="40" type="stmt"/>
|
|
94
|
+
<line num="25" count="40" type="stmt"/>
|
|
95
|
+
<line num="26" count="40" type="stmt"/>
|
|
96
|
+
<line num="27" count="40" type="stmt"/>
|
|
97
|
+
<line num="33" count="40" type="stmt"/>
|
|
98
|
+
<line num="34" count="40" type="stmt"/>
|
|
99
|
+
<line num="35" count="40" type="stmt"/>
|
|
100
|
+
<line num="36" count="40" type="stmt"/>
|
|
101
|
+
<line num="37" count="40" type="stmt"/>
|
|
102
|
+
<line num="42" count="40" type="stmt"/>
|
|
103
|
+
<line num="43" count="40" type="stmt"/>
|
|
104
|
+
<line num="44" count="40" type="stmt"/>
|
|
105
|
+
<line num="45" count="40" type="stmt"/>
|
|
106
|
+
<line num="46" count="40" type="stmt"/>
|
|
107
|
+
<line num="51" count="40" type="stmt"/>
|
|
108
|
+
<line num="53" count="40" type="stmt"/>
|
|
109
|
+
<line num="57" count="213" type="stmt"/>
|
|
110
|
+
<line num="58" count="213" type="stmt"/>
|
|
111
|
+
<line num="64" count="426" type="stmt"/>
|
|
112
|
+
<line num="68" count="213" type="stmt"/>
|
|
113
|
+
<line num="69" count="213" type="stmt"/>
|
|
114
|
+
<line num="75" count="12" type="stmt"/>
|
|
115
|
+
<line num="79" count="207" type="cond" truecount="4" falsecount="0"/>
|
|
116
|
+
<line num="84" count="40" type="stmt"/>
|
|
117
|
+
<line num="87" count="204" type="cond" truecount="2" falsecount="0"/>
|
|
118
|
+
<line num="89" count="1" type="stmt"/>
|
|
119
|
+
<line num="90" count="203" type="cond" truecount="1" falsecount="1"/>
|
|
120
|
+
<line num="92" count="203" type="stmt"/>
|
|
121
|
+
<line num="94" count="204" type="cond" truecount="1" falsecount="1"/>
|
|
122
|
+
<line num="95" count="204" type="stmt"/>
|
|
123
|
+
<line num="97" count="204" type="stmt"/>
|
|
124
|
+
<line num="100" count="40" type="stmt"/>
|
|
125
|
+
<line num="101" count="203" type="cond" truecount="2" falsecount="0"/>
|
|
126
|
+
<line num="102" count="3" type="stmt"/>
|
|
127
|
+
<line num="104" count="735" type="cond" truecount="1" falsecount="1"/>
|
|
128
|
+
<line num="105" count="0" type="stmt"/>
|
|
129
|
+
<line num="109" count="40" type="stmt"/>
|
|
130
|
+
<line num="111" count="203" type="cond" truecount="1" falsecount="1"/>
|
|
131
|
+
<line num="112" count="0" type="stmt"/>
|
|
132
|
+
<line num="114" count="203" type="cond" truecount="2" falsecount="0"/>
|
|
133
|
+
<line num="115" count="3" type="stmt"/>
|
|
134
|
+
<line num="117" count="735" type="cond" truecount="1" falsecount="1"/>
|
|
135
|
+
<line num="118" count="0" type="stmt"/>
|
|
136
|
+
<line num="123" count="200" type="cond" truecount="1" falsecount="1"/>
|
|
137
|
+
<line num="124" count="200" type="stmt"/>
|
|
138
|
+
<line num="125" count="200" type="stmt"/>
|
|
139
|
+
<line num="126" count="200" type="stmt"/>
|
|
140
|
+
<line num="128" count="200" type="stmt"/>
|
|
141
|
+
<line num="129" count="200" type="stmt"/>
|
|
142
|
+
<line num="138" count="200" type="stmt"/>
|
|
143
|
+
<line num="139" count="200" type="stmt"/>
|
|
144
|
+
<line num="140" count="200" type="stmt"/>
|
|
145
|
+
<line num="144" count="200" type="cond" truecount="3" falsecount="1"/>
|
|
146
|
+
<line num="145" count="0" type="stmt"/>
|
|
147
|
+
<line num="146" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
148
|
+
<line num="147" count="0" type="stmt"/>
|
|
149
|
+
<line num="149" count="200" type="cond" truecount="3" falsecount="1"/>
|
|
150
|
+
<line num="152" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
151
|
+
<line num="153" count="0" type="stmt"/>
|
|
152
|
+
<line num="157" count="200" type="stmt"/>
|
|
153
|
+
<line num="160" count="200" type="stmt"/>
|
|
154
|
+
<line num="163" count="40" type="stmt"/>
|
|
155
|
+
<line num="164" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
156
|
+
<line num="165" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
157
|
+
<line num="166" count="10" type="stmt"/>
|
|
158
|
+
<line num="169" count="10" type="cond" truecount="2" falsecount="2"/>
|
|
159
|
+
<line num="170" count="10" type="stmt"/>
|
|
160
|
+
<line num="171" count="10" type="stmt"/>
|
|
161
|
+
<line num="172" count="13" type="cond" truecount="1" falsecount="1"/>
|
|
162
|
+
<line num="173" count="0" type="stmt"/>
|
|
163
|
+
<line num="175" count="13" type="stmt"/>
|
|
164
|
+
<line num="176" count="13" type="cond" truecount="1" falsecount="1"/>
|
|
165
|
+
<line num="177" count="0" type="stmt"/>
|
|
166
|
+
<line num="180" count="13" type="stmt"/>
|
|
167
|
+
<line num="185" count="10" type="stmt"/>
|
|
168
|
+
<line num="188" count="40" type="stmt"/>
|
|
169
|
+
<line num="189" count="1" type="stmt"/>
|
|
170
|
+
<line num="190" count="1" type="stmt"/>
|
|
171
|
+
<line num="191" count="1" type="stmt"/>
|
|
172
|
+
<line num="192" count="1" type="stmt"/>
|
|
173
|
+
<line num="196" count="1" type="stmt"/>
|
|
174
|
+
<line num="203" count="40" type="stmt"/>
|
|
175
|
+
<line num="204" count="212" type="stmt"/>
|
|
176
|
+
<line num="205" count="212" type="stmt"/>
|
|
177
|
+
<line num="206" count="212" type="stmt"/>
|
|
178
|
+
<line num="207" count="212" type="stmt"/>
|
|
179
|
+
<line num="210" count="212" type="cond" truecount="4" falsecount="0"/>
|
|
180
|
+
<line num="211" count="206" type="stmt"/>
|
|
181
|
+
<line num="212" count="206" type="stmt"/>
|
|
182
|
+
<line num="213" count="206" type="stmt"/>
|
|
183
|
+
<line num="216" count="212" type="stmt"/>
|
|
184
|
+
<line num="224" count="40" type="stmt"/>
|
|
185
|
+
<line num="225" count="200" type="stmt"/>
|
|
186
|
+
<line num="226" count="200" type="stmt"/>
|
|
187
|
+
<line num="227" count="200" type="stmt"/>
|
|
188
|
+
<line num="228" count="200" type="stmt"/>
|
|
189
|
+
<line num="229" count="200" type="stmt"/>
|
|
190
|
+
<line num="231" count="200" type="stmt"/>
|
|
191
|
+
<line num="232" count="200" type="stmt"/>
|
|
192
|
+
<line num="237" count="200" type="cond" truecount="2" falsecount="2"/>
|
|
193
|
+
<line num="238" count="0" type="stmt"/>
|
|
194
|
+
<line num="240" count="200" type="stmt"/>
|
|
195
|
+
<line num="241" count="200" type="stmt"/>
|
|
196
|
+
<line num="243" count="200" type="stmt"/>
|
|
197
|
+
<line num="245" count="200" type="stmt"/>
|
|
198
|
+
<line num="247" count="200" type="stmt"/>
|
|
199
|
+
<line num="248" count="0" type="stmt"/>
|
|
200
|
+
<line num="252" count="200" type="stmt"/>
|
|
201
|
+
<line num="268" count="200" type="stmt"/>
|
|
202
|
+
<line num="269" count="200" type="stmt"/>
|
|
203
|
+
<line num="273" count="200" type="cond" truecount="1" falsecount="1"/>
|
|
204
|
+
<line num="274" count="200" type="stmt"/>
|
|
205
|
+
<line num="282" count="200" type="stmt"/>
|
|
206
|
+
<line num="283" count="200" type="stmt"/>
|
|
207
|
+
<line num="284" count="200" type="stmt"/>
|
|
208
|
+
<line num="289" count="40" type="stmt"/>
|
|
209
|
+
<line num="290" count="3" type="stmt"/>
|
|
210
|
+
<line num="292" count="3" type="stmt"/>
|
|
211
|
+
<line num="293" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
212
|
+
<line num="294" count="3" type="stmt"/>
|
|
213
|
+
<line num="296" count="3" type="stmt"/>
|
|
214
|
+
<line num="297" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
215
|
+
<line num="298" count="3" type="stmt"/>
|
|
216
|
+
<line num="299" count="3" type="stmt"/>
|
|
217
|
+
<line num="302" count="3" type="stmt"/>
|
|
218
|
+
<line num="303" count="3" type="stmt"/>
|
|
219
|
+
<line num="304" count="3" type="stmt"/>
|
|
220
|
+
<line num="307" count="40" type="stmt"/>
|
|
221
|
+
<line num="309" count="2" type="stmt"/>
|
|
222
|
+
<line num="310" count="2" type="stmt"/>
|
|
223
|
+
<line num="311" count="2" type="stmt"/>
|
|
224
|
+
<line num="314" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
225
|
+
<line num="315" count="0" type="stmt"/>
|
|
226
|
+
<line num="316" count="0" type="stmt"/>
|
|
227
|
+
<line num="320" count="2" type="stmt"/>
|
|
228
|
+
<line num="324" count="2" type="stmt"/>
|
|
229
|
+
<line num="325" count="2" type="stmt"/>
|
|
230
|
+
<line num="326" count="2" type="stmt"/>
|
|
231
|
+
<line num="329" count="40" type="stmt"/>
|
|
232
|
+
<line num="331" count="1" type="stmt"/>
|
|
233
|
+
<line num="332" count="1" type="stmt"/>
|
|
234
|
+
<line num="333" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
235
|
+
<line num="334" count="0" type="stmt"/>
|
|
236
|
+
<line num="338" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
237
|
+
<line num="339" count="0" type="stmt"/>
|
|
238
|
+
<line num="343" count="1" type="stmt"/>
|
|
239
|
+
<line num="347" count="1" type="stmt"/>
|
|
240
|
+
<line num="348" count="1" type="stmt"/>
|
|
241
|
+
<line num="349" count="1" type="stmt"/>
|
|
242
|
+
<line num="352" count="40" type="stmt"/>
|
|
243
|
+
<line num="353" count="11" type="stmt"/>
|
|
244
|
+
<line num="355" count="11" type="stmt"/>
|
|
245
|
+
<line num="360" count="11" type="cond" truecount="3" falsecount="1"/>
|
|
246
|
+
<line num="361" count="0" type="stmt"/>
|
|
247
|
+
<line num="364" count="11" type="stmt"/>
|
|
248
|
+
<line num="365" count="11" type="stmt"/>
|
|
249
|
+
<line num="367" count="11" type="stmt"/>
|
|
250
|
+
<line num="368" count="11" type="stmt"/>
|
|
251
|
+
<line num="371" count="40" type="stmt"/>
|
|
252
|
+
<line num="372" count="0" type="stmt"/>
|
|
253
|
+
<line num="373" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
254
|
+
<line num="374" count="0" type="stmt"/>
|
|
255
|
+
<line num="378" count="0" type="stmt"/>
|
|
256
|
+
<line num="380" count="0" type="stmt"/>
|
|
257
|
+
<line num="382" count="0" type="stmt"/>
|
|
258
|
+
<line num="383" count="0" type="stmt"/>
|
|
259
|
+
<line num="384" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
260
|
+
<line num="387" count="0" type="stmt"/>
|
|
261
|
+
<line num="388" count="0" type="stmt"/>
|
|
262
|
+
<line num="391" count="0" type="stmt"/>
|
|
263
|
+
<line num="394" count="0" type="stmt"/>
|
|
264
|
+
<line num="399" count="0" type="stmt"/>
|
|
265
|
+
<line num="400" count="0" type="stmt"/>
|
|
266
|
+
<line num="402" count="0" type="stmt"/>
|
|
267
|
+
<line num="406" count="0" type="stmt"/>
|
|
268
|
+
<line num="408" count="0" type="stmt"/>
|
|
269
|
+
<line num="412" count="0" type="stmt"/>
|
|
270
|
+
<line num="414" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
271
|
+
<line num="415" count="0" type="stmt"/>
|
|
272
|
+
<line num="417" count="0" type="stmt"/>
|
|
273
|
+
<line num="423" count="40" type="stmt"/>
|
|
274
|
+
<line num="424" count="6" type="stmt"/>
|
|
275
|
+
<line num="425" count="6" type="stmt"/>
|
|
276
|
+
<line num="427" count="6" type="stmt"/>
|
|
277
|
+
<line num="428" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
278
|
+
<line num="429" count="5" type="stmt"/>
|
|
279
|
+
<line num="434" count="6" type="stmt"/>
|
|
280
|
+
<line num="436" count="6" type="stmt"/>
|
|
281
|
+
<line num="438" count="6" type="stmt"/>
|
|
282
|
+
<line num="439" count="6" type="stmt"/>
|
|
283
|
+
<line num="442" count="40" type="stmt"/>
|
|
284
|
+
<line num="443" count="200" type="stmt"/>
|
|
285
|
+
<line num="445" count="200" type="stmt"/>
|
|
286
|
+
<line num="446" count="200" type="stmt"/>
|
|
287
|
+
<line num="447" count="400" type="stmt"/>
|
|
288
|
+
<line num="448" count="400" type="stmt"/>
|
|
289
|
+
<line num="451" count="200" type="stmt"/>
|
|
290
|
+
</file>
|
|
89
291
|
<file name="auth.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/auth.js">
|
|
90
292
|
<metrics statements="28" coveredstatements="23" conditionals="8" coveredconditionals="4" methods="1" coveredmethods="1"/>
|
|
91
293
|
<line num="1" count="24" type="stmt"/>
|
|
@@ -1017,7 +1219,105 @@
|
|
|
1017
1219
|
</file>
|
|
1018
1220
|
</package>
|
|
1019
1221
|
<package name="api.controllers.query">
|
|
1020
|
-
<metrics statements="
|
|
1222
|
+
<metrics statements="104" coveredstatements="85" conditionals="29" coveredconditionals="19" methods="17" coveredmethods="15"/>
|
|
1223
|
+
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query/index.js">
|
|
1224
|
+
<metrics statements="95" coveredstatements="76" conditionals="29" coveredconditionals="19" methods="14" coveredmethods="12"/>
|
|
1225
|
+
<line num="5" count="41" type="stmt"/>
|
|
1226
|
+
<line num="6" count="41" type="stmt"/>
|
|
1227
|
+
<line num="7" count="41" type="stmt"/>
|
|
1228
|
+
<line num="8" count="41" type="stmt"/>
|
|
1229
|
+
<line num="9" count="41" type="stmt"/>
|
|
1230
|
+
<line num="10" count="41" type="stmt"/>
|
|
1231
|
+
<line num="11" count="41" type="stmt"/>
|
|
1232
|
+
<line num="12" count="41" type="stmt"/>
|
|
1233
|
+
<line num="14" count="41" type="stmt"/>
|
|
1234
|
+
<line num="20" count="6" type="stmt"/>
|
|
1235
|
+
<line num="21" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
1236
|
+
<line num="22" count="6" type="stmt"/>
|
|
1237
|
+
<line num="23" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1238
|
+
<line num="24" count="4" type="stmt"/>
|
|
1239
|
+
<line num="27" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
1240
|
+
<line num="30" count="41" type="stmt"/>
|
|
1241
|
+
<line num="31" count="3" type="stmt"/>
|
|
1242
|
+
<line num="33" count="3" type="stmt"/>
|
|
1243
|
+
<line num="39" count="3" type="stmt"/>
|
|
1244
|
+
<line num="42" count="41" type="stmt"/>
|
|
1245
|
+
<line num="43" count="0" type="stmt"/>
|
|
1246
|
+
<line num="44" count="0" type="stmt"/>
|
|
1247
|
+
<line num="46" count="0" type="stmt"/>
|
|
1248
|
+
<line num="47" count="0" type="stmt"/>
|
|
1249
|
+
<line num="50" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1250
|
+
<line num="52" count="0" type="stmt"/>
|
|
1251
|
+
<line num="53" count="0" type="stmt"/>
|
|
1252
|
+
<line num="63" count="0" type="stmt"/>
|
|
1253
|
+
<line num="64" count="0" type="stmt"/>
|
|
1254
|
+
<line num="65" count="0" type="stmt"/>
|
|
1255
|
+
<line num="66" count="0" type="stmt"/>
|
|
1256
|
+
<line num="69" count="0" type="stmt"/>
|
|
1257
|
+
<line num="72" count="0" type="stmt"/>
|
|
1258
|
+
<line num="74" count="0" type="stmt"/>
|
|
1259
|
+
<line num="78" count="0" type="stmt"/>
|
|
1260
|
+
<line num="81" count="41" type="stmt"/>
|
|
1261
|
+
<line num="82" count="28" type="stmt"/>
|
|
1262
|
+
<line num="83" count="28" type="stmt"/>
|
|
1263
|
+
<line num="85" count="28" type="cond" truecount="1" falsecount="1"/>
|
|
1264
|
+
<line num="86" count="28" type="stmt"/>
|
|
1265
|
+
<line num="89" count="28" type="stmt"/>
|
|
1266
|
+
<line num="90" count="28" type="stmt"/>
|
|
1267
|
+
<line num="92" count="28" type="stmt"/>
|
|
1268
|
+
<line num="93" count="28" type="stmt"/>
|
|
1269
|
+
<line num="96" count="41" type="stmt"/>
|
|
1270
|
+
<line num="97" count="3" type="stmt"/>
|
|
1271
|
+
<line num="98" count="3" type="stmt"/>
|
|
1272
|
+
<line num="100" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
1273
|
+
<line num="101" count="1" type="stmt"/>
|
|
1274
|
+
<line num="102" count="1" type="stmt"/>
|
|
1275
|
+
<line num="104" count="3" type="stmt"/>
|
|
1276
|
+
<line num="107" count="41" type="stmt"/>
|
|
1277
|
+
<line num="108" count="8" type="stmt"/>
|
|
1278
|
+
<line num="110" count="8" type="stmt"/>
|
|
1279
|
+
<line num="114" count="8" type="stmt"/>
|
|
1280
|
+
<line num="116" count="8" type="stmt"/>
|
|
1281
|
+
<line num="117" count="8" type="stmt"/>
|
|
1282
|
+
<line num="127" count="7" type="stmt"/>
|
|
1283
|
+
<line num="134" count="1" type="stmt"/>
|
|
1284
|
+
<line num="139" count="2" type="stmt"/>
|
|
1285
|
+
<line num="141" count="2" type="stmt"/>
|
|
1286
|
+
<line num="142" count="2" type="stmt"/>
|
|
1287
|
+
<line num="144" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1288
|
+
<line num="146" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
1289
|
+
<line num="147" count="2" type="stmt"/>
|
|
1290
|
+
<line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1291
|
+
<line num="149" count="0" type="stmt"/>
|
|
1292
|
+
<line num="155" count="2" type="stmt"/>
|
|
1293
|
+
<line num="156" count="2" type="stmt"/>
|
|
1294
|
+
<line num="166" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
1295
|
+
<line num="167" count="1" type="stmt"/>
|
|
1296
|
+
<line num="169" count="0" type="stmt"/>
|
|
1297
|
+
<line num="172" count="1" type="stmt"/>
|
|
1298
|
+
<line num="176" count="41" type="stmt"/>
|
|
1299
|
+
<line num="177" count="2" type="stmt"/>
|
|
1300
|
+
<line num="180" count="41" type="stmt"/>
|
|
1301
|
+
<line num="181" count="0" type="stmt"/>
|
|
1302
|
+
<line num="184" count="41" type="stmt"/>
|
|
1303
|
+
<line num="185" count="2" type="stmt"/>
|
|
1304
|
+
<line num="186" count="2" type="stmt"/>
|
|
1305
|
+
<line num="187" count="2" type="stmt"/>
|
|
1306
|
+
<line num="188" count="2" type="stmt"/>
|
|
1307
|
+
<line num="190" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1308
|
+
<line num="192" count="1" type="stmt"/>
|
|
1309
|
+
<line num="193" count="1" type="stmt"/>
|
|
1310
|
+
<line num="195" count="1" type="stmt"/>
|
|
1311
|
+
<line num="198" count="1" type="stmt"/>
|
|
1312
|
+
<line num="199" count="1" type="stmt"/>
|
|
1313
|
+
<line num="201" count="1" type="stmt"/>
|
|
1314
|
+
<line num="205" count="41" type="stmt"/>
|
|
1315
|
+
<line num="206" count="2" type="stmt"/>
|
|
1316
|
+
<line num="207" count="2" type="stmt"/>
|
|
1317
|
+
<line num="208" count="2" type="stmt"/>
|
|
1318
|
+
<line num="209" count="2" type="stmt"/>
|
|
1319
|
+
<line num="210" count="2" type="stmt"/>
|
|
1320
|
+
</file>
|
|
1021
1321
|
<file name="validation.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query/validation.js">
|
|
1022
1322
|
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
1023
1323
|
<line num="1" count="41" type="stmt"/>
|
|
@@ -1032,7 +1332,7 @@
|
|
|
1032
1332
|
</file>
|
|
1033
1333
|
</package>
|
|
1034
1334
|
<package name="api.controllers.row">
|
|
1035
|
-
<metrics statements="
|
|
1335
|
+
<metrics statements="678" coveredstatements="420" conditionals="298" coveredconditionals="127" methods="98" coveredmethods="57"/>
|
|
1036
1336
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
|
|
1037
1337
|
<metrics statements="110" coveredstatements="18" conditionals="46" coveredconditionals="0" methods="15" coveredmethods="0"/>
|
|
1038
1338
|
<line num="6" count="41" type="stmt"/>
|
|
@@ -1146,8 +1446,101 @@
|
|
|
1146
1446
|
<line num="219" count="0" type="stmt"/>
|
|
1147
1447
|
<line num="232" count="0" type="stmt"/>
|
|
1148
1448
|
</file>
|
|
1449
|
+
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/index.js">
|
|
1450
|
+
<metrics statements="90" coveredstatements="80" conditionals="34" coveredconditionals="32" methods="12" coveredmethods="11"/>
|
|
1451
|
+
<line num="1" count="41" type="stmt"/>
|
|
1452
|
+
<line num="2" count="41" type="stmt"/>
|
|
1453
|
+
<line num="3" count="41" type="stmt"/>
|
|
1454
|
+
<line num="6" count="119" type="cond" truecount="1" falsecount="1"/>
|
|
1455
|
+
<line num="7" count="0" type="stmt"/>
|
|
1456
|
+
<line num="9" count="118" type="stmt"/>
|
|
1457
|
+
<line num="13" count="122" type="cond" truecount="4" falsecount="0"/>
|
|
1458
|
+
<line num="14" count="80" type="stmt"/>
|
|
1459
|
+
<line num="16" count="42" type="cond" truecount="4" falsecount="0"/>
|
|
1460
|
+
<line num="17" count="34" type="stmt"/>
|
|
1461
|
+
<line num="19" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1462
|
+
<line num="20" count="7" type="stmt"/>
|
|
1463
|
+
<line num="24" count="41" type="stmt"/>
|
|
1464
|
+
<line num="25" count="7" type="stmt"/>
|
|
1465
|
+
<line num="26" count="7" type="stmt"/>
|
|
1466
|
+
<line num="27" count="7" type="stmt"/>
|
|
1467
|
+
<line num="29" count="7" type="cond" truecount="3" falsecount="1"/>
|
|
1468
|
+
<line num="30" count="0" type="stmt"/>
|
|
1469
|
+
<line num="32" count="7" type="stmt"/>
|
|
1470
|
+
<line num="33" count="7" type="stmt"/>
|
|
1471
|
+
<line num="34" count="5" type="stmt"/>
|
|
1472
|
+
<line num="35" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1473
|
+
<line num="37" count="5" type="stmt"/>
|
|
1474
|
+
<line num="38" count="5" type="stmt"/>
|
|
1475
|
+
<line num="40" count="2" type="stmt"/>
|
|
1476
|
+
<line num="44" count="41" type="stmt"/>
|
|
1477
|
+
<line num="45" count="74" type="stmt"/>
|
|
1478
|
+
<line num="46" count="74" type="stmt"/>
|
|
1479
|
+
<line num="47" count="74" type="stmt"/>
|
|
1480
|
+
<line num="49" count="74" type="cond" truecount="4" falsecount="0"/>
|
|
1481
|
+
<line num="50" count="3" type="stmt"/>
|
|
1482
|
+
<line num="52" count="71" type="stmt"/>
|
|
1483
|
+
<line num="53" count="71" type="stmt"/>
|
|
1484
|
+
<line num="54" count="70" type="stmt"/>
|
|
1485
|
+
<line num="55" count="70" type="cond" truecount="2" falsecount="0"/>
|
|
1486
|
+
<line num="56" count="70" type="stmt"/>
|
|
1487
|
+
<line num="57" count="70" type="stmt"/>
|
|
1488
|
+
<line num="59" count="1" type="stmt"/>
|
|
1489
|
+
<line num="63" count="41" type="stmt"/>
|
|
1490
|
+
<line num="64" count="7" type="stmt"/>
|
|
1491
|
+
<line num="65" count="7" type="stmt"/>
|
|
1492
|
+
<line num="66" count="7" type="stmt"/>
|
|
1493
|
+
<line num="68" count="1" type="stmt"/>
|
|
1494
|
+
<line num="72" count="41" type="stmt"/>
|
|
1495
|
+
<line num="73" count="4" type="stmt"/>
|
|
1496
|
+
<line num="74" count="4" type="stmt"/>
|
|
1497
|
+
<line num="75" count="4" type="stmt"/>
|
|
1498
|
+
<line num="77" count="0" type="stmt"/>
|
|
1499
|
+
<line num="81" count="41" type="stmt"/>
|
|
1500
|
+
<line num="82" count="18" type="stmt"/>
|
|
1501
|
+
<line num="83" count="18" type="stmt"/>
|
|
1502
|
+
<line num="84" count="18" type="stmt"/>
|
|
1503
|
+
<line num="86" count="3" type="stmt"/>
|
|
1504
|
+
<line num="90" count="41" type="stmt"/>
|
|
1505
|
+
<line num="91" count="6" type="stmt"/>
|
|
1506
|
+
<line num="92" count="6" type="stmt"/>
|
|
1507
|
+
<line num="93" count="6" type="stmt"/>
|
|
1508
|
+
<line num="95" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
1509
|
+
<line num="96" count="2" type="stmt"/>
|
|
1510
|
+
<line num="97" count="2" type="stmt"/>
|
|
1511
|
+
<line num="98" count="2" type="stmt"/>
|
|
1512
|
+
<line num="99" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
1513
|
+
<line num="102" count="4" type="stmt"/>
|
|
1514
|
+
<line num="103" count="3" type="stmt"/>
|
|
1515
|
+
<line num="104" count="3" type="stmt"/>
|
|
1516
|
+
<line num="105" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
1517
|
+
<line num="107" count="5" type="stmt"/>
|
|
1518
|
+
<line num="109" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1519
|
+
<line num="110" count="5" type="stmt"/>
|
|
1520
|
+
<line num="113" count="41" type="stmt"/>
|
|
1521
|
+
<line num="114" count="2" type="stmt"/>
|
|
1522
|
+
<line num="115" count="2" type="stmt"/>
|
|
1523
|
+
<line num="116" count="2" type="stmt"/>
|
|
1524
|
+
<line num="117" count="2" type="stmt"/>
|
|
1525
|
+
<line num="119" count="0" type="stmt"/>
|
|
1526
|
+
<line num="123" count="41" type="stmt"/>
|
|
1527
|
+
<line num="124" count="2" type="stmt"/>
|
|
1528
|
+
<line num="125" count="2" type="stmt"/>
|
|
1529
|
+
<line num="126" count="2" type="stmt"/>
|
|
1530
|
+
<line num="128" count="0" type="stmt"/>
|
|
1531
|
+
<line num="132" count="41" type="stmt"/>
|
|
1532
|
+
<line num="133" count="2" type="stmt"/>
|
|
1533
|
+
<line num="134" count="2" type="stmt"/>
|
|
1534
|
+
<line num="135" count="2" type="stmt"/>
|
|
1535
|
+
<line num="137" count="0" type="stmt"/>
|
|
1536
|
+
<line num="141" count="41" type="stmt"/>
|
|
1537
|
+
<line num="142" count="0" type="stmt"/>
|
|
1538
|
+
<line num="143" count="0" type="stmt"/>
|
|
1539
|
+
<line num="144" count="0" type="stmt"/>
|
|
1540
|
+
<line num="146" count="0" type="stmt"/>
|
|
1541
|
+
</file>
|
|
1149
1542
|
<file name="internal.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internal.js">
|
|
1150
|
-
<metrics statements="
|
|
1543
|
+
<metrics statements="212" coveredstatements="171" conditionals="62" coveredconditionals="39" methods="26" coveredmethods="22"/>
|
|
1151
1544
|
<line num="1" count="41" type="stmt"/>
|
|
1152
1545
|
<line num="8" count="41" type="stmt"/>
|
|
1153
1546
|
<line num="9" count="41" type="stmt"/>
|
|
@@ -1215,18 +1608,18 @@
|
|
|
1215
1608
|
<line num="138" count="0" type="stmt"/>
|
|
1216
1609
|
<line num="141" count="5" type="stmt"/>
|
|
1217
1610
|
<line num="147" count="41" type="stmt"/>
|
|
1218
|
-
<line num="148" count="
|
|
1219
|
-
<line num="149" count="
|
|
1220
|
-
<line num="150" count="
|
|
1221
|
-
<line num="152" count="
|
|
1222
|
-
<line num="153" count="
|
|
1223
|
-
<line num="157" count="
|
|
1224
|
-
<line num="158" count="
|
|
1225
|
-
<line num="159" count="
|
|
1226
|
-
<line num="164" count="
|
|
1611
|
+
<line num="148" count="71" type="stmt"/>
|
|
1612
|
+
<line num="149" count="71" type="stmt"/>
|
|
1613
|
+
<line num="150" count="71" type="stmt"/>
|
|
1614
|
+
<line num="152" count="71" type="cond" truecount="3" falsecount="1"/>
|
|
1615
|
+
<line num="153" count="71" type="stmt"/>
|
|
1616
|
+
<line num="157" count="71" type="stmt"/>
|
|
1617
|
+
<line num="158" count="71" type="stmt"/>
|
|
1618
|
+
<line num="159" count="71" type="stmt"/>
|
|
1619
|
+
<line num="164" count="71" type="cond" truecount="1" falsecount="1"/>
|
|
1227
1620
|
<line num="165" count="0" type="stmt"/>
|
|
1228
|
-
<line num="169" count="
|
|
1229
|
-
<line num="176" count="
|
|
1621
|
+
<line num="169" count="71" type="stmt"/>
|
|
1622
|
+
<line num="176" count="70" type="stmt"/>
|
|
1230
1623
|
<line num="182" count="41" type="stmt"/>
|
|
1231
1624
|
<line num="183" count="7" type="stmt"/>
|
|
1232
1625
|
<line num="186" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -1267,100 +1660,99 @@
|
|
|
1267
1660
|
<line num="262" count="4" type="stmt"/>
|
|
1268
1661
|
<line num="263" count="4" type="stmt"/>
|
|
1269
1662
|
<line num="264" count="4" type="stmt"/>
|
|
1270
|
-
<line num="
|
|
1271
|
-
<line num="267" count="
|
|
1272
|
-
<line num="
|
|
1273
|
-
<line num="
|
|
1274
|
-
<line num="
|
|
1275
|
-
<line num="
|
|
1276
|
-
<line num="
|
|
1277
|
-
<line num="
|
|
1278
|
-
<line num="285" count="
|
|
1279
|
-
<line num="
|
|
1663
|
+
<line num="266" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1664
|
+
<line num="267" count="0" type="stmt"/>
|
|
1665
|
+
<line num="269" count="3" type="stmt"/>
|
|
1666
|
+
<line num="271" count="3" type="stmt"/>
|
|
1667
|
+
<line num="273" count="3" type="stmt"/>
|
|
1668
|
+
<line num="279" count="3" type="stmt"/>
|
|
1669
|
+
<line num="281" count="3" type="stmt"/>
|
|
1670
|
+
<line num="284" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1671
|
+
<line num="285" count="0" type="stmt"/>
|
|
1672
|
+
<line num="288" count="0" type="stmt"/>
|
|
1280
1673
|
<line num="289" count="0" type="stmt"/>
|
|
1281
|
-
<line num="
|
|
1282
|
-
<line num="
|
|
1283
|
-
<line num="
|
|
1284
|
-
<line num="297" count="
|
|
1674
|
+
<line num="291" count="3" type="stmt"/>
|
|
1675
|
+
<line num="293" count="3" type="stmt"/>
|
|
1676
|
+
<line num="296" count="41" type="stmt"/>
|
|
1677
|
+
<line num="297" count="2" type="stmt"/>
|
|
1285
1678
|
<line num="298" count="2" type="stmt"/>
|
|
1286
1679
|
<line num="299" count="2" type="stmt"/>
|
|
1287
1680
|
<line num="300" count="2" type="stmt"/>
|
|
1288
|
-
<line num="
|
|
1289
|
-
<line num="
|
|
1290
|
-
<line num="308" count="
|
|
1291
|
-
<line num="
|
|
1292
|
-
<line num="315" count="
|
|
1293
|
-
<line num="
|
|
1294
|
-
<line num="
|
|
1295
|
-
<line num="
|
|
1296
|
-
<line num="
|
|
1681
|
+
<line num="304" count="2" type="stmt"/>
|
|
1682
|
+
<line num="307" count="2" type="stmt"/>
|
|
1683
|
+
<line num="308" count="3" type="stmt"/>
|
|
1684
|
+
<line num="314" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1685
|
+
<line num="315" count="0" type="stmt"/>
|
|
1686
|
+
<line num="317" count="0" type="stmt"/>
|
|
1687
|
+
<line num="320" count="0" type="stmt"/>
|
|
1688
|
+
<line num="324" count="3" type="stmt"/>
|
|
1689
|
+
<line num="327" count="2" type="stmt"/>
|
|
1297
1690
|
<line num="328" count="2" type="stmt"/>
|
|
1298
1691
|
<line num="329" count="2" type="stmt"/>
|
|
1299
1692
|
<line num="330" count="2" type="stmt"/>
|
|
1300
|
-
<line num="
|
|
1301
|
-
<line num="
|
|
1302
|
-
<line num="336" count="
|
|
1303
|
-
<line num="
|
|
1693
|
+
<line num="333" count="41" type="stmt"/>
|
|
1694
|
+
<line num="335" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1695
|
+
<line num="336" count="0" type="stmt"/>
|
|
1696
|
+
<line num="339" count="2" type="stmt"/>
|
|
1304
1697
|
<line num="340" count="2" type="stmt"/>
|
|
1305
1698
|
<line num="341" count="2" type="stmt"/>
|
|
1306
1699
|
<line num="342" count="2" type="stmt"/>
|
|
1307
1700
|
<line num="343" count="2" type="stmt"/>
|
|
1308
|
-
<line num="
|
|
1309
|
-
<line num="347" count="
|
|
1310
|
-
<line num="
|
|
1311
|
-
<line num="
|
|
1312
|
-
<line num="
|
|
1313
|
-
<line num="356" count="
|
|
1314
|
-
<line num="
|
|
1701
|
+
<line num="346" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1702
|
+
<line num="347" count="0" type="stmt"/>
|
|
1703
|
+
<line num="349" count="2" type="stmt"/>
|
|
1704
|
+
<line num="353" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
1705
|
+
<line num="355" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1706
|
+
<line num="356" count="0" type="stmt"/>
|
|
1707
|
+
<line num="358" count="2" type="stmt"/>
|
|
1315
1708
|
<line num="359" count="2" type="stmt"/>
|
|
1316
|
-
<line num="
|
|
1317
|
-
<line num="
|
|
1318
|
-
<line num="366" count="
|
|
1319
|
-
<line num="
|
|
1320
|
-
<line num="373" count="
|
|
1709
|
+
<line num="362" count="2" type="stmt"/>
|
|
1710
|
+
<line num="365" count="41" type="stmt"/>
|
|
1711
|
+
<line num="366" count="2" type="stmt"/>
|
|
1712
|
+
<line num="372" count="41" type="stmt"/>
|
|
1713
|
+
<line num="373" count="0" type="stmt"/>
|
|
1321
1714
|
<line num="374" count="0" type="stmt"/>
|
|
1322
1715
|
<line num="375" count="0" type="stmt"/>
|
|
1323
1716
|
<line num="376" count="0" type="stmt"/>
|
|
1324
1717
|
<line num="377" count="0" type="stmt"/>
|
|
1325
|
-
<line num="
|
|
1326
|
-
<line num="
|
|
1327
|
-
<line num="
|
|
1718
|
+
<line num="382" count="0" type="stmt"/>
|
|
1719
|
+
<line num="384" count="0" type="stmt"/>
|
|
1720
|
+
<line num="386" count="0" type="stmt"/>
|
|
1328
1721
|
<line num="387" count="0" type="stmt"/>
|
|
1329
1722
|
<line num="388" count="0" type="stmt"/>
|
|
1330
|
-
<line num="
|
|
1723
|
+
<line num="391" count="0" type="stmt"/>
|
|
1331
1724
|
<line num="392" count="0" type="stmt"/>
|
|
1332
|
-
<line num="
|
|
1333
|
-
<line num="396" count="
|
|
1725
|
+
<line num="395" count="41" type="stmt"/>
|
|
1726
|
+
<line num="396" count="2" type="stmt"/>
|
|
1334
1727
|
<line num="397" count="2" type="stmt"/>
|
|
1335
1728
|
<line num="398" count="2" type="stmt"/>
|
|
1336
|
-
<line num="
|
|
1337
|
-
<line num="
|
|
1338
|
-
<line num="
|
|
1339
|
-
<line num="
|
|
1340
|
-
<line num="
|
|
1341
|
-
<line num="
|
|
1729
|
+
<line num="400" count="2" type="stmt"/>
|
|
1730
|
+
<line num="405" count="2" type="stmt"/>
|
|
1731
|
+
<line num="410" count="2" type="stmt"/>
|
|
1732
|
+
<line num="413" count="1" type="stmt"/>
|
|
1733
|
+
<line num="415" count="1" type="stmt"/>
|
|
1734
|
+
<line num="417" count="2" type="stmt"/>
|
|
1342
1735
|
<line num="418" count="2" type="stmt"/>
|
|
1343
1736
|
<line num="419" count="2" type="stmt"/>
|
|
1344
|
-
<line num="420" count="
|
|
1345
|
-
<line num="421" count="
|
|
1346
|
-
<line num="
|
|
1347
|
-
<line num="424" count="1" type="
|
|
1348
|
-
<line num="425" count="1" type="
|
|
1737
|
+
<line num="420" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1738
|
+
<line num="421" count="0" type="stmt"/>
|
|
1739
|
+
<line num="423" count="1" type="stmt"/>
|
|
1740
|
+
<line num="424" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1741
|
+
<line num="425" count="1" type="stmt"/>
|
|
1349
1742
|
<line num="426" count="1" type="stmt"/>
|
|
1350
|
-
<line num="
|
|
1351
|
-
<line num="
|
|
1743
|
+
<line num="428" count="0" type="stmt"/>
|
|
1744
|
+
<line num="431" count="2" type="stmt"/>
|
|
1352
1745
|
<line num="432" count="2" type="stmt"/>
|
|
1353
|
-
<line num="
|
|
1354
|
-
<line num="
|
|
1355
|
-
<line num="441" count="
|
|
1356
|
-
<line num="442" count="5" type="
|
|
1357
|
-
<line num="
|
|
1746
|
+
<line num="434" count="1" type="stmt"/>
|
|
1747
|
+
<line num="440" count="2" type="stmt"/>
|
|
1748
|
+
<line num="441" count="5" type="stmt"/>
|
|
1749
|
+
<line num="442" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1750
|
+
<line num="444" count="1" type="stmt"/>
|
|
1358
1751
|
<line num="445" count="1" type="stmt"/>
|
|
1359
1752
|
<line num="446" count="1" type="stmt"/>
|
|
1360
|
-
<line num="
|
|
1753
|
+
<line num="448" count="1" type="stmt"/>
|
|
1361
1754
|
<line num="449" count="1" type="stmt"/>
|
|
1362
|
-
<line num="
|
|
1363
|
-
<line num="454" count="2" type="stmt"/>
|
|
1755
|
+
<line num="453" count="2" type="stmt"/>
|
|
1364
1756
|
</file>
|
|
1365
1757
|
<file name="internalSearch.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internalSearch.js">
|
|
1366
1758
|
<metrics statements="152" coveredstatements="93" conditionals="95" coveredconditionals="38" methods="33" coveredmethods="18"/>
|
|
@@ -1526,9 +1918,9 @@
|
|
|
1526
1918
|
<line num="9" count="41" type="stmt"/>
|
|
1527
1919
|
<line num="10" count="41" type="stmt"/>
|
|
1528
1920
|
<line num="18" count="41" type="stmt"/>
|
|
1529
|
-
<line num="19" count="
|
|
1530
|
-
<line num="21" count="
|
|
1531
|
-
<line num="22" count="
|
|
1921
|
+
<line num="19" count="80" type="stmt"/>
|
|
1922
|
+
<line num="21" count="80" type="cond" truecount="1" falsecount="1"/>
|
|
1923
|
+
<line num="22" count="80" type="stmt"/>
|
|
1532
1924
|
<line num="24" count="0" type="stmt"/>
|
|
1533
1925
|
<line num="25" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1534
1926
|
<line num="29" count="0" type="stmt"/>
|
|
@@ -1563,11 +1955,11 @@
|
|
|
1563
1955
|
<line num="98" count="0" type="stmt"/>
|
|
1564
1956
|
<line num="102" count="0" type="stmt"/>
|
|
1565
1957
|
<line num="111" count="41" type="stmt"/>
|
|
1566
|
-
<line num="116" count="
|
|
1567
|
-
<line num="117" count="
|
|
1568
|
-
<line num="119" count="
|
|
1569
|
-
<line num="123" count="
|
|
1570
|
-
<line num="131" count="
|
|
1958
|
+
<line num="116" count="75" type="stmt"/>
|
|
1959
|
+
<line num="117" count="75" type="stmt"/>
|
|
1960
|
+
<line num="119" count="75" type="stmt"/>
|
|
1961
|
+
<line num="123" count="75" type="stmt"/>
|
|
1962
|
+
<line num="131" count="75" type="cond" truecount="3" falsecount="1"/>
|
|
1571
1963
|
<line num="132" count="0" type="stmt"/>
|
|
1572
1964
|
<line num="133" count="0" type="stmt"/>
|
|
1573
1965
|
<line num="135" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -1576,15 +1968,15 @@
|
|
|
1576
1968
|
<line num="140" count="0" type="stmt"/>
|
|
1577
1969
|
<line num="141" count="0" type="stmt"/>
|
|
1578
1970
|
<line num="143" count="0" type="stmt"/>
|
|
1579
|
-
<line num="147" count="
|
|
1580
|
-
<line num="149" count="
|
|
1581
|
-
<line num="150" count="
|
|
1582
|
-
<line num="152" count="
|
|
1583
|
-
<line num="153" count="
|
|
1584
|
-
<line num="155" count="
|
|
1971
|
+
<line num="147" count="75" type="stmt"/>
|
|
1972
|
+
<line num="149" count="75" type="stmt"/>
|
|
1973
|
+
<line num="150" count="75" type="stmt"/>
|
|
1974
|
+
<line num="152" count="75" type="cond" truecount="1" falsecount="1"/>
|
|
1975
|
+
<line num="153" count="75" type="stmt"/>
|
|
1976
|
+
<line num="155" count="75" type="stmt"/>
|
|
1585
1977
|
</file>
|
|
1586
1978
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/utils.js">
|
|
1587
|
-
<metrics statements="51" coveredstatements="35" conditionals="
|
|
1979
|
+
<metrics statements="51" coveredstatements="35" conditionals="30" coveredconditionals="13" methods="6" coveredmethods="4"/>
|
|
1588
1980
|
<line num="1" count="41" type="stmt"/>
|
|
1589
1981
|
<line num="2" count="41" type="stmt"/>
|
|
1590
1982
|
<line num="3" count="41" type="stmt"/>
|
|
@@ -1611,37 +2003,37 @@
|
|
|
1611
2003
|
<line num="40" count="0" type="stmt"/>
|
|
1612
2004
|
<line num="42" count="23" type="stmt"/>
|
|
1613
2005
|
<line num="45" count="41" type="stmt"/>
|
|
1614
|
-
<line num="46" count="
|
|
2006
|
+
<line num="46" count="79" type="cond" truecount="2" falsecount="0"/>
|
|
1615
2007
|
<line num="47" count="2" type="stmt"/>
|
|
1616
2008
|
<line num="48" count="2" type="stmt"/>
|
|
1617
|
-
<line num="50" count="
|
|
1618
|
-
<line num="51" count="
|
|
1619
|
-
<line num="52" count="
|
|
1620
|
-
<line num="53" count="
|
|
1621
|
-
<line num="55" count="
|
|
2009
|
+
<line num="50" count="79" type="stmt"/>
|
|
2010
|
+
<line num="51" count="79" type="stmt"/>
|
|
2011
|
+
<line num="52" count="216" type="stmt"/>
|
|
2012
|
+
<line num="53" count="216" type="stmt"/>
|
|
2013
|
+
<line num="55" count="216" type="cond" truecount="1" falsecount="1"/>
|
|
1622
2014
|
<line num="56" count="0" type="stmt"/>
|
|
1623
|
-
<line num="59" count="
|
|
2015
|
+
<line num="59" count="216" type="cond" truecount="2" falsecount="2"/>
|
|
1624
2016
|
<line num="60" count="0" type="stmt"/>
|
|
1625
|
-
<line num="65" count="
|
|
2017
|
+
<line num="65" count="216" type="cond" truecount="2" falsecount="2"/>
|
|
1626
2018
|
<line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1627
2019
|
<line num="67" count="0" type="stmt"/>
|
|
1628
2020
|
<line num="68" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1629
|
-
<line num="
|
|
1630
|
-
<line num="
|
|
1631
|
-
<line num="
|
|
1632
|
-
<line num="
|
|
2021
|
+
<line num="69" count="0" type="stmt"/>
|
|
2022
|
+
<line num="72" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2023
|
+
<line num="74" count="0" type="stmt"/>
|
|
2024
|
+
<line num="76" count="216" type="cond" truecount="2" falsecount="2"/>
|
|
2025
|
+
<line num="78" count="0" type="stmt"/>
|
|
2026
|
+
<line num="79" count="0" type="stmt"/>
|
|
1633
2027
|
<line num="81" count="0" type="stmt"/>
|
|
1634
|
-
<line num="
|
|
1635
|
-
<line num="
|
|
1636
|
-
<line num="
|
|
1637
|
-
<line num="89" count="214" type="cond" truecount="2" falsecount="0"/>
|
|
1638
|
-
<line num="91" count="78" type="stmt"/>
|
|
2028
|
+
<line num="84" count="216" type="stmt"/>
|
|
2029
|
+
<line num="86" count="216" type="cond" truecount="2" falsecount="0"/>
|
|
2030
|
+
<line num="88" count="79" type="stmt"/>
|
|
1639
2031
|
</file>
|
|
1640
2032
|
</package>
|
|
1641
2033
|
<package name="api.controllers.table">
|
|
1642
|
-
<metrics statements="
|
|
2034
|
+
<metrics statements="545" coveredstatements="294" conditionals="298" coveredconditionals="111" methods="79" coveredmethods="42"/>
|
|
1643
2035
|
<file name="bulkFormula.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/bulkFormula.js">
|
|
1644
|
-
<metrics statements="75" coveredstatements="52" conditionals="
|
|
2036
|
+
<metrics statements="75" coveredstatements="52" conditionals="55" coveredconditionals="24" methods="16" coveredmethods="13"/>
|
|
1645
2037
|
<line num="1" count="41" type="stmt"/>
|
|
1646
2038
|
<line num="2" count="41" type="stmt"/>
|
|
1647
2039
|
<line num="3" count="41" type="stmt"/>
|
|
@@ -1649,30 +2041,30 @@
|
|
|
1649
2041
|
<line num="5" count="41" type="stmt"/>
|
|
1650
2042
|
<line num="6" count="41" type="stmt"/>
|
|
1651
2043
|
<line num="7" count="41" type="stmt"/>
|
|
1652
|
-
<line num="10" count="
|
|
1653
|
-
<line num="21" count="
|
|
1654
|
-
<line num="22" count="
|
|
1655
|
-
<line num="23" count="
|
|
1656
|
-
<line num="25" count="
|
|
1657
|
-
<line num="26" count="
|
|
1658
|
-
<line num="28" count="0" type="cond" truecount="0" falsecount="
|
|
2044
|
+
<line num="10" count="1384" type="stmt"/>
|
|
2045
|
+
<line num="21" count="271" type="stmt"/>
|
|
2046
|
+
<line num="22" count="271" type="cond" truecount="1" falsecount="1"/>
|
|
2047
|
+
<line num="23" count="271" type="stmt"/>
|
|
2048
|
+
<line num="25" count="1115" type="cond" truecount="1" falsecount="1"/>
|
|
2049
|
+
<line num="26" count="1115" type="stmt"/>
|
|
2050
|
+
<line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1659
2051
|
<line num="29" count="0" type="stmt"/>
|
|
1660
2052
|
<line num="31" count="0" type="stmt"/>
|
|
1661
|
-
<line num="33" count="
|
|
1662
|
-
<line num="42" count="
|
|
1663
|
-
<line num="43" count="
|
|
1664
|
-
<line num="45" count="
|
|
1665
|
-
<line num="46" count="
|
|
1666
|
-
<line num="47" count="
|
|
1667
|
-
<line num="50" count="
|
|
1668
|
-
<line num="51" count="
|
|
1669
|
-
<line num="53" count="
|
|
2053
|
+
<line num="33" count="271" type="stmt"/>
|
|
2054
|
+
<line num="42" count="109" type="stmt"/>
|
|
2055
|
+
<line num="43" count="251" type="stmt"/>
|
|
2056
|
+
<line num="45" count="109" type="cond" truecount="2" falsecount="0"/>
|
|
2057
|
+
<line num="46" count="109" type="stmt"/>
|
|
2058
|
+
<line num="47" count="274" type="cond" truecount="2" falsecount="0"/>
|
|
2059
|
+
<line num="50" count="109" type="stmt"/>
|
|
2060
|
+
<line num="51" count="238" type="stmt"/>
|
|
2061
|
+
<line num="53" count="238" type="cond" truecount="2" falsecount="0"/>
|
|
1670
2062
|
<line num="54" count="2" type="stmt"/>
|
|
1671
|
-
<line num="56" count="
|
|
1672
|
-
<line num="57" count="
|
|
2063
|
+
<line num="56" count="238" type="stmt"/>
|
|
2064
|
+
<line num="57" count="238" type="cond" truecount="1" falsecount="1"/>
|
|
1673
2065
|
<line num="58" count="0" type="stmt"/>
|
|
1674
|
-
<line num="62" count="
|
|
1675
|
-
<line num="63" count="
|
|
2066
|
+
<line num="62" count="238" type="cond" truecount="1" falsecount="1"/>
|
|
2067
|
+
<line num="63" count="238" type="stmt"/>
|
|
1676
2068
|
<line num="65" count="0" type="stmt"/>
|
|
1677
2069
|
<line num="66" count="0" type="stmt"/>
|
|
1678
2070
|
<line num="67" count="0" type="stmt"/>
|
|
@@ -1683,20 +2075,20 @@
|
|
|
1683
2075
|
<line num="75" count="0" type="stmt"/>
|
|
1684
2076
|
<line num="82" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1685
2077
|
<line num="83" count="0" type="stmt"/>
|
|
1686
|
-
<line num="100" count="
|
|
1687
|
-
<line num="102" count="
|
|
1688
|
-
<line num="103" count="
|
|
1689
|
-
<line num="106" count="
|
|
1690
|
-
<line num="108" count="
|
|
1691
|
-
<line num="109" count="
|
|
1692
|
-
<line num="112" count="
|
|
1693
|
-
<line num="113" count="
|
|
1694
|
-
<line num="114" count="
|
|
2078
|
+
<line num="100" count="109" type="stmt"/>
|
|
2079
|
+
<line num="102" count="109" type="stmt"/>
|
|
2080
|
+
<line num="103" count="251" type="stmt"/>
|
|
2081
|
+
<line num="106" count="109" type="stmt"/>
|
|
2082
|
+
<line num="108" count="109" type="stmt"/>
|
|
2083
|
+
<line num="109" count="276" type="stmt"/>
|
|
2084
|
+
<line num="112" count="109" type="stmt"/>
|
|
2085
|
+
<line num="113" count="145" type="cond" truecount="1" falsecount="1"/>
|
|
2086
|
+
<line num="114" count="145" type="stmt"/>
|
|
1695
2087
|
<line num="116" count="0" type="stmt"/>
|
|
1696
2088
|
<line num="117" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1697
2089
|
<line num="118" count="0" type="stmt"/>
|
|
1698
|
-
<line num="122" count="
|
|
1699
|
-
<line num="123" count="
|
|
2090
|
+
<line num="122" count="109" type="cond" truecount="2" falsecount="0"/>
|
|
2091
|
+
<line num="123" count="106" type="stmt"/>
|
|
1700
2092
|
<line num="124" count="33" type="stmt"/>
|
|
1701
2093
|
<line num="125" count="33" type="cond" truecount="3" falsecount="1"/>
|
|
1702
2094
|
<line num="126" count="33" type="stmt"/>
|
|
@@ -1704,19 +2096,19 @@
|
|
|
1704
2096
|
<line num="129" count="0" type="stmt"/>
|
|
1705
2097
|
<line num="132" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1706
2098
|
<line num="137" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1707
|
-
<line num="144" count="
|
|
1708
|
-
<line num="145" count="
|
|
1709
|
-
<line num="146" count="
|
|
2099
|
+
<line num="144" count="109" type="stmt"/>
|
|
2100
|
+
<line num="145" count="192" type="stmt"/>
|
|
2101
|
+
<line num="146" count="145" type="cond" truecount="3" falsecount="1"/>
|
|
1710
2102
|
<line num="147" count="0" type="stmt"/>
|
|
1711
|
-
<line num="154" count="
|
|
1712
|
-
<line num="156" count="
|
|
1713
|
-
<line num="162" count="
|
|
2103
|
+
<line num="154" count="106" type="stmt"/>
|
|
2104
|
+
<line num="156" count="269" type="cond" truecount="1" falsecount="3"/>
|
|
2105
|
+
<line num="162" count="106" type="cond" truecount="1" falsecount="1"/>
|
|
1714
2106
|
<line num="163" count="0" type="stmt"/>
|
|
1715
2107
|
<line num="167" count="41" type="stmt"/>
|
|
1716
|
-
<line num="168" count="
|
|
1717
|
-
<line num="169" count="
|
|
1718
|
-
<line num="170" count="
|
|
1719
|
-
<line num="171" count="
|
|
2108
|
+
<line num="168" count="109" type="stmt"/>
|
|
2109
|
+
<line num="169" count="109" type="stmt"/>
|
|
2110
|
+
<line num="170" count="109" type="cond" truecount="2" falsecount="0"/>
|
|
2111
|
+
<line num="171" count="106" type="stmt"/>
|
|
1720
2112
|
</file>
|
|
1721
2113
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/external.js">
|
|
1722
2114
|
<metrics statements="138" coveredstatements="11" conditionals="79" coveredconditionals="0" methods="14" coveredmethods="0"/>
|
|
@@ -1868,13 +2260,13 @@
|
|
|
1868
2260
|
<line num="5" count="41" type="stmt"/>
|
|
1869
2261
|
<line num="6" count="41" type="stmt"/>
|
|
1870
2262
|
<line num="7" count="41" type="stmt"/>
|
|
1871
|
-
<line num="10" count="
|
|
1872
|
-
<line num="11" count="
|
|
1873
|
-
<line num="13" count="
|
|
2263
|
+
<line num="10" count="109" type="cond" truecount="4" falsecount="0"/>
|
|
2264
|
+
<line num="11" count="106" type="stmt"/>
|
|
2265
|
+
<line num="13" count="109" type="cond" truecount="3" falsecount="1"/>
|
|
1874
2266
|
<line num="14" count="0" type="stmt"/>
|
|
1875
|
-
<line num="15" count="
|
|
2267
|
+
<line num="15" count="109" type="cond" truecount="3" falsecount="1"/>
|
|
1876
2268
|
<line num="16" count="0" type="stmt"/>
|
|
1877
|
-
<line num="18" count="
|
|
2269
|
+
<line num="18" count="109" type="stmt"/>
|
|
1878
2270
|
<line num="22" count="41" type="stmt"/>
|
|
1879
2271
|
<line num="23" count="2" type="stmt"/>
|
|
1880
2272
|
<line num="25" count="2" type="stmt"/>
|
|
@@ -1889,13 +2281,13 @@
|
|
|
1889
2281
|
<line num="51" count="20" type="stmt"/>
|
|
1890
2282
|
<line num="52" count="20" type="stmt"/>
|
|
1891
2283
|
<line num="55" count="41" type="stmt"/>
|
|
1892
|
-
<line num="56" count="
|
|
1893
|
-
<line num="57" count="
|
|
1894
|
-
<line num="58" count="
|
|
1895
|
-
<line num="59" count="
|
|
1896
|
-
<line num="60" count="
|
|
1897
|
-
<line num="61" count="
|
|
1898
|
-
<line num="63" count="
|
|
2284
|
+
<line num="56" count="106" type="stmt"/>
|
|
2285
|
+
<line num="57" count="106" type="stmt"/>
|
|
2286
|
+
<line num="58" count="106" type="stmt"/>
|
|
2287
|
+
<line num="59" count="106" type="stmt"/>
|
|
2288
|
+
<line num="60" count="106" type="stmt"/>
|
|
2289
|
+
<line num="61" count="106" type="cond" truecount="2" falsecount="0"/>
|
|
2290
|
+
<line num="63" count="106" type="stmt"/>
|
|
1899
2291
|
<line num="66" count="41" type="stmt"/>
|
|
1900
2292
|
<line num="67" count="3" type="stmt"/>
|
|
1901
2293
|
<line num="68" count="3" type="stmt"/>
|
|
@@ -1918,6 +2310,288 @@
|
|
|
1918
2310
|
<line num="96" count="0" type="stmt"/>
|
|
1919
2311
|
<line num="98" count="1" type="stmt"/>
|
|
1920
2312
|
</file>
|
|
2313
|
+
<file name="internal.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/internal.js">
|
|
2314
|
+
<metrics statements="77" coveredstatements="59" conditionals="46" coveredconditionals="32" methods="6" coveredmethods="3"/>
|
|
2315
|
+
<line num="1" count="41" type="stmt"/>
|
|
2316
|
+
<line num="2" count="41" type="stmt"/>
|
|
2317
|
+
<line num="3" count="41" type="stmt"/>
|
|
2318
|
+
<line num="9" count="41" type="stmt"/>
|
|
2319
|
+
<line num="10" count="41" type="stmt"/>
|
|
2320
|
+
<line num="11" count="41" type="stmt"/>
|
|
2321
|
+
<line num="12" count="41" type="stmt"/>
|
|
2322
|
+
<line num="16" count="41" type="stmt"/>
|
|
2323
|
+
<line num="17" count="41" type="stmt"/>
|
|
2324
|
+
<line num="20" count="106" type="cond" truecount="1" falsecount="1"/>
|
|
2325
|
+
<line num="21" count="0" type="stmt"/>
|
|
2326
|
+
<line num="23" count="106" type="stmt"/>
|
|
2327
|
+
<line num="24" count="264" type="cond" truecount="4" falsecount="0"/>
|
|
2328
|
+
<line num="25" count="262" type="stmt"/>
|
|
2329
|
+
<line num="27" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2330
|
+
<line num="28" count="2" type="cond" truecount="2" falsecount="2"/>
|
|
2331
|
+
<line num="29" count="0" type="stmt"/>
|
|
2332
|
+
<line num="31" count="2" type="stmt"/>
|
|
2333
|
+
<line num="34" count="106" type="stmt"/>
|
|
2334
|
+
<line num="37" count="41" type="stmt"/>
|
|
2335
|
+
<line num="38" count="106" type="stmt"/>
|
|
2336
|
+
<line num="39" count="106" type="stmt"/>
|
|
2337
|
+
<line num="40" count="106" type="stmt"/>
|
|
2338
|
+
<line num="49" count="106" type="cond" truecount="4" falsecount="0"/>
|
|
2339
|
+
<line num="50" count="5" type="stmt"/>
|
|
2340
|
+
<line num="54" count="106" type="cond" truecount="1" falsecount="1"/>
|
|
2341
|
+
<line num="55" count="0" type="stmt"/>
|
|
2342
|
+
<line num="58" count="106" type="stmt"/>
|
|
2343
|
+
<line num="62" count="106" type="stmt"/>
|
|
2344
|
+
<line num="67" count="106" type="stmt"/>
|
|
2345
|
+
<line num="71" count="106" type="cond" truecount="4" falsecount="0"/>
|
|
2346
|
+
<line num="72" count="5" type="stmt"/>
|
|
2347
|
+
<line num="73" count="15" type="stmt"/>
|
|
2348
|
+
<line num="74" count="15" type="cond" truecount="3" falsecount="1"/>
|
|
2349
|
+
<line num="75" count="0" type="stmt"/>
|
|
2350
|
+
<line num="81" count="106" type="stmt"/>
|
|
2351
|
+
<line num="94" count="106" type="stmt"/>
|
|
2352
|
+
<line num="97" count="106" type="stmt"/>
|
|
2353
|
+
<line num="98" count="0" type="stmt"/>
|
|
2354
|
+
<line num="99" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2355
|
+
<line num="101" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2356
|
+
<line num="102" count="0" type="stmt"/>
|
|
2357
|
+
<line num="106" count="106" type="stmt"/>
|
|
2358
|
+
<line num="107" count="106" type="stmt"/>
|
|
2359
|
+
<line num="114" count="106" type="cond" truecount="4" falsecount="0"/>
|
|
2360
|
+
<line num="115" count="5" type="stmt"/>
|
|
2361
|
+
<line num="118" count="0" type="stmt"/>
|
|
2362
|
+
<line num="123" count="106" type="stmt"/>
|
|
2363
|
+
<line num="124" count="106" type="cond" truecount="4" falsecount="0"/>
|
|
2364
|
+
<line num="125" count="1" type="stmt"/>
|
|
2365
|
+
<line num="127" count="106" type="stmt"/>
|
|
2366
|
+
<line num="128" count="106" type="stmt"/>
|
|
2367
|
+
<line num="130" count="106" type="stmt"/>
|
|
2368
|
+
<line num="132" count="106" type="stmt"/>
|
|
2369
|
+
<line num="133" count="106" type="stmt"/>
|
|
2370
|
+
<line num="136" count="41" type="stmt"/>
|
|
2371
|
+
<line num="137" count="3" type="stmt"/>
|
|
2372
|
+
<line num="138" count="3" type="stmt"/>
|
|
2373
|
+
<line num="141" count="3" type="stmt"/>
|
|
2374
|
+
<line num="146" count="3" type="stmt"/>
|
|
2375
|
+
<line num="147" count="3" type="stmt"/>
|
|
2376
|
+
<line num="150" count="3" type="stmt"/>
|
|
2377
|
+
<line num="156" count="3" type="stmt"/>
|
|
2378
|
+
<line num="159" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
2379
|
+
<line num="160" count="0" type="stmt"/>
|
|
2380
|
+
<line num="161" count="0" type="stmt"/>
|
|
2381
|
+
<line num="162" count="0" type="stmt"/>
|
|
2382
|
+
<line num="164" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2383
|
+
<line num="165" count="0" type="stmt"/>
|
|
2384
|
+
<line num="170" count="3" type="stmt"/>
|
|
2385
|
+
<line num="171" count="3" type="stmt"/>
|
|
2386
|
+
<line num="172" count="3" type="stmt"/>
|
|
2387
|
+
<line num="175" count="41" type="stmt"/>
|
|
2388
|
+
<line num="176" count="0" type="stmt"/>
|
|
2389
|
+
<line num="177" count="0" type="stmt"/>
|
|
2390
|
+
<line num="178" count="0" type="stmt"/>
|
|
2391
|
+
<line num="179" count="0" type="stmt"/>
|
|
2392
|
+
</file>
|
|
2393
|
+
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/utils.js">
|
|
2394
|
+
<metrics statements="199" coveredstatements="128" conditionals="95" coveredconditionals="38" methods="34" coveredmethods="20"/>
|
|
2395
|
+
<line num="1" count="41" type="stmt"/>
|
|
2396
|
+
<line num="8" count="41" type="stmt"/>
|
|
2397
|
+
<line num="9" count="41" type="stmt"/>
|
|
2398
|
+
<line num="10" count="41" type="stmt"/>
|
|
2399
|
+
<line num="14" count="41" type="stmt"/>
|
|
2400
|
+
<line num="19" count="41" type="stmt"/>
|
|
2401
|
+
<line num="24" count="41" type="stmt"/>
|
|
2402
|
+
<line num="25" count="41" type="stmt"/>
|
|
2403
|
+
<line num="26" count="41" type="stmt"/>
|
|
2404
|
+
<line num="27" count="41" type="stmt"/>
|
|
2405
|
+
<line num="28" count="41" type="stmt"/>
|
|
2406
|
+
<line num="29" count="41" type="stmt"/>
|
|
2407
|
+
<line num="31" count="41" type="stmt"/>
|
|
2408
|
+
<line num="32" count="0" type="stmt"/>
|
|
2409
|
+
<line num="33" count="0" type="stmt"/>
|
|
2410
|
+
<line num="38" count="0" type="stmt"/>
|
|
2411
|
+
<line num="40" count="0" type="stmt"/>
|
|
2412
|
+
<line num="41" count="0" type="stmt"/>
|
|
2413
|
+
<line num="46" count="41" type="stmt"/>
|
|
2414
|
+
<line num="47" count="106" type="stmt"/>
|
|
2415
|
+
<line num="48" count="106" type="stmt"/>
|
|
2416
|
+
<line num="49" count="106" type="stmt"/>
|
|
2417
|
+
<line num="50" count="106" type="stmt"/>
|
|
2418
|
+
<line num="51" count="106" type="cond" truecount="5" falsecount="0"/>
|
|
2419
|
+
<line num="52" count="5" type="stmt"/>
|
|
2420
|
+
<line num="53" count="13" type="stmt"/>
|
|
2421
|
+
<line num="57" count="106" type="cond" truecount="4" falsecount="0"/>
|
|
2422
|
+
<line num="59" count="1" type="stmt"/>
|
|
2423
|
+
<line num="64" count="1" type="stmt"/>
|
|
2424
|
+
<line num="65" count="1" type="stmt"/>
|
|
2425
|
+
<line num="66" count="1" type="stmt"/>
|
|
2426
|
+
<line num="67" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2427
|
+
<line num="68" count="1" type="stmt"/>
|
|
2428
|
+
<line num="69" count="1" type="stmt"/>
|
|
2429
|
+
<line num="70" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2430
|
+
<line num="71" count="0" type="stmt"/>
|
|
2431
|
+
<line num="73" count="1" type="stmt"/>
|
|
2432
|
+
<line num="77" count="1" type="stmt"/>
|
|
2433
|
+
<line num="79" count="1" type="stmt"/>
|
|
2434
|
+
<line num="80" count="1" type="stmt"/>
|
|
2435
|
+
<line num="82" count="106" type="stmt"/>
|
|
2436
|
+
<line num="86" count="41" type="stmt"/>
|
|
2437
|
+
<line num="87" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2438
|
+
<line num="88" count="0" type="stmt"/>
|
|
2439
|
+
<line num="91" count="5" type="stmt"/>
|
|
2440
|
+
<line num="94" count="5" type="stmt"/>
|
|
2441
|
+
<line num="95" count="13" type="cond" truecount="1" falsecount="1"/>
|
|
2442
|
+
<line num="100" count="0" type="stmt"/>
|
|
2443
|
+
<line num="103" count="5" type="stmt"/>
|
|
2444
|
+
<line num="106" count="41" type="stmt"/>
|
|
2445
|
+
<line num="107" count="107" type="cond" truecount="4" falsecount="0"/>
|
|
2446
|
+
<line num="108" count="106" type="stmt"/>
|
|
2447
|
+
<line num="111" count="1" type="stmt"/>
|
|
2448
|
+
<line num="113" count="1" type="stmt"/>
|
|
2449
|
+
<line num="118" count="1" type="stmt"/>
|
|
2450
|
+
<line num="119" count="1" type="stmt"/>
|
|
2451
|
+
<line num="120" count="1" type="stmt"/>
|
|
2452
|
+
<line num="121" count="1" type="stmt"/>
|
|
2453
|
+
<line num="122" count="1" type="stmt"/>
|
|
2454
|
+
<line num="123" count="1" type="stmt"/>
|
|
2455
|
+
<line num="126" count="1" type="stmt"/>
|
|
2456
|
+
<line num="127" count="1" type="stmt"/>
|
|
2457
|
+
<line num="129" count="1" type="stmt"/>
|
|
2458
|
+
<line num="131" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2459
|
+
<line num="136" count="0" type="stmt"/>
|
|
2460
|
+
<line num="143" count="1" type="stmt"/>
|
|
2461
|
+
<line num="146" count="1" type="stmt"/>
|
|
2462
|
+
<line num="149" count="1" type="stmt"/>
|
|
2463
|
+
<line num="150" count="1" type="stmt"/>
|
|
2464
|
+
<line num="151" count="1" type="stmt"/>
|
|
2465
|
+
<line num="152" count="1" type="stmt"/>
|
|
2466
|
+
<line num="153" count="1" type="stmt"/>
|
|
2467
|
+
<line num="156" count="41" type="stmt"/>
|
|
2468
|
+
<line num="157" count="106" type="stmt"/>
|
|
2469
|
+
<line num="159" count="106" type="cond" truecount="4" falsecount="0"/>
|
|
2470
|
+
<line num="160" count="2" type="stmt"/>
|
|
2471
|
+
<line num="161" count="2" type="stmt"/>
|
|
2472
|
+
<line num="163" count="2" type="stmt"/>
|
|
2473
|
+
<line num="164" count="3" type="stmt"/>
|
|
2474
|
+
<line num="167" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2475
|
+
<line num="168" count="1" type="stmt"/>
|
|
2476
|
+
<line num="169" count="1" type="stmt"/>
|
|
2477
|
+
<line num="173" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2478
|
+
<line num="174" count="1" type="stmt"/>
|
|
2479
|
+
<line num="176" count="1" type="stmt"/>
|
|
2480
|
+
<line num="187" count="1" type="stmt"/>
|
|
2481
|
+
<line num="197" count="106" type="stmt"/>
|
|
2482
|
+
<line num="200" count="41" type="stmt"/>
|
|
2483
|
+
<line num="202" count="106" type="cond" truecount="2" falsecount="0"/>
|
|
2484
|
+
<line num="203" count="1" type="stmt"/>
|
|
2485
|
+
<line num="205" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2486
|
+
<line num="206" count="5" type="stmt"/>
|
|
2487
|
+
<line num="210" count="106" type="stmt"/>
|
|
2488
|
+
<line num="215" count="106" type="stmt"/>
|
|
2489
|
+
<line num="216" count="106" type="stmt"/>
|
|
2490
|
+
<line num="217" count="106" type="stmt"/>
|
|
2491
|
+
<line num="218" count="106" type="stmt"/>
|
|
2492
|
+
<line num="220" count="106" type="stmt"/>
|
|
2493
|
+
<line num="225" count="106" type="cond" truecount="2" falsecount="0"/>
|
|
2494
|
+
<line num="226" count="5" type="stmt"/>
|
|
2495
|
+
<line num="228" count="106" type="stmt"/>
|
|
2496
|
+
<line num="229" count="106" type="stmt"/>
|
|
2497
|
+
<line num="234" count="106" type="stmt"/>
|
|
2498
|
+
<line num="235" count="106" type="stmt"/>
|
|
2499
|
+
<line num="236" count="106" type="stmt"/>
|
|
2500
|
+
<line num="241" count="106" type="stmt"/>
|
|
2501
|
+
<line num="242" count="106" type="stmt"/>
|
|
2502
|
+
<line num="243" count="106" type="stmt"/>
|
|
2503
|
+
<line num="247" count="106" type="stmt"/>
|
|
2504
|
+
<line num="251" count="41" type="stmt"/>
|
|
2505
|
+
<line num="252" count="220" type="stmt"/>
|
|
2506
|
+
<line num="253" count="220" type="stmt"/>
|
|
2507
|
+
<line num="258" count="506" type="stmt"/>
|
|
2508
|
+
<line num="265" count="41" type="stmt"/>
|
|
2509
|
+
<line num="266" count="0" type="stmt"/>
|
|
2510
|
+
<line num="267" count="0" type="stmt"/>
|
|
2511
|
+
<line num="268" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2512
|
+
<line num="269" count="0" type="stmt"/>
|
|
2513
|
+
<line num="271" count="0" type="stmt"/>
|
|
2514
|
+
<line num="274" count="41" type="stmt"/>
|
|
2515
|
+
<line num="275" count="0" type="stmt"/>
|
|
2516
|
+
<line num="276" count="0" type="stmt"/>
|
|
2517
|
+
<line num="279" count="41" type="stmt"/>
|
|
2518
|
+
<line num="280" count="31" type="stmt"/>
|
|
2519
|
+
<line num="281" count="31" type="cond" truecount="1" falsecount="1"/>
|
|
2520
|
+
<line num="282" count="0" type="stmt"/>
|
|
2521
|
+
<line num="283" count="0" type="stmt"/>
|
|
2522
|
+
<line num="284" count="0" type="stmt"/>
|
|
2523
|
+
<line num="285" count="0" type="stmt"/>
|
|
2524
|
+
<line num="287" count="31" type="stmt"/>
|
|
2525
|
+
<line num="291" count="41" type="stmt"/>
|
|
2526
|
+
<line num="292" count="1" type="stmt"/>
|
|
2527
|
+
<line num="293" count="1" type="stmt"/>
|
|
2528
|
+
<line num="296" count="1" type="stmt"/>
|
|
2529
|
+
<line num="297" count="0" type="stmt"/>
|
|
2530
|
+
<line num="300" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2531
|
+
<line num="302" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2532
|
+
<line num="303" count="0" type="stmt"/>
|
|
2533
|
+
<line num="304" count="0" type="stmt"/>
|
|
2534
|
+
<line num="308" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2535
|
+
<line num="309" count="0" type="stmt"/>
|
|
2536
|
+
<line num="310" count="0" type="stmt"/>
|
|
2537
|
+
<line num="314" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2538
|
+
<line num="315" count="0" type="stmt"/>
|
|
2539
|
+
<line num="316" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2540
|
+
<line num="317" count="0" type="stmt"/>
|
|
2541
|
+
<line num="318" count="0" type="stmt"/>
|
|
2542
|
+
<line num="322" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2543
|
+
<line num="323" count="0" type="stmt"/>
|
|
2544
|
+
<line num="325" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2545
|
+
<line num="326" count="0" type="stmt"/>
|
|
2546
|
+
<line num="327" count="0" type="stmt"/>
|
|
2547
|
+
<line num="328" count="0" type="stmt"/>
|
|
2548
|
+
<line num="329" count="0" type="stmt"/>
|
|
2549
|
+
<line num="333" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2550
|
+
<line num="334" count="0" type="stmt"/>
|
|
2551
|
+
<line num="335" count="0" type="stmt"/>
|
|
2552
|
+
<line num="339" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2553
|
+
<line num="340" count="0" type="stmt"/>
|
|
2554
|
+
<line num="341" count="0" type="stmt"/>
|
|
2555
|
+
<line num="342" count="0" type="stmt"/>
|
|
2556
|
+
<line num="344" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2557
|
+
<line num="345" count="0" type="stmt"/>
|
|
2558
|
+
<line num="352" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2559
|
+
<line num="353" count="0" type="stmt"/>
|
|
2560
|
+
<line num="354" count="0" type="stmt"/>
|
|
2561
|
+
<line num="355" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2562
|
+
<line num="356" count="0" type="stmt"/>
|
|
2563
|
+
<line num="358" count="0" type="stmt"/>
|
|
2564
|
+
<line num="363" count="41" type="stmt"/>
|
|
2565
|
+
<line num="364" count="0" type="stmt"/>
|
|
2566
|
+
<line num="367" count="41" type="stmt"/>
|
|
2567
|
+
<line num="368" count="0" type="stmt"/>
|
|
2568
|
+
<line num="371" count="41" type="cond" truecount="0" falsecount="1"/>
|
|
2569
|
+
<line num="372" count="0" type="stmt"/>
|
|
2570
|
+
<line num="377" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2571
|
+
<line num="378" count="0" type="stmt"/>
|
|
2572
|
+
<line num="380" count="0" type="stmt"/>
|
|
2573
|
+
<line num="383" count="41" type="stmt"/>
|
|
2574
|
+
<line num="384" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2575
|
+
<line num="388" count="0" type="stmt"/>
|
|
2576
|
+
<line num="390" count="0" type="stmt"/>
|
|
2577
|
+
<line num="391" count="0" type="stmt"/>
|
|
2578
|
+
<line num="392" count="0" type="stmt"/>
|
|
2579
|
+
<line num="393" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
2580
|
+
<line num="394" count="0" type="stmt"/>
|
|
2581
|
+
<line num="397" count="0" type="stmt"/>
|
|
2582
|
+
<line num="400" count="41" type="stmt"/>
|
|
2583
|
+
<line num="401" count="106" type="cond" truecount="2" falsecount="0"/>
|
|
2584
|
+
<line num="402" count="101" type="stmt"/>
|
|
2585
|
+
<line num="404" count="5" type="stmt"/>
|
|
2586
|
+
<line num="405" count="13" type="stmt"/>
|
|
2587
|
+
<line num="406" count="13" type="cond" truecount="2" falsecount="0"/>
|
|
2588
|
+
<line num="407" count="7" type="stmt"/>
|
|
2589
|
+
<line num="409" count="6" type="stmt"/>
|
|
2590
|
+
<line num="410" count="6" type="cond" truecount="2" falsecount="2"/>
|
|
2591
|
+
<line num="411" count="0" type="stmt"/>
|
|
2592
|
+
<line num="414" count="5" type="stmt"/>
|
|
2593
|
+
<line num="417" count="41" type="stmt"/>
|
|
2594
|
+
</file>
|
|
1921
2595
|
</package>
|
|
1922
2596
|
<package name="api.controllers.view">
|
|
1923
2597
|
<metrics statements="193" coveredstatements="143" conditionals="83" coveredconditionals="53" methods="25" coveredmethods="18"/>
|
|
@@ -2128,7 +2802,7 @@
|
|
|
2128
2802
|
</file>
|
|
2129
2803
|
</package>
|
|
2130
2804
|
<package name="api.routes">
|
|
2131
|
-
<metrics statements="
|
|
2805
|
+
<metrics statements="251" coveredstatements="244" conditionals="6" coveredconditionals="3" methods="1" coveredmethods="1"/>
|
|
2132
2806
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/analytics.js">
|
|
2133
2807
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2134
2808
|
<line num="1" count="24" type="stmt"/>
|
|
@@ -2147,6 +2821,17 @@
|
|
|
2147
2821
|
<line num="8" count="24" type="stmt"/>
|
|
2148
2822
|
<line num="12" count="24" type="stmt"/>
|
|
2149
2823
|
</file>
|
|
2824
|
+
<file name="application.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/application.js">
|
|
2825
|
+
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2826
|
+
<line num="1" count="24" type="stmt"/>
|
|
2827
|
+
<line num="2" count="24" type="stmt"/>
|
|
2828
|
+
<line num="3" count="24" type="stmt"/>
|
|
2829
|
+
<line num="4" count="24" type="stmt"/>
|
|
2830
|
+
<line num="5" count="24" type="stmt"/>
|
|
2831
|
+
<line num="7" count="24" type="stmt"/>
|
|
2832
|
+
<line num="9" count="24" type="stmt"/>
|
|
2833
|
+
<line num="33" count="24" type="stmt"/>
|
|
2834
|
+
</file>
|
|
2150
2835
|
<file name="auth.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/auth.js">
|
|
2151
2836
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2152
2837
|
<line num="1" count="24" type="stmt"/>
|
|
@@ -2234,6 +2919,40 @@
|
|
|
2234
2919
|
<line num="21" count="24" type="stmt"/>
|
|
2235
2920
|
<line num="26" count="24" type="stmt"/>
|
|
2236
2921
|
</file>
|
|
2922
|
+
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/index.js">
|
|
2923
|
+
<metrics statements="31" coveredstatements="31" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2924
|
+
<line num="1" count="24" type="stmt"/>
|
|
2925
|
+
<line num="2" count="24" type="stmt"/>
|
|
2926
|
+
<line num="3" count="24" type="stmt"/>
|
|
2927
|
+
<line num="4" count="24" type="stmt"/>
|
|
2928
|
+
<line num="5" count="24" type="stmt"/>
|
|
2929
|
+
<line num="6" count="24" type="stmt"/>
|
|
2930
|
+
<line num="7" count="24" type="stmt"/>
|
|
2931
|
+
<line num="8" count="24" type="stmt"/>
|
|
2932
|
+
<line num="9" count="24" type="stmt"/>
|
|
2933
|
+
<line num="10" count="24" type="stmt"/>
|
|
2934
|
+
<line num="11" count="24" type="stmt"/>
|
|
2935
|
+
<line num="12" count="24" type="stmt"/>
|
|
2936
|
+
<line num="13" count="24" type="stmt"/>
|
|
2937
|
+
<line num="14" count="24" type="stmt"/>
|
|
2938
|
+
<line num="15" count="24" type="stmt"/>
|
|
2939
|
+
<line num="16" count="24" type="stmt"/>
|
|
2940
|
+
<line num="17" count="24" type="stmt"/>
|
|
2941
|
+
<line num="18" count="24" type="stmt"/>
|
|
2942
|
+
<line num="19" count="24" type="stmt"/>
|
|
2943
|
+
<line num="20" count="24" type="stmt"/>
|
|
2944
|
+
<line num="21" count="24" type="stmt"/>
|
|
2945
|
+
<line num="22" count="24" type="stmt"/>
|
|
2946
|
+
<line num="23" count="24" type="stmt"/>
|
|
2947
|
+
<line num="24" count="24" type="stmt"/>
|
|
2948
|
+
<line num="25" count="24" type="stmt"/>
|
|
2949
|
+
<line num="26" count="24" type="stmt"/>
|
|
2950
|
+
<line num="27" count="24" type="stmt"/>
|
|
2951
|
+
<line num="28" count="24" type="stmt"/>
|
|
2952
|
+
<line num="30" count="24" type="stmt"/>
|
|
2953
|
+
<line num="61" count="24" type="stmt"/>
|
|
2954
|
+
<line num="62" count="24" type="stmt"/>
|
|
2955
|
+
</file>
|
|
2237
2956
|
<file name="integration.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/integration.js">
|
|
2238
2957
|
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2239
2958
|
<line num="1" count="24" type="stmt"/>
|
|
@@ -2318,6 +3037,19 @@
|
|
|
2318
3037
|
<line num="8" count="24" type="stmt"/>
|
|
2319
3038
|
<line num="14" count="24" type="stmt"/>
|
|
2320
3039
|
</file>
|
|
3040
|
+
<file name="row.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/row.js">
|
|
3041
|
+
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3042
|
+
<line num="1" count="24" type="stmt"/>
|
|
3043
|
+
<line num="2" count="24" type="stmt"/>
|
|
3044
|
+
<line num="3" count="24" type="stmt"/>
|
|
3045
|
+
<line num="4" count="24" type="stmt"/>
|
|
3046
|
+
<line num="8" count="24" type="stmt"/>
|
|
3047
|
+
<line num="12" count="24" type="stmt"/>
|
|
3048
|
+
<line num="13" count="24" type="stmt"/>
|
|
3049
|
+
<line num="15" count="24" type="stmt"/>
|
|
3050
|
+
<line num="17" count="24" type="stmt"/>
|
|
3051
|
+
<line num="276" count="24" type="stmt"/>
|
|
3052
|
+
</file>
|
|
2321
3053
|
<file name="screen.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/screen.js">
|
|
2322
3054
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2323
3055
|
<line num="1" count="24" type="stmt"/>
|
|
@@ -2339,6 +3071,21 @@
|
|
|
2339
3071
|
<line num="8" count="0" type="stmt"/>
|
|
2340
3072
|
<line num="10" count="0" type="stmt"/>
|
|
2341
3073
|
</file>
|
|
3074
|
+
<file name="static.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/static.js">
|
|
3075
|
+
<metrics statements="12" coveredstatements="12" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
|
|
3076
|
+
<line num="1" count="24" type="stmt"/>
|
|
3077
|
+
<line num="2" count="24" type="stmt"/>
|
|
3078
|
+
<line num="3" count="24" type="stmt"/>
|
|
3079
|
+
<line num="4" count="24" type="stmt"/>
|
|
3080
|
+
<line num="9" count="24" type="stmt"/>
|
|
3081
|
+
<line num="10" count="24" type="stmt"/>
|
|
3082
|
+
<line num="11" count="24" type="stmt"/>
|
|
3083
|
+
<line num="13" count="24" type="stmt"/>
|
|
3084
|
+
<line num="33" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
3085
|
+
<line num="34" count="24" type="stmt"/>
|
|
3086
|
+
<line num="37" count="24" type="stmt"/>
|
|
3087
|
+
<line num="55" count="24" type="stmt"/>
|
|
3088
|
+
</file>
|
|
2342
3089
|
<file name="table.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/table.js">
|
|
2343
3090
|
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2344
3091
|
<line num="1" count="24" type="stmt"/>
|
|
@@ -2437,9 +3184,9 @@
|
|
|
2437
3184
|
</file>
|
|
2438
3185
|
</package>
|
|
2439
3186
|
<package name="automations">
|
|
2440
|
-
<metrics statements="
|
|
3187
|
+
<metrics statements="215" coveredstatements="181" conditionals="96" coveredconditionals="77" methods="28" coveredmethods="22"/>
|
|
2441
3188
|
<file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
|
|
2442
|
-
<metrics statements="
|
|
3189
|
+
<metrics statements="23" coveredstatements="23" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
|
|
2443
3190
|
<line num="1" count="41" type="stmt"/>
|
|
2444
3191
|
<line num="2" count="41" type="stmt"/>
|
|
2445
3192
|
<line num="3" count="41" type="stmt"/>
|
|
@@ -2456,56 +3203,47 @@
|
|
|
2456
3203
|
<line num="14" count="41" type="stmt"/>
|
|
2457
3204
|
<line num="15" count="41" type="stmt"/>
|
|
2458
3205
|
<line num="16" count="41" type="stmt"/>
|
|
2459
|
-
<line num="
|
|
2460
|
-
<line num="
|
|
2461
|
-
<line num="
|
|
2462
|
-
<line num="
|
|
2463
|
-
<line num="
|
|
2464
|
-
<line num="
|
|
2465
|
-
<line num="
|
|
2466
|
-
<line num="74" count="41" type="stmt"/>
|
|
3206
|
+
<line num="18" count="41" type="stmt"/>
|
|
3207
|
+
<line num="36" count="41" type="stmt"/>
|
|
3208
|
+
<line num="58" count="41" type="cond" truecount="1" falsecount="1"/>
|
|
3209
|
+
<line num="59" count="41" type="stmt"/>
|
|
3210
|
+
<line num="60" count="41" type="stmt"/>
|
|
3211
|
+
<line num="61" count="41" type="stmt"/>
|
|
3212
|
+
<line num="71" count="41" type="stmt"/>
|
|
2467
3213
|
</file>
|
|
2468
3214
|
<file name="automationUtils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/automationUtils.js">
|
|
2469
|
-
<metrics statements="
|
|
3215
|
+
<metrics statements="31" coveredstatements="29" conditionals="25" coveredconditionals="21" methods="3" coveredmethods="3"/>
|
|
2470
3216
|
<line num="1" count="41" type="stmt"/>
|
|
2471
|
-
<line num="
|
|
2472
|
-
<line num="20" count="
|
|
2473
|
-
<line num="21" count="
|
|
2474
|
-
<line num="
|
|
2475
|
-
<line num="24" count="
|
|
2476
|
-
<line num="25" count="
|
|
2477
|
-
<line num="26" count="
|
|
2478
|
-
<line num="
|
|
2479
|
-
<line num="29" count="
|
|
2480
|
-
<line num="30" count="
|
|
2481
|
-
<line num="
|
|
2482
|
-
<line num="33" count="
|
|
2483
|
-
<line num="34" count="2" type="
|
|
2484
|
-
<line num="35" count="
|
|
2485
|
-
<line num="
|
|
2486
|
-
<line num="38" count="
|
|
2487
|
-
<line num="
|
|
2488
|
-
<line num="42" count="
|
|
2489
|
-
<line num="43" count="1" type="
|
|
2490
|
-
<line num="44" count="1" type="
|
|
2491
|
-
<line num="
|
|
2492
|
-
<line num="
|
|
2493
|
-
<line num="61" count="
|
|
3217
|
+
<line num="19" count="41" type="stmt"/>
|
|
3218
|
+
<line num="20" count="15" type="cond" truecount="2" falsecount="0"/>
|
|
3219
|
+
<line num="21" count="1" type="stmt"/>
|
|
3220
|
+
<line num="23" count="14" type="stmt"/>
|
|
3221
|
+
<line num="24" count="36" type="stmt"/>
|
|
3222
|
+
<line num="25" count="36" type="cond" truecount="2" falsecount="0"/>
|
|
3223
|
+
<line num="26" count="6" type="stmt"/>
|
|
3224
|
+
<line num="28" count="30" type="stmt"/>
|
|
3225
|
+
<line num="29" count="30" type="cond" truecount="2" falsecount="0"/>
|
|
3226
|
+
<line num="30" count="12" type="stmt"/>
|
|
3227
|
+
<line num="32" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
3228
|
+
<line num="33" count="2" type="stmt"/>
|
|
3229
|
+
<line num="34" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
3230
|
+
<line num="35" count="1" type="stmt"/>
|
|
3231
|
+
<line num="37" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
3232
|
+
<line num="38" count="1" type="stmt"/>
|
|
3233
|
+
<line num="41" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
3234
|
+
<line num="42" count="1" type="stmt"/>
|
|
3235
|
+
<line num="43" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
3236
|
+
<line num="44" count="1" type="stmt"/>
|
|
3237
|
+
<line num="48" count="14" type="stmt"/>
|
|
3238
|
+
<line num="60" count="41" type="stmt"/>
|
|
3239
|
+
<line num="61" count="9" type="stmt"/>
|
|
2494
3240
|
<line num="62" count="8" type="stmt"/>
|
|
2495
|
-
<line num="
|
|
2496
|
-
<line num="66" count="
|
|
2497
|
-
<line num="67" count="
|
|
2498
|
-
<line num="
|
|
2499
|
-
<line num="
|
|
2500
|
-
<line num="
|
|
2501
|
-
<line num="76" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
2502
|
-
<line num="79" count="41" type="stmt"/>
|
|
2503
|
-
<line num="80" count="0" type="stmt"/>
|
|
2504
|
-
<line num="81" count="0" type="stmt"/>
|
|
2505
|
-
<line num="82" count="0" type="stmt"/>
|
|
2506
|
-
<line num="83" count="0" type="stmt"/>
|
|
2507
|
-
<line num="84" count="0" type="stmt"/>
|
|
2508
|
-
<line num="87" count="0" type="stmt"/>
|
|
3241
|
+
<line num="65" count="41" type="stmt"/>
|
|
3242
|
+
<line num="66" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
3243
|
+
<line num="67" count="0" type="stmt"/>
|
|
3244
|
+
<line num="69" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
3245
|
+
<line num="73" count="0" type="stmt"/>
|
|
3246
|
+
<line num="75" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
2509
3247
|
</file>
|
|
2510
3248
|
<file name="bullboard.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/bullboard.js">
|
|
2511
3249
|
<metrics statements="28" coveredstatements="15" conditionals="6" coveredconditionals="3" methods="3" coveredmethods="0"/>
|
|
@@ -2563,16 +3301,16 @@
|
|
|
2563
3301
|
<line num="11" count="40" type="stmt"/>
|
|
2564
3302
|
<line num="13" count="40" type="stmt"/>
|
|
2565
3303
|
<line num="14" count="40" type="stmt"/>
|
|
2566
|
-
<line num="20" count="
|
|
3304
|
+
<line num="20" count="19" type="cond" truecount="1" falsecount="1"/>
|
|
2567
3305
|
<line num="21" count="0" type="stmt"/>
|
|
2568
|
-
<line num="24" count="
|
|
2569
|
-
<line num="25" count="
|
|
2570
|
-
<line num="26" count="
|
|
2571
|
-
<line num="31" count="
|
|
3306
|
+
<line num="24" count="19" type="stmt"/>
|
|
3307
|
+
<line num="25" count="19" type="stmt"/>
|
|
3308
|
+
<line num="26" count="19" type="stmt"/>
|
|
3309
|
+
<line num="31" count="19" type="stmt"/>
|
|
2572
3310
|
<line num="32" count="4" type="stmt"/>
|
|
2573
3311
|
<line num="34" count="4" type="stmt"/>
|
|
2574
3312
|
<line num="35" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
2575
|
-
<line num="38" count="
|
|
3313
|
+
<line num="38" count="19" type="stmt"/>
|
|
2576
3314
|
<line num="39" count="4" type="stmt"/>
|
|
2577
3315
|
<line num="40" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2578
3316
|
<line num="44" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
@@ -2580,7 +3318,7 @@
|
|
|
2580
3318
|
<line num="51" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2581
3319
|
<line num="55" count="4" type="stmt"/>
|
|
2582
3320
|
<line num="61" count="40" type="stmt"/>
|
|
2583
|
-
<line num="66" count="
|
|
3321
|
+
<line num="66" count="9" type="stmt"/>
|
|
2584
3322
|
<line num="69" count="40" type="stmt"/>
|
|
2585
3323
|
<line num="74" count="4" type="stmt"/>
|
|
2586
3324
|
<line num="77" count="40" type="stmt"/>
|
|
@@ -2598,9 +3336,91 @@
|
|
|
2598
3336
|
<line num="109" count="4" type="stmt"/>
|
|
2599
3337
|
<line num="113" count="40" type="stmt"/>
|
|
2600
3338
|
</file>
|
|
3339
|
+
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/utils.js">
|
|
3340
|
+
<metrics statements="79" coveredstatements="63" conditionals="38" coveredconditionals="31" methods="11" coveredmethods="9"/>
|
|
3341
|
+
<line num="1" count="40" type="stmt"/>
|
|
3342
|
+
<line num="2" count="40" type="stmt"/>
|
|
3343
|
+
<line num="3" count="40" type="stmt"/>
|
|
3344
|
+
<line num="4" count="40" type="stmt"/>
|
|
3345
|
+
<line num="5" count="40" type="stmt"/>
|
|
3346
|
+
<line num="6" count="40" type="stmt"/>
|
|
3347
|
+
<line num="7" count="40" type="stmt"/>
|
|
3348
|
+
<line num="8" count="40" type="stmt"/>
|
|
3349
|
+
<line num="9" count="40" type="stmt"/>
|
|
3350
|
+
<line num="10" count="40" type="stmt"/>
|
|
3351
|
+
<line num="11" count="40" type="stmt"/>
|
|
3352
|
+
<line num="13" count="40" type="stmt"/>
|
|
3353
|
+
<line num="14" count="40" type="stmt"/>
|
|
3354
|
+
<line num="15" count="40" type="stmt"/>
|
|
3355
|
+
<line num="17" count="40" type="stmt"/>
|
|
3356
|
+
<line num="18" count="10" type="stmt"/>
|
|
3357
|
+
<line num="20" count="10" type="stmt"/>
|
|
3358
|
+
<line num="23" count="10" type="stmt"/>
|
|
3359
|
+
<line num="25" count="0" type="stmt"/>
|
|
3360
|
+
<line num="26" count="0" type="stmt"/>
|
|
3361
|
+
<line num="29" count="0" type="stmt"/>
|
|
3362
|
+
<line num="30" count="0" type="stmt"/>
|
|
3363
|
+
<line num="34" count="40" type="stmt"/>
|
|
3364
|
+
<line num="35" count="2" type="stmt"/>
|
|
3365
|
+
<line num="39" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
3366
|
+
<line num="40" count="0" type="stmt"/>
|
|
3367
|
+
<line num="42" count="2" type="stmt"/>
|
|
3368
|
+
<line num="46" count="2" type="stmt"/>
|
|
3369
|
+
<line num="51" count="40" type="stmt"/>
|
|
3370
|
+
<line num="52" count="80" type="stmt"/>
|
|
3371
|
+
<line num="53" count="80" type="stmt"/>
|
|
3372
|
+
<line num="54" count="880" type="cond" truecount="2" falsecount="0"/>
|
|
3373
|
+
<line num="55" count="40" type="stmt"/>
|
|
3374
|
+
<line num="58" count="80" type="stmt"/>
|
|
3375
|
+
<line num="62" count="40" type="stmt"/>
|
|
3376
|
+
<line num="63" count="206" type="stmt"/>
|
|
3377
|
+
<line num="64" count="206" type="stmt"/>
|
|
3378
|
+
<line num="65" count="206" type="stmt"/>
|
|
3379
|
+
<line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3380
|
+
<line num="67" count="0" type="stmt"/>
|
|
3381
|
+
<line num="68" count="0" type="stmt"/>
|
|
3382
|
+
<line num="71" count="206" type="stmt"/>
|
|
3383
|
+
<line num="79" count="40" type="stmt"/>
|
|
3384
|
+
<line num="80" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
3385
|
+
<line num="82" count="1" type="stmt"/>
|
|
3386
|
+
<line num="89" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
3387
|
+
<line num="91" count="0" type="stmt"/>
|
|
3388
|
+
<line num="92" count="0" type="stmt"/>
|
|
3389
|
+
<line num="100" count="0" type="stmt"/>
|
|
3390
|
+
<line num="104" count="0" type="stmt"/>
|
|
3391
|
+
<line num="105" count="0" type="stmt"/>
|
|
3392
|
+
<line num="106" count="0" type="stmt"/>
|
|
3393
|
+
<line num="107" count="0" type="stmt"/>
|
|
3394
|
+
<line num="110" count="1" type="stmt"/>
|
|
3395
|
+
<line num="121" count="40" type="stmt"/>
|
|
3396
|
+
<line num="122" count="23" type="stmt"/>
|
|
3397
|
+
<line num="123" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
3398
|
+
<line num="124" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
3399
|
+
<line num="126" count="23" type="cond" truecount="3" falsecount="0"/>
|
|
3400
|
+
<line num="128" count="70" type="stmt"/>
|
|
3401
|
+
<line num="135" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
3402
|
+
<line num="140" count="1" type="stmt"/>
|
|
3403
|
+
<line num="141" count="1" type="stmt"/>
|
|
3404
|
+
<line num="143" count="1" type="stmt"/>
|
|
3405
|
+
<line num="144" count="1" type="stmt"/>
|
|
3406
|
+
<line num="149" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
3407
|
+
<line num="150" count="1" type="stmt"/>
|
|
3408
|
+
<line num="151" count="1" type="stmt"/>
|
|
3409
|
+
<line num="153" count="1" type="stmt"/>
|
|
3410
|
+
<line num="159" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
3411
|
+
<line num="163" count="1" type="stmt"/>
|
|
3412
|
+
<line num="173" count="1" type="stmt"/>
|
|
3413
|
+
<line num="174" count="1" type="stmt"/>
|
|
3414
|
+
<line num="175" count="1" type="stmt"/>
|
|
3415
|
+
<line num="179" count="1" type="stmt"/>
|
|
3416
|
+
<line num="180" count="1" type="stmt"/>
|
|
3417
|
+
<line num="185" count="23" type="stmt"/>
|
|
3418
|
+
<line num="193" count="40" type="stmt"/>
|
|
3419
|
+
<line num="194" count="0" type="stmt"/>
|
|
3420
|
+
</file>
|
|
2601
3421
|
</package>
|
|
2602
3422
|
<package name="automations.steps">
|
|
2603
|
-
<metrics statements="
|
|
3423
|
+
<metrics statements="240" coveredstatements="177" conditionals="88" coveredconditionals="60" methods="20" coveredmethods="11"/>
|
|
2604
3424
|
<file name="bash.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/bash.js">
|
|
2605
3425
|
<metrics statements="17" coveredstatements="6" conditionals="4" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
2606
3426
|
<line num="1" count="41" type="stmt"/>
|
|
@@ -2621,6 +3441,25 @@
|
|
|
2621
3441
|
<line num="63" count="0" type="stmt"/>
|
|
2622
3442
|
<line num="68" count="0" type="stmt"/>
|
|
2623
3443
|
</file>
|
|
3444
|
+
<file name="createRow.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/createRow.js">
|
|
3445
|
+
<metrics statements="16" coveredstatements="16" conditionals="4" coveredconditionals="4" methods="1" coveredmethods="1"/>
|
|
3446
|
+
<line num="1" count="41" type="stmt"/>
|
|
3447
|
+
<line num="2" count="41" type="stmt"/>
|
|
3448
|
+
<line num="3" count="41" type="stmt"/>
|
|
3449
|
+
<line num="4" count="41" type="stmt"/>
|
|
3450
|
+
<line num="6" count="41" type="stmt"/>
|
|
3451
|
+
<line num="62" count="41" type="stmt"/>
|
|
3452
|
+
<line num="63" count="9" type="cond" truecount="4" falsecount="0"/>
|
|
3453
|
+
<line num="64" count="1" type="stmt"/>
|
|
3454
|
+
<line num="72" count="8" type="stmt"/>
|
|
3455
|
+
<line num="79" count="8" type="stmt"/>
|
|
3456
|
+
<line num="80" count="8" type="stmt"/>
|
|
3457
|
+
<line num="84" count="7" type="stmt"/>
|
|
3458
|
+
<line num="85" count="7" type="stmt"/>
|
|
3459
|
+
<line num="86" count="7" type="stmt"/>
|
|
3460
|
+
<line num="87" count="7" type="stmt"/>
|
|
3461
|
+
<line num="95" count="1" type="stmt"/>
|
|
3462
|
+
</file>
|
|
2624
3463
|
<file name="delay.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/delay.js">
|
|
2625
3464
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
2626
3465
|
<line num="1" count="41" type="stmt"/>
|
|
@@ -2629,6 +3468,23 @@
|
|
|
2629
3468
|
<line num="35" count="1" type="stmt"/>
|
|
2630
3469
|
<line num="36" count="1" type="stmt"/>
|
|
2631
3470
|
</file>
|
|
3471
|
+
<file name="deleteRow.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/deleteRow.js">
|
|
3472
|
+
<metrics statements="14" coveredstatements="14" conditionals="4" coveredconditionals="4" methods="1" coveredmethods="1"/>
|
|
3473
|
+
<line num="1" count="41" type="stmt"/>
|
|
3474
|
+
<line num="2" count="41" type="stmt"/>
|
|
3475
|
+
<line num="3" count="41" type="stmt"/>
|
|
3476
|
+
<line num="4" count="41" type="stmt"/>
|
|
3477
|
+
<line num="6" count="41" type="stmt"/>
|
|
3478
|
+
<line num="55" count="41" type="stmt"/>
|
|
3479
|
+
<line num="56" count="4" type="cond" truecount="4" falsecount="0"/>
|
|
3480
|
+
<line num="57" count="1" type="stmt"/>
|
|
3481
|
+
<line num="65" count="3" type="stmt"/>
|
|
3482
|
+
<line num="75" count="3" type="stmt"/>
|
|
3483
|
+
<line num="76" count="3" type="stmt"/>
|
|
3484
|
+
<line num="77" count="3" type="stmt"/>
|
|
3485
|
+
<line num="78" count="2" type="stmt"/>
|
|
3486
|
+
<line num="84" count="1" type="stmt"/>
|
|
3487
|
+
</file>
|
|
2632
3488
|
<file name="discord.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/discord.js">
|
|
2633
3489
|
<metrics statements="14" coveredstatements="6" conditionals="6" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
2634
3490
|
<line num="1" count="41" type="stmt"/>
|
|
@@ -2718,10 +3574,6 @@
|
|
|
2718
3574
|
<line num="81" count="0" type="stmt"/>
|
|
2719
3575
|
<line num="82" count="0" type="stmt"/>
|
|
2720
3576
|
</file>
|
|
2721
|
-
<file name="loop.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/loop.js">
|
|
2722
|
-
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2723
|
-
<line num="1" count="41" type="stmt"/>
|
|
2724
|
-
</file>
|
|
2725
3577
|
<file name="outgoingWebhook.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/outgoingWebhook.js">
|
|
2726
3578
|
<metrics statements="25" coveredstatements="21" conditionals="17" coveredconditionals="12" methods="1" coveredmethods="1"/>
|
|
2727
3579
|
<line num="1" count="41" type="stmt"/>
|
|
@@ -2841,13 +3693,13 @@
|
|
|
2841
3693
|
<line num="12" count="0" type="stmt"/>
|
|
2842
3694
|
<line num="14" count="2" type="stmt"/>
|
|
2843
3695
|
<line num="20" count="41" type="cond" truecount="0" falsecount="1"/>
|
|
2844
|
-
<line num="21" count="
|
|
3696
|
+
<line num="21" count="15" type="stmt"/>
|
|
2845
3697
|
<line num="26" count="1" type="stmt"/>
|
|
2846
|
-
<line num="29" count="
|
|
2847
|
-
<line num="30" count="
|
|
2848
|
-
<line num="32" count="
|
|
2849
|
-
<line num="33" count="
|
|
2850
|
-
<line num="35" count="
|
|
3698
|
+
<line num="29" count="15" type="cond" truecount="2" falsecount="0"/>
|
|
3699
|
+
<line num="30" count="14" type="stmt"/>
|
|
3700
|
+
<line num="32" count="15" type="cond" truecount="1" falsecount="1"/>
|
|
3701
|
+
<line num="33" count="15" type="stmt"/>
|
|
3702
|
+
<line num="35" count="15" type="stmt"/>
|
|
2851
3703
|
</file>
|
|
2852
3704
|
<file name="zapier.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/zapier.js">
|
|
2853
3705
|
<metrics statements="8" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
@@ -2902,33 +3754,33 @@
|
|
|
2902
3754
|
<metrics statements="34" coveredstatements="34" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
|
|
2903
3755
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/index.js">
|
|
2904
3756
|
<metrics statements="27" coveredstatements="27" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
2905
|
-
<line num="1" count="
|
|
2906
|
-
<line num="2" count="
|
|
2907
|
-
<line num="3" count="
|
|
2908
|
-
<line num="5" count="
|
|
2909
|
-
<line num="9" count="
|
|
2910
|
-
<line num="22" count="
|
|
2911
|
-
<line num="23" count="
|
|
2912
|
-
<line num="32" count="
|
|
2913
|
-
<line num="48" count="
|
|
2914
|
-
<line num="54" count="
|
|
2915
|
-
<line num="55" count="
|
|
2916
|
-
<line num="58" count="
|
|
2917
|
-
<line num="64" count="
|
|
2918
|
-
<line num="69" count="
|
|
2919
|
-
<line num="75" count="
|
|
2920
|
-
<line num="86" count="
|
|
2921
|
-
<line num="90" count="
|
|
2922
|
-
<line num="95" count="
|
|
2923
|
-
<line num="157" count="
|
|
2924
|
-
<line num="165" count="
|
|
2925
|
-
<line num="
|
|
2926
|
-
<line num="
|
|
2927
|
-
<line num="
|
|
2928
|
-
<line num="
|
|
2929
|
-
<line num="
|
|
2930
|
-
<line num="
|
|
2931
|
-
<line num="
|
|
3757
|
+
<line num="1" count="49" type="stmt"/>
|
|
3758
|
+
<line num="2" count="49" type="stmt"/>
|
|
3759
|
+
<line num="3" count="49" type="stmt"/>
|
|
3760
|
+
<line num="5" count="49" type="stmt"/>
|
|
3761
|
+
<line num="9" count="49" type="stmt"/>
|
|
3762
|
+
<line num="22" count="49" type="stmt"/>
|
|
3763
|
+
<line num="23" count="49" type="stmt"/>
|
|
3764
|
+
<line num="32" count="49" type="stmt"/>
|
|
3765
|
+
<line num="48" count="49" type="stmt"/>
|
|
3766
|
+
<line num="54" count="49" type="stmt"/>
|
|
3767
|
+
<line num="55" count="98" type="cond" truecount="1" falsecount="1"/>
|
|
3768
|
+
<line num="58" count="49" type="stmt"/>
|
|
3769
|
+
<line num="64" count="49" type="stmt"/>
|
|
3770
|
+
<line num="69" count="49" type="stmt"/>
|
|
3771
|
+
<line num="75" count="49" type="stmt"/>
|
|
3772
|
+
<line num="86" count="49" type="stmt"/>
|
|
3773
|
+
<line num="90" count="49" type="stmt"/>
|
|
3774
|
+
<line num="95" count="49" type="stmt"/>
|
|
3775
|
+
<line num="157" count="49" type="stmt"/>
|
|
3776
|
+
<line num="165" count="49" type="stmt"/>
|
|
3777
|
+
<line num="173" count="49" type="stmt"/>
|
|
3778
|
+
<line num="174" count="49" type="stmt"/>
|
|
3779
|
+
<line num="181" count="49" type="stmt"/>
|
|
3780
|
+
<line num="186" count="49" type="stmt"/>
|
|
3781
|
+
<line num="192" count="49" type="stmt"/>
|
|
3782
|
+
<line num="197" count="49" type="stmt"/>
|
|
3783
|
+
<line num="202" count="49" type="stmt"/>
|
|
2932
3784
|
</file>
|
|
2933
3785
|
<file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
|
|
2934
3786
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -2985,131 +3837,131 @@
|
|
|
2985
3837
|
</file>
|
|
2986
3838
|
<file name="newid.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/newid.js">
|
|
2987
3839
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
2988
|
-
<line num="1" count="
|
|
2989
|
-
<line num="3" count="
|
|
2990
|
-
<line num="4" count="
|
|
3840
|
+
<line num="1" count="55" type="stmt"/>
|
|
3841
|
+
<line num="3" count="55" type="stmt"/>
|
|
3842
|
+
<line num="4" count="1001" type="stmt"/>
|
|
2991
3843
|
</file>
|
|
2992
3844
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
2993
3845
|
<metrics statements="113" coveredstatements="103" conditionals="51" coveredconditionals="19" methods="32" coveredmethods="27"/>
|
|
2994
|
-
<line num="1" count="
|
|
2995
|
-
<line num="12" count="
|
|
2996
|
-
<line num="14" count="
|
|
2997
|
-
<line num="16" count="
|
|
2998
|
-
<line num="22" count="
|
|
2999
|
-
<line num="46" count="
|
|
3000
|
-
<line num="51" count="
|
|
3001
|
-
<line num="55" count="
|
|
3002
|
-
<line num="59" count="
|
|
3003
|
-
<line num="61" count="
|
|
3004
|
-
<line num="69" count="
|
|
3005
|
-
<line num="70" count="
|
|
3006
|
-
<line num="71" count="
|
|
3007
|
-
<line num="72" count="
|
|
3008
|
-
<line num="73" count="
|
|
3009
|
-
<line num="74" count="
|
|
3010
|
-
<line num="75" count="
|
|
3011
|
-
<line num="76" count="
|
|
3012
|
-
<line num="77" count="
|
|
3013
|
-
<line num="78" count="
|
|
3014
|
-
<line num="79" count="
|
|
3015
|
-
<line num="80" count="
|
|
3016
|
-
<line num="81" count="
|
|
3017
|
-
<line num="82" count="
|
|
3018
|
-
<line num="84" count="
|
|
3019
|
-
<line num="85" count="
|
|
3020
|
-
<line num="87" count="
|
|
3846
|
+
<line num="1" count="55" type="stmt"/>
|
|
3847
|
+
<line num="12" count="55" type="stmt"/>
|
|
3848
|
+
<line num="14" count="55" type="stmt"/>
|
|
3849
|
+
<line num="16" count="55" type="stmt"/>
|
|
3850
|
+
<line num="22" count="55" type="stmt"/>
|
|
3851
|
+
<line num="46" count="55" type="stmt"/>
|
|
3852
|
+
<line num="51" count="55" type="stmt"/>
|
|
3853
|
+
<line num="55" count="55" type="stmt"/>
|
|
3854
|
+
<line num="59" count="55" type="stmt"/>
|
|
3855
|
+
<line num="61" count="55" type="stmt"/>
|
|
3856
|
+
<line num="69" count="55" type="stmt"/>
|
|
3857
|
+
<line num="70" count="55" type="stmt"/>
|
|
3858
|
+
<line num="71" count="55" type="stmt"/>
|
|
3859
|
+
<line num="72" count="55" type="stmt"/>
|
|
3860
|
+
<line num="73" count="55" type="stmt"/>
|
|
3861
|
+
<line num="74" count="55" type="stmt"/>
|
|
3862
|
+
<line num="75" count="55" type="stmt"/>
|
|
3863
|
+
<line num="76" count="55" type="stmt"/>
|
|
3864
|
+
<line num="77" count="55" type="stmt"/>
|
|
3865
|
+
<line num="78" count="55" type="stmt"/>
|
|
3866
|
+
<line num="79" count="55" type="stmt"/>
|
|
3867
|
+
<line num="80" count="55" type="stmt"/>
|
|
3868
|
+
<line num="81" count="55" type="stmt"/>
|
|
3869
|
+
<line num="82" count="55" type="stmt"/>
|
|
3870
|
+
<line num="84" count="55" type="stmt"/>
|
|
3871
|
+
<line num="85" count="55" type="stmt"/>
|
|
3872
|
+
<line num="87" count="55" type="stmt"/>
|
|
3021
3873
|
<line num="88" count="74" type="stmt"/>
|
|
3022
|
-
<line num="104" count="
|
|
3023
|
-
<line num="105" count="
|
|
3024
|
-
<line num="107" count="
|
|
3025
|
-
<line num="114" count="
|
|
3026
|
-
<line num="119" count="
|
|
3027
|
-
<line num="120" count="
|
|
3028
|
-
<line num="127" count="
|
|
3029
|
-
<line num="128" count="
|
|
3030
|
-
<line num="139" count="
|
|
3031
|
-
<line num="140" count="
|
|
3032
|
-
<line num="141" count="
|
|
3874
|
+
<line num="104" count="903" type="cond" truecount="2" falsecount="0"/>
|
|
3875
|
+
<line num="105" count="888" type="stmt"/>
|
|
3876
|
+
<line num="107" count="903" type="stmt"/>
|
|
3877
|
+
<line num="114" count="55" type="stmt"/>
|
|
3878
|
+
<line num="119" count="55" type="cond" truecount="0" falsecount="2"/>
|
|
3879
|
+
<line num="120" count="222" type="stmt"/>
|
|
3880
|
+
<line num="127" count="55" type="stmt"/>
|
|
3881
|
+
<line num="128" count="106" type="stmt"/>
|
|
3882
|
+
<line num="139" count="55" type="cond" truecount="0" falsecount="3"/>
|
|
3883
|
+
<line num="140" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
3884
|
+
<line num="141" count="4" type="stmt"/>
|
|
3033
3885
|
<line num="144" count="12" type="cond" truecount="1" falsecount="1"/>
|
|
3034
3886
|
<line num="146" count="12" type="stmt"/>
|
|
3035
|
-
<line num="154" count="
|
|
3887
|
+
<line num="154" count="55" type="stmt"/>
|
|
3036
3888
|
<line num="155" count="0" type="stmt"/>
|
|
3037
3889
|
<line num="158" count="0" type="stmt"/>
|
|
3038
|
-
<line num="167" count="
|
|
3039
|
-
<line num="168" count="
|
|
3040
|
-
<line num="169" count="
|
|
3041
|
-
<line num="175" count="
|
|
3890
|
+
<line num="167" count="55" type="cond" truecount="1" falsecount="0"/>
|
|
3891
|
+
<line num="168" count="265" type="cond" truecount="2" falsecount="0"/>
|
|
3892
|
+
<line num="169" count="265" type="stmt"/>
|
|
3893
|
+
<line num="175" count="55" type="cond" truecount="0" falsecount="2"/>
|
|
3042
3894
|
<line num="176" count="3" type="stmt"/>
|
|
3043
|
-
<line num="184" count="
|
|
3895
|
+
<line num="184" count="55" type="stmt"/>
|
|
3044
3896
|
<line num="185" count="193" type="stmt"/>
|
|
3045
|
-
<line num="191" count="
|
|
3897
|
+
<line num="191" count="55" type="stmt"/>
|
|
3046
3898
|
<line num="192" count="2" type="stmt"/>
|
|
3047
3899
|
<line num="193" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
3048
3900
|
<line num="194" count="1" type="stmt"/>
|
|
3049
3901
|
<line num="196" count="1" type="stmt"/>
|
|
3050
|
-
<line num="202" count="
|
|
3051
|
-
<line num="203" count="
|
|
3052
|
-
<line num="210" count="
|
|
3902
|
+
<line num="202" count="55" type="cond" truecount="0" falsecount="2"/>
|
|
3903
|
+
<line num="203" count="227" type="stmt"/>
|
|
3904
|
+
<line num="210" count="55" type="stmt"/>
|
|
3053
3905
|
<line num="211" count="20" type="stmt"/>
|
|
3054
|
-
<line num="225" count="
|
|
3906
|
+
<line num="225" count="55" type="stmt"/>
|
|
3055
3907
|
<line num="233" count="9" type="stmt"/>
|
|
3056
3908
|
<line num="234" count="9" type="stmt"/>
|
|
3057
3909
|
<line num="235" count="9" type="stmt"/>
|
|
3058
3910
|
<line num="236" count="9" type="stmt"/>
|
|
3059
|
-
<line num="242" count="
|
|
3911
|
+
<line num="242" count="55" type="cond" truecount="0" falsecount="1"/>
|
|
3060
3912
|
<line num="243" count="0" type="stmt"/>
|
|
3061
|
-
<line num="250" count="
|
|
3062
|
-
<line num="251" count="
|
|
3063
|
-
<line num="252" count="
|
|
3913
|
+
<line num="250" count="55" type="cond" truecount="0" falsecount="1"/>
|
|
3914
|
+
<line num="251" count="200" type="stmt"/>
|
|
3915
|
+
<line num="252" count="200" type="cond" truecount="1" falsecount="1"/>
|
|
3064
3916
|
<line num="253" count="0" type="stmt"/>
|
|
3065
|
-
<line num="255" count="
|
|
3066
|
-
<line num="262" count="
|
|
3067
|
-
<line num="263" count="
|
|
3068
|
-
<line num="264" count="
|
|
3069
|
-
<line num="265" count="
|
|
3070
|
-
<line num="272" count="
|
|
3917
|
+
<line num="255" count="200" type="stmt"/>
|
|
3918
|
+
<line num="262" count="55" type="stmt"/>
|
|
3919
|
+
<line num="263" count="200" type="stmt"/>
|
|
3920
|
+
<line num="264" count="200" type="stmt"/>
|
|
3921
|
+
<line num="265" count="200" type="stmt"/>
|
|
3922
|
+
<line num="272" count="55" type="stmt"/>
|
|
3071
3923
|
<line num="273" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3072
|
-
<line num="279" count="
|
|
3073
|
-
<line num="280" count="
|
|
3074
|
-
<line num="287" count="
|
|
3924
|
+
<line num="279" count="55" type="cond" truecount="0" falsecount="2"/>
|
|
3925
|
+
<line num="280" count="213" type="stmt"/>
|
|
3926
|
+
<line num="287" count="55" type="stmt"/>
|
|
3075
3927
|
<line num="288" count="19" type="stmt"/>
|
|
3076
|
-
<line num="294" count="
|
|
3077
|
-
<line num="295" count="
|
|
3078
|
-
<line num="302" count="
|
|
3928
|
+
<line num="294" count="55" type="cond" truecount="0" falsecount="2"/>
|
|
3929
|
+
<line num="295" count="215" type="stmt"/>
|
|
3930
|
+
<line num="302" count="55" type="stmt"/>
|
|
3079
3931
|
<line num="303" count="10" type="stmt"/>
|
|
3080
|
-
<line num="309" count="
|
|
3932
|
+
<line num="309" count="55" type="cond" truecount="0" falsecount="2"/>
|
|
3081
3933
|
<line num="310" count="2" type="stmt"/>
|
|
3082
|
-
<line num="317" count="
|
|
3934
|
+
<line num="317" count="55" type="cond" truecount="1" falsecount="1"/>
|
|
3083
3935
|
<line num="318" count="39" type="stmt"/>
|
|
3084
|
-
<line num="326" count="
|
|
3936
|
+
<line num="326" count="55" type="cond" truecount="0" falsecount="2"/>
|
|
3085
3937
|
<line num="327" count="4" type="stmt"/>
|
|
3086
|
-
<line num="334" count="
|
|
3938
|
+
<line num="334" count="55" type="stmt"/>
|
|
3087
3939
|
<line num="335" count="131" type="stmt"/>
|
|
3088
|
-
<line num="343" count="
|
|
3940
|
+
<line num="343" count="55" type="cond" truecount="0" falsecount="2"/>
|
|
3089
3941
|
<line num="344" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
3090
3942
|
<line num="345" count="3" type="stmt"/>
|
|
3091
3943
|
<line num="348" count="1" type="stmt"/>
|
|
3092
|
-
<line num="359" count="
|
|
3944
|
+
<line num="359" count="55" type="stmt"/>
|
|
3093
3945
|
<line num="360" count="0" type="stmt"/>
|
|
3094
|
-
<line num="363" count="
|
|
3946
|
+
<line num="363" count="55" type="stmt"/>
|
|
3095
3947
|
<line num="364" count="10" type="stmt"/>
|
|
3096
|
-
<line num="367" count="
|
|
3948
|
+
<line num="367" count="55" type="cond" truecount="0" falsecount="2"/>
|
|
3097
3949
|
<line num="368" count="0" type="stmt"/>
|
|
3098
3950
|
<line num="369" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3099
3951
|
<line num="370" count="0" type="stmt"/>
|
|
3100
3952
|
<line num="372" count="0" type="stmt"/>
|
|
3101
|
-
<line num="375" count="
|
|
3953
|
+
<line num="375" count="55" type="stmt"/>
|
|
3102
3954
|
<line num="376" count="1" type="stmt"/>
|
|
3103
|
-
<line num="379" count="
|
|
3955
|
+
<line num="379" count="55" type="cond" truecount="0" falsecount="1"/>
|
|
3104
3956
|
<line num="380" count="0" type="stmt"/>
|
|
3105
|
-
<line num="386" count="
|
|
3957
|
+
<line num="386" count="55" type="stmt"/>
|
|
3106
3958
|
<line num="387" count="60" type="stmt"/>
|
|
3107
3959
|
</file>
|
|
3108
3960
|
</package>
|
|
3109
3961
|
<package name="db.linkedRows">
|
|
3110
|
-
<metrics statements="
|
|
3962
|
+
<metrics statements="296" coveredstatements="284" conditionals="134" coveredconditionals="113" methods="60" coveredmethods="57"/>
|
|
3111
3963
|
<file name="LinkController.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/LinkController.js">
|
|
3112
|
-
<metrics statements="
|
|
3964
|
+
<metrics statements="151" coveredstatements="146" conditionals="68" coveredconditionals="60" methods="27" coveredmethods="24"/>
|
|
3113
3965
|
<line num="1" count="41" type="stmt"/>
|
|
3114
3966
|
<line num="6" count="41" type="stmt"/>
|
|
3115
3967
|
<line num="7" count="41" type="stmt"/>
|
|
@@ -3119,21 +3971,21 @@
|
|
|
3119
3971
|
<line num="41" count="9" type="stmt"/>
|
|
3120
3972
|
<line num="42" count="9" type="stmt"/>
|
|
3121
3973
|
<line num="47" count="9" type="stmt"/>
|
|
3122
|
-
<line num="56" count="
|
|
3123
|
-
<line num="57" count="
|
|
3124
|
-
<line num="58" count="
|
|
3125
|
-
<line num="59" count="
|
|
3126
|
-
<line num="60" count="
|
|
3974
|
+
<line num="56" count="201" type="stmt"/>
|
|
3975
|
+
<line num="57" count="201" type="stmt"/>
|
|
3976
|
+
<line num="58" count="201" type="stmt"/>
|
|
3977
|
+
<line num="59" count="201" type="stmt"/>
|
|
3978
|
+
<line num="60" count="201" type="stmt"/>
|
|
3127
3979
|
<line num="69" count="53" type="cond" truecount="2" falsecount="0"/>
|
|
3128
3980
|
<line num="70" count="6" type="stmt"/>
|
|
3129
3981
|
<line num="73" count="53" type="stmt"/>
|
|
3130
|
-
<line num="84" count="
|
|
3982
|
+
<line num="84" count="195" type="cond" truecount="2" falsecount="0"/>
|
|
3131
3983
|
<line num="85" count="6" type="stmt"/>
|
|
3132
|
-
<line num="87" count="
|
|
3133
|
-
<line num="88" count="
|
|
3134
|
-
<line num="89" count="
|
|
3984
|
+
<line num="87" count="195" type="stmt"/>
|
|
3985
|
+
<line num="88" count="479" type="stmt"/>
|
|
3986
|
+
<line num="89" count="479" type="cond" truecount="2" falsecount="0"/>
|
|
3135
3987
|
<line num="90" count="41" type="stmt"/>
|
|
3136
|
-
<line num="93" count="
|
|
3988
|
+
<line num="93" count="154" type="stmt"/>
|
|
3137
3989
|
<line num="100" count="27" type="stmt"/>
|
|
3138
3990
|
<line num="111" count="9" type="stmt"/>
|
|
3139
3991
|
<line num="121" count="22" type="stmt"/>
|
|
@@ -3228,38 +4080,39 @@
|
|
|
3228
4080
|
<line num="375" count="35" type="stmt"/>
|
|
3229
4081
|
<line num="377" count="35" type="cond" truecount="2" falsecount="0"/>
|
|
3230
4082
|
<line num="378" count="2" type="stmt"/>
|
|
3231
|
-
<line num="
|
|
3232
|
-
<line num="383" count="35" type="
|
|
3233
|
-
<line num="
|
|
3234
|
-
<line num="
|
|
4083
|
+
<line num="379" count="2" type="stmt"/>
|
|
4084
|
+
<line num="383" count="35" type="stmt"/>
|
|
4085
|
+
<line num="384" count="35" type="cond" truecount="2" falsecount="0"/>
|
|
4086
|
+
<line num="388" count="1" type="stmt"/>
|
|
3235
4087
|
<line num="391" count="34" type="stmt"/>
|
|
3236
|
-
<line num="
|
|
3237
|
-
<line num="394" count="
|
|
3238
|
-
<line num="
|
|
3239
|
-
<line num="
|
|
3240
|
-
<line num="
|
|
4088
|
+
<line num="392" count="34" type="stmt"/>
|
|
4089
|
+
<line num="394" count="34" type="cond" truecount="2" falsecount="0"/>
|
|
4090
|
+
<line num="395" count="1" type="stmt"/>
|
|
4091
|
+
<line num="399" count="20" type="stmt"/>
|
|
4092
|
+
<line num="408" count="2" type="stmt"/>
|
|
3241
4093
|
<line num="410" count="2" type="stmt"/>
|
|
3242
|
-
<line num="411" count="
|
|
3243
|
-
<line num="
|
|
3244
|
-
<line num="
|
|
3245
|
-
<line num="
|
|
3246
|
-
<line num="
|
|
4094
|
+
<line num="411" count="2" type="stmt"/>
|
|
4095
|
+
<line num="412" count="6" type="stmt"/>
|
|
4096
|
+
<line num="414" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
4097
|
+
<line num="418" count="1" type="stmt"/>
|
|
4098
|
+
<line num="422" count="2" type="stmt"/>
|
|
3247
4099
|
<line num="433" count="2" type="stmt"/>
|
|
3248
4100
|
<line num="434" count="2" type="stmt"/>
|
|
3249
|
-
<line num="435" count="
|
|
4101
|
+
<line num="435" count="2" type="stmt"/>
|
|
3250
4102
|
<line num="436" count="7" type="stmt"/>
|
|
3251
|
-
<line num="437" count="7" type="
|
|
3252
|
-
<line num="438" count="
|
|
4103
|
+
<line num="437" count="7" type="stmt"/>
|
|
4104
|
+
<line num="438" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
3253
4105
|
<line num="439" count="3" type="stmt"/>
|
|
3254
4106
|
<line num="440" count="3" type="stmt"/>
|
|
3255
|
-
<line num="
|
|
3256
|
-
<line num="449" count="2" type="
|
|
3257
|
-
<line num="450" count="
|
|
3258
|
-
<line num="
|
|
4107
|
+
<line num="441" count="3" type="stmt"/>
|
|
4108
|
+
<line num="449" count="2" type="stmt"/>
|
|
4109
|
+
<line num="450" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
4110
|
+
<line num="451" count="1" type="stmt"/>
|
|
3259
4111
|
<line num="454" count="1" type="stmt"/>
|
|
3260
|
-
<line num="
|
|
4112
|
+
<line num="455" count="1" type="stmt"/>
|
|
3261
4113
|
<line num="460" count="1" type="stmt"/>
|
|
3262
|
-
<line num="
|
|
4114
|
+
<line num="461" count="1" type="stmt"/>
|
|
4115
|
+
<line num="465" count="41" type="stmt"/>
|
|
3263
4116
|
</file>
|
|
3264
4117
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/index.js">
|
|
3265
4118
|
<metrics statements="91" coveredstatements="88" conditionals="40" coveredconditionals="33" methods="20" coveredmethods="20"/>
|
|
@@ -3301,14 +4154,14 @@
|
|
|
3301
4154
|
<line num="90" count="30" type="stmt"/>
|
|
3302
4155
|
<line num="91" count="30" type="stmt"/>
|
|
3303
4156
|
<line num="105" count="41" type="stmt"/>
|
|
3304
|
-
<line num="106" count="
|
|
3305
|
-
<line num="107" count="
|
|
3306
|
-
<line num="109" count="
|
|
3307
|
-
<line num="110" count="
|
|
3308
|
-
<line num="112" count="
|
|
3309
|
-
<line num="113" count="
|
|
3310
|
-
<line num="114" count="
|
|
3311
|
-
<line num="119" count="
|
|
4157
|
+
<line num="106" count="191" type="stmt"/>
|
|
4158
|
+
<line num="107" count="191" type="cond" truecount="2" falsecount="0"/>
|
|
4159
|
+
<line num="109" count="191" type="cond" truecount="4" falsecount="0"/>
|
|
4160
|
+
<line num="110" count="109" type="stmt"/>
|
|
4161
|
+
<line num="112" count="191" type="stmt"/>
|
|
4162
|
+
<line num="113" count="191" type="stmt"/>
|
|
4163
|
+
<line num="114" count="191" type="cond" truecount="2" falsecount="0"/>
|
|
4164
|
+
<line num="119" count="150" type="stmt"/>
|
|
3312
4165
|
<line num="122" count="0" type="stmt"/>
|
|
3313
4166
|
<line num="124" count="41" type="cond" truecount="5" falsecount="2"/>
|
|
3314
4167
|
<line num="127" count="21" type="stmt"/>
|
|
@@ -3318,9 +4171,9 @@
|
|
|
3318
4171
|
<line num="135" count="1" type="stmt"/>
|
|
3319
4172
|
<line num="137" count="0" type="stmt"/>
|
|
3320
4173
|
<line num="148" count="41" type="stmt"/>
|
|
3321
|
-
<line num="149" count="
|
|
3322
|
-
<line num="150" count="
|
|
3323
|
-
<line num="151" count="
|
|
4174
|
+
<line num="149" count="113" type="stmt"/>
|
|
4175
|
+
<line num="150" count="113" type="cond" truecount="2" falsecount="0"/>
|
|
4176
|
+
<line num="151" count="83" type="stmt"/>
|
|
3324
4177
|
<line num="154" count="30" type="stmt"/>
|
|
3325
4178
|
<line num="155" count="25" type="stmt"/>
|
|
3326
4179
|
<line num="158" count="30" type="stmt"/>
|
|
@@ -3391,8 +4244,8 @@
|
|
|
3391
4244
|
<line num="80" count="30" type="stmt"/>
|
|
3392
4245
|
<line num="81" count="33" type="stmt"/>
|
|
3393
4246
|
<line num="85" count="41" type="stmt"/>
|
|
3394
|
-
<line num="86" count="
|
|
3395
|
-
<line num="87" count="
|
|
4247
|
+
<line num="86" count="113" type="stmt"/>
|
|
4248
|
+
<line num="87" count="322" type="stmt"/>
|
|
3396
4249
|
<line num="88" count="53" type="stmt"/>
|
|
3397
4250
|
<line num="91" count="41" type="stmt"/>
|
|
3398
4251
|
<line num="92" count="68" type="stmt"/>
|
|
@@ -3417,24 +4270,24 @@
|
|
|
3417
4270
|
<metrics statements="38" coveredstatements="34" conditionals="18" coveredconditionals="10" methods="8" coveredmethods="7"/>
|
|
3418
4271
|
<file name="AutomationEmitter.js" path="/home/runner/work/budibase/budibase/packages/server/src/events/AutomationEmitter.js">
|
|
3419
4272
|
<metrics statements="12" coveredstatements="9" conditionals="6" coveredconditionals="2" methods="3" coveredmethods="2"/>
|
|
3420
|
-
<line num="1" count="
|
|
3421
|
-
<line num="2" count="
|
|
3422
|
-
<line num="5" count="
|
|
3423
|
-
<line num="15" count="
|
|
3424
|
-
<line num="16" count="
|
|
4273
|
+
<line num="1" count="4" type="stmt"/>
|
|
4274
|
+
<line num="2" count="4" type="stmt"/>
|
|
4275
|
+
<line num="5" count="4" type="stmt"/>
|
|
4276
|
+
<line num="15" count="7" type="stmt"/>
|
|
4277
|
+
<line num="16" count="7" type="stmt"/>
|
|
3425
4278
|
<line num="23" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3426
4279
|
<line num="24" count="1" type="stmt"/>
|
|
3427
4280
|
<line num="26" count="4" type="stmt"/>
|
|
3428
4281
|
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3429
4282
|
<line num="39" count="0" type="stmt"/>
|
|
3430
4283
|
<line num="41" count="0" type="stmt"/>
|
|
3431
|
-
<line num="51" count="
|
|
4284
|
+
<line num="51" count="4" type="stmt"/>
|
|
3432
4285
|
</file>
|
|
3433
4286
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/events/index.js">
|
|
3434
4287
|
<metrics statements="7" coveredstatements="7" conditionals="2" coveredconditionals="1" methods="3" coveredmethods="3"/>
|
|
3435
4288
|
<line num="1" count="41" type="stmt"/>
|
|
3436
4289
|
<line num="2" count="41" type="stmt"/>
|
|
3437
|
-
<line num="16" count="
|
|
4290
|
+
<line num="16" count="15" type="stmt"/>
|
|
3438
4291
|
<line num="20" count="10" type="stmt"/>
|
|
3439
4292
|
<line num="24" count="24" type="stmt"/>
|
|
3440
4293
|
<line num="28" count="41" type="stmt"/>
|
|
@@ -3443,15 +4296,15 @@
|
|
|
3443
4296
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/events/utils.js">
|
|
3444
4297
|
<metrics statements="19" coveredstatements="18" conditionals="10" coveredconditionals="7" methods="2" coveredmethods="2"/>
|
|
3445
4298
|
<line num="1" count="41" type="stmt"/>
|
|
3446
|
-
<line num="2" count="
|
|
3447
|
-
<line num="7" count="
|
|
3448
|
-
<line num="8" count="
|
|
3449
|
-
<line num="10" count="
|
|
3450
|
-
<line num="11" count="
|
|
3451
|
-
<line num="12" count="
|
|
3452
|
-
<line num="14" count="
|
|
4299
|
+
<line num="2" count="19" type="stmt"/>
|
|
4300
|
+
<line num="7" count="19" type="cond" truecount="2" falsecount="0"/>
|
|
4301
|
+
<line num="8" count="13" type="stmt"/>
|
|
4302
|
+
<line num="10" count="19" type="stmt"/>
|
|
4303
|
+
<line num="11" count="19" type="cond" truecount="1" falsecount="1"/>
|
|
4304
|
+
<line num="12" count="19" type="stmt"/>
|
|
4305
|
+
<line num="14" count="19" type="cond" truecount="2" falsecount="0"/>
|
|
3453
4306
|
<line num="15" count="4" type="stmt"/>
|
|
3454
|
-
<line num="17" count="
|
|
4307
|
+
<line num="17" count="19" type="stmt"/>
|
|
3455
4308
|
<line num="20" count="41" type="stmt"/>
|
|
3456
4309
|
<line num="21" count="10" type="stmt"/>
|
|
3457
4310
|
<line num="22" count="10" type="stmt"/>
|
|
@@ -3470,7 +4323,7 @@
|
|
|
3470
4323
|
</file>
|
|
3471
4324
|
</package>
|
|
3472
4325
|
<package name="middleware">
|
|
3473
|
-
<metrics statements="
|
|
4326
|
+
<metrics statements="285" coveredstatements="234" conditionals="203" coveredconditionals="143" methods="39" coveredmethods="34"/>
|
|
3474
4327
|
<file name="appInfo.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/appInfo.js">
|
|
3475
4328
|
<metrics statements="10" coveredstatements="8" conditionals="11" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
3476
4329
|
<line num="1" count="24" type="stmt"/>
|
|
@@ -3484,6 +4337,58 @@
|
|
|
3484
4337
|
<line num="16" count="0" type="stmt"/>
|
|
3485
4338
|
<line num="18" count="7" type="stmt"/>
|
|
3486
4339
|
</file>
|
|
4340
|
+
<file name="authorized.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/authorized.js">
|
|
4341
|
+
<metrics statements="49" coveredstatements="44" conditionals="47" coveredconditionals="39" methods="6" coveredmethods="5"/>
|
|
4342
|
+
<line num="5" count="25" type="stmt"/>
|
|
4343
|
+
<line num="10" count="25" type="stmt"/>
|
|
4344
|
+
<line num="11" count="25" type="stmt"/>
|
|
4345
|
+
<line num="12" count="25" type="stmt"/>
|
|
4346
|
+
<line num="13" count="25" type="stmt"/>
|
|
4347
|
+
<line num="14" count="25" type="stmt"/>
|
|
4348
|
+
<line num="17" count="176" type="stmt"/>
|
|
4349
|
+
<line num="20" count="25" type="stmt"/>
|
|
4350
|
+
<line num="28" count="25" type="stmt"/>
|
|
4351
|
+
<line num="30" count="177" type="cond" truecount="3" falsecount="0"/>
|
|
4352
|
+
<line num="31" count="177" type="stmt"/>
|
|
4353
|
+
<line num="32" count="177" type="cond" truecount="4" falsecount="0"/>
|
|
4354
|
+
<line num="33" count="28" type="stmt"/>
|
|
4355
|
+
<line num="37" count="149" type="cond" truecount="2" falsecount="0"/>
|
|
4356
|
+
<line num="38" count="3" type="stmt"/>
|
|
4357
|
+
<line num="42" count="25" type="stmt"/>
|
|
4358
|
+
<line num="49" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
4359
|
+
<line num="50" count="3" type="stmt"/>
|
|
4360
|
+
<line num="53" count="3" type="stmt"/>
|
|
4361
|
+
<line num="55" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
4362
|
+
<line num="57" count="0" type="stmt"/>
|
|
4363
|
+
<line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4364
|
+
<line num="59" count="0" type="stmt"/>
|
|
4365
|
+
<line num="62" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
4366
|
+
<line num="63" count="3" type="stmt"/>
|
|
4367
|
+
<line num="67" count="25" type="stmt"/>
|
|
4368
|
+
<line num="69" count="2703" type="stmt"/>
|
|
4369
|
+
<line num="72" count="183" type="cond" truecount="4" falsecount="0"/>
|
|
4370
|
+
<line num="73" count="1" type="stmt"/>
|
|
4371
|
+
<line num="76" count="182" type="cond" truecount="2" falsecount="0"/>
|
|
4372
|
+
<line num="77" count="1" type="stmt"/>
|
|
4373
|
+
<line num="82" count="181" type="stmt"/>
|
|
4374
|
+
<line num="85" count="181" type="stmt"/>
|
|
4375
|
+
<line num="88" count="181" type="cond" truecount="2" falsecount="0"/>
|
|
4376
|
+
<line num="91" count="181" type="stmt"/>
|
|
4377
|
+
<line num="92" count="181" type="cond" truecount="4" falsecount="0"/>
|
|
4378
|
+
<line num="93" count="69" type="stmt"/>
|
|
4379
|
+
<line num="94" count="69" type="cond" truecount="3" falsecount="1"/>
|
|
4380
|
+
<line num="95" count="0" type="stmt"/>
|
|
4381
|
+
<line num="100" count="181" type="cond" truecount="2" falsecount="0"/>
|
|
4382
|
+
<line num="104" count="1" type="stmt"/>
|
|
4383
|
+
<line num="108" count="180" type="cond" truecount="2" falsecount="0"/>
|
|
4384
|
+
<line num="109" count="3" type="stmt"/>
|
|
4385
|
+
<line num="112" count="177" type="stmt"/>
|
|
4386
|
+
<line num="114" count="177" type="stmt"/>
|
|
4387
|
+
<line num="117" count="27" type="cond" truecount="3" falsecount="2"/>
|
|
4388
|
+
<line num="118" count="0" type="stmt"/>
|
|
4389
|
+
<line num="120" count="27" type="stmt"/>
|
|
4390
|
+
<line num="125" count="150" type="stmt"/>
|
|
4391
|
+
</file>
|
|
3487
4392
|
<file name="builder.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/builder.js">
|
|
3488
4393
|
<metrics statements="36" coveredstatements="32" conditionals="22" coveredconditionals="17" methods="4" coveredmethods="4"/>
|
|
3489
4394
|
<line num="1" count="25" type="stmt"/>
|
|
@@ -3524,7 +4429,7 @@
|
|
|
3524
4429
|
<line num="78" count="1" type="stmt"/>
|
|
3525
4430
|
</file>
|
|
3526
4431
|
<file name="currentapp.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/currentapp.js">
|
|
3527
|
-
<metrics statements="
|
|
4432
|
+
<metrics statements="56" coveredstatements="46" conditionals="43" coveredconditionals="33" methods="2" coveredmethods="2"/>
|
|
3528
4433
|
<line num="6" count="29" type="stmt"/>
|
|
3529
4434
|
<line num="7" count="29" type="stmt"/>
|
|
3530
4435
|
<line num="8" count="29" type="stmt"/>
|
|
@@ -3562,32 +4467,25 @@
|
|
|
3562
4467
|
<line num="62" count="185" type="stmt"/>
|
|
3563
4468
|
<line num="63" count="185" type="stmt"/>
|
|
3564
4469
|
<line num="65" count="185" type="cond" truecount="2" falsecount="0"/>
|
|
3565
|
-
<line num="69" count="
|
|
3566
|
-
<line num="70" count="
|
|
3567
|
-
<line num="
|
|
3568
|
-
<line num="
|
|
3569
|
-
<line num="
|
|
3570
|
-
<line num="
|
|
3571
|
-
<line num="76" count="0" type="stmt"/>
|
|
3572
|
-
<line num="84" count="190" type="cond" truecount="1" falsecount="1"/>
|
|
4470
|
+
<line num="69" count="190" type="cond" truecount="1" falsecount="1"/>
|
|
4471
|
+
<line num="70" count="0" type="stmt"/>
|
|
4472
|
+
<line num="73" count="190" type="stmt"/>
|
|
4473
|
+
<line num="74" count="190" type="stmt"/>
|
|
4474
|
+
<line num="77" count="190" type="cond" truecount="1" falsecount="1"/>
|
|
4475
|
+
<line num="84" count="0" type="stmt"/>
|
|
3573
4476
|
<line num="85" count="0" type="stmt"/>
|
|
3574
|
-
<line num="
|
|
3575
|
-
<line num="
|
|
3576
|
-
<line num="
|
|
3577
|
-
<line num="
|
|
3578
|
-
<line num="
|
|
3579
|
-
<line num="
|
|
3580
|
-
<line num="
|
|
3581
|
-
<line num="
|
|
3582
|
-
<line num="
|
|
3583
|
-
<line num="
|
|
3584
|
-
<line num="
|
|
3585
|
-
<line num="
|
|
3586
|
-
<line num="110" count="190" type="cond" truecount="2" falsecount="0"/>
|
|
3587
|
-
<line num="111" count="190" type="stmt"/>
|
|
3588
|
-
<line num="120" count="190" type="cond" truecount="2" falsecount="0"/>
|
|
3589
|
-
<line num="126" count="7" type="stmt"/>
|
|
3590
|
-
<line num="129" count="190" type="stmt"/>
|
|
4477
|
+
<line num="86" count="0" type="stmt"/>
|
|
4478
|
+
<line num="87" count="0" type="stmt"/>
|
|
4479
|
+
<line num="88" count="0" type="stmt"/>
|
|
4480
|
+
<line num="89" count="0" type="stmt"/>
|
|
4481
|
+
<line num="92" count="190" type="stmt"/>
|
|
4482
|
+
<line num="93" count="190" type="cond" truecount="1" falsecount="1"/>
|
|
4483
|
+
<line num="94" count="190" type="stmt"/>
|
|
4484
|
+
<line num="95" count="190" type="cond" truecount="2" falsecount="0"/>
|
|
4485
|
+
<line num="96" count="190" type="stmt"/>
|
|
4486
|
+
<line num="105" count="190" type="cond" truecount="2" falsecount="0"/>
|
|
4487
|
+
<line num="111" count="7" type="stmt"/>
|
|
4488
|
+
<line num="114" count="190" type="stmt"/>
|
|
3591
4489
|
</file>
|
|
3592
4490
|
<file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
|
|
3593
4491
|
<metrics statements="17" coveredstatements="14" conditionals="8" coveredconditionals="5" methods="4" coveredmethods="4"/>
|
|
@@ -3663,6 +4561,78 @@
|
|
|
3663
4561
|
<line num="7" count="1" type="stmt"/>
|
|
3664
4562
|
<line num="9" count="0" type="stmt"/>
|
|
3665
4563
|
</file>
|
|
4564
|
+
<file name="usageQuota.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/usageQuota.js">
|
|
4565
|
+
<metrics statements="69" coveredstatements="45" conditionals="51" coveredconditionals="26" methods="8" coveredmethods="4"/>
|
|
4566
|
+
<line num="1" count="25" type="stmt"/>
|
|
4567
|
+
<line num="2" count="25" type="stmt"/>
|
|
4568
|
+
<line num="6" count="25" type="stmt"/>
|
|
4569
|
+
<line num="7" count="25" type="stmt"/>
|
|
4570
|
+
<line num="10" count="25" type="stmt"/>
|
|
4571
|
+
<line num="15" count="25" type="stmt"/>
|
|
4572
|
+
<line num="27" count="4" type="stmt"/>
|
|
4573
|
+
<line num="28" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
4574
|
+
<line num="29" count="4" type="stmt"/>
|
|
4575
|
+
<line num="34" count="25" type="stmt"/>
|
|
4576
|
+
<line num="35" count="24" type="cond" truecount="2" falsecount="0"/>
|
|
4577
|
+
<line num="36" count="20" type="stmt"/>
|
|
4578
|
+
<line num="39" count="4" type="stmt"/>
|
|
4579
|
+
<line num="40" count="4" type="stmt"/>
|
|
4580
|
+
<line num="41" count="4" type="cond" truecount="3" falsecount="1"/>
|
|
4581
|
+
<line num="42" count="0" type="stmt"/>
|
|
4582
|
+
<line num="45" count="4" type="cond" truecount="5" falsecount="0"/>
|
|
4583
|
+
<line num="46" count="2" type="stmt"/>
|
|
4584
|
+
<line num="47" count="2" type="stmt"/>
|
|
4585
|
+
<line num="48" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4586
|
+
<line num="49" count="2" type="stmt"/>
|
|
4587
|
+
<line num="50" count="0" type="stmt"/>
|
|
4588
|
+
<line num="52" count="0" type="stmt"/>
|
|
4589
|
+
<line num="54" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4590
|
+
<line num="60" count="0" type="stmt"/>
|
|
4591
|
+
<line num="62" count="2" type="stmt"/>
|
|
4592
|
+
<line num="68" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
4593
|
+
<line num="70" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4594
|
+
<line num="73" count="0" type="stmt"/>
|
|
4595
|
+
<line num="75" count="4" type="stmt"/>
|
|
4596
|
+
<line num="76" count="4" type="stmt"/>
|
|
4597
|
+
<line num="78" count="0" type="stmt"/>
|
|
4598
|
+
<line num="82" count="25" type="stmt"/>
|
|
4599
|
+
<line num="83" count="4" type="stmt"/>
|
|
4600
|
+
<line num="89" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
4601
|
+
<line num="90" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4602
|
+
<line num="91" count="0" type="stmt"/>
|
|
4603
|
+
<line num="94" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
4604
|
+
<line num="95" count="0" type="stmt"/>
|
|
4605
|
+
<line num="100" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
4606
|
+
<line num="101" count="4" type="stmt"/>
|
|
4607
|
+
<line num="102" count="4" type="stmt"/>
|
|
4608
|
+
<line num="105" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
4609
|
+
<line num="106" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4610
|
+
<line num="107" count="0" type="stmt"/>
|
|
4611
|
+
<line num="110" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
4612
|
+
<line num="111" count="3" type="stmt"/>
|
|
4613
|
+
<line num="116" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
4614
|
+
<line num="117" count="4" type="stmt"/>
|
|
4615
|
+
<line num="121" count="25" type="stmt"/>
|
|
4616
|
+
<line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4617
|
+
<line num="124" count="0" type="stmt"/>
|
|
4618
|
+
<line num="125" count="0" type="stmt"/>
|
|
4619
|
+
<line num="129" count="0" type="stmt"/>
|
|
4620
|
+
<line num="130" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4621
|
+
<line num="131" count="0" type="stmt"/>
|
|
4622
|
+
<line num="135" count="25" type="stmt"/>
|
|
4623
|
+
<line num="137" count="0" type="stmt"/>
|
|
4624
|
+
<line num="138" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4625
|
+
<line num="139" count="0" type="stmt"/>
|
|
4626
|
+
<line num="143" count="25" type="stmt"/>
|
|
4627
|
+
<line num="145" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
4628
|
+
<line num="146" count="0" type="stmt"/>
|
|
4629
|
+
<line num="147" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4630
|
+
<line num="148" count="0" type="stmt"/>
|
|
4631
|
+
<line num="152" count="25" type="stmt"/>
|
|
4632
|
+
<line num="156" count="25" type="stmt"/>
|
|
4633
|
+
<line num="160" count="25" type="stmt"/>
|
|
4634
|
+
<line num="162" count="25" type="stmt"/>
|
|
4635
|
+
</file>
|
|
3666
4636
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/utils.js">
|
|
3667
4637
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3668
4638
|
<line num="1" count="30" type="stmt"/>
|
|
@@ -3671,141 +4641,118 @@
|
|
|
3671
4641
|
</file>
|
|
3672
4642
|
</package>
|
|
3673
4643
|
<package name="threads">
|
|
3674
|
-
<metrics statements="
|
|
4644
|
+
<metrics statements="241" coveredstatements="208" conditionals="98" coveredconditionals="67" methods="38" coveredmethods="35"/>
|
|
3675
4645
|
<file name="automation.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/automation.js">
|
|
3676
|
-
<metrics statements="
|
|
3677
|
-
<line num="1" count="
|
|
3678
|
-
<line num="2" count="
|
|
3679
|
-
<line num="3" count="
|
|
3680
|
-
<line num="4" count="
|
|
3681
|
-
<line num="5" count="
|
|
3682
|
-
<line num="6" count="
|
|
3683
|
-
<line num="7" count="
|
|
3684
|
-
<line num="8" count="
|
|
3685
|
-
<line num="9" count="
|
|
3686
|
-
<line num="10" count="
|
|
3687
|
-
<line num="
|
|
3688
|
-
<line num="
|
|
3689
|
-
<line num="
|
|
3690
|
-
<line num="
|
|
3691
|
-
<line num="
|
|
3692
|
-
<line num="
|
|
3693
|
-
<line num="
|
|
3694
|
-
<line num="27" count="
|
|
3695
|
-
<line num="28" count="
|
|
3696
|
-
<line num="
|
|
3697
|
-
<line num="
|
|
3698
|
-
<line num="
|
|
3699
|
-
<line num="
|
|
3700
|
-
<line num="
|
|
3701
|
-
<line num="
|
|
3702
|
-
<line num="
|
|
3703
|
-
<line num="
|
|
3704
|
-
<line num="
|
|
3705
|
-
<line num="
|
|
3706
|
-
<line num="
|
|
3707
|
-
<line num="
|
|
3708
|
-
<line num="
|
|
3709
|
-
<line num="
|
|
3710
|
-
<line num="52" count="6" type="stmt"/>
|
|
4646
|
+
<metrics statements="73" coveredstatements="62" conditionals="19" coveredconditionals="11" methods="11" coveredmethods="10"/>
|
|
4647
|
+
<line num="1" count="4" type="stmt"/>
|
|
4648
|
+
<line num="2" count="4" type="stmt"/>
|
|
4649
|
+
<line num="3" count="4" type="stmt"/>
|
|
4650
|
+
<line num="4" count="4" type="stmt"/>
|
|
4651
|
+
<line num="5" count="4" type="stmt"/>
|
|
4652
|
+
<line num="6" count="4" type="stmt"/>
|
|
4653
|
+
<line num="7" count="4" type="stmt"/>
|
|
4654
|
+
<line num="8" count="4" type="stmt"/>
|
|
4655
|
+
<line num="9" count="4" type="stmt"/>
|
|
4656
|
+
<line num="10" count="4" type="stmt"/>
|
|
4657
|
+
<line num="12" count="4" type="stmt"/>
|
|
4658
|
+
<line num="13" count="4" type="stmt"/>
|
|
4659
|
+
<line num="14" count="4" type="stmt"/>
|
|
4660
|
+
<line num="23" count="7" type="stmt"/>
|
|
4661
|
+
<line num="24" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
4662
|
+
<line num="25" count="7" type="stmt"/>
|
|
4663
|
+
<line num="26" count="7" type="stmt"/>
|
|
4664
|
+
<line num="27" count="7" type="stmt"/>
|
|
4665
|
+
<line num="28" count="7" type="stmt"/>
|
|
4666
|
+
<line num="30" count="7" type="stmt"/>
|
|
4667
|
+
<line num="31" count="7" type="stmt"/>
|
|
4668
|
+
<line num="33" count="7" type="stmt"/>
|
|
4669
|
+
<line num="34" count="7" type="stmt"/>
|
|
4670
|
+
<line num="37" count="7" type="stmt"/>
|
|
4671
|
+
<line num="38" count="7" type="stmt"/>
|
|
4672
|
+
<line num="40" count="7" type="stmt"/>
|
|
4673
|
+
<line num="41" count="7" type="stmt"/>
|
|
4674
|
+
<line num="45" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
4675
|
+
<line num="46" count="0" type="stmt"/>
|
|
4676
|
+
<line num="48" count="7" type="stmt"/>
|
|
4677
|
+
<line num="52" count="5" type="stmt"/>
|
|
4678
|
+
<line num="53" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4679
|
+
<line num="54" count="0" type="stmt"/>
|
|
3711
4680
|
<line num="56" count="5" type="stmt"/>
|
|
3712
|
-
<line num="
|
|
3713
|
-
<line num="
|
|
3714
|
-
<line num="
|
|
3715
|
-
<line num="64" count="
|
|
3716
|
-
<line num="65" count="
|
|
3717
|
-
<line num="
|
|
3718
|
-
<line num="
|
|
3719
|
-
<line num="
|
|
3720
|
-
<line num="
|
|
3721
|
-
<line num="
|
|
3722
|
-
<line num="
|
|
3723
|
-
<line num="
|
|
3724
|
-
<line num="
|
|
3725
|
-
<line num="
|
|
3726
|
-
<line num="
|
|
3727
|
-
<line num="
|
|
3728
|
-
<line num="
|
|
3729
|
-
<line num="
|
|
3730
|
-
<line num="
|
|
3731
|
-
<line num="
|
|
3732
|
-
<line num="
|
|
3733
|
-
<line num="
|
|
3734
|
-
<line num="
|
|
4681
|
+
<line num="60" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
4682
|
+
<line num="61" count="0" type="stmt"/>
|
|
4683
|
+
<line num="63" count="7" type="stmt"/>
|
|
4684
|
+
<line num="64" count="7" type="stmt"/>
|
|
4685
|
+
<line num="65" count="6" type="stmt"/>
|
|
4686
|
+
<line num="69" count="12" type="stmt"/>
|
|
4687
|
+
<line num="71" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
4688
|
+
<line num="72" count="7" type="stmt"/>
|
|
4689
|
+
<line num="74" count="12" type="stmt"/>
|
|
4690
|
+
<line num="78" count="7" type="stmt"/>
|
|
4691
|
+
<line num="79" count="7" type="stmt"/>
|
|
4692
|
+
<line num="80" count="6" type="stmt"/>
|
|
4693
|
+
<line num="81" count="6" type="stmt"/>
|
|
4694
|
+
<line num="83" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4695
|
+
<line num="84" count="0" type="stmt"/>
|
|
4696
|
+
<line num="85" count="0" type="stmt"/>
|
|
4697
|
+
<line num="87" count="5" type="stmt"/>
|
|
4698
|
+
<line num="88" count="5" type="stmt"/>
|
|
4699
|
+
<line num="89" count="5" type="stmt"/>
|
|
4700
|
+
<line num="94" count="5" type="stmt"/>
|
|
4701
|
+
<line num="95" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4702
|
+
<line num="96" count="5" type="stmt"/>
|
|
4703
|
+
<line num="97" count="5" type="stmt"/>
|
|
4704
|
+
<line num="104" count="5" type="stmt"/>
|
|
4705
|
+
<line num="107" count="5" type="cond" truecount="2" falsecount="2"/>
|
|
4706
|
+
<line num="108" count="0" type="stmt"/>
|
|
4707
|
+
<line num="109" count="0" type="stmt"/>
|
|
3735
4708
|
<line num="113" count="0" type="stmt"/>
|
|
3736
|
-
<line num="
|
|
3737
|
-
<line num="117" count="
|
|
4709
|
+
<line num="115" count="5" type="stmt"/>
|
|
4710
|
+
<line num="117" count="0" type="stmt"/>
|
|
3738
4711
|
<line num="118" count="0" type="stmt"/>
|
|
3739
|
-
<line num="
|
|
3740
|
-
<line num="
|
|
3741
|
-
<line num="
|
|
3742
|
-
<line num="
|
|
3743
|
-
<line num="
|
|
3744
|
-
<line num="
|
|
3745
|
-
<line num="
|
|
3746
|
-
<line num="
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
<
|
|
3750
|
-
<line num="
|
|
3751
|
-
<line num="
|
|
3752
|
-
<line num="
|
|
3753
|
-
<line num="
|
|
3754
|
-
<line num="
|
|
3755
|
-
<line num="
|
|
3756
|
-
<line num="
|
|
3757
|
-
<line num="
|
|
3758
|
-
<line num="
|
|
3759
|
-
<line num="
|
|
3760
|
-
<line num="
|
|
3761
|
-
<line num="
|
|
3762
|
-
<line num="
|
|
3763
|
-
<line num="
|
|
3764
|
-
<line num="
|
|
3765
|
-
<line num="
|
|
3766
|
-
<line num="
|
|
3767
|
-
<line num="
|
|
3768
|
-
<line num="
|
|
3769
|
-
<line num="
|
|
3770
|
-
<line num="
|
|
3771
|
-
<line num="
|
|
3772
|
-
<line num="
|
|
3773
|
-
<line num="
|
|
3774
|
-
<line num="
|
|
3775
|
-
<line num="
|
|
3776
|
-
<line num="
|
|
3777
|
-
<line num="
|
|
3778
|
-
<line num="
|
|
3779
|
-
<line num="
|
|
3780
|
-
<line num="
|
|
3781
|
-
<line num="
|
|
3782
|
-
<line num="
|
|
3783
|
-
<line num="235" count="0" type="stmt"/>
|
|
3784
|
-
<line num="239" count="0" type="stmt"/>
|
|
3785
|
-
<line num="241" count="5" type="cond" truecount="2" falsecount="2"/>
|
|
3786
|
-
<line num="242" count="0" type="stmt"/>
|
|
3787
|
-
<line num="244" count="5" type="stmt"/>
|
|
3788
|
-
<line num="252" count="0" type="stmt"/>
|
|
3789
|
-
<line num="253" count="0" type="stmt"/>
|
|
3790
|
-
<line num="255" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
3791
|
-
<line num="256" count="0" type="stmt"/>
|
|
3792
|
-
<line num="257" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3793
|
-
<line num="258" count="0" type="stmt"/>
|
|
3794
|
-
<line num="259" count="0" type="stmt"/>
|
|
3795
|
-
<line num="260" count="0" type="stmt"/>
|
|
3796
|
-
<line num="265" count="5" type="cond" truecount="3" falsecount="1"/>
|
|
3797
|
-
<line num="266" count="0" type="stmt"/>
|
|
3798
|
-
<line num="271" count="0" type="stmt"/>
|
|
3799
|
-
<line num="278" count="0" type="stmt"/>
|
|
3800
|
-
<line num="279" count="0" type="stmt"/>
|
|
3801
|
-
<line num="283" count="6" type="stmt"/>
|
|
3802
|
-
<line num="287" count="3" type="stmt"/>
|
|
3803
|
-
<line num="288" count="6" type="stmt"/>
|
|
3804
|
-
<line num="289" count="6" type="stmt"/>
|
|
3805
|
-
<line num="290" count="6" type="stmt"/>
|
|
3806
|
-
<line num="294" count="6" type="stmt"/>
|
|
3807
|
-
<line num="297" count="6" type="stmt"/>
|
|
3808
|
-
<line num="300" count="0" type="stmt"/>
|
|
4712
|
+
<line num="121" count="6" type="stmt"/>
|
|
4713
|
+
<line num="125" count="4" type="stmt"/>
|
|
4714
|
+
<line num="126" count="7" type="stmt"/>
|
|
4715
|
+
<line num="127" count="7" type="stmt"/>
|
|
4716
|
+
<line num="128" count="7" type="stmt"/>
|
|
4717
|
+
<line num="132" count="7" type="stmt"/>
|
|
4718
|
+
<line num="135" count="6" type="stmt"/>
|
|
4719
|
+
<line num="138" count="0" type="stmt"/>
|
|
4720
|
+
</file>
|
|
4721
|
+
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/index.js">
|
|
4722
|
+
<metrics statements="33" coveredstatements="25" conditionals="22" coveredconditionals="13" methods="5" coveredmethods="5"/>
|
|
4723
|
+
<line num="1" count="41" type="stmt"/>
|
|
4724
|
+
<line num="2" count="41" type="stmt"/>
|
|
4725
|
+
<line num="4" count="41" type="stmt"/>
|
|
4726
|
+
<line num="10" count="20" type="stmt"/>
|
|
4727
|
+
<line num="11" count="20" type="cond" truecount="2" falsecount="1"/>
|
|
4728
|
+
<line num="13" count="10" type="stmt"/>
|
|
4729
|
+
<line num="14" count="10" type="stmt"/>
|
|
4730
|
+
<line num="16" count="10" type="stmt"/>
|
|
4731
|
+
<line num="17" count="10" type="stmt"/>
|
|
4732
|
+
<line num="19" count="0" type="stmt"/>
|
|
4733
|
+
<line num="21" count="20" type="stmt"/>
|
|
4734
|
+
<line num="26" count="81" type="stmt"/>
|
|
4735
|
+
<line num="27" count="81" type="cond" truecount="2" falsecount="0"/>
|
|
4736
|
+
<line num="28" count="81" type="stmt"/>
|
|
4737
|
+
<line num="33" count="81" type="cond" truecount="1" falsecount="1"/>
|
|
4738
|
+
<line num="34" count="0" type="stmt"/>
|
|
4739
|
+
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4740
|
+
<line num="39" count="0" type="stmt"/>
|
|
4741
|
+
<line num="40" count="0" type="stmt"/>
|
|
4742
|
+
<line num="42" count="0" type="stmt"/>
|
|
4743
|
+
<line num="47" count="20" type="stmt"/>
|
|
4744
|
+
<line num="48" count="20" type="stmt"/>
|
|
4745
|
+
<line num="51" count="20" type="cond" truecount="1" falsecount="1"/>
|
|
4746
|
+
<line num="52" count="20" type="stmt"/>
|
|
4747
|
+
<line num="54" count="0" type="stmt"/>
|
|
4748
|
+
<line num="56" count="20" type="stmt"/>
|
|
4749
|
+
<line num="57" count="16" type="cond" truecount="3" falsecount="1"/>
|
|
4750
|
+
<line num="58" count="0" type="stmt"/>
|
|
4751
|
+
<line num="61" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
4752
|
+
<line num="62" count="2" type="stmt"/>
|
|
4753
|
+
<line num="64" count="14" type="stmt"/>
|
|
4754
|
+
<line num="71" count="41" type="stmt"/>
|
|
4755
|
+
<line num="72" count="41" type="stmt"/>
|
|
3809
4756
|
</file>
|
|
3810
4757
|
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/query.js">
|
|
3811
4758
|
<metrics statements="99" coveredstatements="91" conditionals="43" coveredconditionals="34" methods="13" coveredmethods="12"/>
|
|
@@ -3910,7 +4857,7 @@
|
|
|
3910
4857
|
<line num="201" count="2" type="stmt"/>
|
|
3911
4858
|
</file>
|
|
3912
4859
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/utils.js">
|
|
3913
|
-
<metrics statements="36" coveredstatements="30" conditionals="
|
|
4860
|
+
<metrics statements="36" coveredstatements="30" conditionals="14" coveredconditionals="9" methods="9" coveredmethods="8"/>
|
|
3914
4861
|
<line num="1" count="41" type="stmt"/>
|
|
3915
4862
|
<line num="2" count="41" type="stmt"/>
|
|
3916
4863
|
<line num="3" count="41" type="stmt"/>
|
|
@@ -3922,8 +4869,8 @@
|
|
|
3922
4869
|
<line num="16" count="41" type="stmt"/>
|
|
3923
4870
|
<line num="17" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3924
4871
|
<line num="20" count="41" type="stmt"/>
|
|
3925
|
-
<line num="22" count="
|
|
3926
|
-
<line num="23" count="
|
|
4872
|
+
<line num="22" count="6" type="cond" truecount="2" falsecount="2"/>
|
|
4873
|
+
<line num="23" count="6" type="stmt"/>
|
|
3927
4874
|
<line num="26" count="0" type="stmt"/>
|
|
3928
4875
|
<line num="27" count="0" type="stmt"/>
|
|
3929
4876
|
<line num="31" count="19" type="stmt"/>
|
|
@@ -4142,12 +5089,12 @@
|
|
|
4142
5089
|
<line num="41" count="2" type="stmt"/>
|
|
4143
5090
|
<line num="43" count="0" type="stmt"/>
|
|
4144
5091
|
<line num="57" count="44" type="stmt"/>
|
|
4145
|
-
<line num="58" count="
|
|
5092
|
+
<line num="58" count="212" type="cond" truecount="1" falsecount="1"/>
|
|
4146
5093
|
<line num="59" count="0" type="stmt"/>
|
|
4147
5094
|
<line num="63" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4148
5095
|
<line num="64" count="0" type="stmt"/>
|
|
4149
5096
|
<line num="66" count="0" type="stmt"/>
|
|
4150
|
-
<line num="68" count="
|
|
5097
|
+
<line num="68" count="212" type="stmt"/>
|
|
4151
5098
|
<line num="72" count="44" type="stmt"/>
|
|
4152
5099
|
<line num="73" count="2" type="stmt"/>
|
|
4153
5100
|
<line num="78" count="44" type="stmt"/>
|
|
@@ -4323,9 +5270,9 @@
|
|
|
4323
5270
|
</file>
|
|
4324
5271
|
</package>
|
|
4325
5272
|
<package name="utilities.queue">
|
|
4326
|
-
<metrics statements="21" coveredstatements="18" conditionals="7" coveredconditionals="4" methods="
|
|
5273
|
+
<metrics statements="21" coveredstatements="18" conditionals="7" coveredconditionals="4" methods="8" coveredmethods="6"/>
|
|
4327
5274
|
<file name="inMemoryQueue.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/queue/inMemoryQueue.js">
|
|
4328
|
-
<metrics statements="21" coveredstatements="18" conditionals="7" coveredconditionals="4" methods="
|
|
5275
|
+
<metrics statements="21" coveredstatements="18" conditionals="7" coveredconditionals="4" methods="8" coveredmethods="6"/>
|
|
4329
5276
|
<line num="1" count="40" type="stmt"/>
|
|
4330
5277
|
<line num="13" count="8" type="stmt"/>
|
|
4331
5278
|
<line num="33" count="40" type="stmt"/>
|
|
@@ -4339,14 +5286,14 @@
|
|
|
4339
5286
|
<line num="54" count="8" type="stmt"/>
|
|
4340
5287
|
<line num="55" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
4341
5288
|
<line num="56" count="8" type="stmt"/>
|
|
4342
|
-
<line num="
|
|
4343
|
-
<line num="
|
|
5289
|
+
<line num="70" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
5290
|
+
<line num="71" count="0" type="stmt"/>
|
|
5291
|
+
<line num="73" count="8" type="stmt"/>
|
|
4344
5292
|
<line num="74" count="8" type="stmt"/>
|
|
4345
|
-
<line num="
|
|
4346
|
-
<line num="
|
|
4347
|
-
<line num="
|
|
4348
|
-
<line num="
|
|
4349
|
-
<line num="107" count="40" type="stmt"/>
|
|
5293
|
+
<line num="83" count="0" type="stmt"/>
|
|
5294
|
+
<line num="90" count="206" type="stmt"/>
|
|
5295
|
+
<line num="97" count="0" type="stmt"/>
|
|
5296
|
+
<line num="101" count="40" type="stmt"/>
|
|
4350
5297
|
</file>
|
|
4351
5298
|
</package>
|
|
4352
5299
|
<package name="utilities.routing">
|
|
@@ -4365,9 +5312,9 @@
|
|
|
4365
5312
|
</file>
|
|
4366
5313
|
</package>
|
|
4367
5314
|
<package name="utilities.rowProcessor">
|
|
4368
|
-
<metrics statements="
|
|
5315
|
+
<metrics statements="161" coveredstatements="99" conditionals="134" coveredconditionals="65" methods="22" coveredmethods="12"/>
|
|
4369
5316
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/index.js">
|
|
4370
|
-
<metrics statements="
|
|
5317
|
+
<metrics statements="130" coveredstatements="79" conditionals="101" coveredconditionals="47" methods="20" coveredmethods="10"/>
|
|
4371
5318
|
<line num="1" count="41" type="stmt"/>
|
|
4372
5319
|
<line num="2" count="41" type="stmt"/>
|
|
4373
5320
|
<line num="3" count="41" type="stmt"/>
|
|
@@ -4377,182 +5324,240 @@
|
|
|
4377
5324
|
<line num="7" count="41" type="stmt"/>
|
|
4378
5325
|
<line num="12" count="41" type="stmt"/>
|
|
4379
5326
|
<line num="13" count="41" type="stmt"/>
|
|
4380
|
-
<line num="
|
|
4381
|
-
<line num="
|
|
4382
|
-
<line num="
|
|
4383
|
-
<line num="27" count="
|
|
4384
|
-
<line num="
|
|
4385
|
-
<line num="30" count="
|
|
4386
|
-
<line num="
|
|
4387
|
-
<line num="
|
|
4388
|
-
<line num="
|
|
4389
|
-
<line num="72" count="
|
|
4390
|
-
<line num="
|
|
4391
|
-
<line num="
|
|
4392
|
-
<line num="
|
|
4393
|
-
<line num="95" count="0" type="
|
|
4394
|
-
<line num="96" count="0" type="
|
|
4395
|
-
<line num="
|
|
4396
|
-
<line num="
|
|
4397
|
-
<line num="
|
|
4398
|
-
<line num="112" count="0" type="
|
|
4399
|
-
<line num="
|
|
4400
|
-
<line num="
|
|
4401
|
-
<line num="117" count="0" type="
|
|
4402
|
-
<line num="
|
|
5327
|
+
<line num="14" count="41" type="stmt"/>
|
|
5328
|
+
<line num="16" count="41" type="stmt"/>
|
|
5329
|
+
<line num="21" count="41" type="stmt"/>
|
|
5330
|
+
<line num="27" count="11" type="cond" truecount="4" falsecount="0"/>
|
|
5331
|
+
<line num="28" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
5332
|
+
<line num="30" count="9" type="cond" truecount="1" falsecount="1"/>
|
|
5333
|
+
<line num="31" count="0" type="stmt"/>
|
|
5334
|
+
<line num="33" count="9" type="stmt"/>
|
|
5335
|
+
<line num="65" count="9" type="stmt"/>
|
|
5336
|
+
<line num="72" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
5337
|
+
<line num="73" count="1" type="stmt"/>
|
|
5338
|
+
<line num="75" count="1" type="stmt"/>
|
|
5339
|
+
<line num="91" count="0" type="stmt"/>
|
|
5340
|
+
<line num="95" count="0" type="stmt"/>
|
|
5341
|
+
<line num="96" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5342
|
+
<line num="97" count="0" type="stmt"/>
|
|
5343
|
+
<line num="99" count="0" type="stmt"/>
|
|
5344
|
+
<line num="101" count="0" type="stmt"/>
|
|
5345
|
+
<line num="112" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5346
|
+
<line num="113" count="0" type="stmt"/>
|
|
5347
|
+
<line num="115" count="0" type="stmt"/>
|
|
5348
|
+
<line num="117" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5349
|
+
<line num="118" count="0" type="stmt"/>
|
|
4403
5350
|
<line num="120" count="0" type="stmt"/>
|
|
4404
|
-
<line num="
|
|
4405
|
-
<line num="140" count="
|
|
4406
|
-
<line num="
|
|
4407
|
-
<line num="
|
|
4408
|
-
<line num="144" count="
|
|
4409
|
-
<line num="
|
|
4410
|
-
<line num="
|
|
4411
|
-
<line num="149" count="
|
|
4412
|
-
<line num="
|
|
4413
|
-
<line num="
|
|
4414
|
-
<line num="
|
|
5351
|
+
<line num="121" count="0" type="stmt"/>
|
|
5352
|
+
<line num="140" count="78" type="cond" truecount="2" falsecount="0"/>
|
|
5353
|
+
<line num="141" count="78" type="stmt"/>
|
|
5354
|
+
<line num="142" count="78" type="stmt"/>
|
|
5355
|
+
<line num="144" count="78" type="stmt"/>
|
|
5356
|
+
<line num="147" count="78" type="cond" truecount="4" falsecount="0"/>
|
|
5357
|
+
<line num="148" count="78" type="stmt"/>
|
|
5358
|
+
<line num="149" count="216" type="cond" truecount="1" falsecount="1"/>
|
|
5359
|
+
<line num="150" count="216" type="stmt"/>
|
|
5360
|
+
<line num="152" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5361
|
+
<line num="153" count="0" type="stmt"/>
|
|
5362
|
+
<line num="155" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
5363
|
+
<line num="157" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
5364
|
+
<line num="158" count="0" type="stmt"/>
|
|
4415
5365
|
<line num="160" count="0" type="stmt"/>
|
|
4416
|
-
<line num="162" count="0" type="
|
|
4417
|
-
<line num="
|
|
5366
|
+
<line num="162" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5367
|
+
<line num="163" count="0" type="stmt"/>
|
|
4418
5368
|
<line num="165" count="0" type="stmt"/>
|
|
4419
|
-
<line num="167" count="0" type="
|
|
4420
|
-
<line num="
|
|
5369
|
+
<line num="167" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5370
|
+
<line num="168" count="0" type="stmt"/>
|
|
4421
5371
|
<line num="170" count="0" type="stmt"/>
|
|
4422
|
-
<line num="172" count="0" type="
|
|
4423
|
-
<line num="173" count="0" type="
|
|
4424
|
-
<line num="
|
|
4425
|
-
<line num="176" count="0" type="
|
|
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="200" count="
|
|
4436
|
-
<line num="
|
|
4437
|
-
<line num="
|
|
4438
|
-
<line num="
|
|
4439
|
-
<line num="
|
|
4440
|
-
<line num="
|
|
4441
|
-
<line num="
|
|
4442
|
-
<line num="226" count="
|
|
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="265" count="
|
|
4458
|
-
<line num="266" count="
|
|
4459
|
-
<line num="
|
|
4460
|
-
<line num="
|
|
4461
|
-
<line num="
|
|
4462
|
-
<line num="
|
|
4463
|
-
<line num="
|
|
4464
|
-
<line num="278" count="
|
|
4465
|
-
<line num="279" count="
|
|
4466
|
-
<line num="
|
|
4467
|
-
<line num="
|
|
4468
|
-
<line num="
|
|
4469
|
-
<line num="
|
|
4470
|
-
<line num="
|
|
4471
|
-
<line num="
|
|
4472
|
-
<line num="
|
|
4473
|
-
<line num="
|
|
4474
|
-
<line num="306" count="
|
|
4475
|
-
<line num="
|
|
4476
|
-
<line num="
|
|
4477
|
-
<line num="
|
|
4478
|
-
<line num="
|
|
4479
|
-
<line num="
|
|
5372
|
+
<line num="172" count="0" type="stmt"/>
|
|
5373
|
+
<line num="173" count="0" type="stmt"/>
|
|
5374
|
+
<line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5375
|
+
<line num="176" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5376
|
+
<line num="177" count="0" type="stmt"/>
|
|
5377
|
+
<line num="179" count="0" type="stmt"/>
|
|
5378
|
+
<line num="182" count="78" type="stmt"/>
|
|
5379
|
+
<line num="184" count="41" type="stmt"/>
|
|
5380
|
+
<line num="185" count="41" type="stmt"/>
|
|
5381
|
+
<line num="186" count="41" type="stmt"/>
|
|
5382
|
+
<line num="194" count="41" type="stmt"/>
|
|
5383
|
+
<line num="196" count="182" type="cond" truecount="1" falsecount="1"/>
|
|
5384
|
+
<line num="197" count="0" type="stmt"/>
|
|
5385
|
+
<line num="200" count="182" type="cond" truecount="2" falsecount="0"/>
|
|
5386
|
+
<line num="201" count="16" type="stmt"/>
|
|
5387
|
+
<line num="202" count="166" type="cond" truecount="2" falsecount="0"/>
|
|
5388
|
+
<line num="203" count="22" type="stmt"/>
|
|
5389
|
+
<line num="206" count="144" type="stmt"/>
|
|
5390
|
+
<line num="218" count="41" type="stmt"/>
|
|
5391
|
+
<line num="224" count="78" type="stmt"/>
|
|
5392
|
+
<line num="226" count="78" type="stmt"/>
|
|
5393
|
+
<line num="227" count="78" type="stmt"/>
|
|
5394
|
+
<line num="228" count="78" type="stmt"/>
|
|
5395
|
+
<line num="229" count="353" type="stmt"/>
|
|
5396
|
+
<line num="231" count="353" type="cond" truecount="2" falsecount="0"/>
|
|
5397
|
+
<line num="232" count="172" type="cond" truecount="2" falsecount="0"/>
|
|
5398
|
+
<line num="233" count="3" type="stmt"/>
|
|
5399
|
+
<line num="235" count="172" type="stmt"/>
|
|
5400
|
+
<line num="238" count="181" type="cond" truecount="1" falsecount="1"/>
|
|
5401
|
+
<line num="239" count="0" type="stmt"/>
|
|
5402
|
+
<line num="243" count="181" type="stmt"/>
|
|
5403
|
+
<line num="247" count="78" type="cond" truecount="4" falsecount="0"/>
|
|
5404
|
+
<line num="248" count="72" type="stmt"/>
|
|
5405
|
+
<line num="249" count="72" type="stmt"/>
|
|
5406
|
+
<line num="253" count="78" type="stmt"/>
|
|
5407
|
+
<line num="265" count="41" type="cond" truecount="1" falsecount="0"/>
|
|
5408
|
+
<line num="266" count="113" type="stmt"/>
|
|
5409
|
+
<line num="267" count="113" type="cond" truecount="2" falsecount="0"/>
|
|
5410
|
+
<line num="268" count="99" type="stmt"/>
|
|
5411
|
+
<line num="269" count="99" type="stmt"/>
|
|
5412
|
+
<line num="272" count="113" type="stmt"/>
|
|
5413
|
+
<line num="275" count="113" type="stmt"/>
|
|
5414
|
+
<line num="278" count="113" type="stmt"/>
|
|
5415
|
+
<line num="279" count="322" type="cond" truecount="2" falsecount="0"/>
|
|
5416
|
+
<line num="280" count="8" type="stmt"/>
|
|
5417
|
+
<line num="281" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
5418
|
+
<line num="282" count="6" type="stmt"/>
|
|
5419
|
+
<line num="284" count="2" type="stmt"/>
|
|
5420
|
+
<line num="285" count="2" type="stmt"/>
|
|
5421
|
+
<line num="290" count="113" type="cond" truecount="2" falsecount="0"/>
|
|
5422
|
+
<line num="291" count="33" type="stmt"/>
|
|
5423
|
+
<line num="293" count="113" type="cond" truecount="2" falsecount="0"/>
|
|
5424
|
+
<line num="306" count="41" type="stmt"/>
|
|
5425
|
+
<line num="307" count="14" type="stmt"/>
|
|
5426
|
+
<line num="308" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
5427
|
+
<line num="309" count="14" type="stmt"/>
|
|
5428
|
+
<line num="311" count="14" type="stmt"/>
|
|
5429
|
+
<line num="312" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
5430
|
+
<line num="313" count="14" type="stmt"/>
|
|
4480
5431
|
<line num="316" count="0" type="stmt"/>
|
|
4481
|
-
<line num="
|
|
4482
|
-
<line num="
|
|
4483
|
-
<line num="
|
|
4484
|
-
<line num="
|
|
4485
|
-
<line num="
|
|
4486
|
-
<line num="
|
|
4487
|
-
<line num="
|
|
5432
|
+
<line num="318" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5433
|
+
<line num="319" count="0" type="stmt"/>
|
|
5434
|
+
<line num="322" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5435
|
+
<line num="323" count="0" type="stmt"/>
|
|
5436
|
+
<line num="324" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5437
|
+
<line num="325" count="0" type="stmt"/>
|
|
5438
|
+
<line num="328" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
4488
5439
|
<line num="329" count="0" type="stmt"/>
|
|
4489
|
-
<line num="330" count="0" type="cond" truecount="0" falsecount="
|
|
4490
|
-
<line num="
|
|
4491
|
-
<line num="
|
|
4492
|
-
<line num="
|
|
4493
|
-
<line num="
|
|
4494
|
-
<line num="
|
|
5440
|
+
<line num="330" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
5441
|
+
<line num="332" count="0" type="stmt"/>
|
|
5442
|
+
<line num="333" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5443
|
+
<line num="334" count="0" type="stmt"/>
|
|
5444
|
+
<line num="335" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5445
|
+
<line num="336" count="0" type="stmt"/>
|
|
5446
|
+
<line num="339" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5447
|
+
<line num="340" count="0" type="stmt"/>
|
|
4495
5448
|
</file>
|
|
4496
5449
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/utils.js">
|
|
4497
|
-
<metrics statements="
|
|
4498
|
-
<line num="
|
|
4499
|
-
<line num="2" count="41" type="stmt"/>
|
|
5450
|
+
<metrics statements="31" coveredstatements="20" conditionals="33" coveredconditionals="18" methods="2" coveredmethods="2"/>
|
|
5451
|
+
<line num="6" count="41" type="stmt"/>
|
|
4500
5452
|
<line num="7" count="41" type="stmt"/>
|
|
4501
|
-
<line num="
|
|
4502
|
-
<line num="
|
|
4503
|
-
<line num="
|
|
4504
|
-
<line num="
|
|
4505
|
-
<line num="
|
|
4506
|
-
<line num="
|
|
4507
|
-
<line num="
|
|
4508
|
-
<line num="
|
|
5453
|
+
<line num="13" count="41" type="stmt"/>
|
|
5454
|
+
<line num="14" count="2" type="cond" truecount="4" falsecount="1"/>
|
|
5455
|
+
<line num="15" count="0" type="stmt"/>
|
|
5456
|
+
<line num="18" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
5457
|
+
<line num="19" count="0" type="stmt"/>
|
|
5458
|
+
<line num="20" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
5459
|
+
<line num="21" count="0" type="stmt"/>
|
|
5460
|
+
<line num="22" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
5461
|
+
<line num="23" count="0" type="stmt"/>
|
|
5462
|
+
<line num="24" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
5463
|
+
<line num="25" count="0" type="stmt"/>
|
|
5464
|
+
<line num="26" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4509
5465
|
<line num="27" count="0" type="stmt"/>
|
|
4510
|
-
<line num="
|
|
4511
|
-
<line num="
|
|
4512
|
-
<line num="
|
|
4513
|
-
<line num="
|
|
4514
|
-
<line num="
|
|
5466
|
+
<line num="29" count="2" type="stmt"/>
|
|
5467
|
+
<line num="35" count="41" type="stmt"/>
|
|
5468
|
+
<line num="40" count="281" type="stmt"/>
|
|
5469
|
+
<line num="41" count="281" type="cond" truecount="2" falsecount="0"/>
|
|
5470
|
+
<line num="42" count="168" type="stmt"/>
|
|
5471
|
+
<line num="43" count="168" type="cond" truecount="2" falsecount="0"/>
|
|
5472
|
+
<line num="45" count="281" type="stmt"/>
|
|
5473
|
+
<line num="46" count="804" type="stmt"/>
|
|
5474
|
+
<line num="47" count="804" type="cond" truecount="1" falsecount="1"/>
|
|
5475
|
+
<line num="52" count="804" type="stmt"/>
|
|
5476
|
+
<line num="55" count="0" type="stmt"/>
|
|
5477
|
+
<line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5478
|
+
<line num="57" count="0" type="stmt"/>
|
|
5479
|
+
<line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5480
|
+
<line num="59" count="0" type="stmt"/>
|
|
5481
|
+
<line num="66" count="281" type="cond" truecount="2" falsecount="0"/>
|
|
4515
5482
|
</file>
|
|
4516
5483
|
</package>
|
|
4517
5484
|
<package name="utilities.usageQuota">
|
|
4518
|
-
<metrics statements="
|
|
5485
|
+
<metrics statements="75" coveredstatements="63" conditionals="27" coveredconditionals="19" methods="11" coveredmethods="9"/>
|
|
5486
|
+
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/usageQuota/index.js">
|
|
5487
|
+
<metrics statements="35" coveredstatements="31" conditionals="17" coveredconditionals="13" methods="3" coveredmethods="3"/>
|
|
5488
|
+
<line num="1" count="42" type="stmt"/>
|
|
5489
|
+
<line num="2" count="42" type="stmt"/>
|
|
5490
|
+
<line num="6" count="42" type="stmt"/>
|
|
5491
|
+
<line num="8" count="42" type="stmt"/>
|
|
5492
|
+
<line num="10" count="68" type="cond" truecount="2" falsecount="0"/>
|
|
5493
|
+
<line num="12" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
5494
|
+
<line num="13" count="3" type="stmt"/>
|
|
5495
|
+
<line num="17" count="3" type="stmt"/>
|
|
5496
|
+
<line num="18" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
5497
|
+
<line num="19" count="2" type="stmt"/>
|
|
5498
|
+
<line num="22" count="5" type="stmt"/>
|
|
5499
|
+
<line num="24" count="61" type="stmt"/>
|
|
5500
|
+
<line num="27" count="42" type="stmt"/>
|
|
5501
|
+
<line num="37" count="42" type="stmt"/>
|
|
5502
|
+
<line num="39" count="10" type="stmt"/>
|
|
5503
|
+
<line num="40" count="10" type="stmt"/>
|
|
5504
|
+
<line num="43" count="2" type="stmt"/>
|
|
5505
|
+
<line num="44" count="2" type="stmt"/>
|
|
5506
|
+
<line num="45" count="2" type="stmt"/>
|
|
5507
|
+
<line num="48" count="10" type="stmt"/>
|
|
5508
|
+
<line num="59" count="42" type="cond" truecount="1" falsecount="0"/>
|
|
5509
|
+
<line num="60" count="17" type="cond" truecount="2" falsecount="0"/>
|
|
5510
|
+
<line num="61" count="15" type="stmt"/>
|
|
5511
|
+
<line num="64" count="2" type="stmt"/>
|
|
5512
|
+
<line num="65" count="2" type="stmt"/>
|
|
5513
|
+
<line num="66" count="2" type="stmt"/>
|
|
5514
|
+
<line num="69" count="2" type="stmt"/>
|
|
5515
|
+
<line num="71" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
5516
|
+
<line num="75" count="0" type="stmt"/>
|
|
5517
|
+
<line num="80" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
5518
|
+
<line num="82" count="0" type="stmt"/>
|
|
5519
|
+
<line num="86" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
5520
|
+
<line num="87" count="2" type="stmt"/>
|
|
5521
|
+
<line num="90" count="0" type="stmt"/>
|
|
5522
|
+
<line num="91" count="0" type="stmt"/>
|
|
5523
|
+
</file>
|
|
4519
5524
|
<file name="rows.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/usageQuota/rows.js">
|
|
4520
|
-
<metrics statements="35" coveredstatements="
|
|
4521
|
-
<line num="1" count="
|
|
4522
|
-
<line num="6" count="
|
|
4523
|
-
<line num="8" count="
|
|
4524
|
-
<line num="10" count="
|
|
4525
|
-
<line num="13" count="
|
|
4526
|
-
<line num="14" count="
|
|
4527
|
-
<line num="15" count="
|
|
4528
|
-
<line num="16" count="
|
|
4529
|
-
<line num="17" count="
|
|
4530
|
-
<line num="19" count="
|
|
4531
|
-
<line num="20" count="
|
|
5525
|
+
<metrics statements="35" coveredstatements="32" conditionals="8" coveredconditionals="6" methods="6" coveredmethods="6"/>
|
|
5526
|
+
<line num="1" count="26" type="stmt"/>
|
|
5527
|
+
<line num="6" count="26" type="stmt"/>
|
|
5528
|
+
<line num="8" count="26" type="stmt"/>
|
|
5529
|
+
<line num="10" count="26" type="stmt"/>
|
|
5530
|
+
<line num="13" count="1" type="stmt"/>
|
|
5531
|
+
<line num="14" count="1" type="stmt"/>
|
|
5532
|
+
<line num="15" count="4" type="stmt"/>
|
|
5533
|
+
<line num="16" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
5534
|
+
<line num="17" count="2" type="stmt"/>
|
|
5535
|
+
<line num="19" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
5536
|
+
<line num="20" count="2" type="stmt"/>
|
|
4532
5537
|
<line num="22" count="2" type="stmt"/>
|
|
4533
|
-
<line num="25" count="
|
|
4534
|
-
<line num="28" count="
|
|
4535
|
-
<line num="30" count="
|
|
4536
|
-
<line num="31" count="
|
|
4537
|
-
<line num="36" count="
|
|
5538
|
+
<line num="25" count="1" type="stmt"/>
|
|
5539
|
+
<line num="28" count="26" type="stmt"/>
|
|
5540
|
+
<line num="30" count="4" type="stmt"/>
|
|
5541
|
+
<line num="31" count="4" type="stmt"/>
|
|
5542
|
+
<line num="36" count="4" type="stmt"/>
|
|
4538
5543
|
<line num="37" count="3" type="stmt"/>
|
|
4539
5544
|
<line num="39" count="3" type="stmt"/>
|
|
4540
5545
|
<line num="40" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
4541
5546
|
<line num="41" count="0" type="stmt"/>
|
|
4542
5547
|
<line num="44" count="3" type="stmt"/>
|
|
4543
|
-
<line num="54" count="
|
|
4544
|
-
<line num="55" count="
|
|
4545
|
-
<line num="56" count="
|
|
4546
|
-
<line num="58" count="
|
|
4547
|
-
<line num="59" count="
|
|
4548
|
-
<line num="60" count="
|
|
4549
|
-
<line num="61" count="
|
|
4550
|
-
<line num="62" count="
|
|
4551
|
-
<line num="64" count="
|
|
4552
|
-
<line num="65" count="
|
|
5548
|
+
<line num="54" count="26" type="stmt"/>
|
|
5549
|
+
<line num="55" count="1" type="stmt"/>
|
|
5550
|
+
<line num="56" count="1" type="stmt"/>
|
|
5551
|
+
<line num="58" count="1" type="stmt"/>
|
|
5552
|
+
<line num="59" count="2" type="stmt"/>
|
|
5553
|
+
<line num="60" count="2" type="stmt"/>
|
|
5554
|
+
<line num="61" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
5555
|
+
<line num="62" count="0" type="stmt"/>
|
|
5556
|
+
<line num="64" count="4" type="stmt"/>
|
|
5557
|
+
<line num="65" count="4" type="stmt"/>
|
|
4553
5558
|
<line num="67" count="0" type="stmt"/>
|
|
4554
|
-
<line num="75" count="
|
|
4555
|
-
<line num="78" count="
|
|
5559
|
+
<line num="75" count="2" type="stmt"/>
|
|
5560
|
+
<line num="78" count="1" type="stmt"/>
|
|
4556
5561
|
</file>
|
|
4557
5562
|
<file name="usageQuoteReset.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/usageQuota/usageQuoteReset.js">
|
|
4558
5563
|
<metrics statements="5" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
|