@budibase/server 2.0.24-alpha.3 → 2.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/builder/assets/{index.63b3967c.js → index.4e6ff4b7.js} +294 -294
- package/builder/assets/{index.e56da48a.css → index.dfa4073c.css} +2 -2
- package/builder/index.html +2 -2
- package/coverage/clover.xml +349 -357
- package/coverage/coverage-final.json +25 -25
- package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/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 +1 -1
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +15 -15
- package/coverage/lcov-report/api/controllers/integration.js.html +8 -32
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query/index.html +1 -1
- package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internal.js.html +12 -12
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +15 -15
- package/coverage/lcov-report/api/controllers/row/utils.js.html +13 -13
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +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 +5 -5
- package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
- package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/routes/automation.js.html +1 -1
- package/coverage/lcov-report/api/routes/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 +1 -1
- package/coverage/lcov-report/automations/index.js.html +5 -5
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +1 -1
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
- package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +3 -3
- package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/triggers.js.html +22 -22
- 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 +1 -1
- package/coverage/lcov-report/db/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +11 -11
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +11 -11
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +3 -3
- package/coverage/lcov-report/db/newid.js.html +2 -2
- package/coverage/lcov-report/db/utils.js.html +16 -10
- package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
- package/coverage/lcov-report/events/index.html +1 -1
- package/coverage/lcov-report/events/index.js.html +2 -2
- package/coverage/lcov-report/events/utils.js.html +9 -9
- package/coverage/lcov-report/index.html +22 -22
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
- package/coverage/lcov-report/middleware/builder.js.html +11 -11
- package/coverage/lcov-report/middleware/currentapp.js.html +34 -34
- package/coverage/lcov-report/middleware/index.html +1 -1
- package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
- package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
- package/coverage/lcov-report/middleware/resourceId.js.html +7 -7
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/utils.js.html +2 -2
- package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
- package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
- package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
- package/coverage/lcov-report/utilities/global.js.html +16 -16
- package/coverage/lcov-report/utilities/index.html +1 -1
- package/coverage/lcov-report/utilities/index.js.html +1 -1
- package/coverage/lcov-report/utilities/plugins.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +13 -13
- 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 +38 -38
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +10 -10
- package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
- package/coverage/lcov-report/utilities/security.js.html +1 -1
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/index.html +14 -14
- package/coverage/lcov-report/utilities/usageQuota/rows.js.html +11 -23
- 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 +625 -637
- package/dist/api/controllers/application.js +2 -2
- package/dist/api/controllers/integration.js +0 -7
- package/dist/api/controllers/query/index.js +2 -6
- package/dist/api/controllers/row/index.js +10 -30
- package/dist/api/controllers/static/templates/preview.hbs +0 -10
- package/dist/api/controllers/table/internal.js +1 -3
- package/dist/api/controllers/table/utils.js +1 -3
- package/dist/automations/steps/updateRow.js +2 -2
- package/dist/automations/utils.js +3 -5
- package/dist/db/utils.js +1 -1
- package/dist/integrations/index.js +1 -3
- package/dist/migrations/functions/{usageQuotas/syncPlugins.js → pluginCount.js} +3 -1
- package/dist/migrations/functions/{syncQuotas.js → quotas1.js} +7 -3
- package/dist/migrations/functions/usageQuotas/syncApps.js +1 -0
- package/dist/migrations/functions/usageQuotas/syncRows.js +5 -9
- package/dist/migrations/index.js +9 -3
- package/dist/package.json +7 -7
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utilities/usageQuota/rows.js +4 -6
- package/package.json +8 -8
- package/src/api/controllers/application.ts +2 -2
- package/src/api/controllers/integration.js +0 -8
- package/src/api/controllers/query/index.ts +2 -7
- package/src/api/controllers/row/index.ts +13 -36
- package/src/api/controllers/static/templates/preview.hbs +0 -10
- package/src/api/controllers/table/internal.ts +1 -3
- package/src/api/controllers/table/utils.ts +1 -3
- package/src/api/routes/tests/row.spec.js +27 -22
- package/src/automations/steps/updateRow.js +2 -2
- package/src/automations/tests/automation.spec.js +6 -1
- package/src/automations/utils.ts +4 -6
- package/src/db/utils.js +2 -0
- package/src/integrations/index.ts +1 -4
- package/src/migrations/functions/backfill/global.ts +1 -1
- package/src/migrations/functions/pluginCount.ts +12 -0
- package/src/migrations/functions/{syncQuotas.ts → quotas1.ts} +8 -3
- package/src/migrations/functions/tests/{syncQuotas.spec.js → quotas1.spec.js} +2 -5
- package/src/migrations/functions/usageQuotas/syncApps.ts +1 -0
- package/src/migrations/functions/usageQuotas/syncRows.ts +6 -15
- package/src/migrations/functions/usageQuotas/tests/syncRows.spec.ts +1 -9
- package/src/migrations/index.ts +15 -3
- package/src/migrations/tests/index.spec.ts +1 -0
- package/src/utilities/usageQuota/rows.js +3 -7
- package/src/migrations/functions/usageQuotas/syncPlugins.ts +0 -10
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="1665396742185" clover="3.2.0">
|
|
3
|
+
<project timestamp="1665396742185" name="All files">
|
|
4
|
+
<metrics statements="4120" coveredstatements="2996" conditionals="1770" coveredconditionals="972" methods="614" coveredmethods="430" elements="6504" coveredelements="4398" complexity="0" loc="4120" ncloc="4120" packages="22" files="123" classes="123"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="35" coveredstatements="34" conditionals="5" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
<line num="19" count="28" type="stmt"/>
|
|
22
22
|
<line num="20" count="28" type="stmt"/>
|
|
23
23
|
<line num="22" count="28" type="stmt"/>
|
|
24
|
-
<line num="36" count="
|
|
25
|
-
<line num="40" count="
|
|
24
|
+
<line num="36" count="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="
|
|
27
|
+
<line num="63" count="235" type="stmt"/>
|
|
28
|
+
<line num="64" count="235" type="stmt"/>
|
|
29
29
|
<line num="66" count="37" type="cond" truecount="1" falsecount="2"/>
|
|
30
30
|
<line num="67" count="37" type="stmt"/>
|
|
31
31
|
<line num="68" count="37" type="stmt"/>
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
</file>
|
|
45
45
|
</package>
|
|
46
46
|
<package name="api.controllers">
|
|
47
|
-
<metrics statements="
|
|
47
|
+
<metrics statements="897" coveredstatements="627" conditionals="276" coveredconditionals="124" methods="134" coveredmethods="87"/>
|
|
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"/>
|
|
@@ -502,21 +502,16 @@
|
|
|
502
502
|
<line num="134" count="1" type="stmt"/>
|
|
503
503
|
</file>
|
|
504
504
|
<file name="integration.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/integration.js">
|
|
505
|
-
<metrics statements="
|
|
505
|
+
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
506
506
|
<line num="1" count="28" type="stmt"/>
|
|
507
|
-
<line num="2" count="28" type="stmt"/>
|
|
508
507
|
<line num="3" count="28" type="stmt"/>
|
|
509
|
-
<line num="4" count="
|
|
510
|
-
<line num="
|
|
508
|
+
<line num="4" count="1" type="stmt"/>
|
|
509
|
+
<line num="5" count="1" type="stmt"/>
|
|
511
510
|
<line num="7" count="1" type="stmt"/>
|
|
512
|
-
<line num="
|
|
513
|
-
<line num="11" count="1" type="
|
|
514
|
-
<line num="12" count="
|
|
515
|
-
<line num="
|
|
516
|
-
<line num="18" count="28" type="stmt"/>
|
|
517
|
-
<line num="19" count="1" type="stmt"/>
|
|
518
|
-
<line num="20" count="1" type="stmt"/>
|
|
519
|
-
<line num="21" count="1" type="stmt"/>
|
|
511
|
+
<line num="10" count="28" type="stmt"/>
|
|
512
|
+
<line num="11" count="1" type="stmt"/>
|
|
513
|
+
<line num="12" count="1" type="stmt"/>
|
|
514
|
+
<line num="13" count="1" type="stmt"/>
|
|
520
515
|
</file>
|
|
521
516
|
<file name="layout.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/layout.js">
|
|
522
517
|
<metrics statements="28" coveredstatements="24" conditionals="6" coveredconditionals="4" methods="3" coveredmethods="2"/>
|
|
@@ -1208,18 +1203,18 @@
|
|
|
1208
1203
|
<line num="138" count="0" type="stmt"/>
|
|
1209
1204
|
<line num="141" count="5" type="stmt"/>
|
|
1210
1205
|
<line num="147" count="45" type="stmt"/>
|
|
1211
|
-
<line num="148" count="
|
|
1212
|
-
<line num="149" count="
|
|
1213
|
-
<line num="150" count="
|
|
1214
|
-
<line num="152" count="
|
|
1215
|
-
<line num="153" count="
|
|
1216
|
-
<line num="157" count="
|
|
1217
|
-
<line num="158" count="
|
|
1218
|
-
<line num="159" count="
|
|
1219
|
-
<line num="164" count="
|
|
1206
|
+
<line num="148" count="76" type="stmt"/>
|
|
1207
|
+
<line num="149" count="76" type="stmt"/>
|
|
1208
|
+
<line num="150" count="76" type="stmt"/>
|
|
1209
|
+
<line num="152" count="76" type="cond" truecount="3" falsecount="1"/>
|
|
1210
|
+
<line num="153" count="76" type="stmt"/>
|
|
1211
|
+
<line num="157" count="76" type="stmt"/>
|
|
1212
|
+
<line num="158" count="76" type="stmt"/>
|
|
1213
|
+
<line num="159" count="76" type="stmt"/>
|
|
1214
|
+
<line num="164" count="76" type="cond" truecount="1" falsecount="1"/>
|
|
1220
1215
|
<line num="165" count="0" type="stmt"/>
|
|
1221
|
-
<line num="169" count="
|
|
1222
|
-
<line num="176" count="
|
|
1216
|
+
<line num="169" count="76" type="stmt"/>
|
|
1217
|
+
<line num="176" count="75" type="stmt"/>
|
|
1223
1218
|
<line num="182" count="45" type="stmt"/>
|
|
1224
1219
|
<line num="183" count="9" type="stmt"/>
|
|
1225
1220
|
<line num="186" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -1583,9 +1578,9 @@
|
|
|
1583
1578
|
<line num="9" count="45" type="stmt"/>
|
|
1584
1579
|
<line num="10" count="45" type="stmt"/>
|
|
1585
1580
|
<line num="18" count="45" type="stmt"/>
|
|
1586
|
-
<line num="19" count="
|
|
1587
|
-
<line num="21" count="
|
|
1588
|
-
<line num="22" count="
|
|
1581
|
+
<line num="19" count="85" type="stmt"/>
|
|
1582
|
+
<line num="21" count="85" type="cond" truecount="1" falsecount="1"/>
|
|
1583
|
+
<line num="22" count="85" type="stmt"/>
|
|
1589
1584
|
<line num="24" count="0" type="stmt"/>
|
|
1590
1585
|
<line num="25" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1591
1586
|
<line num="29" count="0" type="stmt"/>
|
|
@@ -1620,11 +1615,11 @@
|
|
|
1620
1615
|
<line num="98" count="0" type="stmt"/>
|
|
1621
1616
|
<line num="102" count="0" type="stmt"/>
|
|
1622
1617
|
<line num="111" count="45" type="stmt"/>
|
|
1623
|
-
<line num="116" count="
|
|
1624
|
-
<line num="117" count="
|
|
1625
|
-
<line num="119" count="
|
|
1626
|
-
<line num="123" count="
|
|
1627
|
-
<line num="131" count="
|
|
1618
|
+
<line num="116" count="80" type="stmt"/>
|
|
1619
|
+
<line num="117" count="80" type="stmt"/>
|
|
1620
|
+
<line num="119" count="80" type="stmt"/>
|
|
1621
|
+
<line num="123" count="80" type="stmt"/>
|
|
1622
|
+
<line num="131" count="80" type="cond" truecount="3" falsecount="1"/>
|
|
1628
1623
|
<line num="132" count="0" type="stmt"/>
|
|
1629
1624
|
<line num="133" count="0" type="stmt"/>
|
|
1630
1625
|
<line num="135" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -1633,12 +1628,12 @@
|
|
|
1633
1628
|
<line num="140" count="0" type="stmt"/>
|
|
1634
1629
|
<line num="141" count="0" type="stmt"/>
|
|
1635
1630
|
<line num="143" count="0" type="stmt"/>
|
|
1636
|
-
<line num="147" count="
|
|
1637
|
-
<line num="149" count="
|
|
1638
|
-
<line num="150" count="
|
|
1639
|
-
<line num="152" count="
|
|
1640
|
-
<line num="153" count="
|
|
1641
|
-
<line num="155" count="
|
|
1631
|
+
<line num="147" count="80" type="stmt"/>
|
|
1632
|
+
<line num="149" count="80" type="stmt"/>
|
|
1633
|
+
<line num="150" count="80" type="stmt"/>
|
|
1634
|
+
<line num="152" count="80" type="cond" truecount="1" falsecount="1"/>
|
|
1635
|
+
<line num="153" count="80" type="stmt"/>
|
|
1636
|
+
<line num="155" count="80" type="stmt"/>
|
|
1642
1637
|
</file>
|
|
1643
1638
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/utils.js">
|
|
1644
1639
|
<metrics statements="55" coveredstatements="37" conditionals="34" coveredconditionals="13" methods="6" coveredmethods="4"/>
|
|
@@ -1670,18 +1665,18 @@
|
|
|
1670
1665
|
<line num="43" count="0" type="stmt"/>
|
|
1671
1666
|
<line num="45" count="23" type="stmt"/>
|
|
1672
1667
|
<line num="48" count="46" type="stmt"/>
|
|
1673
|
-
<line num="49" count="
|
|
1668
|
+
<line num="49" count="84" type="cond" truecount="2" falsecount="0"/>
|
|
1674
1669
|
<line num="50" count="2" type="stmt"/>
|
|
1675
1670
|
<line num="51" count="2" type="stmt"/>
|
|
1676
|
-
<line num="53" count="
|
|
1677
|
-
<line num="54" count="
|
|
1678
|
-
<line num="55" count="
|
|
1679
|
-
<line num="56" count="
|
|
1680
|
-
<line num="58" count="
|
|
1671
|
+
<line num="53" count="84" type="stmt"/>
|
|
1672
|
+
<line num="54" count="84" type="stmt"/>
|
|
1673
|
+
<line num="55" count="226" type="stmt"/>
|
|
1674
|
+
<line num="56" count="226" type="stmt"/>
|
|
1675
|
+
<line num="58" count="226" type="cond" truecount="1" falsecount="1"/>
|
|
1681
1676
|
<line num="59" count="0" type="stmt"/>
|
|
1682
|
-
<line num="62" count="
|
|
1677
|
+
<line num="62" count="226" type="cond" truecount="2" falsecount="2"/>
|
|
1683
1678
|
<line num="63" count="0" type="stmt"/>
|
|
1684
|
-
<line num="68" count="
|
|
1679
|
+
<line num="68" count="226" type="cond" truecount="2" falsecount="2"/>
|
|
1685
1680
|
<line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1686
1681
|
<line num="70" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1687
1682
|
<line num="71" count="0" type="stmt"/>
|
|
@@ -1690,13 +1685,13 @@
|
|
|
1690
1685
|
<line num="78" count="0" type="stmt"/>
|
|
1691
1686
|
<line num="81" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1692
1687
|
<line num="83" count="0" type="stmt"/>
|
|
1693
|
-
<line num="85" count="
|
|
1688
|
+
<line num="85" count="226" type="cond" truecount="2" falsecount="2"/>
|
|
1694
1689
|
<line num="87" count="0" type="stmt"/>
|
|
1695
1690
|
<line num="88" count="0" type="stmt"/>
|
|
1696
1691
|
<line num="90" count="0" type="stmt"/>
|
|
1697
|
-
<line num="93" count="
|
|
1698
|
-
<line num="95" count="
|
|
1699
|
-
<line num="97" count="
|
|
1692
|
+
<line num="93" count="226" type="stmt"/>
|
|
1693
|
+
<line num="95" count="226" type="cond" truecount="2" falsecount="0"/>
|
|
1694
|
+
<line num="97" count="84" type="stmt"/>
|
|
1700
1695
|
</file>
|
|
1701
1696
|
</package>
|
|
1702
1697
|
<package name="api.controllers.table">
|
|
@@ -2684,10 +2679,10 @@
|
|
|
2684
2679
|
<line num="3" count="44" type="stmt"/>
|
|
2685
2680
|
<line num="4" count="44" type="stmt"/>
|
|
2686
2681
|
<line num="9" count="44" type="stmt"/>
|
|
2687
|
-
<line num="11" count="
|
|
2688
|
-
<line num="12" count="
|
|
2689
|
-
<line num="15" count="
|
|
2690
|
-
<line num="16" count="
|
|
2682
|
+
<line num="11" count="32" type="stmt"/>
|
|
2683
|
+
<line num="12" count="8" type="stmt"/>
|
|
2684
|
+
<line num="15" count="32" type="stmt"/>
|
|
2685
|
+
<line num="16" count="32" type="stmt"/>
|
|
2691
2686
|
<line num="19" count="44" type="stmt"/>
|
|
2692
2687
|
<line num="20" count="0" type="stmt"/>
|
|
2693
2688
|
<line num="23" count="44" type="stmt"/>
|
|
@@ -2711,17 +2706,17 @@
|
|
|
2711
2706
|
<line num="12" count="45" type="stmt"/>
|
|
2712
2707
|
<line num="14" count="45" type="stmt"/>
|
|
2713
2708
|
<line num="15" count="45" type="stmt"/>
|
|
2714
|
-
<line num="21" count="
|
|
2715
|
-
<line num="22" count="
|
|
2716
|
-
<line num="25" count="
|
|
2717
|
-
<line num="29" count="
|
|
2709
|
+
<line num="21" count="23" type="stmt"/>
|
|
2710
|
+
<line num="22" count="23" type="stmt"/>
|
|
2711
|
+
<line num="25" count="23" type="stmt"/>
|
|
2712
|
+
<line num="29" count="17" type="cond" truecount="1" falsecount="1"/>
|
|
2718
2713
|
<line num="30" count="0" type="stmt"/>
|
|
2719
|
-
<line num="33" count="
|
|
2720
|
-
<line num="34" count="
|
|
2721
|
-
<line num="37" count="
|
|
2714
|
+
<line num="33" count="17" type="stmt"/>
|
|
2715
|
+
<line num="34" count="17" type="stmt"/>
|
|
2716
|
+
<line num="37" count="17" type="stmt"/>
|
|
2722
2717
|
<line num="38" count="4" type="stmt"/>
|
|
2723
2718
|
<line num="39" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
2724
|
-
<line num="42" count="
|
|
2719
|
+
<line num="42" count="17" type="stmt"/>
|
|
2725
2720
|
<line num="43" count="4" type="stmt"/>
|
|
2726
2721
|
<line num="44" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2727
2722
|
<line num="48" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
@@ -2729,35 +2724,35 @@
|
|
|
2729
2724
|
<line num="55" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2730
2725
|
<line num="59" count="4" type="stmt"/>
|
|
2731
2726
|
<line num="65" count="45" type="stmt"/>
|
|
2732
|
-
<line num="70" count="
|
|
2727
|
+
<line num="70" count="7" type="stmt"/>
|
|
2733
2728
|
<line num="73" count="45" type="stmt"/>
|
|
2734
2729
|
<line num="78" count="4" type="stmt"/>
|
|
2735
2730
|
<line num="81" count="45" type="stmt"/>
|
|
2736
2731
|
<line num="86" count="6" type="stmt"/>
|
|
2737
2732
|
<line num="89" count="45" type="stmt"/>
|
|
2738
|
-
<line num="94" count="
|
|
2733
|
+
<line num="94" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
2739
2734
|
<line num="102" count="1" type="stmt"/>
|
|
2740
2735
|
<line num="103" count="1" type="stmt"/>
|
|
2741
2736
|
<line num="104" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2742
2737
|
<line num="105" count="1" type="stmt"/>
|
|
2743
2738
|
<line num="107" count="1" type="stmt"/>
|
|
2744
|
-
<line num="109" count="
|
|
2745
|
-
<line num="110" count="
|
|
2739
|
+
<line num="109" count="6" type="stmt"/>
|
|
2740
|
+
<line num="110" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
2746
2741
|
<line num="111" count="2" type="stmt"/>
|
|
2747
|
-
<line num="113" count="
|
|
2742
|
+
<line num="113" count="4" type="stmt"/>
|
|
2748
2743
|
<line num="117" count="45" type="stmt"/>
|
|
2749
|
-
<line num="120" count="
|
|
2744
|
+
<line num="120" count="32" type="cond" truecount="3" falsecount="1"/>
|
|
2750
2745
|
<line num="121" count="0" type="stmt"/>
|
|
2751
|
-
<line num="125" count="
|
|
2752
|
-
<line num="126" count="
|
|
2753
|
-
<line num="127" count="
|
|
2754
|
-
<line num="128" count="
|
|
2755
|
-
<line num="129" count="
|
|
2756
|
-
<line num="130" count="
|
|
2746
|
+
<line num="125" count="32" type="stmt"/>
|
|
2747
|
+
<line num="126" count="32" type="stmt"/>
|
|
2748
|
+
<line num="127" count="6" type="stmt"/>
|
|
2749
|
+
<line num="128" count="6" type="stmt"/>
|
|
2750
|
+
<line num="129" count="6" type="stmt"/>
|
|
2751
|
+
<line num="130" count="6" type="stmt"/>
|
|
2757
2752
|
<line num="131" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2758
2753
|
<line num="132" count="0" type="stmt"/>
|
|
2759
2754
|
<line num="139" count="0" type="stmt"/>
|
|
2760
|
-
<line num="142" count="
|
|
2755
|
+
<line num="142" count="6" type="stmt"/>
|
|
2761
2756
|
<line num="147" count="45" type="stmt"/>
|
|
2762
2757
|
</file>
|
|
2763
2758
|
</package>
|
|
@@ -3178,7 +3173,7 @@
|
|
|
3178
3173
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3179
3174
|
<line num="1" count="59" type="stmt"/>
|
|
3180
3175
|
<line num="3" count="59" type="stmt"/>
|
|
3181
|
-
<line num="4" count="
|
|
3176
|
+
<line num="4" count="968" type="stmt"/>
|
|
3182
3177
|
</file>
|
|
3183
3178
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3184
3179
|
<metrics statements="111" coveredstatements="100" conditionals="49" coveredconditionals="18" methods="32" coveredmethods="25"/>
|
|
@@ -3187,12 +3182,10 @@
|
|
|
3187
3182
|
<line num="18" count="59" type="stmt"/>
|
|
3188
3183
|
<line num="20" count="59" type="stmt"/>
|
|
3189
3184
|
<line num="26" count="59" type="stmt"/>
|
|
3190
|
-
<line num="
|
|
3191
|
-
<line num="
|
|
3192
|
-
<line num="53" count="59" type="stmt"/>
|
|
3185
|
+
<line num="47" count="59" type="stmt"/>
|
|
3186
|
+
<line num="51" count="59" type="stmt"/>
|
|
3193
3187
|
<line num="55" count="59" type="stmt"/>
|
|
3194
|
-
<line num="
|
|
3195
|
-
<line num="64" count="59" type="stmt"/>
|
|
3188
|
+
<line num="57" count="59" type="stmt"/>
|
|
3196
3189
|
<line num="65" count="59" type="stmt"/>
|
|
3197
3190
|
<line num="66" count="59" type="stmt"/>
|
|
3198
3191
|
<line num="67" count="59" type="stmt"/>
|
|
@@ -3208,91 +3201,93 @@
|
|
|
3208
3201
|
<line num="77" count="59" type="stmt"/>
|
|
3209
3202
|
<line num="78" count="59" type="stmt"/>
|
|
3210
3203
|
<line num="79" count="59" type="stmt"/>
|
|
3204
|
+
<line num="80" count="59" type="stmt"/>
|
|
3211
3205
|
<line num="81" count="59" type="stmt"/>
|
|
3212
|
-
<line num="
|
|
3206
|
+
<line num="83" count="59" type="stmt"/>
|
|
3213
3207
|
<line num="84" count="59" type="stmt"/>
|
|
3214
|
-
<line num="
|
|
3215
|
-
<line num="
|
|
3216
|
-
<line num="102" count="
|
|
3217
|
-
<line num="
|
|
3218
|
-
<line num="
|
|
3219
|
-
<line num="
|
|
3220
|
-
<line num="
|
|
3221
|
-
<line num="
|
|
3222
|
-
<line num="
|
|
3223
|
-
<line num="
|
|
3224
|
-
<line num="
|
|
3225
|
-
<line num="
|
|
3226
|
-
<line num="141" count="14" type="
|
|
3227
|
-
<line num="
|
|
3228
|
-
<line num="
|
|
3229
|
-
<line num="
|
|
3230
|
-
<line num="
|
|
3231
|
-
<line num="
|
|
3232
|
-
<line num="
|
|
3233
|
-
<line num="
|
|
3234
|
-
<line num="
|
|
3235
|
-
<line num="
|
|
3236
|
-
<line num="
|
|
3237
|
-
<line num="
|
|
3238
|
-
<line num="
|
|
3239
|
-
<line num="
|
|
3240
|
-
<line num="
|
|
3241
|
-
<line num="191" count="
|
|
3242
|
-
<line num="
|
|
3243
|
-
<line num="
|
|
3244
|
-
<line num="
|
|
3245
|
-
<line num="
|
|
3246
|
-
<line num="
|
|
3247
|
-
<line num="
|
|
3248
|
-
<line num="229" count="9" type="stmt"/>
|
|
3208
|
+
<line num="86" count="59" type="stmt"/>
|
|
3209
|
+
<line num="101" count="879" type="cond" truecount="2" falsecount="0"/>
|
|
3210
|
+
<line num="102" count="862" type="stmt"/>
|
|
3211
|
+
<line num="104" count="879" type="stmt"/>
|
|
3212
|
+
<line num="111" count="59" type="stmt"/>
|
|
3213
|
+
<line num="116" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3214
|
+
<line num="117" count="271" type="stmt"/>
|
|
3215
|
+
<line num="124" count="59" type="stmt"/>
|
|
3216
|
+
<line num="125" count="130" type="stmt"/>
|
|
3217
|
+
<line num="136" count="59" type="cond" truecount="0" falsecount="3"/>
|
|
3218
|
+
<line num="137" count="44" type="cond" truecount="2" falsecount="0"/>
|
|
3219
|
+
<line num="138" count="30" type="stmt"/>
|
|
3220
|
+
<line num="141" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
3221
|
+
<line num="143" count="14" type="stmt"/>
|
|
3222
|
+
<line num="151" count="59" type="stmt"/>
|
|
3223
|
+
<line num="152" count="0" type="stmt"/>
|
|
3224
|
+
<line num="155" count="0" type="stmt"/>
|
|
3225
|
+
<line num="164" count="59" type="cond" truecount="1" falsecount="0"/>
|
|
3226
|
+
<line num="165" count="321" type="cond" truecount="2" falsecount="0"/>
|
|
3227
|
+
<line num="166" count="321" type="stmt"/>
|
|
3228
|
+
<line num="172" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3229
|
+
<line num="173" count="3" type="stmt"/>
|
|
3230
|
+
<line num="181" count="59" type="stmt"/>
|
|
3231
|
+
<line num="182" count="242" type="stmt"/>
|
|
3232
|
+
<line num="188" count="59" type="stmt"/>
|
|
3233
|
+
<line num="189" count="3" type="stmt"/>
|
|
3234
|
+
<line num="190" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
3235
|
+
<line num="191" count="1" type="stmt"/>
|
|
3236
|
+
<line num="193" count="2" type="stmt"/>
|
|
3237
|
+
<line num="199" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3238
|
+
<line num="200" count="279" type="stmt"/>
|
|
3239
|
+
<line num="207" count="59" type="stmt"/>
|
|
3240
|
+
<line num="208" count="27" type="stmt"/>
|
|
3241
|
+
<line num="222" count="59" type="stmt"/>
|
|
3249
3242
|
<line num="230" count="9" type="stmt"/>
|
|
3250
3243
|
<line num="231" count="9" type="stmt"/>
|
|
3251
|
-
<line num="
|
|
3252
|
-
<line num="
|
|
3253
|
-
<line num="
|
|
3254
|
-
<line num="
|
|
3255
|
-
<line num="
|
|
3256
|
-
<line num="
|
|
3257
|
-
<line num="
|
|
3258
|
-
<line num="
|
|
3259
|
-
<line num="
|
|
3260
|
-
<line num="
|
|
3261
|
-
<line num="
|
|
3262
|
-
<line num="
|
|
3263
|
-
<line num="
|
|
3264
|
-
<line num="
|
|
3265
|
-
<line num="
|
|
3266
|
-
<line num="
|
|
3267
|
-
<line num="
|
|
3268
|
-
<line num="
|
|
3269
|
-
<line num="
|
|
3270
|
-
<line num="
|
|
3271
|
-
<line num="
|
|
3272
|
-
<line num="
|
|
3273
|
-
<line num="
|
|
3274
|
-
<line num="
|
|
3275
|
-
<line num="
|
|
3276
|
-
<line num="
|
|
3277
|
-
<line num="333" count="
|
|
3278
|
-
<line num="
|
|
3279
|
-
<line num="
|
|
3280
|
-
<line num="
|
|
3281
|
-
<line num="
|
|
3282
|
-
<line num="
|
|
3283
|
-
<line num="
|
|
3284
|
-
<line num="
|
|
3285
|
-
<line num="357" count="
|
|
3244
|
+
<line num="232" count="9" type="stmt"/>
|
|
3245
|
+
<line num="233" count="9" type="stmt"/>
|
|
3246
|
+
<line num="239" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3247
|
+
<line num="240" count="0" type="stmt"/>
|
|
3248
|
+
<line num="247" count="59" type="stmt"/>
|
|
3249
|
+
<line num="248" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
3250
|
+
<line num="254" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3251
|
+
<line num="255" count="9" type="stmt"/>
|
|
3252
|
+
<line num="262" count="59" type="stmt"/>
|
|
3253
|
+
<line num="263" count="23" type="stmt"/>
|
|
3254
|
+
<line num="269" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3255
|
+
<line num="270" count="11" type="stmt"/>
|
|
3256
|
+
<line num="277" count="59" type="stmt"/>
|
|
3257
|
+
<line num="278" count="10" type="stmt"/>
|
|
3258
|
+
<line num="284" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3259
|
+
<line num="285" count="2" type="stmt"/>
|
|
3260
|
+
<line num="292" count="59" type="cond" truecount="1" falsecount="1"/>
|
|
3261
|
+
<line num="293" count="64" type="stmt"/>
|
|
3262
|
+
<line num="301" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3263
|
+
<line num="302" count="5" type="stmt"/>
|
|
3264
|
+
<line num="309" count="59" type="stmt"/>
|
|
3265
|
+
<line num="310" count="139" type="stmt"/>
|
|
3266
|
+
<line num="319" count="59" type="stmt"/>
|
|
3267
|
+
<line num="320" count="0" type="stmt"/>
|
|
3268
|
+
<line num="326" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3269
|
+
<line num="327" count="253" type="stmt"/>
|
|
3270
|
+
<line num="333" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3271
|
+
<line num="334" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3272
|
+
<line num="335" count="4" type="stmt"/>
|
|
3273
|
+
<line num="338" count="1" type="stmt"/>
|
|
3274
|
+
<line num="349" count="59" type="stmt"/>
|
|
3275
|
+
<line num="350" count="0" type="stmt"/>
|
|
3276
|
+
<line num="353" count="59" type="stmt"/>
|
|
3277
|
+
<line num="354" count="10" type="stmt"/>
|
|
3278
|
+
<line num="357" count="59" type="cond" truecount="0" falsecount="2"/>
|
|
3286
3279
|
<line num="358" count="0" type="stmt"/>
|
|
3280
|
+
<line num="359" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3287
3281
|
<line num="360" count="0" type="stmt"/>
|
|
3288
|
-
<line num="
|
|
3289
|
-
<line num="
|
|
3290
|
-
<line num="
|
|
3291
|
-
<line num="
|
|
3292
|
-
<line num="
|
|
3293
|
-
<line num="
|
|
3294
|
-
<line num="
|
|
3295
|
-
<line num="
|
|
3282
|
+
<line num="362" count="0" type="stmt"/>
|
|
3283
|
+
<line num="365" count="59" type="stmt"/>
|
|
3284
|
+
<line num="366" count="1" type="stmt"/>
|
|
3285
|
+
<line num="369" count="59" type="cond" truecount="0" falsecount="1"/>
|
|
3286
|
+
<line num="370" count="0" type="stmt"/>
|
|
3287
|
+
<line num="373" count="59" type="stmt"/>
|
|
3288
|
+
<line num="374" count="0" type="stmt"/>
|
|
3289
|
+
<line num="380" count="59" type="stmt"/>
|
|
3290
|
+
<line num="381" count="60" type="stmt"/>
|
|
3296
3291
|
</file>
|
|
3297
3292
|
</package>
|
|
3298
3293
|
<package name="db.linkedRows">
|
|
@@ -3308,21 +3303,21 @@
|
|
|
3308
3303
|
<line num="41" count="9" type="stmt"/>
|
|
3309
3304
|
<line num="42" count="9" type="stmt"/>
|
|
3310
3305
|
<line num="47" count="9" type="stmt"/>
|
|
3311
|
-
<line num="56" count="
|
|
3312
|
-
<line num="57" count="
|
|
3313
|
-
<line num="58" count="
|
|
3314
|
-
<line num="59" count="
|
|
3315
|
-
<line num="60" count="
|
|
3306
|
+
<line num="56" count="230" type="stmt"/>
|
|
3307
|
+
<line num="57" count="230" type="stmt"/>
|
|
3308
|
+
<line num="58" count="230" type="stmt"/>
|
|
3309
|
+
<line num="59" count="230" type="stmt"/>
|
|
3310
|
+
<line num="60" count="230" type="stmt"/>
|
|
3316
3311
|
<line num="69" count="53" type="cond" truecount="2" falsecount="0"/>
|
|
3317
3312
|
<line num="70" count="6" type="stmt"/>
|
|
3318
3313
|
<line num="73" count="53" type="stmt"/>
|
|
3319
|
-
<line num="84" count="
|
|
3314
|
+
<line num="84" count="225" type="cond" truecount="2" falsecount="0"/>
|
|
3320
3315
|
<line num="85" count="6" type="stmt"/>
|
|
3321
|
-
<line num="87" count="
|
|
3322
|
-
<line num="88" count="
|
|
3323
|
-
<line num="89" count="
|
|
3316
|
+
<line num="87" count="225" type="stmt"/>
|
|
3317
|
+
<line num="88" count="540" type="stmt"/>
|
|
3318
|
+
<line num="89" count="540" type="cond" truecount="2" falsecount="0"/>
|
|
3324
3319
|
<line num="90" count="41" type="stmt"/>
|
|
3325
|
-
<line num="93" count="
|
|
3320
|
+
<line num="93" count="184" type="stmt"/>
|
|
3326
3321
|
<line num="100" count="27" type="stmt"/>
|
|
3327
3322
|
<line num="111" count="9" type="stmt"/>
|
|
3328
3323
|
<line num="121" count="22" type="stmt"/>
|
|
@@ -3492,14 +3487,14 @@
|
|
|
3492
3487
|
<line num="91" count="30" type="stmt"/>
|
|
3493
3488
|
<line num="92" count="30" type="stmt"/>
|
|
3494
3489
|
<line num="106" count="45" type="stmt"/>
|
|
3495
|
-
<line num="107" count="
|
|
3496
|
-
<line num="108" count="
|
|
3497
|
-
<line num="110" count="
|
|
3490
|
+
<line num="107" count="220" type="stmt"/>
|
|
3491
|
+
<line num="108" count="220" type="cond" truecount="2" falsecount="0"/>
|
|
3492
|
+
<line num="110" count="220" type="cond" truecount="4" falsecount="0"/>
|
|
3498
3493
|
<line num="111" count="133" type="stmt"/>
|
|
3499
|
-
<line num="113" count="
|
|
3500
|
-
<line num="114" count="
|
|
3501
|
-
<line num="115" count="
|
|
3502
|
-
<line num="120" count="
|
|
3494
|
+
<line num="113" count="220" type="stmt"/>
|
|
3495
|
+
<line num="114" count="220" type="stmt"/>
|
|
3496
|
+
<line num="115" count="220" type="cond" truecount="2" falsecount="0"/>
|
|
3497
|
+
<line num="120" count="179" type="stmt"/>
|
|
3503
3498
|
<line num="123" count="0" type="stmt"/>
|
|
3504
3499
|
<line num="125" count="41" type="cond" truecount="5" falsecount="2"/>
|
|
3505
3500
|
<line num="128" count="21" type="stmt"/>
|
|
@@ -3509,9 +3504,9 @@
|
|
|
3509
3504
|
<line num="136" count="1" type="stmt"/>
|
|
3510
3505
|
<line num="138" count="0" type="stmt"/>
|
|
3511
3506
|
<line num="149" count="45" type="stmt"/>
|
|
3512
|
-
<line num="150" count="
|
|
3513
|
-
<line num="151" count="
|
|
3514
|
-
<line num="152" count="
|
|
3507
|
+
<line num="150" count="125" type="stmt"/>
|
|
3508
|
+
<line num="151" count="125" type="cond" truecount="2" falsecount="0"/>
|
|
3509
|
+
<line num="152" count="95" type="stmt"/>
|
|
3515
3510
|
<line num="155" count="30" type="stmt"/>
|
|
3516
3511
|
<line num="156" count="25" type="stmt"/>
|
|
3517
3512
|
<line num="159" count="30" type="stmt"/>
|
|
@@ -3582,8 +3577,8 @@
|
|
|
3582
3577
|
<line num="80" count="30" type="stmt"/>
|
|
3583
3578
|
<line num="81" count="33" type="stmt"/>
|
|
3584
3579
|
<line num="85" count="45" type="stmt"/>
|
|
3585
|
-
<line num="86" count="
|
|
3586
|
-
<line num="87" count="
|
|
3580
|
+
<line num="86" count="125" type="stmt"/>
|
|
3581
|
+
<line num="87" count="349" type="stmt"/>
|
|
3587
3582
|
<line num="88" count="53" type="stmt"/>
|
|
3588
3583
|
<line num="91" count="45" type="stmt"/>
|
|
3589
3584
|
<line num="92" count="77" type="stmt"/>
|
|
@@ -3626,7 +3621,7 @@
|
|
|
3626
3621
|
<metrics statements="7" coveredstatements="7" conditionals="2" coveredconditionals="1" methods="3" coveredmethods="3"/>
|
|
3627
3622
|
<line num="1" count="45" type="stmt"/>
|
|
3628
3623
|
<line num="2" count="45" type="stmt"/>
|
|
3629
|
-
<line num="16" count="
|
|
3624
|
+
<line num="16" count="13" type="stmt"/>
|
|
3630
3625
|
<line num="20" count="12" type="stmt"/>
|
|
3631
3626
|
<line num="24" count="28" type="stmt"/>
|
|
3632
3627
|
<line num="28" count="45" type="stmt"/>
|
|
@@ -3635,15 +3630,15 @@
|
|
|
3635
3630
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/events/utils.js">
|
|
3636
3631
|
<metrics statements="19" coveredstatements="18" conditionals="10" coveredconditionals="7" methods="2" coveredmethods="2"/>
|
|
3637
3632
|
<line num="1" count="45" type="stmt"/>
|
|
3638
|
-
<line num="2" count="
|
|
3639
|
-
<line num="7" count="
|
|
3640
|
-
<line num="8" count="
|
|
3641
|
-
<line num="10" count="
|
|
3642
|
-
<line num="11" count="
|
|
3643
|
-
<line num="12" count="
|
|
3644
|
-
<line num="14" count="
|
|
3633
|
+
<line num="2" count="17" type="stmt"/>
|
|
3634
|
+
<line num="7" count="17" type="cond" truecount="2" falsecount="0"/>
|
|
3635
|
+
<line num="8" count="11" type="stmt"/>
|
|
3636
|
+
<line num="10" count="17" type="stmt"/>
|
|
3637
|
+
<line num="11" count="17" type="cond" truecount="1" falsecount="1"/>
|
|
3638
|
+
<line num="12" count="17" type="stmt"/>
|
|
3639
|
+
<line num="14" count="17" type="cond" truecount="2" falsecount="0"/>
|
|
3645
3640
|
<line num="15" count="4" type="stmt"/>
|
|
3646
|
-
<line num="17" count="
|
|
3641
|
+
<line num="17" count="17" type="stmt"/>
|
|
3647
3642
|
<line num="20" count="45" type="stmt"/>
|
|
3648
3643
|
<line num="21" count="12" type="stmt"/>
|
|
3649
3644
|
<line num="22" count="12" type="stmt"/>
|
|
@@ -3705,19 +3700,19 @@
|
|
|
3705
3700
|
<line num="59" count="1" type="stmt"/>
|
|
3706
3701
|
<line num="61" count="1" type="stmt"/>
|
|
3707
3702
|
<line num="65" count="29" type="stmt"/>
|
|
3708
|
-
<line num="66" count="
|
|
3709
|
-
<line num="68" count="
|
|
3703
|
+
<line num="66" count="223" type="stmt"/>
|
|
3704
|
+
<line num="68" count="223" type="cond" truecount="2" falsecount="0"/>
|
|
3710
3705
|
<line num="69" count="5" type="stmt"/>
|
|
3711
|
-
<line num="71" count="
|
|
3712
|
-
<line num="72" count="
|
|
3713
|
-
<line num="74" count="
|
|
3714
|
-
<line num="75" count="
|
|
3715
|
-
<line num="76" count="
|
|
3706
|
+
<line num="71" count="218" type="stmt"/>
|
|
3707
|
+
<line num="72" count="218" type="stmt"/>
|
|
3708
|
+
<line num="74" count="218" type="stmt"/>
|
|
3709
|
+
<line num="75" count="218" type="cond" truecount="2" falsecount="0"/>
|
|
3710
|
+
<line num="76" count="218" type="cond" truecount="1" falsecount="1"/>
|
|
3716
3711
|
<line num="77" count="0" type="stmt"/>
|
|
3717
|
-
<line num="80" count="
|
|
3718
|
-
<line num="81" count="
|
|
3719
|
-
<line num="83" count="
|
|
3720
|
-
<line num="84" count="
|
|
3712
|
+
<line num="80" count="218" type="cond" truecount="2" falsecount="0"/>
|
|
3713
|
+
<line num="81" count="218" type="cond" truecount="2" falsecount="0"/>
|
|
3714
|
+
<line num="83" count="218" type="cond" truecount="4" falsecount="0"/>
|
|
3715
|
+
<line num="84" count="217" type="stmt"/>
|
|
3721
3716
|
<line num="87" count="1" type="stmt"/>
|
|
3722
3717
|
<line num="89" count="1" type="stmt"/>
|
|
3723
3718
|
</file>
|
|
@@ -3735,60 +3730,60 @@
|
|
|
3735
3730
|
<line num="15" count="33" type="stmt"/>
|
|
3736
3731
|
<line num="16" count="33" type="stmt"/>
|
|
3737
3732
|
<line num="18" count="33" type="stmt"/>
|
|
3738
|
-
<line num="20" count="
|
|
3739
|
-
<line num="22" count="
|
|
3740
|
-
<line num="23" count="
|
|
3741
|
-
<line num="24" count="
|
|
3733
|
+
<line num="20" count="242" type="stmt"/>
|
|
3734
|
+
<line num="22" count="242" type="stmt"/>
|
|
3735
|
+
<line num="23" count="242" type="stmt"/>
|
|
3736
|
+
<line num="24" count="242" type="stmt"/>
|
|
3742
3737
|
<line num="26" count="0" type="stmt"/>
|
|
3743
|
-
<line num="28" count="
|
|
3738
|
+
<line num="28" count="242" type="cond" truecount="4" falsecount="0"/>
|
|
3744
3739
|
<line num="29" count="1" type="stmt"/>
|
|
3745
|
-
<line num="32" count="
|
|
3746
|
-
<line num="33" count="
|
|
3747
|
-
<line num="34" count="
|
|
3748
|
-
<line num="35" count="
|
|
3740
|
+
<line num="32" count="241" type="cond" truecount="2" falsecount="0"/>
|
|
3741
|
+
<line num="33" count="235" type="stmt"/>
|
|
3742
|
+
<line num="34" count="235" type="stmt"/>
|
|
3743
|
+
<line num="35" count="235" type="cond" truecount="1" falsecount="1"/>
|
|
3749
3744
|
<line num="36" count="0" type="stmt"/>
|
|
3750
3745
|
<line num="37" count="0" type="stmt"/>
|
|
3751
|
-
<line num="40" count="
|
|
3752
|
-
<line num="44" count="
|
|
3746
|
+
<line num="40" count="235" type="cond" truecount="1" falsecount="1"/>
|
|
3747
|
+
<line num="44" count="241" type="cond" truecount="2" falsecount="0"/>
|
|
3753
3748
|
<line num="45" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
3754
3749
|
<line num="50" count="2" type="stmt"/>
|
|
3755
3750
|
<line num="51" count="2" type="stmt"/>
|
|
3756
|
-
<line num="56" count="
|
|
3757
|
-
<line num="57" count="
|
|
3751
|
+
<line num="56" count="239" type="stmt"/>
|
|
3752
|
+
<line num="57" count="239" type="cond" truecount="2" falsecount="0"/>
|
|
3758
3753
|
<line num="59" count="5" type="stmt"/>
|
|
3759
|
-
<line num="60" count="
|
|
3760
|
-
<line num="62" count="
|
|
3761
|
-
<line num="63" count="
|
|
3762
|
-
<line num="65" count="
|
|
3763
|
-
<line num="69" count="
|
|
3764
|
-
<line num="70" count="
|
|
3765
|
-
<line num="71" count="
|
|
3766
|
-
<line num="72" count="
|
|
3754
|
+
<line num="60" count="234" type="cond" truecount="1" falsecount="1"/>
|
|
3755
|
+
<line num="62" count="234" type="stmt"/>
|
|
3756
|
+
<line num="63" count="234" type="stmt"/>
|
|
3757
|
+
<line num="65" count="234" type="cond" truecount="2" falsecount="0"/>
|
|
3758
|
+
<line num="69" count="234" type="cond" truecount="3" falsecount="0"/>
|
|
3759
|
+
<line num="70" count="234" type="cond" truecount="2" falsecount="0"/>
|
|
3760
|
+
<line num="71" count="234" type="cond" truecount="2" falsecount="0"/>
|
|
3761
|
+
<line num="72" count="234" type="cond" truecount="4" falsecount="1"/>
|
|
3767
3762
|
<line num="74" count="0" type="stmt"/>
|
|
3768
3763
|
<line num="75" count="0" type="stmt"/>
|
|
3769
3764
|
<line num="76" count="0" type="stmt"/>
|
|
3770
3765
|
<line num="79" count="0" type="stmt"/>
|
|
3771
3766
|
<line num="80" count="0" type="stmt"/>
|
|
3772
|
-
<line num="88" count="
|
|
3767
|
+
<line num="88" count="239" type="cond" truecount="1" falsecount="1"/>
|
|
3773
3768
|
<line num="89" count="0" type="stmt"/>
|
|
3774
|
-
<line num="92" count="
|
|
3775
|
-
<line num="93" count="
|
|
3776
|
-
<line num="96" count="
|
|
3769
|
+
<line num="92" count="239" type="stmt"/>
|
|
3770
|
+
<line num="93" count="239" type="stmt"/>
|
|
3771
|
+
<line num="96" count="239" type="cond" truecount="1" falsecount="1"/>
|
|
3777
3772
|
<line num="103" count="0" type="stmt"/>
|
|
3778
3773
|
<line num="104" count="0" type="stmt"/>
|
|
3779
3774
|
<line num="105" count="0" type="stmt"/>
|
|
3780
3775
|
<line num="106" count="0" type="stmt"/>
|
|
3781
3776
|
<line num="107" count="0" type="stmt"/>
|
|
3782
3777
|
<line num="108" count="0" type="stmt"/>
|
|
3783
|
-
<line num="111" count="
|
|
3784
|
-
<line num="112" count="
|
|
3785
|
-
<line num="113" count="
|
|
3786
|
-
<line num="114" count="
|
|
3787
|
-
<line num="115" count="
|
|
3788
|
-
<line num="116" count="
|
|
3789
|
-
<line num="126" count="
|
|
3778
|
+
<line num="111" count="239" type="stmt"/>
|
|
3779
|
+
<line num="112" count="239" type="cond" truecount="1" falsecount="1"/>
|
|
3780
|
+
<line num="113" count="239" type="stmt"/>
|
|
3781
|
+
<line num="114" count="239" type="cond" truecount="2" falsecount="0"/>
|
|
3782
|
+
<line num="115" count="239" type="cond" truecount="2" falsecount="0"/>
|
|
3783
|
+
<line num="116" count="239" type="stmt"/>
|
|
3784
|
+
<line num="126" count="239" type="cond" truecount="2" falsecount="0"/>
|
|
3790
3785
|
<line num="132" count="10" type="stmt"/>
|
|
3791
|
-
<line num="135" count="
|
|
3786
|
+
<line num="135" count="239" type="stmt"/>
|
|
3792
3787
|
</file>
|
|
3793
3788
|
<file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
|
|
3794
3789
|
<metrics statements="20" coveredstatements="0" conditionals="10" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
@@ -3840,14 +3835,14 @@
|
|
|
3840
3835
|
<line num="21" count="958" type="stmt"/>
|
|
3841
3836
|
<line num="22" count="958" type="stmt"/>
|
|
3842
3837
|
<line num="23" count="958" type="stmt"/>
|
|
3843
|
-
<line num="24" count="
|
|
3844
|
-
<line num="25" count="
|
|
3838
|
+
<line num="24" count="101" type="cond" truecount="2" falsecount="0"/>
|
|
3839
|
+
<line num="25" count="101" type="cond" truecount="2" falsecount="0"/>
|
|
3845
3840
|
<line num="26" count="1" type="stmt"/>
|
|
3846
|
-
<line num="28" count="
|
|
3847
|
-
<line num="29" count="
|
|
3848
|
-
<line num="31" count="
|
|
3841
|
+
<line num="28" count="100" type="cond" truecount="4" falsecount="0"/>
|
|
3842
|
+
<line num="29" count="88" type="stmt"/>
|
|
3843
|
+
<line num="31" count="100" type="cond" truecount="4" falsecount="0"/>
|
|
3849
3844
|
<line num="32" count="15" type="stmt"/>
|
|
3850
|
-
<line num="34" count="
|
|
3845
|
+
<line num="34" count="100" type="stmt"/>
|
|
3851
3846
|
<line num="39" count="29" type="stmt"/>
|
|
3852
3847
|
<line num="41" count="29" type="stmt"/>
|
|
3853
3848
|
<line num="42" count="758" type="stmt"/>
|
|
@@ -3871,7 +3866,7 @@
|
|
|
3871
3866
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3872
3867
|
<line num="1" count="34" type="stmt"/>
|
|
3873
3868
|
<line num="5" count="34" type="stmt"/>
|
|
3874
|
-
<line num="6" count="
|
|
3869
|
+
<line num="6" count="227" type="stmt"/>
|
|
3875
3870
|
</file>
|
|
3876
3871
|
</package>
|
|
3877
3872
|
<package name="utilities">
|
|
@@ -3976,36 +3971,36 @@
|
|
|
3976
3971
|
<line num="14" count="51" type="stmt"/>
|
|
3977
3972
|
<line num="15" count="51" type="stmt"/>
|
|
3978
3973
|
<line num="17" count="51" type="cond" truecount="1" falsecount="0"/>
|
|
3979
|
-
<line num="18" count="
|
|
3980
|
-
<line num="20" count="
|
|
3974
|
+
<line num="18" count="243" type="cond" truecount="2" falsecount="0"/>
|
|
3975
|
+
<line num="20" count="243" type="cond" truecount="4" falsecount="0"/>
|
|
3981
3976
|
<line num="21" count="3" type="stmt"/>
|
|
3982
|
-
<line num="24" count="
|
|
3977
|
+
<line num="24" count="240" type="cond" truecount="2" falsecount="2"/>
|
|
3983
3978
|
<line num="25" count="0" type="stmt"/>
|
|
3984
3979
|
<line num="26" count="0" type="stmt"/>
|
|
3985
3980
|
<line num="27" count="0" type="stmt"/>
|
|
3986
3981
|
<line num="28" count="0" type="stmt"/>
|
|
3987
|
-
<line num="31" count="
|
|
3988
|
-
<line num="33" count="
|
|
3989
|
-
<line num="34" count="
|
|
3982
|
+
<line num="31" count="240" type="stmt"/>
|
|
3983
|
+
<line num="33" count="240" type="cond" truecount="5" falsecount="0"/>
|
|
3984
|
+
<line num="34" count="208" type="stmt"/>
|
|
3990
3985
|
<line num="35" count="32" type="cond" truecount="4" falsecount="0"/>
|
|
3991
3986
|
<line num="36" count="27" type="stmt"/>
|
|
3992
3987
|
<line num="37" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
3993
3988
|
<line num="38" count="0" type="stmt"/>
|
|
3994
|
-
<line num="41" count="
|
|
3995
|
-
<line num="42" count="
|
|
3989
|
+
<line num="41" count="240" type="stmt"/>
|
|
3990
|
+
<line num="42" count="240" type="stmt"/>
|
|
3996
3991
|
<line num="46" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
3997
3992
|
<line num="47" count="0" type="stmt"/>
|
|
3998
3993
|
<line num="49" count="0" type="stmt"/>
|
|
3999
3994
|
<line num="50" count="0" type="stmt"/>
|
|
4000
|
-
<line num="54" count="
|
|
4001
|
-
<line num="55" count="
|
|
4002
|
-
<line num="57" count="
|
|
4003
|
-
<line num="58" count="
|
|
3995
|
+
<line num="54" count="236" type="cond" truecount="1" falsecount="1"/>
|
|
3996
|
+
<line num="55" count="236" type="stmt"/>
|
|
3997
|
+
<line num="57" count="236" type="stmt"/>
|
|
3998
|
+
<line num="58" count="236" type="cond" truecount="3" falsecount="1"/>
|
|
4004
3999
|
<line num="59" count="0" type="stmt"/>
|
|
4005
|
-
<line num="62" count="
|
|
4000
|
+
<line num="62" count="236" type="stmt"/>
|
|
4006
4001
|
<line num="65" count="51" type="stmt"/>
|
|
4007
|
-
<line num="68" count="
|
|
4008
|
-
<line num="69" count="
|
|
4002
|
+
<line num="68" count="234" type="stmt"/>
|
|
4003
|
+
<line num="69" count="234" type="stmt"/>
|
|
4009
4004
|
<line num="72" count="51" type="stmt"/>
|
|
4010
4005
|
<line num="73" count="2" type="stmt"/>
|
|
4011
4006
|
<line num="74" count="2" type="stmt"/>
|
|
@@ -4292,25 +4287,25 @@
|
|
|
4292
4287
|
<file name="inMemoryQueue.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/queue/inMemoryQueue.js">
|
|
4293
4288
|
<metrics statements="23" coveredstatements="18" conditionals="7" coveredconditionals="4" methods="12" coveredmethods="7"/>
|
|
4294
4289
|
<line num="1" count="45" type="stmt"/>
|
|
4295
|
-
<line num="13" count="
|
|
4290
|
+
<line num="13" count="8" type="stmt"/>
|
|
4296
4291
|
<line num="33" count="45" type="stmt"/>
|
|
4297
4292
|
<line num="34" count="45" type="stmt"/>
|
|
4298
4293
|
<line num="35" count="45" type="stmt"/>
|
|
4299
4294
|
<line num="36" count="45" type="stmt"/>
|
|
4300
|
-
<line num="49" count="
|
|
4301
|
-
<line num="50" count="
|
|
4302
|
-
<line num="51" count="
|
|
4303
|
-
<line num="53" count="
|
|
4304
|
-
<line num="54" count="
|
|
4305
|
-
<line num="55" count="
|
|
4306
|
-
<line num="56" count="
|
|
4307
|
-
<line num="71" count="
|
|
4295
|
+
<line num="49" count="32" type="stmt"/>
|
|
4296
|
+
<line num="50" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
4297
|
+
<line num="51" count="3" type="stmt"/>
|
|
4298
|
+
<line num="53" count="8" type="stmt"/>
|
|
4299
|
+
<line num="54" count="8" type="stmt"/>
|
|
4300
|
+
<line num="55" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
4301
|
+
<line num="56" count="8" type="stmt"/>
|
|
4302
|
+
<line num="71" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
4308
4303
|
<line num="72" count="0" type="stmt"/>
|
|
4309
|
-
<line num="74" count="
|
|
4310
|
-
<line num="75" count="
|
|
4304
|
+
<line num="74" count="8" type="stmt"/>
|
|
4305
|
+
<line num="75" count="8" type="stmt"/>
|
|
4311
4306
|
<line num="82" count="0" type="stmt"/>
|
|
4312
4307
|
<line num="91" count="0" type="stmt"/>
|
|
4313
|
-
<line num="98" count="
|
|
4308
|
+
<line num="98" count="254" type="stmt"/>
|
|
4314
4309
|
<line num="110" count="0" type="stmt"/>
|
|
4315
4310
|
<line num="114" count="0" type="stmt"/>
|
|
4316
4311
|
<line num="122" count="45" type="stmt"/>
|
|
@@ -4369,14 +4364,14 @@
|
|
|
4369
4364
|
<line num="118" count="0" type="stmt"/>
|
|
4370
4365
|
<line num="120" count="0" type="stmt"/>
|
|
4371
4366
|
<line num="121" count="0" type="stmt"/>
|
|
4372
|
-
<line num="140" count="
|
|
4373
|
-
<line num="141" count="
|
|
4374
|
-
<line num="142" count="
|
|
4375
|
-
<line num="144" count="
|
|
4376
|
-
<line num="147" count="
|
|
4377
|
-
<line num="148" count="
|
|
4378
|
-
<line num="149" count="
|
|
4379
|
-
<line num="150" count="
|
|
4367
|
+
<line num="140" count="85" type="cond" truecount="2" falsecount="0"/>
|
|
4368
|
+
<line num="141" count="85" type="stmt"/>
|
|
4369
|
+
<line num="142" count="85" type="stmt"/>
|
|
4370
|
+
<line num="144" count="85" type="stmt"/>
|
|
4371
|
+
<line num="147" count="85" type="cond" truecount="4" falsecount="0"/>
|
|
4372
|
+
<line num="148" count="85" type="stmt"/>
|
|
4373
|
+
<line num="149" count="230" type="cond" truecount="1" falsecount="1"/>
|
|
4374
|
+
<line num="150" count="230" type="stmt"/>
|
|
4380
4375
|
<line num="152" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4381
4376
|
<line num="153" count="0" type="stmt"/>
|
|
4382
4377
|
<line num="155" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
@@ -4395,52 +4390,52 @@
|
|
|
4395
4390
|
<line num="176" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4396
4391
|
<line num="177" count="0" type="stmt"/>
|
|
4397
4392
|
<line num="179" count="0" type="stmt"/>
|
|
4398
|
-
<line num="182" count="
|
|
4393
|
+
<line num="182" count="85" type="stmt"/>
|
|
4399
4394
|
<line num="184" count="45" type="stmt"/>
|
|
4400
4395
|
<line num="185" count="45" type="stmt"/>
|
|
4401
4396
|
<line num="186" count="45" type="stmt"/>
|
|
4402
4397
|
<line num="194" count="45" type="stmt"/>
|
|
4403
|
-
<line num="196" count="
|
|
4398
|
+
<line num="196" count="198" type="cond" truecount="1" falsecount="1"/>
|
|
4404
4399
|
<line num="197" count="0" type="stmt"/>
|
|
4405
|
-
<line num="200" count="
|
|
4400
|
+
<line num="200" count="198" type="cond" truecount="2" falsecount="0"/>
|
|
4406
4401
|
<line num="201" count="16" type="stmt"/>
|
|
4407
|
-
<line num="202" count="
|
|
4402
|
+
<line num="202" count="182" type="cond" truecount="2" falsecount="0"/>
|
|
4408
4403
|
<line num="203" count="22" type="stmt"/>
|
|
4409
|
-
<line num="206" count="
|
|
4404
|
+
<line num="206" count="160" type="stmt"/>
|
|
4410
4405
|
<line num="218" count="45" type="stmt"/>
|
|
4411
|
-
<line num="224" count="
|
|
4412
|
-
<line num="226" count="
|
|
4413
|
-
<line num="227" count="
|
|
4414
|
-
<line num="228" count="
|
|
4415
|
-
<line num="229" count="
|
|
4416
|
-
<line num="231" count="
|
|
4417
|
-
<line num="232" count="
|
|
4406
|
+
<line num="224" count="85" type="stmt"/>
|
|
4407
|
+
<line num="226" count="85" type="stmt"/>
|
|
4408
|
+
<line num="227" count="85" type="stmt"/>
|
|
4409
|
+
<line num="228" count="85" type="stmt"/>
|
|
4410
|
+
<line num="229" count="393" type="stmt"/>
|
|
4411
|
+
<line num="231" count="393" type="cond" truecount="2" falsecount="0"/>
|
|
4412
|
+
<line num="232" count="196" type="cond" truecount="2" falsecount="0"/>
|
|
4418
4413
|
<line num="233" count="13" type="stmt"/>
|
|
4419
|
-
<line num="235" count="
|
|
4420
|
-
<line num="238" count="
|
|
4414
|
+
<line num="235" count="196" type="stmt"/>
|
|
4415
|
+
<line num="238" count="197" type="cond" truecount="1" falsecount="1"/>
|
|
4421
4416
|
<line num="239" count="0" type="stmt"/>
|
|
4422
|
-
<line num="243" count="
|
|
4423
|
-
<line num="247" count="
|
|
4424
|
-
<line num="248" count="
|
|
4425
|
-
<line num="249" count="
|
|
4426
|
-
<line num="253" count="
|
|
4417
|
+
<line num="243" count="197" type="stmt"/>
|
|
4418
|
+
<line num="247" count="85" type="cond" truecount="4" falsecount="0"/>
|
|
4419
|
+
<line num="248" count="79" type="stmt"/>
|
|
4420
|
+
<line num="249" count="79" type="stmt"/>
|
|
4421
|
+
<line num="253" count="85" type="stmt"/>
|
|
4427
4422
|
<line num="265" count="45" type="cond" truecount="1" falsecount="0"/>
|
|
4428
|
-
<line num="266" count="
|
|
4429
|
-
<line num="267" count="
|
|
4430
|
-
<line num="268" count="
|
|
4431
|
-
<line num="269" count="
|
|
4432
|
-
<line num="272" count="
|
|
4433
|
-
<line num="275" count="
|
|
4434
|
-
<line num="278" count="
|
|
4435
|
-
<line num="279" count="
|
|
4423
|
+
<line num="266" count="125" type="stmt"/>
|
|
4424
|
+
<line num="267" count="125" type="cond" truecount="2" falsecount="0"/>
|
|
4425
|
+
<line num="268" count="105" type="stmt"/>
|
|
4426
|
+
<line num="269" count="105" type="stmt"/>
|
|
4427
|
+
<line num="272" count="125" type="stmt"/>
|
|
4428
|
+
<line num="275" count="125" type="stmt"/>
|
|
4429
|
+
<line num="278" count="125" type="stmt"/>
|
|
4430
|
+
<line num="279" count="349" type="cond" truecount="2" falsecount="0"/>
|
|
4436
4431
|
<line num="280" count="8" type="stmt"/>
|
|
4437
4432
|
<line num="281" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
4438
4433
|
<line num="282" count="2" type="stmt"/>
|
|
4439
4434
|
<line num="284" count="6" type="stmt"/>
|
|
4440
4435
|
<line num="285" count="2" type="stmt"/>
|
|
4441
|
-
<line num="290" count="
|
|
4436
|
+
<line num="290" count="125" type="cond" truecount="2" falsecount="0"/>
|
|
4442
4437
|
<line num="291" count="40" type="stmt"/>
|
|
4443
|
-
<line num="293" count="
|
|
4438
|
+
<line num="293" count="125" type="cond" truecount="2" falsecount="0"/>
|
|
4444
4439
|
<line num="306" count="45" type="stmt"/>
|
|
4445
4440
|
<line num="307" count="14" type="stmt"/>
|
|
4446
4441
|
<line num="308" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
@@ -4485,20 +4480,20 @@
|
|
|
4485
4480
|
<line num="27" count="0" type="stmt"/>
|
|
4486
4481
|
<line num="29" count="2" type="stmt"/>
|
|
4487
4482
|
<line num="35" count="45" type="stmt"/>
|
|
4488
|
-
<line num="40" count="
|
|
4489
|
-
<line num="41" count="
|
|
4490
|
-
<line num="42" count="
|
|
4491
|
-
<line num="43" count="
|
|
4492
|
-
<line num="45" count="
|
|
4493
|
-
<line num="46" count="
|
|
4494
|
-
<line num="47" count="
|
|
4495
|
-
<line num="52" count="
|
|
4483
|
+
<line num="40" count="303" type="stmt"/>
|
|
4484
|
+
<line num="41" count="303" type="cond" truecount="2" falsecount="0"/>
|
|
4485
|
+
<line num="42" count="178" type="stmt"/>
|
|
4486
|
+
<line num="43" count="178" type="cond" truecount="2" falsecount="0"/>
|
|
4487
|
+
<line num="45" count="303" type="stmt"/>
|
|
4488
|
+
<line num="46" count="851" type="stmt"/>
|
|
4489
|
+
<line num="47" count="851" type="cond" truecount="1" falsecount="1"/>
|
|
4490
|
+
<line num="52" count="851" type="stmt"/>
|
|
4496
4491
|
<line num="55" count="0" type="stmt"/>
|
|
4497
4492
|
<line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4498
4493
|
<line num="57" count="0" type="stmt"/>
|
|
4499
4494
|
<line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4500
4495
|
<line num="59" count="0" type="stmt"/>
|
|
4501
|
-
<line num="66" count="
|
|
4496
|
+
<line num="66" count="303" type="cond" truecount="2" falsecount="0"/>
|
|
4502
4497
|
<line num="73" count="45" type="stmt"/>
|
|
4503
4498
|
<line num="74" count="0" type="stmt"/>
|
|
4504
4499
|
<line num="75" count="0" type="stmt"/>
|
|
@@ -4514,47 +4509,44 @@
|
|
|
4514
4509
|
</file>
|
|
4515
4510
|
</package>
|
|
4516
4511
|
<package name="utilities.usageQuota">
|
|
4517
|
-
<metrics statements="
|
|
4512
|
+
<metrics statements="40" coveredstatements="33" conditionals="10" coveredconditionals="7" methods="8" coveredmethods="6"/>
|
|
4518
4513
|
<file name="rows.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/usageQuota/rows.js">
|
|
4519
|
-
<metrics statements="
|
|
4514
|
+
<metrics statements="35" coveredstatements="33" conditionals="8" coveredconditionals="7" methods="6" coveredmethods="6"/>
|
|
4520
4515
|
<line num="1" count="44" type="stmt"/>
|
|
4521
|
-
<line num="
|
|
4522
|
-
<line num="
|
|
4523
|
-
<line num="
|
|
4516
|
+
<line num="6" count="44" type="stmt"/>
|
|
4517
|
+
<line num="8" count="44" type="stmt"/>
|
|
4518
|
+
<line num="10" count="44" type="stmt"/>
|
|
4519
|
+
<line num="13" count="27" type="stmt"/>
|
|
4524
4520
|
<line num="14" count="27" type="stmt"/>
|
|
4525
|
-
<line num="15" count="
|
|
4526
|
-
<line num="16" count="30" type="
|
|
4527
|
-
<line num="17" count="
|
|
4528
|
-
<line num="
|
|
4529
|
-
<line num="20" count="
|
|
4530
|
-
<line num="
|
|
4531
|
-
<line num="
|
|
4532
|
-
<line num="
|
|
4533
|
-
<line num="
|
|
4521
|
+
<line num="15" count="30" type="stmt"/>
|
|
4522
|
+
<line num="16" count="30" type="cond" truecount="2" falsecount="0"/>
|
|
4523
|
+
<line num="17" count="28" type="stmt"/>
|
|
4524
|
+
<line num="19" count="30" type="cond" truecount="2" falsecount="0"/>
|
|
4525
|
+
<line num="20" count="27" type="stmt"/>
|
|
4526
|
+
<line num="22" count="3" type="stmt"/>
|
|
4527
|
+
<line num="25" count="27" type="stmt"/>
|
|
4528
|
+
<line num="28" count="44" type="stmt"/>
|
|
4529
|
+
<line num="30" count="30" type="stmt"/>
|
|
4534
4530
|
<line num="31" count="30" type="stmt"/>
|
|
4535
|
-
<line num="
|
|
4536
|
-
<line num="37" count="
|
|
4537
|
-
<line num="
|
|
4538
|
-
<line num="40" count="3" type="
|
|
4539
|
-
<line num="41" count="
|
|
4540
|
-
<line num="
|
|
4541
|
-
<line num="
|
|
4542
|
-
<line num="55" count="
|
|
4531
|
+
<line num="36" count="30" type="stmt"/>
|
|
4532
|
+
<line num="37" count="3" type="stmt"/>
|
|
4533
|
+
<line num="39" count="3" type="stmt"/>
|
|
4534
|
+
<line num="40" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
4535
|
+
<line num="41" count="0" type="stmt"/>
|
|
4536
|
+
<line num="44" count="3" type="stmt"/>
|
|
4537
|
+
<line num="54" count="44" type="stmt"/>
|
|
4538
|
+
<line num="55" count="27" type="stmt"/>
|
|
4543
4539
|
<line num="56" count="27" type="stmt"/>
|
|
4544
|
-
<line num="57" count="27" type="stmt"/>
|
|
4545
4540
|
<line num="58" count="27" type="stmt"/>
|
|
4546
|
-
<line num="
|
|
4547
|
-
<line num="
|
|
4548
|
-
<line num="
|
|
4549
|
-
<line num="
|
|
4550
|
-
<line num="64" count="
|
|
4551
|
-
<line num="
|
|
4552
|
-
<line num="67" count="
|
|
4553
|
-
<line num="
|
|
4554
|
-
<line num="
|
|
4555
|
-
<line num="79" count="28" type="stmt"/>
|
|
4556
|
-
<line num="80" count="28" type="stmt"/>
|
|
4557
|
-
<line num="83" count="27" type="stmt"/>
|
|
4541
|
+
<line num="59" count="28" type="stmt"/>
|
|
4542
|
+
<line num="60" count="28" type="stmt"/>
|
|
4543
|
+
<line num="61" count="56" type="cond" truecount="2" falsecount="0"/>
|
|
4544
|
+
<line num="62" count="26" type="stmt"/>
|
|
4545
|
+
<line num="64" count="30" type="stmt"/>
|
|
4546
|
+
<line num="65" count="30" type="stmt"/>
|
|
4547
|
+
<line num="67" count="0" type="stmt"/>
|
|
4548
|
+
<line num="76" count="28" type="stmt"/>
|
|
4549
|
+
<line num="79" count="27" type="stmt"/>
|
|
4558
4550
|
</file>
|
|
4559
4551
|
<file name="usageQuoteReset.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/usageQuota/usageQuoteReset.js">
|
|
4560
4552
|
<metrics statements="5" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
|