@budibase/server 1.3.21 → 1.3.22-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__mocks__/mongodb.ts +1 -1
- package/builder/assets/index.96c69636.js +1008 -0
- package/builder/assets/index.c167b5c3.css +6 -0
- package/builder/index.html +2 -4
- package/coverage/clover.xml +308 -338
- package/coverage/coverage-final.json +19 -21
- package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/controllers/auth.js.html +41 -8
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/datasource.js.html +73 -34
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +27 -57
- package/coverage/lcov-report/api/controllers/integration.js.html +6 -6
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query/index.html +1 -1
- package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/external.js.html +2 -2
- package/coverage/lcov-report/api/controllers/row/index.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
- package/coverage/lcov-report/api/controllers/user.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
- package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
- package/coverage/lcov-report/api/index.html +1 -1
- package/coverage/lcov-report/api/index.js.html +13 -13
- package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
- package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/routes/auth.js.html +1 -1
- package/coverage/lcov-report/api/routes/automation.js.html +1 -1
- package/coverage/lcov-report/api/routes/backup.js.html +1 -1
- package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
- package/coverage/lcov-report/api/routes/component.js.html +1 -1
- package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
- package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
- package/coverage/lcov-report/api/routes/dev.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +1 -1
- package/coverage/lcov-report/api/routes/integration.js.html +1 -1
- package/coverage/lcov-report/api/routes/layout.js.html +1 -1
- package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
- package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
- package/coverage/lcov-report/api/routes/permission.js.html +1 -1
- package/coverage/lcov-report/api/routes/query.js.html +1 -1
- package/coverage/lcov-report/api/routes/role.js.html +1 -1
- package/coverage/lcov-report/api/routes/routing.js.html +1 -1
- package/coverage/lcov-report/api/routes/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.js.html +1 -1
- package/coverage/lcov-report/api/routes/table.js.html +2 -2
- package/coverage/lcov-report/api/routes/templates.js.html +1 -1
- package/coverage/lcov-report/api/routes/user.js.html +1 -1
- package/coverage/lcov-report/api/routes/utils/index.html +9 -9
- package/coverage/lcov-report/api/routes/utils/validators.js.html +75 -12
- package/coverage/lcov-report/api/routes/view.js.html +1 -1
- package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/actions.js.html +1 -1
- package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
- package/coverage/lcov-report/automations/bullboard.js.html +1 -1
- package/coverage/lcov-report/automations/index.html +1 -1
- package/coverage/lcov-report/automations/index.js.html +1 -1
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +1 -1
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
- package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/triggers.js.html +1 -1
- package/coverage/lcov-report/constants/index.html +1 -1
- package/coverage/lcov-report/constants/index.js.html +1 -1
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +1 -1
- package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
- package/coverage/lcov-report/db/index.html +14 -14
- package/coverage/lcov-report/db/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
- package/coverage/lcov-report/db/newid.js.html +2 -2
- package/coverage/lcov-report/db/utils.js.html +30 -18
- package/coverage/lcov-report/events/AutomationEmitter.js.html +3 -3
- package/coverage/lcov-report/events/index.html +1 -1
- package/coverage/lcov-report/events/index.js.html +1 -1
- package/coverage/lcov-report/events/utils.js.html +1 -1
- package/coverage/lcov-report/index.html +44 -44
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
- package/coverage/lcov-report/middleware/builder.js.html +12 -12
- package/coverage/lcov-report/middleware/currentapp.js.html +46 -40
- package/coverage/lcov-report/middleware/index.html +15 -15
- package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
- package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
- package/coverage/lcov-report/middleware/resourceId.js.html +7 -7
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/utils.js.html +2 -2
- package/coverage/lcov-report/utilities/budibaseDir.js.html +3 -3
- package/coverage/lcov-report/utilities/centralPath.js.html +4 -4
- package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
- package/coverage/lcov-report/utilities/global.js.html +16 -16
- package/coverage/lcov-report/utilities/index.html +15 -15
- package/coverage/lcov-report/utilities/index.js.html +24 -24
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +2 -2
- package/coverage/lcov-report/utilities/queue/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
- package/coverage/lcov-report/utilities/security.js.html +2 -2
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +32 -8
- package/coverage/lcov.info +521 -558
- package/dist/api/controllers/application.js +5 -5
- package/dist/api/controllers/auth.js +9 -0
- package/dist/api/controllers/component.js +19 -6
- package/dist/api/controllers/datasource.js +21 -8
- package/dist/api/controllers/deploy/index.js +1 -8
- package/dist/api/controllers/integration.js +4 -4
- package/dist/{migrations/functions/usageQuotas/syncDevelopers.js → api/controllers/plugin/file.js} +13 -13
- package/dist/api/controllers/plugin/github.js +69 -0
- package/dist/api/controllers/plugin/index.js +144 -0
- package/dist/api/controllers/plugin/npm.js +58 -0
- package/dist/api/controllers/plugin/uploaders.js +11 -0
- package/dist/{migrations/functions/usageQuotas/syncPublishedApps.js → api/controllers/plugin/url.js} +13 -15
- package/dist/api/controllers/plugin/utils.js +26 -0
- package/dist/api/controllers/row/external.js +1 -1
- package/dist/api/controllers/screen.js +62 -14
- package/dist/api/controllers/static/index.js +1 -0
- package/dist/api/controllers/static/templates/BudibaseApp.svelte +10 -0
- package/dist/api/controllers/static/templates/preview.hbs +5 -1
- package/dist/api/index.js +1 -1
- package/dist/api/routes/application.js +3 -2
- package/dist/api/routes/index.js +2 -0
- package/dist/{migrations/functions/publishedAppsQuota.js → api/routes/plugin.js} +13 -21
- package/dist/api/routes/public/rows.js +1 -82
- package/dist/api/routes/public/tables.js +1 -1
- package/dist/api/routes/table.js +1 -1
- package/dist/api/routes/utils/validators.js +20 -2
- package/dist/app.js +16 -1
- package/dist/db/utils.js +3 -0
- package/dist/environment.js +1 -0
- package/dist/integrations/airtable.js +126 -129
- package/dist/integrations/arangodb.js +86 -89
- package/dist/integrations/base/query.js +2 -2
- package/dist/integrations/base/sqlTable.js +3 -1
- package/dist/integrations/couchdb.js +80 -83
- package/dist/integrations/dynamodb.js +161 -164
- package/dist/integrations/elasticsearch.js +135 -138
- package/dist/integrations/firebase.js +154 -157
- package/dist/integrations/googlesheets.js +323 -327
- package/dist/integrations/index.js +99 -51
- package/dist/integrations/microsoftSqlServer.js +240 -243
- package/dist/integrations/mongodb.js +239 -242
- package/dist/integrations/mysql.js +215 -219
- package/dist/integrations/oracle.js +318 -322
- package/dist/integrations/postgres.js +262 -265
- package/dist/integrations/redis.js +134 -139
- package/dist/integrations/rest.js +289 -292
- package/dist/integrations/s3.js +61 -64
- package/dist/integrations/snowflake.js +83 -86
- package/dist/middleware/currentapp.js +2 -0
- package/dist/migrations/functions/backfill/global.js +0 -3
- package/dist/migrations/index.js +0 -10
- package/dist/package.json +9 -6
- package/dist/tests/utilities/TestConfiguration.js +1 -1
- package/dist/threads/query.js +2 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utilities/fileSystem/index.js +105 -1
- package/dist/utilities/workerRequests.js +4 -0
- package/dist/watch.js +77 -0
- package/dist/websocket.js +22 -0
- package/package.json +10 -7
- package/scripts/dev/manage.js +4 -0
- package/scripts/localdomain.js +3 -1
- package/specs/openapi.json +115 -112
- package/specs/openapi.yaml +96 -94
- package/specs/resources/misc.js +116 -0
- package/specs/resources/query.js +1 -1
- package/src/api/controllers/application.ts +1 -2
- package/src/api/controllers/auth.js +11 -0
- package/src/api/controllers/component.ts +57 -0
- package/src/api/controllers/datasource.js +21 -8
- package/src/api/controllers/deploy/index.ts +1 -6
- package/src/api/controllers/integration.js +4 -4
- package/src/api/controllers/plugin/file.ts +15 -0
- package/src/api/controllers/plugin/github.ts +75 -0
- package/src/api/controllers/plugin/index.ts +134 -0
- package/src/api/controllers/plugin/npm.ts +56 -0
- package/src/api/controllers/plugin/uploaders.ts +4 -0
- package/src/api/controllers/plugin/url.ts +12 -0
- package/src/api/controllers/plugin/utils.ts +19 -0
- package/src/api/controllers/public/mapping/types.ts +8 -0
- package/src/api/controllers/row/external.js +1 -1
- package/src/api/controllers/screen.ts +122 -0
- package/src/api/controllers/static/index.ts +1 -1
- package/src/api/controllers/static/templates/BudibaseApp.svelte +10 -0
- package/src/api/controllers/static/templates/preview.hbs +5 -1
- package/src/api/index.js +1 -1
- package/src/api/routes/application.ts +13 -2
- package/src/api/routes/index.ts +2 -0
- package/src/api/routes/plugin.ts +14 -0
- package/src/api/routes/public/rows.ts +1 -82
- package/src/api/routes/public/tables.ts +1 -1
- package/src/api/routes/table.js +1 -1
- package/src/api/routes/tests/query.spec.js +8 -25
- package/src/api/routes/tests/user.spec.js +0 -2
- package/src/api/routes/utils/validators.js +26 -5
- package/src/app.ts +25 -2
- package/src/db/utils.js +4 -0
- package/src/definitions/openapi.ts +56 -55
- package/src/environment.js +1 -0
- package/src/integrations/airtable.ts +116 -118
- package/src/integrations/arangodb.ts +87 -89
- package/src/integrations/base/query.ts +2 -2
- package/src/integrations/base/sqlTable.ts +3 -1
- package/src/integrations/couchdb.ts +83 -89
- package/src/integrations/dynamodb.ts +173 -175
- package/src/integrations/elasticsearch.ts +120 -122
- package/src/integrations/firebase.ts +157 -159
- package/src/integrations/googlesheets.ts +328 -338
- package/src/integrations/index.ts +64 -21
- package/src/integrations/microsoftSqlServer.ts +249 -251
- package/src/integrations/mongodb.ts +261 -258
- package/src/integrations/mysql.ts +229 -234
- package/src/integrations/oracle.ts +373 -380
- package/src/integrations/postgres.ts +264 -268
- package/src/integrations/redis.ts +128 -132
- package/src/integrations/rest.ts +324 -329
- package/src/integrations/s3.ts +68 -71
- package/src/integrations/snowflake.ts +80 -82
- package/src/integrations/tests/{airtable.spec.js → airtable.spec.ts} +21 -18
- package/src/integrations/tests/{arangodb.spec.js → arangodb.spec.ts} +12 -9
- package/src/integrations/tests/{couchdb.spec.js → couchdb.spec.ts} +33 -27
- package/src/integrations/tests/{dynamodb.spec.js → dynamodb.spec.ts} +45 -41
- package/src/integrations/tests/{elasticsearch.spec.js → elasticsearch.spec.ts} +22 -21
- package/src/integrations/tests/{firebase.spec.js → firebase.spec.ts} +33 -28
- package/src/integrations/tests/{microsoftSqlServer.spec.js → microsoftSqlServer.spec.ts} +12 -11
- package/src/integrations/tests/{mongo.spec.js → mongo.spec.ts} +46 -35
- package/src/integrations/tests/{mysql.spec.js → mysql.spec.ts} +17 -15
- package/src/integrations/tests/{oracle.spec.js → oracle.spec.ts} +19 -17
- package/src/integrations/tests/{postgres.spec.js → postgres.spec.ts} +19 -17
- package/src/integrations/tests/{redis.spec.js → redis.spec.ts} +27 -18
- package/src/integrations/tests/{rest.spec.js → rest.spec.ts} +22 -14
- package/src/integrations/tests/{s3.spec.js → s3.spec.ts} +10 -8
- package/src/integrations/tests/{sql.spec.js → sql.spec.ts} +228 -177
- package/src/middleware/currentapp.js +2 -0
- package/src/migrations/functions/backfill/global.ts +0 -3
- package/src/migrations/index.ts +0 -16
- package/src/module.d.ts +2 -0
- package/src/tests/utilities/TestConfiguration.js +1 -1
- package/src/threads/query.ts +2 -2
- package/src/utilities/fileSystem/index.js +123 -0
- package/src/utilities/workerRequests.js +8 -0
- package/src/watch.ts +38 -0
- package/src/websocket.ts +26 -0
- package/builder/assets/index.8d12d461.css +0 -6
- package/builder/assets/index.d354271c.js +0 -879
- package/builder/assets/vendor.5e1fe644.css +0 -1
- package/builder/assets/vendor.67dbd8fa.js +0 -248
- package/coverage/lcov-report/api/controllers/component.js.html +0 -199
- package/coverage/lcov-report/api/controllers/screen.js.html +0 -259
- package/dist/migrations/functions/developerQuota.js +0 -49
- package/src/api/controllers/component.js +0 -38
- package/src/api/controllers/screen.js +0 -58
- 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/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1663520771739" clover="3.2.0">
|
|
3
|
+
<project timestamp="1663520771739" name="All files">
|
|
4
|
+
<metrics statements="4138" coveredstatements="3019" conditionals="1763" coveredconditionals="967" methods="613" coveredmethods="431" elements="6514" coveredelements="4417" complexity="0" loc="4138" ncloc="4138" packages="22" files="124" classes="124"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="35" coveredstatements="34" conditionals="5" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -21,20 +21,20 @@
|
|
|
21
21
|
<line num="19" count="28" type="stmt"/>
|
|
22
22
|
<line num="20" count="28" type="stmt"/>
|
|
23
23
|
<line num="22" count="28" type="stmt"/>
|
|
24
|
-
<line num="36" count="
|
|
25
|
-
<line num="40" count="
|
|
24
|
+
<line num="36" count="237" type="stmt"/>
|
|
25
|
+
<line num="40" count="237" type="stmt"/>
|
|
26
26
|
<line num="62" count="28" type="stmt"/>
|
|
27
|
-
<line num="63" count="
|
|
28
|
-
<line num="64" count="
|
|
29
|
-
<line num="66" count="
|
|
30
|
-
<line num="67" count="
|
|
31
|
-
<line num="68" count="
|
|
32
|
-
<line num="74" count="
|
|
33
|
-
<line num="76" count="
|
|
27
|
+
<line num="63" count="235" type="stmt"/>
|
|
28
|
+
<line num="64" count="235" type="stmt"/>
|
|
29
|
+
<line num="66" count="37" type="cond" truecount="1" falsecount="2"/>
|
|
30
|
+
<line num="67" count="37" type="stmt"/>
|
|
31
|
+
<line num="68" count="37" type="stmt"/>
|
|
32
|
+
<line num="74" count="37" type="stmt"/>
|
|
33
|
+
<line num="76" count="37" type="cond" truecount="1" falsecount="1"/>
|
|
34
34
|
<line num="77" count="0" type="stmt"/>
|
|
35
35
|
<line num="83" count="28" type="stmt"/>
|
|
36
|
-
<line num="84" count="
|
|
37
|
-
<line num="85" count="
|
|
36
|
+
<line num="84" count="756" type="stmt"/>
|
|
37
|
+
<line num="85" count="756" type="stmt"/>
|
|
38
38
|
<line num="88" count="28" type="stmt"/>
|
|
39
39
|
<line num="89" count="28" type="stmt"/>
|
|
40
40
|
<line num="92" count="28" type="stmt"/>
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
</file>
|
|
45
45
|
</package>
|
|
46
46
|
<package name="api.controllers">
|
|
47
|
-
<metrics statements="
|
|
47
|
+
<metrics statements="931" coveredstatements="657" conditionals="290" coveredconditionals="130" methods="135" coveredmethods="89"/>
|
|
48
48
|
<file name="apikeys.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/apikeys.js">
|
|
49
49
|
<metrics statements="24" coveredstatements="24" conditionals="4" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
50
50
|
<line num="1" count="28" type="stmt"/>
|
|
@@ -73,35 +73,39 @@
|
|
|
73
73
|
<line num="46" count="1" type="stmt"/>
|
|
74
74
|
</file>
|
|
75
75
|
<file name="auth.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/auth.js">
|
|
76
|
-
<metrics statements="
|
|
76
|
+
<metrics statements="32" coveredstatements="27" conditionals="10" coveredconditionals="5" methods="2" coveredmethods="2"/>
|
|
77
77
|
<line num="1" count="28" type="stmt"/>
|
|
78
78
|
<line num="2" count="28" type="stmt"/>
|
|
79
79
|
<line num="3" count="28" type="stmt"/>
|
|
80
80
|
<line num="4" count="28" type="stmt"/>
|
|
81
81
|
<line num="5" count="28" type="stmt"/>
|
|
82
|
-
<line num="
|
|
83
|
-
<line num="
|
|
84
|
-
<line num="
|
|
85
|
-
<line num="
|
|
86
|
-
<line num="
|
|
87
|
-
<line num="21" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
88
|
-
<line num="22" count="1" type="stmt"/>
|
|
82
|
+
<line num="10" count="28" type="stmt"/>
|
|
83
|
+
<line num="11" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
84
|
+
<line num="12" count="1" type="stmt"/>
|
|
85
|
+
<line num="16" count="28" type="stmt"/>
|
|
86
|
+
<line num="17" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
89
87
|
<line num="24" count="1" type="stmt"/>
|
|
90
|
-
<line num="25" count="1" type="stmt"/>
|
|
91
88
|
<line num="26" count="1" type="stmt"/>
|
|
92
|
-
<line num="
|
|
93
|
-
<line num="
|
|
94
|
-
<line num="31" count="
|
|
95
|
-
<line num="
|
|
96
|
-
<line num="
|
|
97
|
-
<line num="
|
|
98
|
-
<line num="
|
|
99
|
-
<line num="
|
|
100
|
-
<line num="
|
|
101
|
-
<line num="
|
|
102
|
-
<line num="
|
|
103
|
-
<line num="
|
|
104
|
-
<line num="
|
|
89
|
+
<line num="28" count="1" type="stmt"/>
|
|
90
|
+
<line num="30" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
91
|
+
<line num="31" count="1" type="stmt"/>
|
|
92
|
+
<line num="33" count="1" type="stmt"/>
|
|
93
|
+
<line num="34" count="1" type="stmt"/>
|
|
94
|
+
<line num="35" count="1" type="stmt"/>
|
|
95
|
+
<line num="36" count="1" type="stmt"/>
|
|
96
|
+
<line num="38" count="0" type="stmt"/>
|
|
97
|
+
<line num="40" count="0" type="stmt"/>
|
|
98
|
+
<line num="47" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
99
|
+
<line num="48" count="0" type="stmt"/>
|
|
100
|
+
<line num="51" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
101
|
+
<line num="52" count="1" type="stmt"/>
|
|
102
|
+
<line num="56" count="1" type="stmt"/>
|
|
103
|
+
<line num="57" count="1" type="stmt"/>
|
|
104
|
+
<line num="58" count="1" type="stmt"/>
|
|
105
|
+
<line num="60" count="0" type="stmt"/>
|
|
106
|
+
<line num="62" count="1" type="stmt"/>
|
|
107
|
+
<line num="65" count="0" type="stmt"/>
|
|
108
|
+
<line num="68" count="1" type="stmt"/>
|
|
105
109
|
</file>
|
|
106
110
|
<file name="automation.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/automation.js">
|
|
107
111
|
<metrics statements="131" coveredstatements="110" conditionals="40" coveredconditionals="25" methods="24" coveredmethods="20"/>
|
|
@@ -312,30 +316,8 @@
|
|
|
312
316
|
<line num="109" count="0" type="stmt"/>
|
|
313
317
|
<line num="110" count="0" type="stmt"/>
|
|
314
318
|
</file>
|
|
315
|
-
<file name="component.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/component.js">
|
|
316
|
-
<metrics statements="19" coveredstatements="18" conditionals="2" coveredconditionals="2" methods="2" coveredmethods="2"/>
|
|
317
|
-
<line num="1" count="28" type="stmt"/>
|
|
318
|
-
<line num="2" count="28" type="stmt"/>
|
|
319
|
-
<line num="3" count="28" type="stmt"/>
|
|
320
|
-
<line num="5" count="28" type="stmt"/>
|
|
321
|
-
<line num="6" count="1" type="stmt"/>
|
|
322
|
-
<line num="7" count="1" type="stmt"/>
|
|
323
|
-
<line num="8" count="1" type="stmt"/>
|
|
324
|
-
<line num="10" count="1" type="stmt"/>
|
|
325
|
-
<line num="12" count="1" type="stmt"/>
|
|
326
|
-
<line num="14" count="1" type="stmt"/>
|
|
327
|
-
<line num="20" count="1" type="stmt"/>
|
|
328
|
-
<line num="21" count="1" type="stmt"/>
|
|
329
|
-
<line num="22" count="1" type="stmt"/>
|
|
330
|
-
<line num="23" count="52" type="cond" truecount="2" falsecount="0"/>
|
|
331
|
-
<line num="24" count="1" type="stmt"/>
|
|
332
|
-
<line num="26" count="51" type="stmt"/>
|
|
333
|
-
<line num="27" count="51" type="stmt"/>
|
|
334
|
-
<line num="34" count="1" type="stmt"/>
|
|
335
|
-
<line num="36" count="0" type="stmt"/>
|
|
336
|
-
</file>
|
|
337
319
|
<file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/datasource.js">
|
|
338
|
-
<metrics statements="
|
|
320
|
+
<metrics statements="141" coveredstatements="82" conditionals="61" coveredconditionals="20" methods="20" coveredmethods="11"/>
|
|
339
321
|
<line num="8" count="45" type="stmt"/>
|
|
340
322
|
<line num="9" count="45" type="stmt"/>
|
|
341
323
|
<line num="10" count="45" type="stmt"/>
|
|
@@ -357,119 +339,126 @@
|
|
|
357
339
|
<line num="50" count="45" type="stmt"/>
|
|
358
340
|
<line num="51" count="0" type="stmt"/>
|
|
359
341
|
<line num="52" count="0" type="stmt"/>
|
|
360
|
-
<line num="
|
|
342
|
+
<line num="53" count="0" type="stmt"/>
|
|
361
343
|
<line num="55" count="0" type="stmt"/>
|
|
362
|
-
<line num="
|
|
344
|
+
<line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
345
|
+
<line num="57" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
363
346
|
<line num="58" count="0" type="stmt"/>
|
|
364
347
|
<line num="60" count="0" type="stmt"/>
|
|
365
348
|
<line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
366
349
|
<line num="62" count="0" type="stmt"/>
|
|
367
350
|
<line num="64" count="0" type="stmt"/>
|
|
368
|
-
<line num="
|
|
369
|
-
<line num="71" count="
|
|
370
|
-
<line num="72" count="
|
|
371
|
-
<line num="
|
|
372
|
-
<line num="75" count="
|
|
373
|
-
<line num="76" count="
|
|
374
|
-
<line num="
|
|
375
|
-
<line num="
|
|
376
|
-
<line num="
|
|
377
|
-
<line num="
|
|
378
|
-
<line num="87" count="
|
|
379
|
-
<line num="
|
|
380
|
-
<line num="
|
|
381
|
-
<line num="
|
|
382
|
-
<line num="
|
|
383
|
-
<line num="
|
|
384
|
-
<line num="
|
|
385
|
-
<line num="
|
|
386
|
-
<line num="
|
|
387
|
-
<line num="
|
|
388
|
-
<line num="
|
|
389
|
-
<line num="
|
|
390
|
-
<line num="
|
|
391
|
-
<line num="
|
|
392
|
-
<line num="
|
|
393
|
-
<line num="113" count="6" type="stmt"/>
|
|
394
|
-
<line num="116" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
351
|
+
<line num="68" count="0" type="stmt"/>
|
|
352
|
+
<line num="71" count="0" type="stmt"/>
|
|
353
|
+
<line num="72" count="0" type="stmt"/>
|
|
354
|
+
<line num="74" count="0" type="stmt"/>
|
|
355
|
+
<line num="75" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
356
|
+
<line num="76" count="0" type="stmt"/>
|
|
357
|
+
<line num="78" count="0" type="stmt"/>
|
|
358
|
+
<line num="84" count="45" type="stmt"/>
|
|
359
|
+
<line num="85" count="6" type="stmt"/>
|
|
360
|
+
<line num="86" count="6" type="stmt"/>
|
|
361
|
+
<line num="87" count="6" type="stmt"/>
|
|
362
|
+
<line num="89" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
363
|
+
<line num="90" count="5" type="stmt"/>
|
|
364
|
+
<line num="93" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
365
|
+
<line num="95" count="0" type="stmt"/>
|
|
366
|
+
<line num="98" count="1" type="stmt"/>
|
|
367
|
+
<line num="99" count="1" type="stmt"/>
|
|
368
|
+
<line num="101" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
369
|
+
<line num="105" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
370
|
+
<line num="106" count="1" type="stmt"/>
|
|
371
|
+
<line num="110" count="1" type="stmt"/>
|
|
372
|
+
<line num="113" count="45" type="stmt"/>
|
|
373
|
+
<line num="114" count="6" type="stmt"/>
|
|
374
|
+
<line num="115" count="6" type="stmt"/>
|
|
375
|
+
<line num="116" count="6" type="stmt"/>
|
|
395
376
|
<line num="117" count="6" type="stmt"/>
|
|
396
|
-
<line num="118" count="6" type="
|
|
397
|
-
<line num="119" count="
|
|
398
|
-
<line num="
|
|
399
|
-
<line num="
|
|
377
|
+
<line num="118" count="6" type="stmt"/>
|
|
378
|
+
<line num="119" count="6" type="stmt"/>
|
|
379
|
+
<line num="120" count="6" type="cond" truecount="2" falsecount="2"/>
|
|
380
|
+
<line num="122" count="0" type="stmt"/>
|
|
400
381
|
<line num="125" count="6" type="stmt"/>
|
|
401
|
-
<line num="
|
|
402
|
-
<line num="
|
|
403
|
-
<line num="130" count="
|
|
404
|
-
<line num="131" count="
|
|
405
|
-
<line num="
|
|
406
|
-
<line num="
|
|
407
|
-
<line num="
|
|
408
|
-
<line num="
|
|
409
|
-
<line num="
|
|
410
|
-
<line num="
|
|
411
|
-
<line num="
|
|
412
|
-
<line num="
|
|
413
|
-
<line num="
|
|
414
|
-
<line num="
|
|
415
|
-
<line num="
|
|
416
|
-
<line num="
|
|
417
|
-
<line num="
|
|
418
|
-
<line num="
|
|
419
|
-
<line num="
|
|
420
|
-
<line num="160" count="
|
|
421
|
-
<line num="
|
|
422
|
-
<line num="
|
|
423
|
-
<line num="
|
|
424
|
-
<line num="
|
|
425
|
-
<line num="
|
|
426
|
-
<line num="
|
|
427
|
-
<line num="172" count="
|
|
428
|
-
<line num="173" count="
|
|
382
|
+
<line num="126" count="6" type="stmt"/>
|
|
383
|
+
<line num="127" count="6" type="stmt"/>
|
|
384
|
+
<line num="130" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
385
|
+
<line num="131" count="6" type="stmt"/>
|
|
386
|
+
<line num="132" count="6" type="cond" truecount="3" falsecount="1"/>
|
|
387
|
+
<line num="133" count="0" type="stmt"/>
|
|
388
|
+
<line num="137" count="6" type="stmt"/>
|
|
389
|
+
<line num="138" count="6" type="stmt"/>
|
|
390
|
+
<line num="139" count="6" type="stmt"/>
|
|
391
|
+
<line num="142" count="45" type="stmt"/>
|
|
392
|
+
<line num="143" count="64" type="stmt"/>
|
|
393
|
+
<line num="144" count="64" type="stmt"/>
|
|
394
|
+
<line num="145" count="64" type="stmt"/>
|
|
395
|
+
<line num="147" count="64" type="stmt"/>
|
|
396
|
+
<line num="153" count="64" type="stmt"/>
|
|
397
|
+
<line num="154" count="64" type="cond" truecount="1" falsecount="1"/>
|
|
398
|
+
<line num="155" count="0" type="stmt"/>
|
|
399
|
+
<line num="156" count="0" type="stmt"/>
|
|
400
|
+
<line num="157" count="0" type="stmt"/>
|
|
401
|
+
<line num="160" count="64" type="stmt"/>
|
|
402
|
+
<line num="161" count="64" type="stmt"/>
|
|
403
|
+
<line num="162" count="64" type="stmt"/>
|
|
404
|
+
<line num="165" count="64" type="cond" truecount="1" falsecount="1"/>
|
|
405
|
+
<line num="166" count="64" type="stmt"/>
|
|
406
|
+
<line num="167" count="63" type="cond" truecount="3" falsecount="1"/>
|
|
407
|
+
<line num="168" count="0" type="stmt"/>
|
|
408
|
+
<line num="172" count="63" type="stmt"/>
|
|
409
|
+
<line num="173" count="63" type="cond" truecount="1" falsecount="1"/>
|
|
410
|
+
<line num="174" count="0" type="stmt"/>
|
|
411
|
+
<line num="176" count="63" type="stmt"/>
|
|
412
|
+
<line num="179" count="45" type="stmt"/>
|
|
413
|
+
<line num="180" count="1" type="stmt"/>
|
|
429
414
|
<line num="181" count="1" type="stmt"/>
|
|
430
|
-
<line num="
|
|
431
|
-
<line num="184" count="1" type="stmt"/>
|
|
415
|
+
<line num="183" count="1" type="stmt"/>
|
|
432
416
|
<line num="185" count="1" type="stmt"/>
|
|
433
|
-
<line num="
|
|
434
|
-
<line num="
|
|
435
|
-
<line num="190" count="1" type="stmt"/>
|
|
436
|
-
<line num="194" count="45" type="stmt"/>
|
|
417
|
+
<line num="186" count="1" type="stmt"/>
|
|
418
|
+
<line num="187" count="1" type="stmt"/>
|
|
437
419
|
<line num="195" count="1" type="stmt"/>
|
|
438
420
|
<line num="196" count="1" type="stmt"/>
|
|
439
|
-
<line num="
|
|
440
|
-
<line num="199" count="
|
|
441
|
-
<line num="
|
|
442
|
-
<line num="
|
|
443
|
-
<line num="
|
|
444
|
-
<line num="
|
|
445
|
-
<line num="
|
|
446
|
-
<line num="
|
|
447
|
-
<line num="
|
|
448
|
-
<line num="
|
|
449
|
-
<line num="
|
|
450
|
-
<line num="
|
|
451
|
-
<line num="
|
|
452
|
-
<line num="224" count="0" type="
|
|
421
|
+
<line num="198" count="1" type="stmt"/>
|
|
422
|
+
<line num="199" count="1" type="stmt"/>
|
|
423
|
+
<line num="202" count="45" type="stmt"/>
|
|
424
|
+
<line num="203" count="1" type="stmt"/>
|
|
425
|
+
<line num="204" count="1" type="stmt"/>
|
|
426
|
+
<line num="208" count="45" type="stmt"/>
|
|
427
|
+
<line num="209" count="1" type="stmt"/>
|
|
428
|
+
<line num="210" count="1" type="stmt"/>
|
|
429
|
+
<line num="211" count="1" type="stmt"/>
|
|
430
|
+
<line num="213" count="0" type="stmt"/>
|
|
431
|
+
<line num="218" count="0" type="stmt"/>
|
|
432
|
+
<line num="219" count="0" type="stmt"/>
|
|
433
|
+
<line num="220" count="0" type="stmt"/>
|
|
434
|
+
<line num="224" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
453
435
|
<line num="225" count="0" type="stmt"/>
|
|
454
|
-
<line num="
|
|
455
|
-
<line num="
|
|
456
|
-
<line num="230" count="0" type="
|
|
436
|
+
<line num="227" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
437
|
+
<line num="228" count="0" type="stmt"/>
|
|
438
|
+
<line num="230" count="0" type="stmt"/>
|
|
457
439
|
<line num="231" count="0" type="stmt"/>
|
|
458
|
-
<line num="
|
|
459
|
-
<line num="
|
|
460
|
-
<line num="
|
|
461
|
-
<line num="
|
|
462
|
-
<line num="
|
|
463
|
-
<line num="
|
|
464
|
-
<line num="243" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
440
|
+
<line num="234" count="45" type="stmt"/>
|
|
441
|
+
<line num="235" count="0" type="stmt"/>
|
|
442
|
+
<line num="238" count="0" type="stmt"/>
|
|
443
|
+
<line num="239" count="0" type="stmt"/>
|
|
444
|
+
<line num="242" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
445
|
+
<line num="243" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
465
446
|
<line num="244" count="0" type="stmt"/>
|
|
466
|
-
<line num="
|
|
467
|
-
<line num="246" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
447
|
+
<line num="246" count="0" type="stmt"/>
|
|
468
448
|
<line num="247" count="0" type="stmt"/>
|
|
469
|
-
<line num="
|
|
449
|
+
<line num="249" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
450
|
+
<line num="250" count="0" type="stmt"/>
|
|
470
451
|
<line num="254" count="0" type="stmt"/>
|
|
471
452
|
<line num="255" count="0" type="stmt"/>
|
|
472
|
-
<line num="
|
|
453
|
+
<line num="256" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
454
|
+
<line num="257" count="0" type="stmt"/>
|
|
455
|
+
<line num="258" count="0" type="stmt"/>
|
|
456
|
+
<line num="259" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
457
|
+
<line num="260" count="0" type="stmt"/>
|
|
458
|
+
<line num="266" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
459
|
+
<line num="267" count="0" type="stmt"/>
|
|
460
|
+
<line num="268" count="0" type="stmt"/>
|
|
461
|
+
<line num="275" count="0" type="stmt"/>
|
|
473
462
|
</file>
|
|
474
463
|
<file name="dev.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/dev.js">
|
|
475
464
|
<metrics statements="70" coveredstatements="42" conditionals="17" coveredconditionals="5" methods="10" coveredmethods="5"/>
|
|
@@ -550,14 +539,14 @@
|
|
|
550
539
|
<line num="2" count="28" type="stmt"/>
|
|
551
540
|
<line num="3" count="28" type="stmt"/>
|
|
552
541
|
<line num="4" count="28" type="stmt"/>
|
|
553
|
-
<line num="
|
|
554
|
-
<line num="7" count="
|
|
542
|
+
<line num="6" count="28" type="stmt"/>
|
|
543
|
+
<line num="7" count="1" type="stmt"/>
|
|
555
544
|
<line num="8" count="1" type="stmt"/>
|
|
556
|
-
<line num="
|
|
557
|
-
<line num="12" count="
|
|
558
|
-
<line num="
|
|
559
|
-
<line num="
|
|
560
|
-
<line num="19" count="
|
|
545
|
+
<line num="11" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
546
|
+
<line num="12" count="0" type="stmt"/>
|
|
547
|
+
<line num="15" count="1" type="stmt"/>
|
|
548
|
+
<line num="18" count="28" type="stmt"/>
|
|
549
|
+
<line num="19" count="1" type="stmt"/>
|
|
561
550
|
<line num="20" count="1" type="stmt"/>
|
|
562
551
|
<line num="21" count="1" type="stmt"/>
|
|
563
552
|
</file>
|
|
@@ -827,37 +816,6 @@
|
|
|
827
816
|
<line num="87" count="0" type="stmt"/>
|
|
828
817
|
<line num="91" count="2" type="stmt"/>
|
|
829
818
|
</file>
|
|
830
|
-
<file name="screen.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/screen.js">
|
|
831
|
-
<metrics statements="28" coveredstatements="28" conditionals="4" coveredconditionals="4" methods="4" coveredmethods="4"/>
|
|
832
|
-
<line num="1" count="44" type="stmt"/>
|
|
833
|
-
<line num="2" count="44" type="stmt"/>
|
|
834
|
-
<line num="3" count="44" type="stmt"/>
|
|
835
|
-
<line num="4" count="44" type="stmt"/>
|
|
836
|
-
<line num="6" count="44" type="stmt"/>
|
|
837
|
-
<line num="7" count="1" type="stmt"/>
|
|
838
|
-
<line num="9" count="1" type="stmt"/>
|
|
839
|
-
<line num="15" count="1" type="stmt"/>
|
|
840
|
-
<line num="17" count="1" type="stmt"/>
|
|
841
|
-
<line num="23" count="44" type="stmt"/>
|
|
842
|
-
<line num="24" count="24" type="stmt"/>
|
|
843
|
-
<line num="25" count="24" type="stmt"/>
|
|
844
|
-
<line num="28" count="24" type="cond" truecount="2" falsecount="0"/>
|
|
845
|
-
<line num="29" count="23" type="stmt"/>
|
|
846
|
-
<line num="30" count="23" type="stmt"/>
|
|
847
|
-
<line num="33" count="24" type="stmt"/>
|
|
848
|
-
<line num="35" count="24" type="cond" truecount="2" falsecount="0"/>
|
|
849
|
-
<line num="36" count="23" type="stmt"/>
|
|
850
|
-
<line num="38" count="24" type="stmt"/>
|
|
851
|
-
<line num="39" count="24" type="stmt"/>
|
|
852
|
-
<line num="46" count="44" type="stmt"/>
|
|
853
|
-
<line num="47" count="1" type="stmt"/>
|
|
854
|
-
<line num="48" count="1" type="stmt"/>
|
|
855
|
-
<line num="49" count="1" type="stmt"/>
|
|
856
|
-
<line num="51" count="1" type="stmt"/>
|
|
857
|
-
<line num="53" count="1" type="stmt"/>
|
|
858
|
-
<line num="54" count="1" type="stmt"/>
|
|
859
|
-
<line num="57" count="1" type="stmt"/>
|
|
860
|
-
</file>
|
|
861
819
|
<file name="script.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/script.js">
|
|
862
820
|
<metrics statements="7" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
863
821
|
<line num="1" count="45" type="stmt"/>
|
|
@@ -2587,9 +2545,9 @@
|
|
|
2587
2545
|
</file>
|
|
2588
2546
|
</package>
|
|
2589
2547
|
<package name="api.routes.utils">
|
|
2590
|
-
<metrics statements="
|
|
2548
|
+
<metrics statements="42" coveredstatements="42" conditionals="8" coveredconditionals="7" methods="14" coveredmethods="14"/>
|
|
2591
2549
|
<file name="validators.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/utils/validators.js">
|
|
2592
|
-
<metrics statements="
|
|
2550
|
+
<metrics statements="42" coveredstatements="42" conditionals="8" coveredconditionals="7" methods="14" coveredmethods="14"/>
|
|
2593
2551
|
<line num="1" count="28" type="stmt"/>
|
|
2594
2552
|
<line num="2" count="28" type="stmt"/>
|
|
2595
2553
|
<line num="3" count="28" type="stmt"/>
|
|
@@ -2598,34 +2556,40 @@
|
|
|
2598
2556
|
<line num="10" count="28" type="stmt"/>
|
|
2599
2557
|
<line num="11" count="28" type="stmt"/>
|
|
2600
2558
|
<line num="12" count="28" type="stmt"/>
|
|
2601
|
-
<line num="
|
|
2602
|
-
<line num="
|
|
2603
|
-
<line num="
|
|
2604
|
-
<line num="
|
|
2605
|
-
<line num="
|
|
2606
|
-
<line num="
|
|
2607
|
-
<line num="
|
|
2608
|
-
<line num="
|
|
2609
|
-
<line num="
|
|
2610
|
-
<line num="
|
|
2559
|
+
<line num="13" count="28" type="stmt"/>
|
|
2560
|
+
<line num="15" count="28" type="stmt"/>
|
|
2561
|
+
<line num="17" count="84" type="stmt"/>
|
|
2562
|
+
<line num="29" count="28" type="stmt"/>
|
|
2563
|
+
<line num="31" count="112" type="stmt"/>
|
|
2564
|
+
<line num="36" count="28" type="stmt"/>
|
|
2565
|
+
<line num="38" count="28" type="stmt"/>
|
|
2566
|
+
<line num="52" count="84" type="stmt"/>
|
|
2567
|
+
<line num="67" count="28" type="stmt"/>
|
|
2568
|
+
<line num="69" count="28" type="stmt"/>
|
|
2611
2569
|
<line num="81" count="28" type="stmt"/>
|
|
2612
|
-
<line num="
|
|
2613
|
-
<line num="
|
|
2614
|
-
<line num="
|
|
2615
|
-
<line num="
|
|
2616
|
-
<line num="
|
|
2570
|
+
<line num="82" count="28" type="stmt"/>
|
|
2571
|
+
<line num="99" count="28" type="stmt"/>
|
|
2572
|
+
<line num="101" count="28" type="stmt"/>
|
|
2573
|
+
<line num="120" count="28" type="stmt"/>
|
|
2574
|
+
<line num="122" count="28" type="stmt"/>
|
|
2617
2575
|
<line num="135" count="28" type="stmt"/>
|
|
2618
|
-
<line num="
|
|
2619
|
-
<line num="
|
|
2620
|
-
<line num="151" count="
|
|
2621
|
-
<line num="
|
|
2622
|
-
<line num="
|
|
2623
|
-
<line num="
|
|
2624
|
-
<line num="
|
|
2625
|
-
<line num="
|
|
2626
|
-
<line num="
|
|
2627
|
-
<line num="
|
|
2628
|
-
<line num="
|
|
2576
|
+
<line num="136" count="28" type="stmt"/>
|
|
2577
|
+
<line num="138" count="28" type="stmt"/>
|
|
2578
|
+
<line num="151" count="28" type="stmt"/>
|
|
2579
|
+
<line num="152" count="56" type="stmt"/>
|
|
2580
|
+
<line num="154" count="56" type="stmt"/>
|
|
2581
|
+
<line num="161" count="28" type="stmt"/>
|
|
2582
|
+
<line num="163" count="28" type="stmt"/>
|
|
2583
|
+
<line num="186" count="112" type="stmt"/>
|
|
2584
|
+
<line num="199" count="28" type="cond" truecount="0" falsecount="1"/>
|
|
2585
|
+
<line num="201" count="56" type="stmt"/>
|
|
2586
|
+
<line num="213" count="28" type="cond" truecount="1" falsecount="0"/>
|
|
2587
|
+
<line num="215" count="112" type="stmt"/>
|
|
2588
|
+
<line num="224" count="112" type="stmt"/>
|
|
2589
|
+
<line num="227" count="112" type="cond" truecount="2" falsecount="0"/>
|
|
2590
|
+
<line num="228" count="84" type="stmt"/>
|
|
2591
|
+
<line num="230" count="28" type="stmt"/>
|
|
2592
|
+
<line num="233" count="112" type="stmt"/>
|
|
2629
2593
|
</file>
|
|
2630
2594
|
</package>
|
|
2631
2595
|
<package name="automations">
|
|
@@ -3210,7 +3174,7 @@
|
|
|
3210
3174
|
</file>
|
|
3211
3175
|
</package>
|
|
3212
3176
|
<package name="db">
|
|
3213
|
-
<metrics statements="
|
|
3177
|
+
<metrics statements="145" coveredstatements="115" conditionals="59" coveredconditionals="19" methods="38" coveredmethods="27"/>
|
|
3214
3178
|
<file name="inMemoryView.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/inMemoryView.js">
|
|
3215
3179
|
<metrics statements="23" coveredstatements="4" conditionals="8" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
3216
3180
|
<line num="1" count="45" type="stmt"/>
|
|
@@ -3252,10 +3216,10 @@
|
|
|
3252
3216
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3253
3217
|
<line num="1" count="59" type="stmt"/>
|
|
3254
3218
|
<line num="3" count="59" type="stmt"/>
|
|
3255
|
-
<line num="4" count="
|
|
3219
|
+
<line num="4" count="968" type="stmt"/>
|
|
3256
3220
|
</file>
|
|
3257
3221
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3258
|
-
<metrics statements="
|
|
3222
|
+
<metrics statements="111" coveredstatements="100" conditionals="49" coveredconditionals="18" methods="32" coveredmethods="25"/>
|
|
3259
3223
|
<line num="1" count="59" type="stmt"/>
|
|
3260
3224
|
<line num="16" count="59" type="stmt"/>
|
|
3261
3225
|
<line num="18" count="59" type="stmt"/>
|
|
@@ -3285,9 +3249,9 @@
|
|
|
3285
3249
|
<line num="83" count="59" type="stmt"/>
|
|
3286
3250
|
<line num="84" count="59" type="stmt"/>
|
|
3287
3251
|
<line num="86" count="59" type="stmt"/>
|
|
3288
|
-
<line num="101" count="
|
|
3289
|
-
<line num="102" count="
|
|
3290
|
-
<line num="104" count="
|
|
3252
|
+
<line num="101" count="879" type="cond" truecount="2" falsecount="0"/>
|
|
3253
|
+
<line num="102" count="862" type="stmt"/>
|
|
3254
|
+
<line num="104" count="879" type="stmt"/>
|
|
3291
3255
|
<line num="111" count="59" type="stmt"/>
|
|
3292
3256
|
<line num="116" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3293
3257
|
<line num="117" count="271" type="stmt"/>
|
|
@@ -3302,19 +3266,19 @@
|
|
|
3302
3266
|
<line num="152" count="0" type="stmt"/>
|
|
3303
3267
|
<line num="155" count="0" type="stmt"/>
|
|
3304
3268
|
<line num="164" count="59" type="cond" truecount="1" falsecount="0"/>
|
|
3305
|
-
<line num="165" count="
|
|
3306
|
-
<line num="166" count="
|
|
3269
|
+
<line num="165" count="321" type="cond" truecount="2" falsecount="0"/>
|
|
3270
|
+
<line num="166" count="321" type="stmt"/>
|
|
3307
3271
|
<line num="172" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3308
3272
|
<line num="173" count="3" type="stmt"/>
|
|
3309
3273
|
<line num="181" count="59" type="stmt"/>
|
|
3310
|
-
<line num="182" count="
|
|
3274
|
+
<line num="182" count="242" type="stmt"/>
|
|
3311
3275
|
<line num="188" count="59" type="stmt"/>
|
|
3312
3276
|
<line num="189" count="3" type="stmt"/>
|
|
3313
3277
|
<line num="190" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
3314
3278
|
<line num="191" count="1" type="stmt"/>
|
|
3315
3279
|
<line num="193" count="2" type="stmt"/>
|
|
3316
3280
|
<line num="199" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3317
|
-
<line num="200" count="
|
|
3281
|
+
<line num="200" count="279" type="stmt"/>
|
|
3318
3282
|
<line num="207" count="59" type="stmt"/>
|
|
3319
3283
|
<line num="208" count="27" type="stmt"/>
|
|
3320
3284
|
<line num="222" count="59" type="stmt"/>
|
|
@@ -3337,15 +3301,15 @@
|
|
|
3337
3301
|
<line num="284" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3338
3302
|
<line num="285" count="2" type="stmt"/>
|
|
3339
3303
|
<line num="292" count="59" type="cond" truecount="1" falsecount="1"/>
|
|
3340
|
-
<line num="293" count="
|
|
3304
|
+
<line num="293" count="64" type="stmt"/>
|
|
3341
3305
|
<line num="301" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3342
3306
|
<line num="302" count="5" type="stmt"/>
|
|
3343
3307
|
<line num="309" count="59" type="stmt"/>
|
|
3344
|
-
<line num="310" count="
|
|
3308
|
+
<line num="310" count="139" type="stmt"/>
|
|
3345
3309
|
<line num="319" count="59" type="stmt"/>
|
|
3346
3310
|
<line num="320" count="0" type="stmt"/>
|
|
3347
3311
|
<line num="326" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3348
|
-
<line num="327" count="
|
|
3312
|
+
<line num="327" count="253" type="stmt"/>
|
|
3349
3313
|
<line num="333" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3350
3314
|
<line num="334" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3351
3315
|
<line num="335" count="4" type="stmt"/>
|
|
@@ -3363,8 +3327,10 @@
|
|
|
3363
3327
|
<line num="366" count="1" type="stmt"/>
|
|
3364
3328
|
<line num="369" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3365
3329
|
<line num="370" count="0" type="stmt"/>
|
|
3366
|
-
<line num="
|
|
3367
|
-
<line num="
|
|
3330
|
+
<line num="373" count="59" type="stmt"/>
|
|
3331
|
+
<line num="374" count="0" type="stmt"/>
|
|
3332
|
+
<line num="380" count="59" type="stmt"/>
|
|
3333
|
+
<line num="381" count="60" type="stmt"/>
|
|
3368
3334
|
</file>
|
|
3369
3335
|
</package>
|
|
3370
3336
|
<package name="db.linkedRows">
|
|
@@ -3684,8 +3650,8 @@
|
|
|
3684
3650
|
<line num="2" count="44" type="stmt"/>
|
|
3685
3651
|
<line num="3" count="44" type="stmt"/>
|
|
3686
3652
|
<line num="7" count="44" type="cond" truecount="1" falsecount="1"/>
|
|
3687
|
-
<line num="17" count="
|
|
3688
|
-
<line num="18" count="
|
|
3653
|
+
<line num="17" count="7" type="stmt"/>
|
|
3654
|
+
<line num="18" count="7" type="stmt"/>
|
|
3689
3655
|
<line num="25" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3690
3656
|
<line num="26" count="1" type="stmt"/>
|
|
3691
3657
|
<line num="28" count="4" type="stmt"/>
|
|
@@ -3734,7 +3700,7 @@
|
|
|
3734
3700
|
</file>
|
|
3735
3701
|
</package>
|
|
3736
3702
|
<package name="middleware">
|
|
3737
|
-
<metrics statements="
|
|
3703
|
+
<metrics statements="186" coveredstatements="141" conditionals="127" coveredconditionals="91" methods="25" coveredmethods="21"/>
|
|
3738
3704
|
<file name="appInfo.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/appInfo.js">
|
|
3739
3705
|
<metrics statements="10" coveredstatements="8" conditionals="11" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
3740
3706
|
<line num="1" count="28" type="stmt"/>
|
|
@@ -3777,24 +3743,24 @@
|
|
|
3777
3743
|
<line num="59" count="1" type="stmt"/>
|
|
3778
3744
|
<line num="61" count="1" type="stmt"/>
|
|
3779
3745
|
<line num="65" count="29" type="stmt"/>
|
|
3780
|
-
<line num="66" count="
|
|
3781
|
-
<line num="68" count="
|
|
3746
|
+
<line num="66" count="223" type="stmt"/>
|
|
3747
|
+
<line num="68" count="223" type="cond" truecount="2" falsecount="0"/>
|
|
3782
3748
|
<line num="69" count="5" type="stmt"/>
|
|
3783
|
-
<line num="71" count="
|
|
3784
|
-
<line num="72" count="
|
|
3785
|
-
<line num="74" count="
|
|
3786
|
-
<line num="75" count="
|
|
3787
|
-
<line num="76" count="
|
|
3749
|
+
<line num="71" count="218" type="stmt"/>
|
|
3750
|
+
<line num="72" count="218" type="stmt"/>
|
|
3751
|
+
<line num="74" count="218" type="stmt"/>
|
|
3752
|
+
<line num="75" count="218" type="cond" truecount="2" falsecount="0"/>
|
|
3753
|
+
<line num="76" count="218" type="cond" truecount="1" falsecount="1"/>
|
|
3788
3754
|
<line num="77" count="0" type="stmt"/>
|
|
3789
|
-
<line num="80" count="
|
|
3790
|
-
<line num="81" count="
|
|
3791
|
-
<line num="83" count="
|
|
3792
|
-
<line num="84" count="
|
|
3755
|
+
<line num="80" count="218" type="cond" truecount="2" falsecount="0"/>
|
|
3756
|
+
<line num="81" count="218" type="cond" truecount="2" falsecount="0"/>
|
|
3757
|
+
<line num="83" count="218" type="cond" truecount="4" falsecount="0"/>
|
|
3758
|
+
<line num="84" count="217" type="stmt"/>
|
|
3793
3759
|
<line num="87" count="1" type="stmt"/>
|
|
3794
3760
|
<line num="89" count="1" type="stmt"/>
|
|
3795
3761
|
</file>
|
|
3796
3762
|
<file name="currentapp.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/currentapp.js">
|
|
3797
|
-
<metrics statements="
|
|
3763
|
+
<metrics statements="66" coveredstatements="51" conditionals="57" coveredconditionals="46" methods="2" coveredmethods="2"/>
|
|
3798
3764
|
<line num="6" count="33" type="stmt"/>
|
|
3799
3765
|
<line num="7" count="33" type="stmt"/>
|
|
3800
3766
|
<line num="8" count="33" type="stmt"/>
|
|
@@ -3807,59 +3773,60 @@
|
|
|
3807
3773
|
<line num="15" count="33" type="stmt"/>
|
|
3808
3774
|
<line num="16" count="33" type="stmt"/>
|
|
3809
3775
|
<line num="18" count="33" type="stmt"/>
|
|
3810
|
-
<line num="20" count="
|
|
3811
|
-
<line num="22" count="
|
|
3812
|
-
<line num="23" count="
|
|
3813
|
-
<line num="24" count="
|
|
3776
|
+
<line num="20" count="242" type="stmt"/>
|
|
3777
|
+
<line num="22" count="242" type="stmt"/>
|
|
3778
|
+
<line num="23" count="242" type="stmt"/>
|
|
3779
|
+
<line num="24" count="242" type="stmt"/>
|
|
3814
3780
|
<line num="26" count="0" type="stmt"/>
|
|
3815
|
-
<line num="28" count="
|
|
3781
|
+
<line num="28" count="242" type="cond" truecount="4" falsecount="0"/>
|
|
3816
3782
|
<line num="29" count="1" type="stmt"/>
|
|
3817
|
-
<line num="32" count="
|
|
3818
|
-
<line num="33" count="
|
|
3819
|
-
<line num="34" count="
|
|
3820
|
-
<line num="35" count="
|
|
3783
|
+
<line num="32" count="241" type="cond" truecount="2" falsecount="0"/>
|
|
3784
|
+
<line num="33" count="235" type="stmt"/>
|
|
3785
|
+
<line num="34" count="235" type="stmt"/>
|
|
3786
|
+
<line num="35" count="235" type="cond" truecount="1" falsecount="1"/>
|
|
3821
3787
|
<line num="36" count="0" type="stmt"/>
|
|
3822
3788
|
<line num="37" count="0" type="stmt"/>
|
|
3823
|
-
<line num="40" count="
|
|
3824
|
-
<line num="44" count="
|
|
3789
|
+
<line num="40" count="235" type="cond" truecount="1" falsecount="1"/>
|
|
3790
|
+
<line num="44" count="241" type="cond" truecount="2" falsecount="0"/>
|
|
3825
3791
|
<line num="45" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
3826
3792
|
<line num="50" count="2" type="stmt"/>
|
|
3827
3793
|
<line num="51" count="2" type="stmt"/>
|
|
3828
|
-
<line num="56" count="
|
|
3829
|
-
<line num="57" count="
|
|
3794
|
+
<line num="56" count="239" type="stmt"/>
|
|
3795
|
+
<line num="57" count="239" type="cond" truecount="2" falsecount="0"/>
|
|
3830
3796
|
<line num="59" count="5" type="stmt"/>
|
|
3831
|
-
<line num="60" count="
|
|
3832
|
-
<line num="62" count="
|
|
3833
|
-
<line num="63" count="
|
|
3834
|
-
<line num="65" count="
|
|
3835
|
-
<line num="69" count="
|
|
3836
|
-
<line num="70" count="
|
|
3837
|
-
<line num="71" count="
|
|
3838
|
-
<line num="72" count="
|
|
3797
|
+
<line num="60" count="234" type="cond" truecount="1" falsecount="1"/>
|
|
3798
|
+
<line num="62" count="234" type="stmt"/>
|
|
3799
|
+
<line num="63" count="234" type="stmt"/>
|
|
3800
|
+
<line num="65" count="234" type="cond" truecount="2" falsecount="0"/>
|
|
3801
|
+
<line num="69" count="234" type="cond" truecount="3" falsecount="0"/>
|
|
3802
|
+
<line num="70" count="234" type="cond" truecount="2" falsecount="0"/>
|
|
3803
|
+
<line num="71" count="234" type="cond" truecount="2" falsecount="0"/>
|
|
3804
|
+
<line num="72" count="234" type="cond" truecount="4" falsecount="1"/>
|
|
3839
3805
|
<line num="74" count="0" type="stmt"/>
|
|
3840
3806
|
<line num="75" count="0" type="stmt"/>
|
|
3841
3807
|
<line num="76" count="0" type="stmt"/>
|
|
3842
3808
|
<line num="79" count="0" type="stmt"/>
|
|
3843
3809
|
<line num="80" count="0" type="stmt"/>
|
|
3844
|
-
<line num="88" count="
|
|
3810
|
+
<line num="88" count="239" type="cond" truecount="1" falsecount="1"/>
|
|
3845
3811
|
<line num="89" count="0" type="stmt"/>
|
|
3846
|
-
<line num="92" count="
|
|
3847
|
-
<line num="93" count="
|
|
3848
|
-
<line num="96" count="
|
|
3812
|
+
<line num="92" count="239" type="stmt"/>
|
|
3813
|
+
<line num="93" count="239" type="stmt"/>
|
|
3814
|
+
<line num="96" count="239" type="cond" truecount="1" falsecount="1"/>
|
|
3849
3815
|
<line num="103" count="0" type="stmt"/>
|
|
3850
3816
|
<line num="104" count="0" type="stmt"/>
|
|
3851
3817
|
<line num="105" count="0" type="stmt"/>
|
|
3852
3818
|
<line num="106" count="0" type="stmt"/>
|
|
3853
3819
|
<line num="107" count="0" type="stmt"/>
|
|
3854
3820
|
<line num="108" count="0" type="stmt"/>
|
|
3855
|
-
<line num="111" count="
|
|
3856
|
-
<line num="112" count="
|
|
3857
|
-
<line num="113" count="
|
|
3858
|
-
<line num="114" count="
|
|
3859
|
-
<line num="115" count="
|
|
3860
|
-
<line num="
|
|
3861
|
-
<line num="
|
|
3862
|
-
<line num="
|
|
3821
|
+
<line num="111" count="239" type="stmt"/>
|
|
3822
|
+
<line num="112" count="239" type="cond" truecount="1" falsecount="1"/>
|
|
3823
|
+
<line num="113" count="239" type="stmt"/>
|
|
3824
|
+
<line num="114" count="239" type="cond" truecount="2" falsecount="0"/>
|
|
3825
|
+
<line num="115" count="239" type="cond" truecount="2" falsecount="0"/>
|
|
3826
|
+
<line num="116" count="239" type="stmt"/>
|
|
3827
|
+
<line num="126" count="239" type="cond" truecount="2" falsecount="0"/>
|
|
3828
|
+
<line num="132" count="10" type="stmt"/>
|
|
3829
|
+
<line num="135" count="239" type="stmt"/>
|
|
3863
3830
|
</file>
|
|
3864
3831
|
<file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
|
|
3865
3832
|
<metrics statements="20" coveredstatements="0" conditionals="10" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
@@ -3911,14 +3878,14 @@
|
|
|
3911
3878
|
<line num="21" count="958" type="stmt"/>
|
|
3912
3879
|
<line num="22" count="958" type="stmt"/>
|
|
3913
3880
|
<line num="23" count="958" type="stmt"/>
|
|
3914
|
-
<line num="24" count="
|
|
3915
|
-
<line num="25" count="
|
|
3881
|
+
<line num="24" count="101" type="cond" truecount="2" falsecount="0"/>
|
|
3882
|
+
<line num="25" count="101" type="cond" truecount="2" falsecount="0"/>
|
|
3916
3883
|
<line num="26" count="1" type="stmt"/>
|
|
3917
|
-
<line num="28" count="
|
|
3918
|
-
<line num="29" count="
|
|
3919
|
-
<line num="31" count="
|
|
3884
|
+
<line num="28" count="100" type="cond" truecount="4" falsecount="0"/>
|
|
3885
|
+
<line num="29" count="88" type="stmt"/>
|
|
3886
|
+
<line num="31" count="100" type="cond" truecount="4" falsecount="0"/>
|
|
3920
3887
|
<line num="32" count="15" type="stmt"/>
|
|
3921
|
-
<line num="34" count="
|
|
3888
|
+
<line num="34" count="100" type="stmt"/>
|
|
3922
3889
|
<line num="39" count="29" type="stmt"/>
|
|
3923
3890
|
<line num="41" count="29" type="stmt"/>
|
|
3924
3891
|
<line num="42" count="758" type="stmt"/>
|
|
@@ -3942,22 +3909,22 @@
|
|
|
3942
3909
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3943
3910
|
<line num="1" count="34" type="stmt"/>
|
|
3944
3911
|
<line num="5" count="34" type="stmt"/>
|
|
3945
|
-
<line num="6" count="
|
|
3912
|
+
<line num="6" count="227" type="stmt"/>
|
|
3946
3913
|
</file>
|
|
3947
3914
|
</package>
|
|
3948
3915
|
<package name="utilities">
|
|
3949
|
-
<metrics statements="
|
|
3916
|
+
<metrics statements="358" coveredstatements="259" conditionals="152" coveredconditionals="92" methods="70" coveredmethods="49"/>
|
|
3950
3917
|
<file name="budibaseDir.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/budibaseDir.js">
|
|
3951
3918
|
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3952
|
-
<line num="1" count="
|
|
3953
|
-
<line num="3" count="
|
|
3919
|
+
<line num="1" count="47" type="stmt"/>
|
|
3920
|
+
<line num="3" count="47" type="stmt"/>
|
|
3954
3921
|
</file>
|
|
3955
3922
|
<file name="centralPath.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/centralPath.js">
|
|
3956
3923
|
<metrics statements="5" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="1"/>
|
|
3957
|
-
<line num="1" count="
|
|
3958
|
-
<line num="11" count="
|
|
3924
|
+
<line num="1" count="47" type="stmt"/>
|
|
3925
|
+
<line num="11" count="47" type="stmt"/>
|
|
3959
3926
|
<line num="12" count="0" type="stmt"/>
|
|
3960
|
-
<line num="20" count="
|
|
3927
|
+
<line num="20" count="47" type="stmt"/>
|
|
3961
3928
|
<line num="21" count="1" type="stmt"/>
|
|
3962
3929
|
</file>
|
|
3963
3930
|
<file name="csvParser.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/csvParser.js">
|
|
@@ -4047,35 +4014,35 @@
|
|
|
4047
4014
|
<line num="14" count="51" type="stmt"/>
|
|
4048
4015
|
<line num="15" count="51" type="stmt"/>
|
|
4049
4016
|
<line num="17" count="51" type="cond" truecount="1" falsecount="0"/>
|
|
4050
|
-
<line num="18" count="
|
|
4051
|
-
<line num="20" count="
|
|
4017
|
+
<line num="18" count="243" type="cond" truecount="2" falsecount="0"/>
|
|
4018
|
+
<line num="20" count="243" type="cond" truecount="4" falsecount="0"/>
|
|
4052
4019
|
<line num="21" count="3" type="stmt"/>
|
|
4053
|
-
<line num="24" count="
|
|
4020
|
+
<line num="24" count="240" type="cond" truecount="2" falsecount="2"/>
|
|
4054
4021
|
<line num="25" count="0" type="stmt"/>
|
|
4055
4022
|
<line num="26" count="0" type="stmt"/>
|
|
4056
4023
|
<line num="27" count="0" type="stmt"/>
|
|
4057
4024
|
<line num="28" count="0" type="stmt"/>
|
|
4058
|
-
<line num="31" count="
|
|
4059
|
-
<line num="33" count="
|
|
4060
|
-
<line num="34" count="
|
|
4025
|
+
<line num="31" count="240" type="stmt"/>
|
|
4026
|
+
<line num="33" count="240" type="cond" truecount="5" falsecount="0"/>
|
|
4027
|
+
<line num="34" count="208" type="stmt"/>
|
|
4061
4028
|
<line num="35" count="32" type="cond" truecount="4" falsecount="0"/>
|
|
4062
4029
|
<line num="36" count="27" type="stmt"/>
|
|
4063
4030
|
<line num="37" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4064
4031
|
<line num="38" count="0" type="stmt"/>
|
|
4065
|
-
<line num="41" count="
|
|
4066
|
-
<line num="42" count="
|
|
4032
|
+
<line num="41" count="240" type="stmt"/>
|
|
4033
|
+
<line num="42" count="240" type="stmt"/>
|
|
4067
4034
|
<line num="46" count="0" type="stmt"/>
|
|
4068
4035
|
<line num="47" count="0" type="stmt"/>
|
|
4069
4036
|
<line num="49" count="0" type="stmt"/>
|
|
4070
|
-
<line num="53" count="
|
|
4071
|
-
<line num="54" count="
|
|
4072
|
-
<line num="56" count="
|
|
4073
|
-
<line num="57" count="
|
|
4037
|
+
<line num="53" count="236" type="cond" truecount="1" falsecount="1"/>
|
|
4038
|
+
<line num="54" count="236" type="stmt"/>
|
|
4039
|
+
<line num="56" count="236" type="stmt"/>
|
|
4040
|
+
<line num="57" count="236" type="cond" truecount="3" falsecount="1"/>
|
|
4074
4041
|
<line num="58" count="0" type="stmt"/>
|
|
4075
|
-
<line num="61" count="
|
|
4042
|
+
<line num="61" count="236" type="stmt"/>
|
|
4076
4043
|
<line num="64" count="51" type="stmt"/>
|
|
4077
|
-
<line num="67" count="
|
|
4078
|
-
<line num="68" count="
|
|
4044
|
+
<line num="67" count="234" type="stmt"/>
|
|
4045
|
+
<line num="68" count="234" type="stmt"/>
|
|
4079
4046
|
<line num="71" count="51" type="stmt"/>
|
|
4080
4047
|
<line num="72" count="2" type="stmt"/>
|
|
4081
4048
|
<line num="73" count="2" type="stmt"/>
|
|
@@ -4108,37 +4075,37 @@
|
|
|
4108
4075
|
</file>
|
|
4109
4076
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/index.js">
|
|
4110
4077
|
<metrics statements="80" coveredstatements="65" conditionals="32" coveredconditionals="17" methods="17" coveredmethods="16"/>
|
|
4111
|
-
<line num="1" count="
|
|
4112
|
-
<line num="2" count="
|
|
4113
|
-
<line num="3" count="
|
|
4114
|
-
<line num="4" count="
|
|
4115
|
-
<line num="5" count="
|
|
4116
|
-
<line num="6" count="
|
|
4117
|
-
<line num="8" count="
|
|
4118
|
-
<line num="10" count="
|
|
4119
|
-
<line num="12" count="
|
|
4120
|
-
<line num="14" count="
|
|
4121
|
-
<line num="16" count="
|
|
4078
|
+
<line num="1" count="50" type="stmt"/>
|
|
4079
|
+
<line num="2" count="50" type="stmt"/>
|
|
4080
|
+
<line num="3" count="50" type="stmt"/>
|
|
4081
|
+
<line num="4" count="50" type="stmt"/>
|
|
4082
|
+
<line num="5" count="50" type="stmt"/>
|
|
4083
|
+
<line num="6" count="50" type="stmt"/>
|
|
4084
|
+
<line num="8" count="50" type="stmt"/>
|
|
4085
|
+
<line num="10" count="50" type="stmt"/>
|
|
4086
|
+
<line num="12" count="50" type="stmt"/>
|
|
4087
|
+
<line num="14" count="50" type="stmt"/>
|
|
4088
|
+
<line num="16" count="50" type="stmt"/>
|
|
4122
4089
|
<line num="17" count="1" type="stmt"/>
|
|
4123
4090
|
<line num="18" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
4124
4091
|
<line num="19" count="1" type="stmt"/>
|
|
4125
4092
|
<line num="21" count="1" type="stmt"/>
|
|
4126
|
-
<line num="30" count="
|
|
4093
|
+
<line num="30" count="50" type="stmt"/>
|
|
4127
4094
|
<line num="31" count="45" type="stmt"/>
|
|
4128
|
-
<line num="38" count="
|
|
4095
|
+
<line num="38" count="50" type="stmt"/>
|
|
4129
4096
|
<line num="39" count="2" type="cond" truecount="2" falsecount="2"/>
|
|
4130
4097
|
<line num="41" count="2" type="stmt"/>
|
|
4131
4098
|
<line num="43" count="0" type="stmt"/>
|
|
4132
|
-
<line num="57" count="
|
|
4099
|
+
<line num="57" count="50" type="stmt"/>
|
|
4133
4100
|
<line num="58" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
4134
4101
|
<line num="59" count="0" type="stmt"/>
|
|
4135
4102
|
<line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4136
4103
|
<line num="65" count="0" type="stmt"/>
|
|
4137
4104
|
<line num="67" count="0" type="stmt"/>
|
|
4138
4105
|
<line num="69" count="6" type="stmt"/>
|
|
4139
|
-
<line num="73" count="
|
|
4106
|
+
<line num="73" count="50" type="stmt"/>
|
|
4140
4107
|
<line num="74" count="2" type="stmt"/>
|
|
4141
|
-
<line num="79" count="
|
|
4108
|
+
<line num="79" count="50" type="stmt"/>
|
|
4142
4109
|
<line num="80" count="3" type="stmt"/>
|
|
4143
4110
|
<line num="81" count="3" type="stmt"/>
|
|
4144
4111
|
<line num="84" count="3" type="stmt"/>
|
|
@@ -4153,10 +4120,10 @@
|
|
|
4153
4120
|
<line num="95" count="0" type="stmt"/>
|
|
4154
4121
|
<line num="97" count="3" type="stmt"/>
|
|
4155
4122
|
<line num="98" count="3" type="stmt"/>
|
|
4156
|
-
<line num="105" count="
|
|
4123
|
+
<line num="105" count="50" type="stmt"/>
|
|
4157
4124
|
<line num="106" count="1" type="stmt"/>
|
|
4158
4125
|
<line num="107" count="1" type="stmt"/>
|
|
4159
|
-
<line num="111" count="
|
|
4126
|
+
<line num="111" count="50" type="stmt"/>
|
|
4160
4127
|
<line num="112" count="4" type="stmt"/>
|
|
4161
4128
|
<line num="113" count="4" type="stmt"/>
|
|
4162
4129
|
<line num="115" count="4" type="stmt"/>
|
|
@@ -4165,13 +4132,13 @@
|
|
|
4165
4132
|
<line num="118" count="0" type="stmt"/>
|
|
4166
4133
|
<line num="123" count="4" type="cond" truecount="3" falsecount="1"/>
|
|
4167
4134
|
<line num="124" count="0" type="stmt"/>
|
|
4168
|
-
<line num="128" count="
|
|
4135
|
+
<line num="128" count="50" type="stmt"/>
|
|
4169
4136
|
<line num="129" count="0" type="stmt"/>
|
|
4170
|
-
<line num="138" count="
|
|
4137
|
+
<line num="138" count="50" type="stmt"/>
|
|
4171
4138
|
<line num="139" count="1" type="stmt"/>
|
|
4172
4139
|
<line num="141" count="1" type="stmt"/>
|
|
4173
4140
|
<line num="142" count="1" type="stmt"/>
|
|
4174
|
-
<line num="147" count="
|
|
4141
|
+
<line num="147" count="50" type="stmt"/>
|
|
4175
4142
|
<line num="148" count="38" type="stmt"/>
|
|
4176
4143
|
<line num="149" count="38" type="stmt"/>
|
|
4177
4144
|
<line num="150" count="38" type="stmt"/>
|
|
@@ -4179,12 +4146,12 @@
|
|
|
4179
4146
|
<line num="152" count="38" type="cond" truecount="1" falsecount="1"/>
|
|
4180
4147
|
<line num="153" count="0" type="stmt"/>
|
|
4181
4148
|
<line num="155" count="38" type="cond" truecount="3" falsecount="1"/>
|
|
4182
|
-
<line num="158" count="
|
|
4149
|
+
<line num="158" count="50" type="stmt"/>
|
|
4183
4150
|
<line num="159" count="1" type="stmt"/>
|
|
4184
4151
|
<line num="160" count="1" type="cond" truecount="2" falsecount="2"/>
|
|
4185
4152
|
<line num="161" count="0" type="stmt"/>
|
|
4186
4153
|
<line num="163" count="1" type="stmt"/>
|
|
4187
|
-
<line num="166" count="
|
|
4154
|
+
<line num="166" count="50" type="stmt"/>
|
|
4188
4155
|
<line num="167" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
4189
4156
|
<line num="168" count="0" type="stmt"/>
|
|
4190
4157
|
<line num="170" count="1" type="stmt"/>
|
|
@@ -4213,7 +4180,7 @@
|
|
|
4213
4180
|
<line num="13" count="44" type="stmt"/>
|
|
4214
4181
|
<line num="19" count="44" type="stmt"/>
|
|
4215
4182
|
<line num="20" count="4" type="stmt"/>
|
|
4216
|
-
<line num="21" count="
|
|
4183
|
+
<line num="21" count="124" type="stmt"/>
|
|
4217
4184
|
<line num="23" count="4" type="cond" truecount="2" falsecount="5"/>
|
|
4218
4185
|
<line num="26" count="4" type="stmt"/>
|
|
4219
4186
|
<line num="28" count="0" type="stmt"/>
|
|
@@ -4268,7 +4235,7 @@
|
|
|
4268
4235
|
<line num="44" count="2" type="stmt"/>
|
|
4269
4236
|
</file>
|
|
4270
4237
|
<file name="workerRequests.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/workerRequests.js">
|
|
4271
|
-
<metrics statements="
|
|
4238
|
+
<metrics statements="65" coveredstatements="31" conditionals="26" coveredconditionals="10" methods="12" coveredmethods="3"/>
|
|
4272
4239
|
<line num="1" count="45" type="stmt"/>
|
|
4273
4240
|
<line num="2" count="45" type="stmt"/>
|
|
4274
4241
|
<line num="3" count="45" type="stmt"/>
|
|
@@ -4331,6 +4298,9 @@
|
|
|
4331
4298
|
<line num="149" count="45" type="stmt"/>
|
|
4332
4299
|
<line num="150" count="0" type="stmt"/>
|
|
4333
4300
|
<line num="154" count="0" type="stmt"/>
|
|
4301
|
+
<line num="157" count="45" type="stmt"/>
|
|
4302
|
+
<line num="158" count="0" type="stmt"/>
|
|
4303
|
+
<line num="162" count="0" type="stmt"/>
|
|
4334
4304
|
</file>
|
|
4335
4305
|
</package>
|
|
4336
4306
|
<package name="utilities.queue">
|
|
@@ -4356,7 +4326,7 @@
|
|
|
4356
4326
|
<line num="75" count="8" type="stmt"/>
|
|
4357
4327
|
<line num="82" count="0" type="stmt"/>
|
|
4358
4328
|
<line num="91" count="0" type="stmt"/>
|
|
4359
|
-
<line num="98" count="
|
|
4329
|
+
<line num="98" count="254" type="stmt"/>
|
|
4360
4330
|
<line num="110" count="0" type="stmt"/>
|
|
4361
4331
|
<line num="114" count="0" type="stmt"/>
|
|
4362
4332
|
<line num="122" count="45" type="stmt"/>
|