@budibase/server 1.3.12-alpha.3 → 1.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__mocks__/mongodb.ts +1 -1
- package/builder/assets/{index.7886c551.css → index.a70e216a.css} +2 -2
- package/builder/assets/index.d8428ac8.js +876 -0
- package/builder/assets/vendor.5e1fe644.css +1 -0
- package/builder/assets/vendor.67dbd8fa.js +248 -0
- package/builder/index.html +4 -2
- package/coverage/clover.xml +335 -355
- package/coverage/coverage-final.json +22 -22
- package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/backup.js.html +8 -5
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +13 -82
- package/coverage/lcov-report/api/controllers/datasource.js.html +20 -20
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +32 -32
- 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 +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/screen.js.html +12 -204
- 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 +12 -12
- 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 +1 -1
- package/coverage/lcov-report/api/routes/templates.js.html +1 -1
- package/coverage/lcov-report/api/routes/user.js.html +1 -1
- package/coverage/lcov-report/api/routes/utils/index.html +1 -1
- package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
- package/coverage/lcov-report/api/routes/view.js.html +1 -1
- package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/actions.js.html +1 -1
- package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
- package/coverage/lcov-report/automations/bullboard.js.html +1 -1
- package/coverage/lcov-report/automations/index.html +24 -24
- package/coverage/lcov-report/automations/index.js.html +18 -9
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +1 -1
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
- package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +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 +126 -24
- 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 +18 -18
- 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 +20 -56
- package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
- package/coverage/lcov-report/events/index.html +1 -1
- package/coverage/lcov-report/events/index.js.html +1 -1
- package/coverage/lcov-report/events/utils.js.html +1 -1
- package/coverage/lcov-report/index.html +48 -48
- 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 +33 -33
- package/coverage/lcov-report/middleware/index.html +1 -1
- package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
- package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
- package/coverage/lcov-report/middleware/resourceId.js.html +7 -7
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/utils.js.html +2 -2
- package/coverage/lcov-report/utilities/budibaseDir.js.html +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 +19 -19
- package/coverage/lcov-report/utilities/index.js.html +66 -42
- 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 +5 -5
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +4 -4
- 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 +6 -3
- package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
- package/coverage/lcov.info +604 -652
- package/dist/api/controllers/application.js +5 -10
- package/dist/api/controllers/backup.js +2 -1
- package/dist/api/controllers/component.js +1 -18
- package/dist/api/controllers/datasource.js +4 -4
- package/dist/api/controllers/deploy/index.js +17 -2
- package/dist/api/controllers/integration.js +4 -4
- package/dist/api/controllers/row/ExternalRequest.js +1 -1
- package/dist/api/controllers/screen.js +2 -51
- package/dist/api/controllers/static/index.js +0 -1
- package/dist/api/controllers/static/templates/BudibaseApp.svelte +0 -10
- package/dist/api/controllers/static/templates/preview.hbs +1 -3
- package/dist/api/routes/index.js +0 -2
- package/dist/api/routes/static.js +1 -1
- package/dist/app.js +0 -9
- package/dist/automations/index.js +10 -5
- package/dist/automations/triggers.js +39 -5
- package/dist/automations/utils.js +16 -7
- package/dist/db/utils.js +1 -10
- package/dist/environment.js +0 -1
- package/dist/integrations/airtable.js +129 -126
- package/dist/integrations/arangodb.js +89 -86
- package/dist/integrations/base/query.js +2 -2
- package/dist/integrations/couchdb.js +83 -80
- package/dist/integrations/dynamodb.js +164 -161
- package/dist/integrations/elasticsearch.js +138 -135
- package/dist/integrations/firebase.js +157 -154
- package/dist/integrations/googlesheets.js +327 -323
- package/dist/integrations/index.js +51 -93
- package/dist/integrations/microsoftSqlServer.js +243 -240
- package/dist/integrations/mongodb.js +242 -239
- package/dist/integrations/mysql.js +219 -215
- package/dist/integrations/oracle.js +322 -318
- package/dist/integrations/postgres.js +265 -262
- package/dist/integrations/redis.js +139 -134
- package/dist/integrations/rest.js +296 -278
- package/dist/integrations/s3.js +64 -61
- package/dist/integrations/snowflake.js +86 -83
- package/dist/package.json +6 -8
- package/dist/threads/automation.js +6 -0
- package/dist/threads/query.js +2 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utilities/fileSystem/index.js +6 -71
- package/dist/utilities/index.js +8 -0
- package/dist/utilities/rowProcessor/utils.js +1 -1
- package/dist/utilities/usageQuota/rows.js +2 -1
- package/package.json +7 -9
- package/scripts/dev/manage.js +0 -1
- package/src/api/controllers/application.ts +2 -6
- package/src/api/controllers/backup.js +2 -1
- package/src/api/controllers/component.js +2 -25
- package/src/api/controllers/datasource.js +4 -4
- package/src/api/controllers/deploy/index.ts +17 -4
- package/src/api/controllers/integration.js +4 -4
- package/src/api/controllers/row/ExternalRequest.ts +1 -1
- package/src/api/controllers/screen.js +1 -65
- package/src/api/controllers/static/index.ts +0 -1
- package/src/api/controllers/static/templates/BudibaseApp.svelte +0 -10
- package/src/api/controllers/static/templates/preview.hbs +1 -3
- package/src/api/routes/index.ts +0 -2
- package/src/api/routes/static.ts +1 -1
- package/src/api/routes/tests/query.spec.js +28 -11
- package/src/api/routes/tests/static.spec.js +2 -2
- package/src/app.ts +0 -12
- package/src/automations/index.js +6 -3
- package/src/automations/triggers.js +44 -10
- package/src/automations/utils.ts +21 -9
- package/src/db/utils.js +0 -12
- package/src/definitions/datasource.ts +1 -0
- package/src/environment.js +0 -1
- package/src/integrations/airtable.ts +118 -116
- package/src/integrations/arangodb.ts +89 -87
- package/src/integrations/base/query.ts +2 -2
- package/src/integrations/couchdb.ts +89 -83
- package/src/integrations/dynamodb.ts +175 -173
- package/src/integrations/elasticsearch.ts +122 -120
- package/src/integrations/firebase.ts +159 -157
- package/src/integrations/googlesheets.ts +338 -328
- package/src/integrations/index.ts +21 -59
- package/src/integrations/microsoftSqlServer.ts +251 -249
- package/src/integrations/mongodb.ts +258 -261
- package/src/integrations/mysql.ts +234 -229
- package/src/integrations/oracle.ts +380 -373
- package/src/integrations/postgres.ts +268 -264
- package/src/integrations/redis.ts +132 -128
- package/src/integrations/rest.ts +330 -312
- package/src/integrations/s3.ts +71 -68
- package/src/integrations/snowflake.ts +82 -80
- package/src/integrations/tests/{airtable.spec.ts → airtable.spec.js} +18 -21
- package/src/integrations/tests/{arangodb.spec.ts → arangodb.spec.js} +9 -12
- package/src/integrations/tests/{couchdb.spec.ts → couchdb.spec.js} +27 -33
- package/src/integrations/tests/{dynamodb.spec.ts → dynamodb.spec.js} +41 -45
- package/src/integrations/tests/{elasticsearch.spec.ts → elasticsearch.spec.js} +21 -22
- package/src/integrations/tests/{firebase.spec.ts → firebase.spec.js} +28 -33
- package/src/integrations/tests/{microsoftSqlServer.spec.ts → microsoftSqlServer.spec.js} +11 -12
- package/src/integrations/tests/{mongo.spec.ts → mongo.spec.js} +35 -46
- package/src/integrations/tests/{mysql.spec.ts → mysql.spec.js} +15 -17
- package/src/integrations/tests/{oracle.spec.ts → oracle.spec.js} +17 -19
- package/src/integrations/tests/{postgres.spec.ts → postgres.spec.js} +17 -19
- package/src/integrations/tests/{redis.spec.ts → redis.spec.js} +18 -27
- package/src/integrations/tests/{rest.spec.ts → rest.spec.js} +49 -22
- package/src/integrations/tests/{s3.spec.ts → s3.spec.js} +8 -10
- package/src/integrations/tests/{sql.spec.ts → sql.spec.js} +177 -228
- package/src/module.d.ts +0 -1
- package/src/threads/automation.ts +6 -0
- package/src/threads/query.ts +2 -2
- package/src/utilities/fileSystem/index.js +6 -75
- package/src/utilities/index.js +8 -0
- package/src/utilities/rowProcessor/utils.js +1 -1
- package/src/utilities/usageQuota/rows.js +2 -1
- package/builder/assets/index.e759397f.js +0 -994
- package/dist/api/controllers/plugin.js +0 -119
- package/dist/api/routes/plugin.js +0 -38
- package/dist/watch.js +0 -77
- package/src/api/controllers/plugin.ts +0 -110
- package/src/api/routes/plugin.ts +0 -13
- package/src/watch.ts +0 -38
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="1662983063826" clover="3.2.0">
|
|
3
|
+
<project timestamp="1662983063826" name="All files">
|
|
4
|
+
<metrics statements="4162" coveredstatements="3052" conditionals="1754" coveredconditionals="967" methods="615" coveredmethods="436" elements="6531" coveredelements="4455" complexity="0" loc="4162" ncloc="4162" packages="22" files="126" classes="126"/>
|
|
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="239" type="stmt"/>
|
|
25
|
+
<line num="40" count="239" 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="237" type="stmt"/>
|
|
28
|
+
<line num="64" count="237" type="stmt"/>
|
|
29
|
+
<line num="66" count="39" type="cond" truecount="1" falsecount="2"/>
|
|
30
|
+
<line num="67" count="39" type="stmt"/>
|
|
31
|
+
<line num="68" count="39" type="stmt"/>
|
|
32
|
+
<line num="74" count="39" type="stmt"/>
|
|
33
|
+
<line num="76" count="39" 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="728" type="stmt"/>
|
|
37
|
+
<line num="85" count="728" 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="967" coveredstatements="699" conditionals="286" coveredconditionals="135" methods="139" coveredmethods="94"/>
|
|
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"/>
|
|
@@ -238,21 +238,22 @@
|
|
|
238
238
|
<line num="284" count="2" type="stmt"/>
|
|
239
239
|
</file>
|
|
240
240
|
<file name="backup.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/backup.js">
|
|
241
|
-
<metrics statements="
|
|
241
|
+
<metrics statements="15" coveredstatements="15" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
242
242
|
<line num="1" count="28" type="stmt"/>
|
|
243
243
|
<line num="2" count="28" type="stmt"/>
|
|
244
244
|
<line num="3" count="28" type="stmt"/>
|
|
245
|
-
<line num="
|
|
246
|
-
<line num="6" count="
|
|
245
|
+
<line num="4" count="28" type="stmt"/>
|
|
246
|
+
<line num="6" count="28" type="stmt"/>
|
|
247
247
|
<line num="7" count="1" type="stmt"/>
|
|
248
248
|
<line num="8" count="1" type="stmt"/>
|
|
249
249
|
<line num="9" count="1" type="stmt"/>
|
|
250
250
|
<line num="10" count="1" type="stmt"/>
|
|
251
251
|
<line num="11" count="1" type="stmt"/>
|
|
252
|
-
<line num="
|
|
252
|
+
<line num="12" count="1" type="stmt"/>
|
|
253
253
|
<line num="14" count="1" type="stmt"/>
|
|
254
254
|
<line num="15" count="1" type="stmt"/>
|
|
255
255
|
<line num="16" count="1" type="stmt"/>
|
|
256
|
+
<line num="17" count="1" type="stmt"/>
|
|
256
257
|
</file>
|
|
257
258
|
<file name="cloud.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/cloud.js">
|
|
258
259
|
<metrics statements="54" coveredstatements="10" conditionals="23" coveredconditionals="0" methods="8" coveredmethods="0"/>
|
|
@@ -312,36 +313,26 @@
|
|
|
312
313
|
<line num="110" count="0" type="stmt"/>
|
|
313
314
|
</file>
|
|
314
315
|
<file name="component.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/component.js">
|
|
315
|
-
<metrics statements="
|
|
316
|
+
<metrics statements="19" coveredstatements="18" conditionals="2" coveredconditionals="2" methods="2" coveredmethods="2"/>
|
|
316
317
|
<line num="1" count="28" type="stmt"/>
|
|
317
318
|
<line num="2" count="28" type="stmt"/>
|
|
318
319
|
<line num="3" count="28" type="stmt"/>
|
|
319
|
-
<line num="4" count="28" type="stmt"/>
|
|
320
320
|
<line num="5" count="28" type="stmt"/>
|
|
321
|
-
<line num="
|
|
321
|
+
<line num="6" count="1" type="stmt"/>
|
|
322
|
+
<line num="7" count="1" type="stmt"/>
|
|
322
323
|
<line num="8" count="1" type="stmt"/>
|
|
323
|
-
<line num="9" count="1" type="stmt"/>
|
|
324
324
|
<line num="10" count="1" type="stmt"/>
|
|
325
325
|
<line num="12" count="1" type="stmt"/>
|
|
326
326
|
<line num="14" count="1" type="stmt"/>
|
|
327
|
-
<line num="
|
|
327
|
+
<line num="20" count="1" type="stmt"/>
|
|
328
328
|
<line num="21" count="1" type="stmt"/>
|
|
329
329
|
<line num="22" count="1" type="stmt"/>
|
|
330
|
-
<line num="23" count="
|
|
331
|
-
<line num="24" count="
|
|
332
|
-
<line num="
|
|
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
333
|
<line num="27" count="51" type="stmt"/>
|
|
334
|
-
<line num="
|
|
335
|
-
<line num="
|
|
336
|
-
<line num="39" count="1" type="stmt"/>
|
|
337
|
-
<line num="40" count="1" type="stmt"/>
|
|
338
|
-
<line num="45" count="1" type="stmt"/>
|
|
339
|
-
<line num="46" count="0" type="stmt"/>
|
|
340
|
-
<line num="47" count="0" type="stmt"/>
|
|
341
|
-
<line num="49" count="0" type="stmt"/>
|
|
342
|
-
<line num="50" count="0" type="stmt"/>
|
|
343
|
-
<line num="57" count="1" type="stmt"/>
|
|
344
|
-
<line num="59" count="0" type="stmt"/>
|
|
334
|
+
<line num="34" count="1" type="stmt"/>
|
|
335
|
+
<line num="36" count="0" type="stmt"/>
|
|
345
336
|
</file>
|
|
346
337
|
<file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/datasource.js">
|
|
347
338
|
<metrics statements="134" coveredstatements="82" conditionals="53" coveredconditionals="20" methods="19" coveredmethods="11"/>
|
|
@@ -408,26 +399,26 @@
|
|
|
408
399
|
<line num="124" count="6" type="stmt"/>
|
|
409
400
|
<line num="125" count="6" type="stmt"/>
|
|
410
401
|
<line num="128" count="45" type="stmt"/>
|
|
411
|
-
<line num="129" count="
|
|
412
|
-
<line num="130" count="
|
|
413
|
-
<line num="131" count="
|
|
414
|
-
<line num="133" count="
|
|
415
|
-
<line num="139" count="
|
|
416
|
-
<line num="140" count="
|
|
402
|
+
<line num="129" count="66" type="stmt"/>
|
|
403
|
+
<line num="130" count="66" type="stmt"/>
|
|
404
|
+
<line num="131" count="66" type="stmt"/>
|
|
405
|
+
<line num="133" count="66" type="stmt"/>
|
|
406
|
+
<line num="139" count="66" type="stmt"/>
|
|
407
|
+
<line num="140" count="66" type="cond" truecount="1" falsecount="1"/>
|
|
417
408
|
<line num="141" count="0" type="stmt"/>
|
|
418
409
|
<line num="142" count="0" type="stmt"/>
|
|
419
410
|
<line num="143" count="0" type="stmt"/>
|
|
420
|
-
<line num="146" count="
|
|
421
|
-
<line num="147" count="
|
|
422
|
-
<line num="148" count="
|
|
423
|
-
<line num="151" count="
|
|
424
|
-
<line num="152" count="
|
|
425
|
-
<line num="153" count="
|
|
411
|
+
<line num="146" count="66" type="stmt"/>
|
|
412
|
+
<line num="147" count="66" type="stmt"/>
|
|
413
|
+
<line num="148" count="66" type="stmt"/>
|
|
414
|
+
<line num="151" count="66" type="cond" truecount="1" falsecount="1"/>
|
|
415
|
+
<line num="152" count="66" type="stmt"/>
|
|
416
|
+
<line num="153" count="66" type="cond" truecount="3" falsecount="1"/>
|
|
426
417
|
<line num="154" count="0" type="stmt"/>
|
|
427
|
-
<line num="158" count="
|
|
428
|
-
<line num="159" count="
|
|
418
|
+
<line num="158" count="66" type="stmt"/>
|
|
419
|
+
<line num="159" count="66" type="cond" truecount="1" falsecount="1"/>
|
|
429
420
|
<line num="160" count="0" type="stmt"/>
|
|
430
|
-
<line num="162" count="
|
|
421
|
+
<line num="162" count="66" type="stmt"/>
|
|
431
422
|
<line num="165" count="45" type="stmt"/>
|
|
432
423
|
<line num="166" count="1" type="stmt"/>
|
|
433
424
|
<line num="167" count="1" type="stmt"/>
|
|
@@ -559,14 +550,14 @@
|
|
|
559
550
|
<line num="2" count="28" type="stmt"/>
|
|
560
551
|
<line num="3" count="28" type="stmt"/>
|
|
561
552
|
<line num="4" count="28" type="stmt"/>
|
|
562
|
-
<line num="
|
|
563
|
-
<line num="7" count="
|
|
553
|
+
<line num="5" count="28" type="stmt"/>
|
|
554
|
+
<line num="7" count="28" type="stmt"/>
|
|
564
555
|
<line num="8" count="1" type="stmt"/>
|
|
565
|
-
<line num="
|
|
566
|
-
<line num="12" count="
|
|
567
|
-
<line num="
|
|
568
|
-
<line num="
|
|
569
|
-
<line num="19" count="
|
|
556
|
+
<line num="9" count="1" type="stmt"/>
|
|
557
|
+
<line num="12" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
558
|
+
<line num="13" count="0" type="stmt"/>
|
|
559
|
+
<line num="16" count="1" type="stmt"/>
|
|
560
|
+
<line num="19" count="28" type="stmt"/>
|
|
570
561
|
<line num="20" count="1" type="stmt"/>
|
|
571
562
|
<line num="21" count="1" type="stmt"/>
|
|
572
563
|
</file>
|
|
@@ -837,63 +828,35 @@
|
|
|
837
828
|
<line num="91" count="2" type="stmt"/>
|
|
838
829
|
</file>
|
|
839
830
|
<file name="screen.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/screen.js">
|
|
840
|
-
<metrics statements="
|
|
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"/>
|
|
841
836
|
<line num="6" count="44" type="stmt"/>
|
|
842
|
-
<line num="7" count="
|
|
843
|
-
<line num="
|
|
844
|
-
<line num="
|
|
845
|
-
<line num="
|
|
846
|
-
<line num="
|
|
847
|
-
<line num="
|
|
848
|
-
<line num="
|
|
849
|
-
<line num="
|
|
850
|
-
<line num="
|
|
851
|
-
<line num="
|
|
852
|
-
<line num="
|
|
853
|
-
<line num="31" count="24" type="stmt"/>
|
|
854
|
-
<line num="32" count="24" 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"/>
|
|
855
848
|
<line num="35" count="24" type="cond" truecount="2" falsecount="0"/>
|
|
856
849
|
<line num="36" count="23" type="stmt"/>
|
|
857
|
-
<line num="
|
|
858
|
-
<line num="
|
|
859
|
-
<line num="
|
|
860
|
-
<line num="
|
|
861
|
-
<line num="
|
|
862
|
-
<line num="
|
|
863
|
-
<line num="
|
|
864
|
-
<line num="
|
|
865
|
-
<line num="
|
|
866
|
-
<line num="
|
|
867
|
-
<line num="56" count="0" type="stmt"/>
|
|
868
|
-
<line num="63" count="0" type="stmt"/>
|
|
869
|
-
<line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
870
|
-
<line num="66" count="0" type="stmt"/>
|
|
871
|
-
<line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
872
|
-
<line num="68" count="0" type="stmt"/>
|
|
873
|
-
<line num="69" count="0" type="stmt"/>
|
|
874
|
-
<line num="78" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
875
|
-
<line num="79" count="0" type="stmt"/>
|
|
876
|
-
<line num="83" count="24" type="cond" truecount="2" falsecount="0"/>
|
|
877
|
-
<line num="84" count="23" type="stmt"/>
|
|
878
|
-
<line num="86" count="24" type="stmt"/>
|
|
879
|
-
<line num="87" count="24" type="stmt"/>
|
|
880
|
-
<line num="95" count="44" type="stmt"/>
|
|
881
|
-
<line num="96" count="1" type="stmt"/>
|
|
882
|
-
<line num="97" count="1" type="stmt"/>
|
|
883
|
-
<line num="98" count="1" type="stmt"/>
|
|
884
|
-
<line num="100" count="1" type="stmt"/>
|
|
885
|
-
<line num="102" count="1" type="stmt"/>
|
|
886
|
-
<line num="103" count="1" type="stmt"/>
|
|
887
|
-
<line num="106" count="1" type="stmt"/>
|
|
888
|
-
<line num="109" count="44" type="stmt"/>
|
|
889
|
-
<line num="110" count="48" type="cond" truecount="1" falsecount="1"/>
|
|
890
|
-
<line num="111" count="0" type="stmt"/>
|
|
891
|
-
<line num="113" count="48" type="cond" truecount="1" falsecount="1"/>
|
|
892
|
-
<line num="114" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
893
|
-
<line num="115" count="0" type="stmt"/>
|
|
894
|
-
<line num="118" count="48" type="cond" truecount="4" falsecount="0"/>
|
|
895
|
-
<line num="119" count="24" type="stmt"/>
|
|
896
|
-
<line num="121" count="24" 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"/>
|
|
897
860
|
</file>
|
|
898
861
|
<file name="script.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/script.js">
|
|
899
862
|
<metrics statements="7" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
@@ -2666,7 +2629,7 @@
|
|
|
2666
2629
|
</file>
|
|
2667
2630
|
</package>
|
|
2668
2631
|
<package name="automations">
|
|
2669
|
-
<metrics statements="
|
|
2632
|
+
<metrics statements="189" coveredstatements="143" conditionals="76" coveredconditionals="50" methods="24" coveredmethods="16"/>
|
|
2670
2633
|
<file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
|
|
2671
2634
|
<metrics statements="24" coveredstatements="24" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
|
|
2672
2635
|
<line num="1" count="45" type="stmt"/>
|
|
@@ -2789,7 +2752,7 @@
|
|
|
2789
2752
|
<line num="59" count="45" type="stmt"/>
|
|
2790
2753
|
</file>
|
|
2791
2754
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/index.js">
|
|
2792
|
-
<metrics statements="
|
|
2755
|
+
<metrics statements="16" coveredstatements="14" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="2"/>
|
|
2793
2756
|
<line num="1" count="44" type="stmt"/>
|
|
2794
2757
|
<line num="2" count="44" type="stmt"/>
|
|
2795
2758
|
<line num="3" count="44" type="stmt"/>
|
|
@@ -2797,16 +2760,18 @@
|
|
|
2797
2760
|
<line num="9" count="44" type="stmt"/>
|
|
2798
2761
|
<line num="11" count="32" type="stmt"/>
|
|
2799
2762
|
<line num="12" count="8" type="stmt"/>
|
|
2800
|
-
<line num="
|
|
2801
|
-
<line num="
|
|
2802
|
-
<line num="
|
|
2803
|
-
<line num="
|
|
2804
|
-
<line num="
|
|
2805
|
-
<line num="
|
|
2806
|
-
<line num="
|
|
2763
|
+
<line num="15" count="32" type="stmt"/>
|
|
2764
|
+
<line num="16" count="32" type="stmt"/>
|
|
2765
|
+
<line num="19" count="44" type="stmt"/>
|
|
2766
|
+
<line num="20" count="0" type="stmt"/>
|
|
2767
|
+
<line num="23" count="44" type="stmt"/>
|
|
2768
|
+
<line num="24" count="0" type="stmt"/>
|
|
2769
|
+
<line num="27" count="44" type="stmt"/>
|
|
2770
|
+
<line num="28" count="44" type="stmt"/>
|
|
2771
|
+
<line num="29" count="44" type="stmt"/>
|
|
2807
2772
|
</file>
|
|
2808
2773
|
<file name="triggers.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggers.js">
|
|
2809
|
-
<metrics statements="
|
|
2774
|
+
<metrics statements="61" coveredstatements="55" conditionals="33" coveredconditionals="25" methods="11" coveredmethods="11"/>
|
|
2810
2775
|
<line num="1" count="45" type="stmt"/>
|
|
2811
2776
|
<line num="2" count="45" type="stmt"/>
|
|
2812
2777
|
<line num="3" count="45" type="stmt"/>
|
|
@@ -2817,42 +2782,57 @@
|
|
|
2817
2782
|
<line num="9" count="45" type="stmt"/>
|
|
2818
2783
|
<line num="10" count="45" type="stmt"/>
|
|
2819
2784
|
<line num="11" count="45" type="stmt"/>
|
|
2820
|
-
<line num="
|
|
2785
|
+
<line num="12" count="45" type="stmt"/>
|
|
2821
2786
|
<line num="14" count="45" type="stmt"/>
|
|
2822
|
-
<line num="
|
|
2823
|
-
<line num="21" count="
|
|
2824
|
-
<line num="
|
|
2825
|
-
<line num="25" count="
|
|
2826
|
-
<line num="
|
|
2827
|
-
<line num="
|
|
2828
|
-
<line num="
|
|
2829
|
-
<line num="34" count="
|
|
2830
|
-
<line num="
|
|
2831
|
-
<line num="38" count="
|
|
2832
|
-
<line num="39" count="4" type="
|
|
2833
|
-
<line num="
|
|
2787
|
+
<line num="15" count="45" type="stmt"/>
|
|
2788
|
+
<line num="21" count="23" type="stmt"/>
|
|
2789
|
+
<line num="22" count="23" type="stmt"/>
|
|
2790
|
+
<line num="25" count="23" type="stmt"/>
|
|
2791
|
+
<line num="29" count="17" type="cond" truecount="1" falsecount="1"/>
|
|
2792
|
+
<line num="30" count="0" type="stmt"/>
|
|
2793
|
+
<line num="33" count="17" type="stmt"/>
|
|
2794
|
+
<line num="34" count="17" type="stmt"/>
|
|
2795
|
+
<line num="37" count="17" type="stmt"/>
|
|
2796
|
+
<line num="38" count="4" type="stmt"/>
|
|
2797
|
+
<line num="39" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
2798
|
+
<line num="42" count="17" type="stmt"/>
|
|
2799
|
+
<line num="43" count="4" type="stmt"/>
|
|
2834
2800
|
<line num="44" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2835
|
-
<line num="
|
|
2836
|
-
<line num="
|
|
2837
|
-
<line num="55" count="4" type="
|
|
2838
|
-
<line num="
|
|
2839
|
-
<line num="
|
|
2840
|
-
<line num="
|
|
2841
|
-
<line num="
|
|
2842
|
-
<line num="
|
|
2843
|
-
<line num="
|
|
2844
|
-
<line num="
|
|
2845
|
-
<line num="
|
|
2846
|
-
<line num="
|
|
2847
|
-
<line num="
|
|
2848
|
-
<line num="100" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2849
|
-
<line num="101" count="1" type="stmt"/>
|
|
2801
|
+
<line num="48" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2802
|
+
<line num="53" count="0" type="stmt"/>
|
|
2803
|
+
<line num="55" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2804
|
+
<line num="59" count="4" type="stmt"/>
|
|
2805
|
+
<line num="65" count="45" type="stmt"/>
|
|
2806
|
+
<line num="70" count="7" type="stmt"/>
|
|
2807
|
+
<line num="73" count="45" type="stmt"/>
|
|
2808
|
+
<line num="78" count="4" type="stmt"/>
|
|
2809
|
+
<line num="81" count="45" type="stmt"/>
|
|
2810
|
+
<line num="86" count="6" type="stmt"/>
|
|
2811
|
+
<line num="89" count="45" type="stmt"/>
|
|
2812
|
+
<line num="94" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
2813
|
+
<line num="102" count="1" type="stmt"/>
|
|
2850
2814
|
<line num="103" count="1" type="stmt"/>
|
|
2851
|
-
<line num="
|
|
2852
|
-
<line num="
|
|
2853
|
-
<line num="107" count="
|
|
2854
|
-
<line num="109" count="
|
|
2855
|
-
<line num="
|
|
2815
|
+
<line num="104" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2816
|
+
<line num="105" count="1" type="stmt"/>
|
|
2817
|
+
<line num="107" count="1" type="stmt"/>
|
|
2818
|
+
<line num="109" count="6" type="stmt"/>
|
|
2819
|
+
<line num="110" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
2820
|
+
<line num="111" count="2" type="stmt"/>
|
|
2821
|
+
<line num="113" count="4" type="stmt"/>
|
|
2822
|
+
<line num="117" count="45" type="stmt"/>
|
|
2823
|
+
<line num="120" count="32" type="cond" truecount="3" falsecount="1"/>
|
|
2824
|
+
<line num="121" count="0" type="stmt"/>
|
|
2825
|
+
<line num="125" count="32" type="stmt"/>
|
|
2826
|
+
<line num="126" count="32" type="stmt"/>
|
|
2827
|
+
<line num="127" count="6" type="stmt"/>
|
|
2828
|
+
<line num="128" count="6" type="stmt"/>
|
|
2829
|
+
<line num="129" count="6" type="stmt"/>
|
|
2830
|
+
<line num="130" count="6" type="stmt"/>
|
|
2831
|
+
<line num="131" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2832
|
+
<line num="132" count="0" type="stmt"/>
|
|
2833
|
+
<line num="139" count="0" type="stmt"/>
|
|
2834
|
+
<line num="142" count="6" type="stmt"/>
|
|
2835
|
+
<line num="147" count="45" type="stmt"/>
|
|
2856
2836
|
</file>
|
|
2857
2837
|
</package>
|
|
2858
2838
|
<package name="automations.steps">
|
|
@@ -3230,7 +3210,7 @@
|
|
|
3230
3210
|
</file>
|
|
3231
3211
|
</package>
|
|
3232
3212
|
<package name="db">
|
|
3233
|
-
<metrics statements="
|
|
3213
|
+
<metrics statements="143" coveredstatements="114" conditionals="59" coveredconditionals="19" methods="37" coveredmethods="27"/>
|
|
3234
3214
|
<file name="inMemoryView.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/inMemoryView.js">
|
|
3235
3215
|
<metrics statements="23" coveredstatements="4" conditionals="8" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
3236
3216
|
<line num="1" count="45" type="stmt"/>
|
|
@@ -3272,19 +3252,20 @@
|
|
|
3272
3252
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3273
3253
|
<line num="1" count="59" type="stmt"/>
|
|
3274
3254
|
<line num="3" count="59" type="stmt"/>
|
|
3275
|
-
<line num="4" count="
|
|
3255
|
+
<line num="4" count="975" type="stmt"/>
|
|
3276
3256
|
</file>
|
|
3277
3257
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3278
|
-
<metrics statements="
|
|
3258
|
+
<metrics statements="109" coveredstatements="99" conditionals="49" coveredconditionals="18" methods="31" coveredmethods="25"/>
|
|
3279
3259
|
<line num="1" count="59" type="stmt"/>
|
|
3280
3260
|
<line num="16" count="59" type="stmt"/>
|
|
3281
3261
|
<line num="18" count="59" type="stmt"/>
|
|
3282
3262
|
<line num="20" count="59" type="stmt"/>
|
|
3283
3263
|
<line num="26" count="59" type="stmt"/>
|
|
3284
|
-
<line num="
|
|
3285
|
-
<line num="
|
|
3286
|
-
<line num="
|
|
3287
|
-
<line num="
|
|
3264
|
+
<line num="47" count="59" type="stmt"/>
|
|
3265
|
+
<line num="51" count="59" type="stmt"/>
|
|
3266
|
+
<line num="55" count="59" type="stmt"/>
|
|
3267
|
+
<line num="57" count="59" type="stmt"/>
|
|
3268
|
+
<line num="65" count="59" type="stmt"/>
|
|
3288
3269
|
<line num="66" count="59" type="stmt"/>
|
|
3289
3270
|
<line num="67" count="59" type="stmt"/>
|
|
3290
3271
|
<line num="68" count="59" type="stmt"/>
|
|
@@ -3301,94 +3282,89 @@
|
|
|
3301
3282
|
<line num="79" count="59" type="stmt"/>
|
|
3302
3283
|
<line num="80" count="59" type="stmt"/>
|
|
3303
3284
|
<line num="81" count="59" type="stmt"/>
|
|
3304
|
-
<line num="
|
|
3285
|
+
<line num="83" count="59" type="stmt"/>
|
|
3305
3286
|
<line num="84" count="59" type="stmt"/>
|
|
3306
|
-
<line num="
|
|
3307
|
-
<line num="
|
|
3308
|
-
<line num="102" count="
|
|
3309
|
-
<line num="
|
|
3310
|
-
<line num="
|
|
3311
|
-
<line num="
|
|
3312
|
-
<line num="117" count="
|
|
3313
|
-
<line num="
|
|
3314
|
-
<line num="125" count="
|
|
3315
|
-
<line num="
|
|
3316
|
-
<line num="137" count="
|
|
3317
|
-
<line num="138" count="
|
|
3318
|
-
<line num="
|
|
3319
|
-
<line num="
|
|
3320
|
-
<line num="
|
|
3321
|
-
<line num="152" count="
|
|
3322
|
-
<line num="
|
|
3323
|
-
<line num="
|
|
3324
|
-
<line num="165" count="
|
|
3325
|
-
<line num="166" count="
|
|
3326
|
-
<line num="
|
|
3327
|
-
<line num="173" count="
|
|
3328
|
-
<line num="
|
|
3329
|
-
<line num="182" count="
|
|
3330
|
-
<line num="
|
|
3331
|
-
<line num="189" count="
|
|
3332
|
-
<line num="190" count="3" type="
|
|
3333
|
-
<line num="191" count="
|
|
3334
|
-
<line num="
|
|
3335
|
-
<line num="
|
|
3336
|
-
<line num="200" count="
|
|
3337
|
-
<line num="
|
|
3338
|
-
<line num="208" count="
|
|
3339
|
-
<line num="
|
|
3340
|
-
<line num="
|
|
3287
|
+
<line num="86" count="59" type="stmt"/>
|
|
3288
|
+
<line num="101" count="881" type="cond" truecount="2" falsecount="0"/>
|
|
3289
|
+
<line num="102" count="864" type="stmt"/>
|
|
3290
|
+
<line num="104" count="881" type="stmt"/>
|
|
3291
|
+
<line num="111" count="59" type="stmt"/>
|
|
3292
|
+
<line num="116" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3293
|
+
<line num="117" count="271" type="stmt"/>
|
|
3294
|
+
<line num="124" count="59" type="stmt"/>
|
|
3295
|
+
<line num="125" count="130" type="stmt"/>
|
|
3296
|
+
<line num="136" count="59" type="cond" truecount="0" falsecount="3"/>
|
|
3297
|
+
<line num="137" count="44" type="cond" truecount="2" falsecount="0"/>
|
|
3298
|
+
<line num="138" count="30" type="stmt"/>
|
|
3299
|
+
<line num="141" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
3300
|
+
<line num="143" count="14" type="stmt"/>
|
|
3301
|
+
<line num="151" count="59" type="stmt"/>
|
|
3302
|
+
<line num="152" count="0" type="stmt"/>
|
|
3303
|
+
<line num="155" count="0" type="stmt"/>
|
|
3304
|
+
<line num="164" count="59" type="cond" truecount="1" falsecount="0"/>
|
|
3305
|
+
<line num="165" count="323" type="cond" truecount="2" falsecount="0"/>
|
|
3306
|
+
<line num="166" count="323" type="stmt"/>
|
|
3307
|
+
<line num="172" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3308
|
+
<line num="173" count="3" type="stmt"/>
|
|
3309
|
+
<line num="181" count="59" type="stmt"/>
|
|
3310
|
+
<line num="182" count="244" type="stmt"/>
|
|
3311
|
+
<line num="188" count="59" type="stmt"/>
|
|
3312
|
+
<line num="189" count="3" type="stmt"/>
|
|
3313
|
+
<line num="190" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
3314
|
+
<line num="191" count="1" type="stmt"/>
|
|
3315
|
+
<line num="193" count="2" type="stmt"/>
|
|
3316
|
+
<line num="199" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3317
|
+
<line num="200" count="280" type="stmt"/>
|
|
3318
|
+
<line num="207" count="59" type="stmt"/>
|
|
3319
|
+
<line num="208" count="27" type="stmt"/>
|
|
3320
|
+
<line num="222" count="59" type="stmt"/>
|
|
3321
|
+
<line num="230" count="9" type="stmt"/>
|
|
3341
3322
|
<line num="231" count="9" type="stmt"/>
|
|
3342
3323
|
<line num="232" count="9" type="stmt"/>
|
|
3343
3324
|
<line num="233" count="9" type="stmt"/>
|
|
3344
|
-
<line num="
|
|
3345
|
-
<line num="240" count="
|
|
3346
|
-
<line num="
|
|
3347
|
-
<line num="248" count="
|
|
3348
|
-
<line num="
|
|
3349
|
-
<line num="255" count="
|
|
3350
|
-
<line num="
|
|
3351
|
-
<line num="263" count="
|
|
3352
|
-
<line num="
|
|
3353
|
-
<line num="270" count="
|
|
3354
|
-
<line num="
|
|
3355
|
-
<line num="278" count="
|
|
3356
|
-
<line num="
|
|
3357
|
-
<line num="285" count="
|
|
3358
|
-
<line num="
|
|
3359
|
-
<line num="293" count="
|
|
3360
|
-
<line num="
|
|
3361
|
-
<line num="302" count="
|
|
3362
|
-
<line num="
|
|
3363
|
-
<line num="310" count="
|
|
3364
|
-
<line num="
|
|
3365
|
-
<line num="320" count="
|
|
3366
|
-
<line num="
|
|
3367
|
-
<line num="327" count="
|
|
3368
|
-
<line num="
|
|
3369
|
-
<line num="334" count="
|
|
3370
|
-
<line num="335" count="
|
|
3371
|
-
<line num="
|
|
3372
|
-
<line num="
|
|
3373
|
-
<line num="350" count="
|
|
3374
|
-
<line num="
|
|
3375
|
-
<line num="354" count="
|
|
3376
|
-
<line num="
|
|
3377
|
-
<line num="358" count="
|
|
3378
|
-
<line num="359" count="0" type="
|
|
3379
|
-
<line num="360" count="0" type="
|
|
3380
|
-
<line num="
|
|
3381
|
-
<line num="
|
|
3382
|
-
<line num="366" count="
|
|
3383
|
-
<line num="
|
|
3384
|
-
<line num="370" count="
|
|
3385
|
-
<line num="
|
|
3386
|
-
<line num="
|
|
3387
|
-
<line num="375" count="0" type="stmt"/>
|
|
3388
|
-
<line num="381" count="59" type="stmt"/>
|
|
3389
|
-
<line num="382" count="60" type="stmt"/>
|
|
3390
|
-
<line num="391" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3391
|
-
<line num="392" count="3" type="stmt"/>
|
|
3325
|
+
<line num="239" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3326
|
+
<line num="240" count="0" type="stmt"/>
|
|
3327
|
+
<line num="247" count="59" type="stmt"/>
|
|
3328
|
+
<line num="248" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
3329
|
+
<line num="254" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3330
|
+
<line num="255" count="9" type="stmt"/>
|
|
3331
|
+
<line num="262" count="59" type="stmt"/>
|
|
3332
|
+
<line num="263" count="23" type="stmt"/>
|
|
3333
|
+
<line num="269" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3334
|
+
<line num="270" count="11" type="stmt"/>
|
|
3335
|
+
<line num="277" count="59" type="stmt"/>
|
|
3336
|
+
<line num="278" count="10" type="stmt"/>
|
|
3337
|
+
<line num="284" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3338
|
+
<line num="285" count="2" type="stmt"/>
|
|
3339
|
+
<line num="292" count="59" type="cond" truecount="1" falsecount="1"/>
|
|
3340
|
+
<line num="293" count="66" type="stmt"/>
|
|
3341
|
+
<line num="301" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3342
|
+
<line num="302" count="5" type="stmt"/>
|
|
3343
|
+
<line num="309" count="59" type="stmt"/>
|
|
3344
|
+
<line num="310" count="142" type="stmt"/>
|
|
3345
|
+
<line num="319" count="59" type="stmt"/>
|
|
3346
|
+
<line num="320" count="0" type="stmt"/>
|
|
3347
|
+
<line num="326" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3348
|
+
<line num="327" count="254" type="stmt"/>
|
|
3349
|
+
<line num="333" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3350
|
+
<line num="334" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3351
|
+
<line num="335" count="4" type="stmt"/>
|
|
3352
|
+
<line num="338" count="1" type="stmt"/>
|
|
3353
|
+
<line num="349" count="59" type="stmt"/>
|
|
3354
|
+
<line num="350" count="0" type="stmt"/>
|
|
3355
|
+
<line num="353" count="59" type="stmt"/>
|
|
3356
|
+
<line num="354" count="10" type="stmt"/>
|
|
3357
|
+
<line num="357" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3358
|
+
<line num="358" count="0" type="stmt"/>
|
|
3359
|
+
<line num="359" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3360
|
+
<line num="360" count="0" type="stmt"/>
|
|
3361
|
+
<line num="362" count="0" type="stmt"/>
|
|
3362
|
+
<line num="365" count="59" type="stmt"/>
|
|
3363
|
+
<line num="366" count="1" type="stmt"/>
|
|
3364
|
+
<line num="369" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3365
|
+
<line num="370" count="0" type="stmt"/>
|
|
3366
|
+
<line num="376" count="59" type="stmt"/>
|
|
3367
|
+
<line num="377" count="60" type="stmt"/>
|
|
3392
3368
|
</file>
|
|
3393
3369
|
</package>
|
|
3394
3370
|
<package name="db.linkedRows">
|
|
@@ -3801,19 +3777,19 @@
|
|
|
3801
3777
|
<line num="59" count="1" type="stmt"/>
|
|
3802
3778
|
<line num="61" count="1" type="stmt"/>
|
|
3803
3779
|
<line num="65" count="29" type="stmt"/>
|
|
3804
|
-
<line num="66" count="
|
|
3805
|
-
<line num="68" count="
|
|
3780
|
+
<line num="66" count="225" type="stmt"/>
|
|
3781
|
+
<line num="68" count="225" type="cond" truecount="2" falsecount="0"/>
|
|
3806
3782
|
<line num="69" count="5" type="stmt"/>
|
|
3807
|
-
<line num="71" count="
|
|
3808
|
-
<line num="72" count="
|
|
3809
|
-
<line num="74" count="
|
|
3810
|
-
<line num="75" count="
|
|
3811
|
-
<line num="76" count="
|
|
3783
|
+
<line num="71" count="220" type="stmt"/>
|
|
3784
|
+
<line num="72" count="220" type="stmt"/>
|
|
3785
|
+
<line num="74" count="220" type="stmt"/>
|
|
3786
|
+
<line num="75" count="220" type="cond" truecount="2" falsecount="0"/>
|
|
3787
|
+
<line num="76" count="220" type="cond" truecount="1" falsecount="1"/>
|
|
3812
3788
|
<line num="77" count="0" type="stmt"/>
|
|
3813
|
-
<line num="80" count="
|
|
3814
|
-
<line num="81" count="
|
|
3815
|
-
<line num="83" count="
|
|
3816
|
-
<line num="84" count="
|
|
3789
|
+
<line num="80" count="220" type="cond" truecount="2" falsecount="0"/>
|
|
3790
|
+
<line num="81" count="220" type="cond" truecount="2" falsecount="0"/>
|
|
3791
|
+
<line num="83" count="220" type="cond" truecount="4" falsecount="0"/>
|
|
3792
|
+
<line num="84" count="219" type="stmt"/>
|
|
3817
3793
|
<line num="87" count="1" type="stmt"/>
|
|
3818
3794
|
<line num="89" count="1" type="stmt"/>
|
|
3819
3795
|
</file>
|
|
@@ -3831,59 +3807,59 @@
|
|
|
3831
3807
|
<line num="15" count="33" type="stmt"/>
|
|
3832
3808
|
<line num="16" count="33" type="stmt"/>
|
|
3833
3809
|
<line num="18" count="33" type="stmt"/>
|
|
3834
|
-
<line num="20" count="
|
|
3835
|
-
<line num="22" count="
|
|
3836
|
-
<line num="23" count="
|
|
3837
|
-
<line num="24" count="
|
|
3810
|
+
<line num="20" count="244" type="stmt"/>
|
|
3811
|
+
<line num="22" count="244" type="stmt"/>
|
|
3812
|
+
<line num="23" count="244" type="stmt"/>
|
|
3813
|
+
<line num="24" count="244" type="stmt"/>
|
|
3838
3814
|
<line num="26" count="0" type="stmt"/>
|
|
3839
|
-
<line num="28" count="
|
|
3815
|
+
<line num="28" count="244" type="cond" truecount="4" falsecount="0"/>
|
|
3840
3816
|
<line num="29" count="1" type="stmt"/>
|
|
3841
|
-
<line num="32" count="
|
|
3842
|
-
<line num="33" count="
|
|
3843
|
-
<line num="34" count="
|
|
3844
|
-
<line num="35" count="
|
|
3817
|
+
<line num="32" count="243" type="cond" truecount="2" falsecount="0"/>
|
|
3818
|
+
<line num="33" count="237" type="stmt"/>
|
|
3819
|
+
<line num="34" count="237" type="stmt"/>
|
|
3820
|
+
<line num="35" count="237" type="cond" truecount="1" falsecount="1"/>
|
|
3845
3821
|
<line num="36" count="0" type="stmt"/>
|
|
3846
3822
|
<line num="37" count="0" type="stmt"/>
|
|
3847
|
-
<line num="40" count="
|
|
3848
|
-
<line num="44" count="
|
|
3823
|
+
<line num="40" count="237" type="cond" truecount="1" falsecount="1"/>
|
|
3824
|
+
<line num="44" count="243" type="cond" truecount="2" falsecount="0"/>
|
|
3849
3825
|
<line num="45" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
3850
3826
|
<line num="50" count="2" type="stmt"/>
|
|
3851
3827
|
<line num="51" count="2" type="stmt"/>
|
|
3852
|
-
<line num="56" count="
|
|
3853
|
-
<line num="57" count="
|
|
3828
|
+
<line num="56" count="241" type="stmt"/>
|
|
3829
|
+
<line num="57" count="241" type="cond" truecount="2" falsecount="0"/>
|
|
3854
3830
|
<line num="59" count="5" type="stmt"/>
|
|
3855
|
-
<line num="60" count="
|
|
3856
|
-
<line num="62" count="
|
|
3857
|
-
<line num="63" count="
|
|
3858
|
-
<line num="65" count="
|
|
3859
|
-
<line num="69" count="
|
|
3860
|
-
<line num="70" count="
|
|
3861
|
-
<line num="71" count="
|
|
3862
|
-
<line num="72" count="
|
|
3831
|
+
<line num="60" count="236" type="cond" truecount="1" falsecount="1"/>
|
|
3832
|
+
<line num="62" count="236" type="stmt"/>
|
|
3833
|
+
<line num="63" count="236" type="stmt"/>
|
|
3834
|
+
<line num="65" count="236" type="cond" truecount="2" falsecount="0"/>
|
|
3835
|
+
<line num="69" count="236" type="cond" truecount="3" falsecount="0"/>
|
|
3836
|
+
<line num="70" count="236" type="cond" truecount="2" falsecount="0"/>
|
|
3837
|
+
<line num="71" count="236" type="cond" truecount="2" falsecount="0"/>
|
|
3838
|
+
<line num="72" count="236" type="cond" truecount="4" falsecount="1"/>
|
|
3863
3839
|
<line num="74" count="0" type="stmt"/>
|
|
3864
3840
|
<line num="75" count="0" type="stmt"/>
|
|
3865
3841
|
<line num="76" count="0" type="stmt"/>
|
|
3866
3842
|
<line num="79" count="0" type="stmt"/>
|
|
3867
3843
|
<line num="80" count="0" type="stmt"/>
|
|
3868
|
-
<line num="88" count="
|
|
3844
|
+
<line num="88" count="241" type="cond" truecount="1" falsecount="1"/>
|
|
3869
3845
|
<line num="89" count="0" type="stmt"/>
|
|
3870
|
-
<line num="92" count="
|
|
3871
|
-
<line num="93" count="
|
|
3872
|
-
<line num="96" count="
|
|
3846
|
+
<line num="92" count="241" type="stmt"/>
|
|
3847
|
+
<line num="93" count="241" type="stmt"/>
|
|
3848
|
+
<line num="96" count="241" type="cond" truecount="1" falsecount="1"/>
|
|
3873
3849
|
<line num="103" count="0" type="stmt"/>
|
|
3874
3850
|
<line num="104" count="0" type="stmt"/>
|
|
3875
3851
|
<line num="105" count="0" type="stmt"/>
|
|
3876
3852
|
<line num="106" count="0" type="stmt"/>
|
|
3877
3853
|
<line num="107" count="0" type="stmt"/>
|
|
3878
3854
|
<line num="108" count="0" type="stmt"/>
|
|
3879
|
-
<line num="111" count="
|
|
3880
|
-
<line num="112" count="
|
|
3881
|
-
<line num="113" count="
|
|
3882
|
-
<line num="114" count="
|
|
3883
|
-
<line num="115" count="
|
|
3884
|
-
<line num="124" count="
|
|
3855
|
+
<line num="111" count="241" type="stmt"/>
|
|
3856
|
+
<line num="112" count="241" type="cond" truecount="1" falsecount="1"/>
|
|
3857
|
+
<line num="113" count="241" type="stmt"/>
|
|
3858
|
+
<line num="114" count="241" type="cond" truecount="2" falsecount="0"/>
|
|
3859
|
+
<line num="115" count="241" type="stmt"/>
|
|
3860
|
+
<line num="124" count="241" type="cond" truecount="2" falsecount="0"/>
|
|
3885
3861
|
<line num="130" count="10" type="stmt"/>
|
|
3886
|
-
<line num="133" count="
|
|
3862
|
+
<line num="133" count="241" type="stmt"/>
|
|
3887
3863
|
</file>
|
|
3888
3864
|
<file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
|
|
3889
3865
|
<metrics statements="20" coveredstatements="0" conditionals="10" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
@@ -3935,14 +3911,14 @@
|
|
|
3935
3911
|
<line num="21" count="958" type="stmt"/>
|
|
3936
3912
|
<line num="22" count="958" type="stmt"/>
|
|
3937
3913
|
<line num="23" count="958" type="stmt"/>
|
|
3938
|
-
<line num="24" count="
|
|
3939
|
-
<line num="25" count="
|
|
3914
|
+
<line num="24" count="103" type="cond" truecount="2" falsecount="0"/>
|
|
3915
|
+
<line num="25" count="103" type="cond" truecount="2" falsecount="0"/>
|
|
3940
3916
|
<line num="26" count="1" type="stmt"/>
|
|
3941
|
-
<line num="28" count="
|
|
3942
|
-
<line num="29" count="
|
|
3943
|
-
<line num="31" count="
|
|
3917
|
+
<line num="28" count="102" type="cond" truecount="4" falsecount="0"/>
|
|
3918
|
+
<line num="29" count="90" type="stmt"/>
|
|
3919
|
+
<line num="31" count="102" type="cond" truecount="4" falsecount="0"/>
|
|
3944
3920
|
<line num="32" count="15" type="stmt"/>
|
|
3945
|
-
<line num="34" count="
|
|
3921
|
+
<line num="34" count="102" type="stmt"/>
|
|
3946
3922
|
<line num="39" count="29" type="stmt"/>
|
|
3947
3923
|
<line num="41" count="29" type="stmt"/>
|
|
3948
3924
|
<line num="42" count="758" type="stmt"/>
|
|
@@ -3966,22 +3942,22 @@
|
|
|
3966
3942
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3967
3943
|
<line num="1" count="34" type="stmt"/>
|
|
3968
3944
|
<line num="5" count="34" type="stmt"/>
|
|
3969
|
-
<line num="6" count="
|
|
3945
|
+
<line num="6" count="229" type="stmt"/>
|
|
3970
3946
|
</file>
|
|
3971
3947
|
</package>
|
|
3972
3948
|
<package name="utilities">
|
|
3973
|
-
<metrics statements="
|
|
3949
|
+
<metrics statements="355" coveredstatements="258" conditionals="152" coveredconditionals="92" methods="69" coveredmethods="49"/>
|
|
3974
3950
|
<file name="budibaseDir.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/budibaseDir.js">
|
|
3975
3951
|
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3976
|
-
<line num="1" count="
|
|
3977
|
-
<line num="3" count="
|
|
3952
|
+
<line num="1" count="46" type="stmt"/>
|
|
3953
|
+
<line num="3" count="46" type="stmt"/>
|
|
3978
3954
|
</file>
|
|
3979
3955
|
<file name="centralPath.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/centralPath.js">
|
|
3980
3956
|
<metrics statements="5" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="1"/>
|
|
3981
|
-
<line num="1" count="
|
|
3982
|
-
<line num="11" count="
|
|
3957
|
+
<line num="1" count="46" type="stmt"/>
|
|
3958
|
+
<line num="11" count="46" type="stmt"/>
|
|
3983
3959
|
<line num="12" count="0" type="stmt"/>
|
|
3984
|
-
<line num="20" count="
|
|
3960
|
+
<line num="20" count="46" type="stmt"/>
|
|
3985
3961
|
<line num="21" count="1" type="stmt"/>
|
|
3986
3962
|
</file>
|
|
3987
3963
|
<file name="csvParser.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/csvParser.js">
|
|
@@ -4071,35 +4047,35 @@
|
|
|
4071
4047
|
<line num="14" count="51" type="stmt"/>
|
|
4072
4048
|
<line num="15" count="51" type="stmt"/>
|
|
4073
4049
|
<line num="17" count="51" type="cond" truecount="1" falsecount="0"/>
|
|
4074
|
-
<line num="18" count="
|
|
4075
|
-
<line num="20" count="
|
|
4050
|
+
<line num="18" count="245" type="cond" truecount="2" falsecount="0"/>
|
|
4051
|
+
<line num="20" count="245" type="cond" truecount="4" falsecount="0"/>
|
|
4076
4052
|
<line num="21" count="3" type="stmt"/>
|
|
4077
|
-
<line num="24" count="
|
|
4053
|
+
<line num="24" count="242" type="cond" truecount="2" falsecount="2"/>
|
|
4078
4054
|
<line num="25" count="0" type="stmt"/>
|
|
4079
4055
|
<line num="26" count="0" type="stmt"/>
|
|
4080
4056
|
<line num="27" count="0" type="stmt"/>
|
|
4081
4057
|
<line num="28" count="0" type="stmt"/>
|
|
4082
|
-
<line num="31" count="
|
|
4083
|
-
<line num="33" count="
|
|
4084
|
-
<line num="34" count="
|
|
4058
|
+
<line num="31" count="242" type="stmt"/>
|
|
4059
|
+
<line num="33" count="242" type="cond" truecount="5" falsecount="0"/>
|
|
4060
|
+
<line num="34" count="210" type="stmt"/>
|
|
4085
4061
|
<line num="35" count="32" type="cond" truecount="4" falsecount="0"/>
|
|
4086
4062
|
<line num="36" count="27" type="stmt"/>
|
|
4087
4063
|
<line num="37" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4088
4064
|
<line num="38" count="0" type="stmt"/>
|
|
4089
|
-
<line num="41" count="
|
|
4090
|
-
<line num="42" count="
|
|
4065
|
+
<line num="41" count="242" type="stmt"/>
|
|
4066
|
+
<line num="42" count="242" type="stmt"/>
|
|
4091
4067
|
<line num="46" count="0" type="stmt"/>
|
|
4092
4068
|
<line num="47" count="0" type="stmt"/>
|
|
4093
4069
|
<line num="49" count="0" type="stmt"/>
|
|
4094
|
-
<line num="53" count="
|
|
4095
|
-
<line num="54" count="
|
|
4096
|
-
<line num="56" count="
|
|
4097
|
-
<line num="57" count="
|
|
4070
|
+
<line num="53" count="238" type="cond" truecount="1" falsecount="1"/>
|
|
4071
|
+
<line num="54" count="238" type="stmt"/>
|
|
4072
|
+
<line num="56" count="238" type="stmt"/>
|
|
4073
|
+
<line num="57" count="238" type="cond" truecount="3" falsecount="1"/>
|
|
4098
4074
|
<line num="58" count="0" type="stmt"/>
|
|
4099
|
-
<line num="61" count="
|
|
4075
|
+
<line num="61" count="238" type="stmt"/>
|
|
4100
4076
|
<line num="64" count="51" type="stmt"/>
|
|
4101
|
-
<line num="67" count="
|
|
4102
|
-
<line num="68" count="
|
|
4077
|
+
<line num="67" count="236" type="stmt"/>
|
|
4078
|
+
<line num="68" count="236" type="stmt"/>
|
|
4103
4079
|
<line num="71" count="51" type="stmt"/>
|
|
4104
4080
|
<line num="72" count="2" type="stmt"/>
|
|
4105
4081
|
<line num="73" count="2" type="stmt"/>
|
|
@@ -4131,38 +4107,38 @@
|
|
|
4131
4107
|
<line num="119" count="0" type="stmt"/>
|
|
4132
4108
|
</file>
|
|
4133
4109
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/index.js">
|
|
4134
|
-
<metrics statements="
|
|
4135
|
-
<line num="1" count="
|
|
4136
|
-
<line num="2" count="
|
|
4137
|
-
<line num="3" count="
|
|
4138
|
-
<line num="4" count="
|
|
4139
|
-
<line num="5" count="
|
|
4140
|
-
<line num="6" count="
|
|
4141
|
-
<line num="8" count="
|
|
4142
|
-
<line num="10" count="
|
|
4143
|
-
<line num="12" count="
|
|
4144
|
-
<line num="14" count="
|
|
4145
|
-
<line num="16" count="
|
|
4110
|
+
<metrics statements="80" coveredstatements="65" conditionals="32" coveredconditionals="17" methods="17" coveredmethods="16"/>
|
|
4111
|
+
<line num="1" count="49" type="stmt"/>
|
|
4112
|
+
<line num="2" count="49" type="stmt"/>
|
|
4113
|
+
<line num="3" count="49" type="stmt"/>
|
|
4114
|
+
<line num="4" count="49" type="stmt"/>
|
|
4115
|
+
<line num="5" count="49" type="stmt"/>
|
|
4116
|
+
<line num="6" count="49" type="stmt"/>
|
|
4117
|
+
<line num="8" count="49" type="stmt"/>
|
|
4118
|
+
<line num="10" count="49" type="stmt"/>
|
|
4119
|
+
<line num="12" count="49" type="stmt"/>
|
|
4120
|
+
<line num="14" count="49" type="stmt"/>
|
|
4121
|
+
<line num="16" count="49" type="stmt"/>
|
|
4146
4122
|
<line num="17" count="1" type="stmt"/>
|
|
4147
4123
|
<line num="18" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
4148
4124
|
<line num="19" count="1" type="stmt"/>
|
|
4149
4125
|
<line num="21" count="1" type="stmt"/>
|
|
4150
|
-
<line num="30" count="
|
|
4126
|
+
<line num="30" count="49" type="stmt"/>
|
|
4151
4127
|
<line num="31" count="45" type="stmt"/>
|
|
4152
|
-
<line num="38" count="
|
|
4128
|
+
<line num="38" count="49" type="stmt"/>
|
|
4153
4129
|
<line num="39" count="2" type="cond" truecount="2" falsecount="2"/>
|
|
4154
4130
|
<line num="41" count="2" type="stmt"/>
|
|
4155
4131
|
<line num="43" count="0" type="stmt"/>
|
|
4156
|
-
<line num="57" count="
|
|
4132
|
+
<line num="57" count="49" type="stmt"/>
|
|
4157
4133
|
<line num="58" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
4158
4134
|
<line num="59" count="0" type="stmt"/>
|
|
4159
4135
|
<line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4160
4136
|
<line num="65" count="0" type="stmt"/>
|
|
4161
4137
|
<line num="67" count="0" type="stmt"/>
|
|
4162
4138
|
<line num="69" count="6" type="stmt"/>
|
|
4163
|
-
<line num="73" count="
|
|
4139
|
+
<line num="73" count="49" type="stmt"/>
|
|
4164
4140
|
<line num="74" count="2" type="stmt"/>
|
|
4165
|
-
<line num="79" count="
|
|
4141
|
+
<line num="79" count="49" type="stmt"/>
|
|
4166
4142
|
<line num="80" count="3" type="stmt"/>
|
|
4167
4143
|
<line num="81" count="3" type="stmt"/>
|
|
4168
4144
|
<line num="84" count="3" type="stmt"/>
|
|
@@ -4177,10 +4153,10 @@
|
|
|
4177
4153
|
<line num="95" count="0" type="stmt"/>
|
|
4178
4154
|
<line num="97" count="3" type="stmt"/>
|
|
4179
4155
|
<line num="98" count="3" type="stmt"/>
|
|
4180
|
-
<line num="105" count="
|
|
4156
|
+
<line num="105" count="49" type="stmt"/>
|
|
4181
4157
|
<line num="106" count="1" type="stmt"/>
|
|
4182
4158
|
<line num="107" count="1" type="stmt"/>
|
|
4183
|
-
<line num="111" count="
|
|
4159
|
+
<line num="111" count="49" type="stmt"/>
|
|
4184
4160
|
<line num="112" count="4" type="stmt"/>
|
|
4185
4161
|
<line num="113" count="4" type="stmt"/>
|
|
4186
4162
|
<line num="115" count="4" type="stmt"/>
|
|
@@ -4189,25 +4165,29 @@
|
|
|
4189
4165
|
<line num="118" count="0" type="stmt"/>
|
|
4190
4166
|
<line num="123" count="4" type="cond" truecount="3" falsecount="1"/>
|
|
4191
4167
|
<line num="124" count="0" type="stmt"/>
|
|
4192
|
-
<line num="128" count="
|
|
4168
|
+
<line num="128" count="49" type="stmt"/>
|
|
4193
4169
|
<line num="129" count="0" type="stmt"/>
|
|
4194
|
-
<line num="138" count="
|
|
4170
|
+
<line num="138" count="49" type="stmt"/>
|
|
4195
4171
|
<line num="139" count="1" type="stmt"/>
|
|
4196
4172
|
<line num="141" count="1" type="stmt"/>
|
|
4197
4173
|
<line num="142" count="1" type="stmt"/>
|
|
4198
|
-
<line num="147" count="
|
|
4199
|
-
<line num="148" count="
|
|
4200
|
-
<line num="149" count="
|
|
4201
|
-
<line num="150" count="
|
|
4202
|
-
<line num="151" count="
|
|
4203
|
-
<line num="152" count="
|
|
4174
|
+
<line num="147" count="49" type="stmt"/>
|
|
4175
|
+
<line num="148" count="38" type="stmt"/>
|
|
4176
|
+
<line num="149" count="38" type="stmt"/>
|
|
4177
|
+
<line num="150" count="38" type="stmt"/>
|
|
4178
|
+
<line num="151" count="38" type="cond" truecount="2" falsecount="0"/>
|
|
4179
|
+
<line num="152" count="38" type="cond" truecount="1" falsecount="1"/>
|
|
4204
4180
|
<line num="153" count="0" type="stmt"/>
|
|
4205
|
-
<line num="155" count="
|
|
4206
|
-
<line num="158" count="
|
|
4181
|
+
<line num="155" count="38" type="cond" truecount="3" falsecount="1"/>
|
|
4182
|
+
<line num="158" count="49" type="stmt"/>
|
|
4207
4183
|
<line num="159" count="1" type="stmt"/>
|
|
4208
4184
|
<line num="160" count="1" type="cond" truecount="2" falsecount="2"/>
|
|
4209
4185
|
<line num="161" count="0" type="stmt"/>
|
|
4210
4186
|
<line num="163" count="1" type="stmt"/>
|
|
4187
|
+
<line num="166" count="49" type="stmt"/>
|
|
4188
|
+
<line num="167" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
4189
|
+
<line num="168" count="0" type="stmt"/>
|
|
4190
|
+
<line num="170" count="1" type="stmt"/>
|
|
4211
4191
|
</file>
|
|
4212
4192
|
<file name="scriptRunner.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/scriptRunner.js">
|
|
4213
4193
|
<metrics statements="13" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
@@ -4233,7 +4213,7 @@
|
|
|
4233
4213
|
<line num="13" count="44" type="stmt"/>
|
|
4234
4214
|
<line num="19" count="44" type="stmt"/>
|
|
4235
4215
|
<line num="20" count="4" type="stmt"/>
|
|
4236
|
-
<line num="21" count="
|
|
4216
|
+
<line num="21" count="120" type="stmt"/>
|
|
4237
4217
|
<line num="23" count="4" type="cond" truecount="2" falsecount="5"/>
|
|
4238
4218
|
<line num="26" count="4" type="stmt"/>
|
|
4239
4219
|
<line num="28" count="0" type="stmt"/>
|
|
@@ -4376,7 +4356,7 @@
|
|
|
4376
4356
|
<line num="75" count="8" type="stmt"/>
|
|
4377
4357
|
<line num="82" count="0" type="stmt"/>
|
|
4378
4358
|
<line num="91" count="0" type="stmt"/>
|
|
4379
|
-
<line num="98" count="
|
|
4359
|
+
<line num="98" count="255" type="stmt"/>
|
|
4380
4360
|
<line num="110" count="0" type="stmt"/>
|
|
4381
4361
|
<line num="114" count="0" type="stmt"/>
|
|
4382
4362
|
<line num="122" count="45" type="stmt"/>
|
|
@@ -4398,7 +4378,7 @@
|
|
|
4398
4378
|
</file>
|
|
4399
4379
|
</package>
|
|
4400
4380
|
<package name="utilities.rowProcessor">
|
|
4401
|
-
<metrics statements="173" coveredstatements="100" conditionals="
|
|
4381
|
+
<metrics statements="173" coveredstatements="100" conditionals="145" coveredconditionals="65" methods="23" coveredmethods="12"/>
|
|
4402
4382
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/index.js">
|
|
4403
4383
|
<metrics statements="130" coveredstatements="79" conditionals="101" coveredconditionals="47" methods="20" coveredmethods="10"/>
|
|
4404
4384
|
<line num="1" count="45" type="stmt"/>
|
|
@@ -4533,7 +4513,7 @@
|
|
|
4533
4513
|
<line num="340" count="0" type="stmt"/>
|
|
4534
4514
|
</file>
|
|
4535
4515
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/utils.js">
|
|
4536
|
-
<metrics statements="43" coveredstatements="21" conditionals="
|
|
4516
|
+
<metrics statements="43" coveredstatements="21" conditionals="44" coveredconditionals="18" methods="3" coveredmethods="2"/>
|
|
4537
4517
|
<line num="6" count="45" type="stmt"/>
|
|
4538
4518
|
<line num="7" count="45" type="stmt"/>
|
|
4539
4519
|
<line num="13" count="45" type="stmt"/>
|
|
@@ -4570,7 +4550,7 @@
|
|
|
4570
4550
|
<line num="75" count="0" type="stmt"/>
|
|
4571
4551
|
<line num="76" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4572
4552
|
<line num="77" count="0" type="stmt"/>
|
|
4573
|
-
<line num="79" count="0" type="cond" truecount="0" falsecount="
|
|
4553
|
+
<line num="79" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
4574
4554
|
<line num="80" count="0" type="stmt"/>
|
|
4575
4555
|
<line num="84" count="0" type="stmt"/>
|
|
4576
4556
|
<line num="85" count="0" type="stmt"/>
|
|
@@ -4616,8 +4596,8 @@
|
|
|
4616
4596
|
<line num="64" count="30" type="stmt"/>
|
|
4617
4597
|
<line num="65" count="30" type="stmt"/>
|
|
4618
4598
|
<line num="67" count="0" type="stmt"/>
|
|
4619
|
-
<line num="
|
|
4620
|
-
<line num="
|
|
4599
|
+
<line num="76" count="28" type="stmt"/>
|
|
4600
|
+
<line num="79" count="27" type="stmt"/>
|
|
4621
4601
|
</file>
|
|
4622
4602
|
<file name="usageQuoteReset.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/usageQuota/usageQuoteReset.js">
|
|
4623
4603
|
<metrics statements="5" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
|