@budibase/server 0.9.171 → 0.9.173-alpha.2
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__/{mysql.ts → mysql2.ts} +0 -0
- package/builder/assets/{index.dbc6728e.css → index.7469e1e4.css} +2 -2
- package/builder/assets/{index.cf0febb9.js → index.8a8f7849.js} +34 -34
- package/builder/assets/{vendor.54435e8f.js → vendor.278a305c.js} +1 -1
- package/builder/index.html +3 -3
- package/coverage/clover.xml +973 -849
- package/coverage/coverage-final.json +47 -46
- package/coverage/lcov-report/api/controllers/analytics.js.html +21 -9
- package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/controllers/application.js.html +186 -84
- package/coverage/lcov-report/api/controllers/auth.js.html +37 -10
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/backup.js.html +6 -9
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +1 -1
- package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
- package/coverage/lcov-report/api/controllers/dev.js.html +41 -17
- package/coverage/lcov-report/api/controllers/hosting.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +71 -71
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +7 -4
- package/coverage/lcov-report/api/controllers/query.js.html +129 -24
- 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 +5 -5
- package/coverage/lcov-report/api/controllers/row/index.js.html +15 -15
- 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/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/screen.js.html +9 -9
- package/coverage/lcov-report/api/controllers/script.js.html +12 -57
- package/coverage/lcov-report/api/controllers/table/index.html +28 -28
- package/coverage/lcov-report/api/controllers/table/index.js.html +16 -37
- package/coverage/lcov-report/api/controllers/table/utils.js.html +279 -33
- package/coverage/lcov-report/api/controllers/templates.js.html +49 -13
- package/coverage/lcov-report/api/controllers/user.js.html +3 -3
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.html +19 -19
- package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/utils.js.html +8 -8
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +54 -15
- 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 +3 -3
- 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/application.js.html +5 -2
- 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 +26 -11
- package/coverage/lcov-report/api/routes/hosting.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +9 -9
- package/coverage/lcov-report/api/routes/index.js.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/permission.js.html +1 -1
- package/coverage/lcov-report/api/routes/query.js.html +9 -3
- 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/row.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/static.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/view.js.html +1 -1
- package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/actions.js.html +31 -10
- package/coverage/lcov-report/automations/automationUtils.js.html +14 -86
- package/coverage/lcov-report/automations/bullboard.js.html +1 -1
- package/coverage/lcov-report/automations/index.html +37 -37
- package/coverage/lcov-report/automations/index.js.html +1 -1
- package/coverage/lcov-report/automations/steps/bash.js.html +10 -7
- package/coverage/lcov-report/automations/steps/createRow.js.html +2 -2
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/deleteRow.js.html +8 -5
- package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +10 -7
- package/coverage/lcov-report/automations/steps/executeScript.js.html +10 -7
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +57 -57
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +10 -7
- package/coverage/lcov-report/automations/steps/queryRows.js.html +10 -7
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +10 -7
- 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 +14 -14
- package/coverage/lcov-report/automations/steps/utils.js.html +10 -10
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/thread.js.html +54 -12
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/triggers.js.html +1 -1
- package/coverage/lcov-report/automations/utils.js.html +28 -28
- package/coverage/lcov-report/constants/index.html +1 -1
- package/coverage/lcov-report/constants/index.js.html +5 -2
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +2 -2
- package/coverage/lcov-report/db/client.js.html +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 +12 -12
- package/coverage/lcov-report/db/linkedRows/index.html +18 -18
- package/coverage/lcov-report/db/linkedRows/index.js.html +47 -26
- 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 +17 -17
- 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 +107 -107
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
- package/coverage/lcov-report/middleware/authorized.js.html +2 -2
- package/coverage/lcov-report/middleware/builder.js.html +1 -1
- package/coverage/lcov-report/middleware/currentapp.js.html +52 -25
- package/coverage/lcov-report/middleware/index.html +15 -15
- package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
- package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
- package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
- 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 +27 -27
- package/coverage/lcov-report/utilities/index.html +32 -17
- package/coverage/lcov-report/utilities/index.js.html +4 -4
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +29 -8
- package/coverage/lcov-report/utilities/queue/index.html +15 -15
- 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 +14 -14
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +38 -8
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/scriptRunner.js.html +143 -0
- 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/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +19 -19
- package/coverage/lcov.info +1692 -1452
- package/dist/api/controllers/analytics.js +4 -0
- package/dist/api/controllers/application.js +185 -171
- package/dist/api/controllers/auth.js +12 -2
- package/dist/api/controllers/backup.js +4 -4
- package/dist/api/controllers/deploy/index.js +3 -16
- package/dist/api/controllers/dev.js +17 -11
- package/dist/api/controllers/permission.js +1 -0
- package/dist/api/controllers/query.js +26 -8
- package/dist/api/controllers/row/ExternalRequest.js +46 -5
- package/dist/api/controllers/script.js +4 -16
- package/dist/api/controllers/table/index.js +5 -10
- package/dist/api/controllers/table/utils.js +83 -10
- package/dist/api/controllers/templates.js +18 -3
- package/dist/api/controllers/view/viewBuilder.js +15 -1
- package/dist/api/routes/application.js +1 -0
- package/dist/api/routes/dev.js +8 -4
- package/dist/api/routes/query.js +3 -1
- package/dist/api/routes/tests/utilities/TestFunctions.js +7 -9
- package/dist/automations/actions.js +9 -3
- package/dist/automations/automationUtils.js +8 -29
- package/dist/automations/steps/bash.js +2 -1
- package/dist/automations/steps/createRow.js +1 -1
- package/dist/automations/steps/deleteRow.js +2 -1
- package/dist/automations/steps/executeQuery.js +2 -1
- package/dist/automations/steps/executeScript.js +2 -1
- package/dist/automations/steps/outgoingWebhook.js +2 -1
- package/dist/automations/steps/queryRows.js +2 -1
- package/dist/automations/steps/sendSmtpEmail.js +2 -1
- package/dist/automations/steps/updateRow.js +6 -2
- package/dist/automations/thread.js +14 -3
- package/dist/constants/index.js +1 -0
- package/dist/db/linkedRows/index.js +9 -6
- package/dist/integrations/base/sql.js +4 -4
- package/dist/integrations/mysql.js +1 -1
- package/dist/integrations/utils.js +17 -1
- package/dist/middleware/currentapp.js +8 -2
- package/dist/package.json +7 -6
- package/dist/tests/utilities/TestConfiguration.js +34 -19
- package/dist/tests/utilities/controllers.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utilities/fileSystem/index.js +49 -33
- package/dist/utilities/global.js +1 -1
- package/dist/utilities/queue/inMemoryQueue.js +6 -0
- package/dist/utilities/rowProcessor/index.js +8 -0
- package/dist/utilities/scriptRunner.js +19 -0
- package/package.json +8 -7
- package/scripts/jestSetup.js +2 -0
- package/src/api/controllers/analytics.js +4 -0
- package/src/api/controllers/application.js +43 -9
- package/src/api/controllers/auth.js +12 -3
- package/src/api/controllers/backup.js +4 -5
- package/src/api/controllers/deploy/index.js +3 -18
- package/src/api/controllers/dev.js +16 -8
- package/src/api/controllers/permission.js +1 -0
- package/src/api/controllers/query.js +46 -11
- package/src/api/controllers/row/ExternalRequest.ts +53 -4
- package/src/api/controllers/script.js +4 -19
- package/src/api/controllers/table/index.js +5 -12
- package/src/api/controllers/table/utils.js +94 -12
- package/src/api/controllers/templates.js +17 -5
- package/src/api/controllers/view/tests/__snapshots__/viewBuilder.spec.js.snap +1 -1
- package/src/api/controllers/view/viewBuilder.js +14 -1
- package/src/api/routes/application.js +1 -0
- package/src/api/routes/dev.js +9 -4
- package/src/api/routes/query.js +3 -1
- package/src/api/routes/tests/auth.spec.js +1 -2
- package/src/api/routes/tests/permissions.spec.js +3 -0
- package/src/api/routes/tests/query.spec.js +2 -2
- package/src/api/routes/tests/routing.spec.js +24 -8
- package/src/api/routes/tests/user.spec.js +1 -1
- package/src/api/routes/tests/utilities/TestFunctions.js +7 -9
- package/src/api/routes/tests/webhook.spec.js +4 -1
- package/src/automations/actions.js +10 -3
- package/src/automations/automationUtils.js +7 -31
- package/src/automations/steps/bash.js +2 -1
- package/src/automations/steps/createRow.js +1 -1
- package/src/automations/steps/deleteRow.js +2 -1
- package/src/automations/steps/executeQuery.js +2 -1
- package/src/automations/steps/executeScript.js +2 -1
- package/src/automations/steps/outgoingWebhook.js +2 -1
- package/src/automations/steps/queryRows.js +2 -1
- package/src/automations/steps/sendSmtpEmail.js +2 -1
- package/src/automations/steps/updateRow.js +6 -6
- package/src/automations/thread.js +17 -3
- package/src/constants/index.js +1 -0
- package/src/db/linkedRows/index.js +14 -7
- package/src/integrations/base/sql.ts +11 -3
- package/src/integrations/mysql.ts +1 -1
- package/src/integrations/tests/mongo.spec.js +10 -6
- package/src/integrations/tests/mysql.spec.js +1 -1
- package/src/integrations/utils.ts +18 -0
- package/src/middleware/currentapp.js +11 -2
- package/src/middleware/tests/currentapp.spec.js +3 -3
- package/src/tests/utilities/TestConfiguration.js +47 -19
- package/src/tests/utilities/controllers.js +1 -0
- package/src/utilities/fileSystem/index.js +65 -43
- package/src/utilities/global.js +1 -1
- package/src/utilities/queue/inMemoryQueue.js +7 -0
- package/src/utilities/rowProcessor/index.js +10 -0
- package/src/utilities/scriptRunner.js +21 -0
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="1635325148494" clover="3.2.0">
|
|
3
|
+
<project timestamp="1635325148494" name="All files">
|
|
4
|
+
<metrics statements="3935" coveredstatements="3070" conditionals="1515" coveredconditionals="892" methods="563" coveredmethods="421" elements="6013" coveredelements="4383" complexity="0" loc="3935" ncloc="3935" packages="19" files="133" classes="133"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="29" coveredstatements="27" conditionals="5" coveredconditionals="2" methods="5" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
<line num="13" count="23" type="stmt"/>
|
|
17
17
|
<line num="15" count="23" type="stmt"/>
|
|
18
18
|
<line num="17" count="23" type="stmt"/>
|
|
19
|
-
<line num="31" count="
|
|
20
|
-
<line num="35" count="
|
|
19
|
+
<line num="31" count="157" type="stmt"/>
|
|
20
|
+
<line num="35" count="157" type="stmt"/>
|
|
21
21
|
<line num="37" count="1" type="stmt"/>
|
|
22
22
|
<line num="38" count="1" type="stmt"/>
|
|
23
23
|
<line num="60" count="23" type="stmt"/>
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
</file>
|
|
39
39
|
</package>
|
|
40
40
|
<package name="api.controllers">
|
|
41
|
-
<metrics statements="
|
|
41
|
+
<metrics statements="1015" coveredstatements="796" conditionals="320" coveredconditionals="177" methods="146" coveredmethods="113"/>
|
|
42
42
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.js">
|
|
43
|
-
<metrics statements="
|
|
43
|
+
<metrics statements="13" coveredstatements="6" conditionals="13" coveredconditionals="4" methods="2" coveredmethods="1"/>
|
|
44
44
|
<line num="1" count="23" type="stmt"/>
|
|
45
45
|
<line num="2" count="23" type="stmt"/>
|
|
46
46
|
<line num="6" count="23" type="cond" truecount="3" falsecount="2"/>
|
|
@@ -52,7 +52,8 @@
|
|
|
52
52
|
<line num="18" count="0" type="stmt"/>
|
|
53
53
|
<line num="21" count="0" type="stmt"/>
|
|
54
54
|
<line num="24" count="0" type="stmt"/>
|
|
55
|
-
<line num="
|
|
55
|
+
<line num="28" count="0" type="stmt"/>
|
|
56
|
+
<line num="36" count="0" type="stmt"/>
|
|
56
57
|
</file>
|
|
57
58
|
<file name="apikeys.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/apikeys.js">
|
|
58
59
|
<metrics statements="24" coveredstatements="24" conditionals="4" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
@@ -82,7 +83,7 @@
|
|
|
82
83
|
<line num="46" count="1" type="stmt"/>
|
|
83
84
|
</file>
|
|
84
85
|
<file name="application.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/application.js">
|
|
85
|
-
<metrics statements="
|
|
86
|
+
<metrics statements="167" coveredstatements="138" conditionals="66" coveredconditionals="39" methods="20" coveredmethods="17"/>
|
|
86
87
|
<line num="1" count="33" type="stmt"/>
|
|
87
88
|
<line num="2" count="33" type="stmt"/>
|
|
88
89
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -94,152 +95,165 @@
|
|
|
94
95
|
<line num="25" count="33" type="stmt"/>
|
|
95
96
|
<line num="26" count="33" type="stmt"/>
|
|
96
97
|
<line num="27" count="33" type="stmt"/>
|
|
97
|
-
<line num="28" count="33" type="stmt"/>
|
|
98
|
-
<line num="29" count="33" type="stmt"/>
|
|
99
98
|
<line num="33" count="33" type="stmt"/>
|
|
100
99
|
<line num="34" count="33" type="stmt"/>
|
|
101
|
-
<line num="
|
|
100
|
+
<line num="38" count="33" type="stmt"/>
|
|
101
|
+
<line num="39" count="33" type="stmt"/>
|
|
102
102
|
<line num="40" count="33" type="stmt"/>
|
|
103
|
-
<line num="
|
|
104
|
-
<line num="
|
|
105
|
-
<line num="
|
|
106
|
-
<line num="
|
|
107
|
-
<line num="
|
|
108
|
-
<line num="
|
|
109
|
-
<line num="
|
|
110
|
-
<line num="
|
|
111
|
-
<line num="
|
|
112
|
-
<line num="
|
|
113
|
-
<line num="
|
|
114
|
-
<line num="
|
|
115
|
-
<line num="
|
|
116
|
-
<line num="
|
|
117
|
-
<line num="
|
|
118
|
-
<line num="
|
|
119
|
-
<line num="
|
|
120
|
-
<line num="
|
|
121
|
-
<line num="
|
|
122
|
-
<line num="
|
|
123
|
-
<line num="
|
|
124
|
-
<line num="
|
|
125
|
-
<line num="
|
|
126
|
-
<line num="
|
|
127
|
-
<line num="
|
|
128
|
-
<line num="
|
|
129
|
-
<line num="
|
|
130
|
-
<line num="
|
|
131
|
-
<line num="
|
|
132
|
-
<line num="
|
|
133
|
-
<line num="
|
|
134
|
-
<line num="
|
|
135
|
-
<line num="
|
|
136
|
-
<line num="
|
|
137
|
-
<line num="
|
|
138
|
-
<line num="
|
|
139
|
-
<line num="
|
|
140
|
-
<line num="
|
|
141
|
-
<line num="
|
|
142
|
-
<line num="
|
|
143
|
-
<line num="143" count="10" type="cond" truecount="2" falsecount="2"/>
|
|
144
|
-
<line num="144" count="10" type="stmt"/>
|
|
103
|
+
<line num="45" count="33" type="stmt"/>
|
|
104
|
+
<line num="46" count="33" type="stmt"/>
|
|
105
|
+
<line num="48" count="33" type="stmt"/>
|
|
106
|
+
<line num="52" count="188" type="stmt"/>
|
|
107
|
+
<line num="58" count="376" type="stmt"/>
|
|
108
|
+
<line num="62" count="188" type="stmt"/>
|
|
109
|
+
<line num="68" count="200" type="stmt"/>
|
|
110
|
+
<line num="72" count="186" type="cond" truecount="4" falsecount="0"/>
|
|
111
|
+
<line num="79" count="183" type="cond" truecount="1" falsecount="1"/>
|
|
112
|
+
<line num="80" count="0" type="stmt"/>
|
|
113
|
+
<line num="81" count="183" type="cond" truecount="2" falsecount="0"/>
|
|
114
|
+
<line num="82" count="180" type="stmt"/>
|
|
115
|
+
<line num="84" count="183" type="cond" truecount="2" falsecount="0"/>
|
|
116
|
+
<line num="85" count="180" type="stmt"/>
|
|
117
|
+
<line num="87" count="183" type="cond" truecount="2" falsecount="0"/>
|
|
118
|
+
<line num="88" count="10" type="stmt"/>
|
|
119
|
+
<line num="90" count="173" type="stmt"/>
|
|
120
|
+
<line num="91" count="173" type="cond" truecount="1" falsecount="1"/>
|
|
121
|
+
<line num="97" count="0" type="stmt"/>
|
|
122
|
+
<line num="99" count="173" type="stmt"/>
|
|
123
|
+
<line num="103" count="178" type="cond" truecount="1" falsecount="1"/>
|
|
124
|
+
<line num="104" count="178" type="stmt"/>
|
|
125
|
+
<line num="105" count="178" type="stmt"/>
|
|
126
|
+
<line num="107" count="178" type="stmt"/>
|
|
127
|
+
<line num="108" count="178" type="stmt"/>
|
|
128
|
+
<line num="117" count="178" type="stmt"/>
|
|
129
|
+
<line num="118" count="178" type="stmt"/>
|
|
130
|
+
<line num="119" count="178" type="stmt"/>
|
|
131
|
+
<line num="123" count="178" type="cond" truecount="3" falsecount="1"/>
|
|
132
|
+
<line num="124" count="0" type="stmt"/>
|
|
133
|
+
<line num="125" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
134
|
+
<line num="126" count="0" type="stmt"/>
|
|
135
|
+
<line num="128" count="178" type="cond" truecount="3" falsecount="1"/>
|
|
136
|
+
<line num="131" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
137
|
+
<line num="132" count="0" type="stmt"/>
|
|
138
|
+
<line num="136" count="178" type="stmt"/>
|
|
139
|
+
<line num="139" count="178" type="stmt"/>
|
|
140
|
+
<line num="142" count="33" type="stmt"/>
|
|
141
|
+
<line num="143" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
142
|
+
<line num="144" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
145
143
|
<line num="145" count="10" type="stmt"/>
|
|
146
|
-
<line num="
|
|
147
|
-
<line num="
|
|
148
|
-
<line num="
|
|
149
|
-
<line num="
|
|
150
|
-
<line num="
|
|
144
|
+
<line num="148" count="10" type="cond" truecount="2" falsecount="2"/>
|
|
145
|
+
<line num="149" count="10" type="stmt"/>
|
|
146
|
+
<line num="150" count="10" type="stmt"/>
|
|
147
|
+
<line num="151" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
148
|
+
<line num="152" count="14" type="stmt"/>
|
|
151
149
|
<line num="154" count="0" type="stmt"/>
|
|
152
|
-
<line num="
|
|
153
|
-
<line num="
|
|
154
|
-
<line num="
|
|
155
|
-
<line num="164" count="
|
|
156
|
-
<line num="
|
|
157
|
-
<line num="
|
|
158
|
-
<line num="
|
|
150
|
+
<line num="155" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
151
|
+
<line num="156" count="0" type="stmt"/>
|
|
152
|
+
<line num="159" count="0" type="stmt"/>
|
|
153
|
+
<line num="164" count="10" type="stmt"/>
|
|
154
|
+
<line num="167" count="33" type="stmt"/>
|
|
155
|
+
<line num="168" count="1" type="stmt"/>
|
|
156
|
+
<line num="169" count="1" type="stmt"/>
|
|
157
|
+
<line num="170" count="1" type="stmt"/>
|
|
159
158
|
<line num="171" count="1" type="stmt"/>
|
|
160
|
-
<line num="
|
|
161
|
-
<line num="
|
|
162
|
-
<line num="
|
|
163
|
-
<line num="
|
|
164
|
-
<line num="
|
|
165
|
-
<line num="
|
|
166
|
-
<line num="
|
|
167
|
-
<line num="
|
|
168
|
-
<line num="
|
|
169
|
-
<line num="
|
|
170
|
-
<line num="
|
|
171
|
-
<line num="
|
|
172
|
-
<line num="
|
|
173
|
-
<line num="
|
|
174
|
-
<line num="
|
|
175
|
-
<line num="
|
|
176
|
-
<line num="
|
|
177
|
-
<line num="
|
|
178
|
-
<line num="
|
|
179
|
-
<line num="
|
|
180
|
-
<line num="
|
|
181
|
-
<line num="
|
|
182
|
-
<line num="222" count="
|
|
183
|
-
<line num="
|
|
184
|
-
<line num="
|
|
185
|
-
<line num="242" count="
|
|
186
|
-
<line num="243" count="
|
|
187
|
-
<line num="
|
|
188
|
-
<line num="
|
|
189
|
-
<line num="
|
|
190
|
-
<line num="
|
|
191
|
-
<line num="
|
|
192
|
-
<line num="
|
|
193
|
-
<line num="
|
|
159
|
+
<line num="172" count="1" type="stmt"/>
|
|
160
|
+
<line num="176" count="1" type="stmt"/>
|
|
161
|
+
<line num="183" count="33" type="stmt"/>
|
|
162
|
+
<line num="184" count="187" type="stmt"/>
|
|
163
|
+
<line num="185" count="187" type="stmt"/>
|
|
164
|
+
<line num="186" count="187" type="stmt"/>
|
|
165
|
+
<line num="187" count="187" type="stmt"/>
|
|
166
|
+
<line num="190" count="187" type="cond" truecount="4" falsecount="0"/>
|
|
167
|
+
<line num="191" count="185" type="stmt"/>
|
|
168
|
+
<line num="192" count="185" type="stmt"/>
|
|
169
|
+
<line num="193" count="185" type="stmt"/>
|
|
170
|
+
<line num="196" count="187" type="stmt"/>
|
|
171
|
+
<line num="204" count="33" type="stmt"/>
|
|
172
|
+
<line num="205" count="178" type="stmt"/>
|
|
173
|
+
<line num="206" count="178" type="stmt"/>
|
|
174
|
+
<line num="211" count="178" type="cond" truecount="2" falsecount="2"/>
|
|
175
|
+
<line num="212" count="0" type="stmt"/>
|
|
176
|
+
<line num="214" count="178" type="stmt"/>
|
|
177
|
+
<line num="215" count="178" type="stmt"/>
|
|
178
|
+
<line num="217" count="178" type="stmt"/>
|
|
179
|
+
<line num="218" count="178" type="stmt"/>
|
|
180
|
+
<line num="220" count="178" type="stmt"/>
|
|
181
|
+
<line num="222" count="178" type="stmt"/>
|
|
182
|
+
<line num="223" count="0" type="stmt"/>
|
|
183
|
+
<line num="227" count="178" type="stmt"/>
|
|
184
|
+
<line num="242" count="178" type="stmt"/>
|
|
185
|
+
<line num="243" count="178" type="stmt"/>
|
|
186
|
+
<line num="247" count="178" type="cond" truecount="1" falsecount="1"/>
|
|
187
|
+
<line num="248" count="178" type="stmt"/>
|
|
188
|
+
<line num="256" count="178" type="stmt"/>
|
|
189
|
+
<line num="257" count="178" type="stmt"/>
|
|
190
|
+
<line num="260" count="33" type="stmt"/>
|
|
191
|
+
<line num="261" count="2" type="stmt"/>
|
|
192
|
+
<line num="262" count="2" type="stmt"/>
|
|
194
193
|
<line num="263" count="2" type="stmt"/>
|
|
195
|
-
<line num="
|
|
196
|
-
<line num="
|
|
197
|
-
<line num="
|
|
198
|
-
<line num="
|
|
199
|
-
<line num="
|
|
200
|
-
<line num="274" count="
|
|
201
|
-
<line num="
|
|
194
|
+
<line num="266" count="33" type="stmt"/>
|
|
195
|
+
<line num="268" count="2" type="stmt"/>
|
|
196
|
+
<line num="269" count="2" type="stmt"/>
|
|
197
|
+
<line num="270" count="2" type="stmt"/>
|
|
198
|
+
<line num="273" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
199
|
+
<line num="274" count="0" type="stmt"/>
|
|
200
|
+
<line num="275" count="0" type="stmt"/>
|
|
202
201
|
<line num="279" count="2" type="stmt"/>
|
|
203
|
-
<line num="
|
|
204
|
-
<line num="
|
|
205
|
-
<line num="285" count="
|
|
206
|
-
<line num="
|
|
207
|
-
<line num="
|
|
208
|
-
<line num="
|
|
202
|
+
<line num="283" count="2" type="stmt"/>
|
|
203
|
+
<line num="284" count="2" type="stmt"/>
|
|
204
|
+
<line num="285" count="2" type="stmt"/>
|
|
205
|
+
<line num="288" count="33" type="stmt"/>
|
|
206
|
+
<line num="290" count="1" type="stmt"/>
|
|
207
|
+
<line num="291" count="1" type="stmt"/>
|
|
209
208
|
<line num="292" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
210
209
|
<line num="293" count="0" type="stmt"/>
|
|
211
|
-
<line num="297" count="1" type="
|
|
212
|
-
<line num="
|
|
210
|
+
<line num="297" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
211
|
+
<line num="298" count="0" type="stmt"/>
|
|
213
212
|
<line num="302" count="1" type="stmt"/>
|
|
214
|
-
<line num="
|
|
215
|
-
<line num="
|
|
216
|
-
<line num="
|
|
217
|
-
<line num="
|
|
218
|
-
<line num="
|
|
219
|
-
<line num="
|
|
220
|
-
<line num="
|
|
221
|
-
<line num="
|
|
222
|
-
<line num="
|
|
223
|
-
<line num="
|
|
224
|
-
<line num="
|
|
225
|
-
<line num="
|
|
226
|
-
<line num="
|
|
227
|
-
<line num="
|
|
228
|
-
<line num="
|
|
229
|
-
<line num="
|
|
230
|
-
<line num="338" count="
|
|
231
|
-
<line num="
|
|
232
|
-
<line num="
|
|
233
|
-
<line num="
|
|
234
|
-
<line num="
|
|
235
|
-
<line num="
|
|
236
|
-
<line num="
|
|
237
|
-
<line num="
|
|
238
|
-
<line num="
|
|
239
|
-
<line num="
|
|
213
|
+
<line num="306" count="1" type="stmt"/>
|
|
214
|
+
<line num="307" count="1" type="stmt"/>
|
|
215
|
+
<line num="308" count="1" type="stmt"/>
|
|
216
|
+
<line num="311" count="33" type="stmt"/>
|
|
217
|
+
<line num="312" count="11" type="stmt"/>
|
|
218
|
+
<line num="314" count="11" type="stmt"/>
|
|
219
|
+
<line num="320" count="11" type="stmt"/>
|
|
220
|
+
<line num="322" count="11" type="stmt"/>
|
|
221
|
+
<line num="323" count="11" type="stmt"/>
|
|
222
|
+
<line num="326" count="33" type="stmt"/>
|
|
223
|
+
<line num="327" count="0" type="stmt"/>
|
|
224
|
+
<line num="328" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
225
|
+
<line num="329" count="0" type="stmt"/>
|
|
226
|
+
<line num="331" count="0" type="stmt"/>
|
|
227
|
+
<line num="332" count="0" type="stmt"/>
|
|
228
|
+
<line num="337" count="0" type="stmt"/>
|
|
229
|
+
<line num="338" count="0" type="stmt"/>
|
|
230
|
+
<line num="340" count="0" type="stmt"/>
|
|
231
|
+
<line num="344" count="0" type="stmt"/>
|
|
232
|
+
<line num="346" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
233
|
+
<line num="347" count="0" type="stmt"/>
|
|
234
|
+
<line num="349" count="0" type="stmt"/>
|
|
235
|
+
<line num="355" count="33" type="stmt"/>
|
|
236
|
+
<line num="356" count="5" type="stmt"/>
|
|
237
|
+
<line num="357" count="5" type="stmt"/>
|
|
238
|
+
<line num="358" count="5" type="stmt"/>
|
|
239
|
+
<line num="360" count="5" type="stmt"/>
|
|
240
|
+
<line num="361" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
241
|
+
<line num="362" count="5" type="stmt"/>
|
|
242
|
+
<line num="367" count="5" type="stmt"/>
|
|
243
|
+
<line num="369" count="5" type="stmt"/>
|
|
244
|
+
<line num="372" count="33" type="stmt"/>
|
|
245
|
+
<line num="373" count="178" type="stmt"/>
|
|
246
|
+
<line num="375" count="178" type="stmt"/>
|
|
247
|
+
<line num="376" count="178" type="stmt"/>
|
|
248
|
+
<line num="377" count="356" type="stmt"/>
|
|
249
|
+
<line num="378" count="356" type="stmt"/>
|
|
250
|
+
<line num="381" count="178" type="stmt"/>
|
|
251
|
+
<line num="382" count="178" type="stmt"/>
|
|
252
|
+
<line num="383" count="178" type="stmt"/>
|
|
253
|
+
<line num="385" count="178" type="stmt"/>
|
|
240
254
|
</file>
|
|
241
255
|
<file name="auth.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/auth.js">
|
|
242
|
-
<metrics statements="
|
|
256
|
+
<metrics statements="26" coveredstatements="22" conditionals="8" coveredconditionals="4" methods="1" coveredmethods="1"/>
|
|
243
257
|
<line num="1" count="23" type="stmt"/>
|
|
244
258
|
<line num="2" count="23" type="stmt"/>
|
|
245
259
|
<line num="3" count="23" type="stmt"/>
|
|
@@ -256,10 +270,16 @@
|
|
|
256
270
|
<line num="23" count="1" type="stmt"/>
|
|
257
271
|
<line num="24" count="1" type="stmt"/>
|
|
258
272
|
<line num="26" count="0" type="stmt"/>
|
|
259
|
-
<line num="
|
|
260
|
-
<line num="
|
|
261
|
-
<line num="37" count="1" type="
|
|
262
|
-
<line num="
|
|
273
|
+
<line num="33" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
274
|
+
<line num="34" count="0" type="stmt"/>
|
|
275
|
+
<line num="37" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
276
|
+
<line num="38" count="1" type="stmt"/>
|
|
277
|
+
<line num="41" count="1" type="stmt"/>
|
|
278
|
+
<line num="42" count="1" type="stmt"/>
|
|
279
|
+
<line num="43" count="1" type="stmt"/>
|
|
280
|
+
<line num="45" count="0" type="stmt"/>
|
|
281
|
+
<line num="47" count="1" type="stmt"/>
|
|
282
|
+
<line num="50" count="0" type="stmt"/>
|
|
263
283
|
</file>
|
|
264
284
|
<file name="automation.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/automation.js">
|
|
265
285
|
<metrics statements="94" coveredstatements="84" conditionals="32" coveredconditionals="23" methods="14" coveredmethods="13"/>
|
|
@@ -365,8 +385,8 @@
|
|
|
365
385
|
<line num="4" count="1" type="stmt"/>
|
|
366
386
|
<line num="5" count="1" type="stmt"/>
|
|
367
387
|
<line num="6" count="1" type="stmt"/>
|
|
388
|
+
<line num="7" count="1" type="stmt"/>
|
|
368
389
|
<line num="8" count="1" type="stmt"/>
|
|
369
|
-
<line num="9" count="1" type="stmt"/>
|
|
370
390
|
</file>
|
|
371
391
|
<file name="cloud.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/cloud.js">
|
|
372
392
|
<metrics statements="55" coveredstatements="11" conditionals="23" coveredconditionals="0" methods="8" coveredmethods="0"/>
|
|
@@ -524,7 +544,7 @@
|
|
|
524
544
|
<line num="146" count="0" type="stmt"/>
|
|
525
545
|
</file>
|
|
526
546
|
<file name="dev.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/dev.js">
|
|
527
|
-
<metrics statements="
|
|
547
|
+
<metrics statements="57" coveredstatements="17" conditionals="11" coveredconditionals="0" methods="10" coveredmethods="3"/>
|
|
528
548
|
<line num="1" count="23" type="stmt"/>
|
|
529
549
|
<line num="2" count="23" type="stmt"/>
|
|
530
550
|
<line num="3" count="23" type="stmt"/>
|
|
@@ -536,49 +556,52 @@
|
|
|
536
556
|
<line num="11" count="0" type="stmt"/>
|
|
537
557
|
<line num="12" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
538
558
|
<line num="13" count="0" type="stmt"/>
|
|
539
|
-
<line num="
|
|
540
|
-
<line num="25" count="0" type="stmt"/>
|
|
559
|
+
<line num="26" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
541
560
|
<line num="27" count="0" type="stmt"/>
|
|
542
|
-
<line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
543
561
|
<line num="29" count="0" type="stmt"/>
|
|
544
|
-
<line num="
|
|
545
|
-
<line num="
|
|
546
|
-
<line num="
|
|
547
|
-
<line num="
|
|
562
|
+
<line num="30" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
563
|
+
<line num="31" count="0" type="stmt"/>
|
|
564
|
+
<line num="34" count="0" type="stmt"/>
|
|
565
|
+
<line num="35" count="0" type="stmt"/>
|
|
548
566
|
<line num="39" count="0" type="stmt"/>
|
|
567
|
+
<line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
549
568
|
<line num="41" count="0" type="stmt"/>
|
|
550
|
-
<line num="
|
|
551
|
-
<line num="
|
|
552
|
-
<line num="
|
|
553
|
-
<line num="
|
|
569
|
+
<line num="43" count="0" type="stmt"/>
|
|
570
|
+
<line num="46" count="23" type="stmt"/>
|
|
571
|
+
<line num="47" count="46" type="stmt"/>
|
|
572
|
+
<line num="48" count="0" type="stmt"/>
|
|
554
573
|
<line num="52" count="23" type="stmt"/>
|
|
555
|
-
<line num="53" count="
|
|
556
|
-
<line num="
|
|
557
|
-
<line num="
|
|
558
|
-
<line num="
|
|
559
|
-
<line num="
|
|
560
|
-
<line num="
|
|
561
|
-
<line num="
|
|
562
|
-
<line num="
|
|
574
|
+
<line num="53" count="46" type="stmt"/>
|
|
575
|
+
<line num="54" count="0" type="stmt"/>
|
|
576
|
+
<line num="58" count="23" type="stmt"/>
|
|
577
|
+
<line num="59" count="46" type="stmt"/>
|
|
578
|
+
<line num="60" count="0" type="stmt"/>
|
|
579
|
+
<line num="64" count="23" type="stmt"/>
|
|
580
|
+
<line num="65" count="0" type="stmt"/>
|
|
581
|
+
<line num="66" count="0" type="stmt"/>
|
|
582
|
+
<line num="67" count="0" type="stmt"/>
|
|
563
583
|
<line num="69" count="0" type="stmt"/>
|
|
564
|
-
<line num="
|
|
565
|
-
<line num="
|
|
566
|
-
<line num="
|
|
567
|
-
<line num="75" count="0" type="stmt"/>
|
|
568
|
-
<line num="76" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
584
|
+
<line num="71" count="0" type="stmt"/>
|
|
585
|
+
<line num="76" count="23" type="stmt"/>
|
|
586
|
+
<line num="77" count="0" type="stmt"/>
|
|
569
587
|
<line num="78" count="0" type="stmt"/>
|
|
570
588
|
<line num="81" count="0" type="stmt"/>
|
|
571
589
|
<line num="82" count="0" type="stmt"/>
|
|
572
|
-
<line num="
|
|
590
|
+
<line num="83" count="0" type="stmt"/>
|
|
591
|
+
<line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
592
|
+
<line num="86" count="0" type="stmt"/>
|
|
573
593
|
<line num="89" count="0" type="stmt"/>
|
|
574
594
|
<line num="90" count="0" type="stmt"/>
|
|
575
|
-
<line num="
|
|
576
|
-
<line num="
|
|
577
|
-
<line num="93" count="0" type="stmt"/>
|
|
578
|
-
<line num="94" count="0" type="stmt"/>
|
|
595
|
+
<line num="95" count="0" type="stmt"/>
|
|
596
|
+
<line num="97" count="0" type="stmt"/>
|
|
579
597
|
<line num="98" count="0" type="stmt"/>
|
|
580
|
-
<line num="
|
|
581
|
-
<line num="
|
|
598
|
+
<line num="99" count="0" type="stmt"/>
|
|
599
|
+
<line num="100" count="0" type="stmt"/>
|
|
600
|
+
<line num="101" count="0" type="stmt"/>
|
|
601
|
+
<line num="102" count="0" type="stmt"/>
|
|
602
|
+
<line num="106" count="0" type="stmt"/>
|
|
603
|
+
<line num="110" count="23" type="stmt"/>
|
|
604
|
+
<line num="111" count="0" type="stmt"/>
|
|
582
605
|
</file>
|
|
583
606
|
<file name="hosting.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/hosting.js">
|
|
584
607
|
<metrics statements="15" coveredstatements="13" conditionals="4" coveredconditionals="2" methods="2" coveredmethods="1"/>
|
|
@@ -666,7 +689,7 @@
|
|
|
666
689
|
<line num="43" count="0" type="stmt"/>
|
|
667
690
|
</file>
|
|
668
691
|
<file name="permission.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/permission.js">
|
|
669
|
-
<metrics statements="78" coveredstatements="77" conditionals="
|
|
692
|
+
<metrics statements="78" coveredstatements="77" conditionals="33" coveredconditionals="30" methods="13" coveredmethods="13"/>
|
|
670
693
|
<line num="1" count="33" type="stmt"/>
|
|
671
694
|
<line num="7" count="33" type="stmt"/>
|
|
672
695
|
<line num="8" count="33" type="stmt"/>
|
|
@@ -739,102 +762,111 @@
|
|
|
739
762
|
<line num="146" count="6" type="stmt"/>
|
|
740
763
|
<line num="147" count="8" type="stmt"/>
|
|
741
764
|
<line num="148" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
742
|
-
<line num="
|
|
743
|
-
<line num="
|
|
744
|
-
<line num="
|
|
745
|
-
<line num="
|
|
746
|
-
<line num="
|
|
747
|
-
<line num="
|
|
765
|
+
<line num="154" count="3" type="stmt"/>
|
|
766
|
+
<line num="158" count="3" type="stmt"/>
|
|
767
|
+
<line num="161" count="33" type="stmt"/>
|
|
768
|
+
<line num="162" count="10" type="stmt"/>
|
|
769
|
+
<line num="169" count="33" type="stmt"/>
|
|
770
|
+
<line num="170" count="1" type="stmt"/>
|
|
748
771
|
</file>
|
|
749
772
|
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query.js">
|
|
750
|
-
<metrics statements="
|
|
773
|
+
<metrics statements="96" coveredstatements="75" conditionals="41" coveredconditionals="22" methods="13" coveredmethods="12"/>
|
|
751
774
|
<line num="1" count="34" type="stmt"/>
|
|
752
775
|
<line num="2" count="34" type="stmt"/>
|
|
753
776
|
<line num="3" count="34" type="stmt"/>
|
|
754
777
|
<line num="4" count="34" type="stmt"/>
|
|
755
778
|
<line num="5" count="34" type="stmt"/>
|
|
756
779
|
<line num="6" count="34" type="stmt"/>
|
|
757
|
-
<line num="
|
|
758
|
-
<line num="11" count="4" type="
|
|
759
|
-
<line num="12" count="4" type="
|
|
760
|
-
<line num="13" count="
|
|
761
|
-
<line num="14" count="3" type="
|
|
762
|
-
<line num="
|
|
763
|
-
<line num="
|
|
764
|
-
<line num="22" count="
|
|
780
|
+
<line num="7" count="34" type="stmt"/>
|
|
781
|
+
<line num="11" count="4" type="stmt"/>
|
|
782
|
+
<line num="12" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
783
|
+
<line num="13" count="4" type="stmt"/>
|
|
784
|
+
<line num="14" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
785
|
+
<line num="15" count="3" type="stmt"/>
|
|
786
|
+
<line num="18" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
787
|
+
<line num="22" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
765
788
|
<line num="23" count="0" type="stmt"/>
|
|
766
|
-
<line num="
|
|
767
|
-
<line num="
|
|
768
|
-
<line num="
|
|
769
|
-
<line num="32" count="
|
|
770
|
-
<line num="
|
|
771
|
-
<line num="
|
|
772
|
-
<line num="
|
|
773
|
-
<line num="
|
|
774
|
-
<line num="
|
|
775
|
-
<line num="
|
|
776
|
-
<line num="
|
|
777
|
-
<line num="
|
|
778
|
-
<line num="
|
|
779
|
-
<line num="
|
|
780
|
-
<line num="
|
|
781
|
-
<line num="
|
|
782
|
-
<line num="
|
|
783
|
-
<line num="
|
|
784
|
-
<line num="
|
|
785
|
-
<line num="
|
|
786
|
-
<line num="
|
|
787
|
-
<line num="
|
|
788
|
-
<line num="
|
|
789
|
-
<line num="
|
|
790
|
-
<line num="
|
|
791
|
-
<line num="
|
|
792
|
-
<line num="
|
|
793
|
-
<line num="
|
|
794
|
-
<line num="
|
|
795
|
-
<line num="
|
|
796
|
-
<line num="
|
|
797
|
-
<line num="
|
|
798
|
-
<line num="
|
|
799
|
-
<line num="102" count="
|
|
800
|
-
<line num="
|
|
801
|
-
<line num="
|
|
802
|
-
<line num="
|
|
803
|
-
<line num="
|
|
804
|
-
<line num="
|
|
805
|
-
<line num="
|
|
806
|
-
<line num="
|
|
807
|
-
<line num="
|
|
808
|
-
<line num="
|
|
809
|
-
<line num="
|
|
810
|
-
<line num="
|
|
811
|
-
<line num="
|
|
812
|
-
<line num="122" count="1" type="stmt"/>
|
|
813
|
-
<line num="125" count="1" type="stmt"/>
|
|
814
|
-
<line num="127" count="1" type="stmt"/>
|
|
815
|
-
<line num="129" count="1" type="stmt"/>
|
|
816
|
-
<line num="130" count="1" type="stmt"/>
|
|
817
|
-
<line num="133" count="1" type="stmt"/>
|
|
789
|
+
<line num="24" count="0" type="stmt"/>
|
|
790
|
+
<line num="26" count="0" type="stmt"/>
|
|
791
|
+
<line num="29" count="0" type="stmt"/>
|
|
792
|
+
<line num="32" count="2" type="stmt"/>
|
|
793
|
+
<line num="41" count="2" type="stmt"/>
|
|
794
|
+
<line num="44" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
795
|
+
<line num="45" count="0" type="stmt"/>
|
|
796
|
+
<line num="46" count="0" type="stmt"/>
|
|
797
|
+
<line num="50" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
798
|
+
<line num="51" count="0" type="stmt"/>
|
|
799
|
+
<line num="55" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
800
|
+
<line num="56" count="0" type="stmt"/>
|
|
801
|
+
<line num="60" count="2" type="stmt"/>
|
|
802
|
+
<line num="62" count="2" type="stmt"/>
|
|
803
|
+
<line num="65" count="34" type="stmt"/>
|
|
804
|
+
<line num="66" count="2" type="stmt"/>
|
|
805
|
+
<line num="68" count="2" type="stmt"/>
|
|
806
|
+
<line num="73" count="2" type="stmt"/>
|
|
807
|
+
<line num="76" count="34" type="stmt"/>
|
|
808
|
+
<line num="77" count="18" type="stmt"/>
|
|
809
|
+
<line num="78" count="18" type="stmt"/>
|
|
810
|
+
<line num="80" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
811
|
+
<line num="81" count="18" type="stmt"/>
|
|
812
|
+
<line num="84" count="18" type="stmt"/>
|
|
813
|
+
<line num="85" count="18" type="stmt"/>
|
|
814
|
+
<line num="87" count="18" type="stmt"/>
|
|
815
|
+
<line num="88" count="18" type="stmt"/>
|
|
816
|
+
<line num="92" count="2" type="stmt"/>
|
|
817
|
+
<line num="95" count="2" type="stmt"/>
|
|
818
|
+
<line num="96" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
819
|
+
<line num="97" count="0" type="stmt"/>
|
|
820
|
+
<line num="99" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
821
|
+
<line num="101" count="0" type="stmt"/>
|
|
822
|
+
<line num="102" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
823
|
+
<line num="104" count="0" type="stmt"/>
|
|
824
|
+
<line num="106" count="0" type="stmt"/>
|
|
825
|
+
<line num="110" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
826
|
+
<line num="115" count="0" type="stmt"/>
|
|
827
|
+
<line num="116" count="0" type="stmt"/>
|
|
828
|
+
<line num="122" count="0" type="stmt"/>
|
|
829
|
+
<line num="124" count="0" type="stmt"/>
|
|
830
|
+
<line num="127" count="2" type="stmt"/>
|
|
831
|
+
<line num="130" count="34" type="stmt"/>
|
|
832
|
+
<line num="131" count="2" type="stmt"/>
|
|
833
|
+
<line num="132" count="2" type="stmt"/>
|
|
834
|
+
<line num="134" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
818
835
|
<line num="135" count="1" type="stmt"/>
|
|
819
|
-
<line num="
|
|
820
|
-
<line num="
|
|
821
|
-
<line num="
|
|
822
|
-
<line num="
|
|
823
|
-
<line num="
|
|
824
|
-
<line num="
|
|
825
|
-
<line num="
|
|
826
|
-
<line num="
|
|
836
|
+
<line num="136" count="1" type="stmt"/>
|
|
837
|
+
<line num="137" count="1" type="stmt"/>
|
|
838
|
+
<line num="139" count="2" type="stmt"/>
|
|
839
|
+
<line num="142" count="34" type="stmt"/>
|
|
840
|
+
<line num="143" count="2" type="stmt"/>
|
|
841
|
+
<line num="145" count="2" type="stmt"/>
|
|
842
|
+
<line num="147" count="2" type="stmt"/>
|
|
843
|
+
<line num="149" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
844
|
+
<line num="150" count="1" type="stmt"/>
|
|
845
|
+
<line num="153" count="1" type="stmt"/>
|
|
827
846
|
<line num="154" count="1" type="stmt"/>
|
|
847
|
+
<line num="155" count="1" type="stmt"/>
|
|
828
848
|
<line num="157" count="1" type="stmt"/>
|
|
829
|
-
<line num="162" count="1" type="stmt"/>
|
|
830
849
|
<line num="164" count="1" type="stmt"/>
|
|
831
|
-
<line num="
|
|
832
|
-
<line num="
|
|
833
|
-
<line num="
|
|
834
|
-
<line num="
|
|
835
|
-
<line num="
|
|
836
|
-
<line num="
|
|
837
|
-
<line num="
|
|
850
|
+
<line num="169" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
851
|
+
<line num="170" count="0" type="stmt"/>
|
|
852
|
+
<line num="174" count="34" type="stmt"/>
|
|
853
|
+
<line num="175" count="2" type="stmt"/>
|
|
854
|
+
<line num="177" count="2" type="stmt"/>
|
|
855
|
+
<line num="178" count="2" type="stmt"/>
|
|
856
|
+
<line num="180" count="2" type="stmt"/>
|
|
857
|
+
<line num="182" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
858
|
+
<line num="183" count="1" type="stmt"/>
|
|
859
|
+
<line num="186" count="1" type="stmt"/>
|
|
860
|
+
<line num="190" count="1" type="stmt"/>
|
|
861
|
+
<line num="193" count="1" type="stmt"/>
|
|
862
|
+
<line num="199" count="1" type="stmt"/>
|
|
863
|
+
<line num="201" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
864
|
+
<line num="202" count="0" type="stmt"/>
|
|
865
|
+
<line num="206" count="34" type="stmt"/>
|
|
866
|
+
<line num="207" count="1" type="stmt"/>
|
|
867
|
+
<line num="208" count="1" type="stmt"/>
|
|
868
|
+
<line num="209" count="1" type="stmt"/>
|
|
869
|
+
<line num="210" count="1" type="stmt"/>
|
|
838
870
|
</file>
|
|
839
871
|
<file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/role.js">
|
|
840
872
|
<metrics statements="53" coveredstatements="47" conditionals="22" coveredconditionals="14" methods="7" coveredmethods="5"/>
|
|
@@ -956,14 +988,14 @@
|
|
|
956
988
|
<line num="15" count="2" type="stmt"/>
|
|
957
989
|
<line num="17" count="1" type="stmt"/>
|
|
958
990
|
<line num="23" count="33" type="stmt"/>
|
|
959
|
-
<line num="24" count="
|
|
960
|
-
<line num="25" count="
|
|
961
|
-
<line num="26" count="
|
|
962
|
-
<line num="28" count="
|
|
963
|
-
<line num="29" count="
|
|
964
|
-
<line num="31" count="
|
|
965
|
-
<line num="33" count="
|
|
966
|
-
<line num="34" count="
|
|
991
|
+
<line num="24" count="19" type="stmt"/>
|
|
992
|
+
<line num="25" count="19" type="stmt"/>
|
|
993
|
+
<line num="26" count="19" type="stmt"/>
|
|
994
|
+
<line num="28" count="19" type="cond" truecount="1" falsecount="1"/>
|
|
995
|
+
<line num="29" count="19" type="stmt"/>
|
|
996
|
+
<line num="31" count="19" type="stmt"/>
|
|
997
|
+
<line num="33" count="19" type="stmt"/>
|
|
998
|
+
<line num="34" count="19" type="stmt"/>
|
|
967
999
|
<line num="41" count="33" type="stmt"/>
|
|
968
1000
|
<line num="42" count="1" type="stmt"/>
|
|
969
1001
|
<line num="43" count="1" type="stmt"/>
|
|
@@ -971,31 +1003,32 @@
|
|
|
971
1003
|
<line num="47" count="1" type="stmt"/>
|
|
972
1004
|
</file>
|
|
973
1005
|
<file name="script.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/script.js">
|
|
974
|
-
<metrics statements="
|
|
1006
|
+
<metrics statements="7" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
975
1007
|
<line num="1" count="34" type="stmt"/>
|
|
976
|
-
<line num="
|
|
1008
|
+
<line num="3" count="34" type="stmt"/>
|
|
1009
|
+
<line num="4" count="0" type="stmt"/>
|
|
1010
|
+
<line num="5" count="0" type="stmt"/>
|
|
977
1011
|
<line num="6" count="0" type="stmt"/>
|
|
978
|
-
<line num="
|
|
979
|
-
<line num="
|
|
980
|
-
<line num="9" count="0" type="stmt"/>
|
|
981
|
-
<line num="13" count="0" type="stmt"/>
|
|
982
|
-
<line num="14" count="0" type="stmt"/>
|
|
983
|
-
<line num="18" count="34" type="stmt"/>
|
|
984
|
-
<line num="19" count="0" type="stmt"/>
|
|
985
|
-
<line num="21" count="0" type="stmt"/>
|
|
986
|
-
<line num="24" count="34" type="stmt"/>
|
|
987
|
-
<line num="25" count="0" type="stmt"/>
|
|
1012
|
+
<line num="9" count="34" type="stmt"/>
|
|
1013
|
+
<line num="10" count="0" type="stmt"/>
|
|
988
1014
|
</file>
|
|
989
1015
|
<file name="templates.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/templates.js">
|
|
990
|
-
<metrics statements="
|
|
1016
|
+
<metrics statements="15" coveredstatements="12" conditionals="7" coveredconditionals="5" methods="1" coveredmethods="1"/>
|
|
991
1017
|
<line num="1" count="23" type="stmt"/>
|
|
992
1018
|
<line num="2" count="23" type="stmt"/>
|
|
993
1019
|
<line num="6" count="23" type="stmt"/>
|
|
994
1020
|
<line num="8" count="23" type="stmt"/>
|
|
995
1021
|
<line num="9" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
996
|
-
<line num="
|
|
1022
|
+
<line num="11" count="1" type="stmt"/>
|
|
1023
|
+
<line num="12" count="1" type="stmt"/>
|
|
997
1024
|
<line num="13" count="1" type="stmt"/>
|
|
998
|
-
<line num="14" count="1" type="
|
|
1025
|
+
<line num="14" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1026
|
+
<line num="15" count="0" type="stmt"/>
|
|
1027
|
+
<line num="18" count="0" type="stmt"/>
|
|
1028
|
+
<line num="21" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
1029
|
+
<line num="22" count="1" type="stmt"/>
|
|
1030
|
+
<line num="23" count="1" type="stmt"/>
|
|
1031
|
+
<line num="25" count="0" type="stmt"/>
|
|
999
1032
|
</file>
|
|
1000
1033
|
<file name="user.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/user.js">
|
|
1001
1034
|
<metrics statements="37" coveredstatements="32" conditionals="0" coveredconditionals="0" methods="8" coveredmethods="5"/>
|
|
@@ -1015,8 +1048,8 @@
|
|
|
1015
1048
|
<line num="27" count="0" type="stmt"/>
|
|
1016
1049
|
<line num="28" count="2" type="stmt"/>
|
|
1017
1050
|
<line num="29" count="2" type="stmt"/>
|
|
1018
|
-
<line num="31" count="
|
|
1019
|
-
<line num="33" count="
|
|
1051
|
+
<line num="31" count="7" type="stmt"/>
|
|
1052
|
+
<line num="33" count="7" type="stmt"/>
|
|
1020
1053
|
<line num="41" count="2" type="stmt"/>
|
|
1021
1054
|
<line num="44" count="34" type="stmt"/>
|
|
1022
1055
|
<line num="46" count="0" type="stmt"/>
|
|
@@ -1092,7 +1125,7 @@
|
|
|
1092
1125
|
</file>
|
|
1093
1126
|
</package>
|
|
1094
1127
|
<package name="api.controllers.row">
|
|
1095
|
-
<metrics statements="585" coveredstatements="309" conditionals="245" coveredconditionals="
|
|
1128
|
+
<metrics statements="585" coveredstatements="309" conditionals="245" coveredconditionals="83" methods="88" coveredmethods="38"/>
|
|
1096
1129
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
|
|
1097
1130
|
<metrics statements="97" coveredstatements="14" conditionals="40" coveredconditionals="0" methods="13" coveredmethods="0"/>
|
|
1098
1131
|
<line num="6" count="34" type="stmt"/>
|
|
@@ -1194,32 +1227,32 @@
|
|
|
1194
1227
|
<line num="227" count="0" type="stmt"/>
|
|
1195
1228
|
</file>
|
|
1196
1229
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/index.js">
|
|
1197
|
-
<metrics statements="85" coveredstatements="79" conditionals="34" coveredconditionals="
|
|
1230
|
+
<metrics statements="85" coveredstatements="79" conditionals="34" coveredconditionals="32" methods="11" coveredmethods="11"/>
|
|
1198
1231
|
<line num="1" count="34" type="stmt"/>
|
|
1199
1232
|
<line num="2" count="34" type="stmt"/>
|
|
1200
1233
|
<line num="3" count="34" type="stmt"/>
|
|
1201
|
-
<line num="6" count="
|
|
1234
|
+
<line num="6" count="111" type="cond" truecount="1" falsecount="1"/>
|
|
1202
1235
|
<line num="7" count="0" type="stmt"/>
|
|
1203
1236
|
<line num="9" count="110" type="stmt"/>
|
|
1204
|
-
<line num="13" count="
|
|
1237
|
+
<line num="13" count="113" type="cond" truecount="4" falsecount="0"/>
|
|
1205
1238
|
<line num="14" count="73" type="stmt"/>
|
|
1206
|
-
<line num="16" count="
|
|
1239
|
+
<line num="16" count="40" type="cond" truecount="4" falsecount="0"/>
|
|
1207
1240
|
<line num="17" count="32" type="stmt"/>
|
|
1208
|
-
<line num="19" count="
|
|
1241
|
+
<line num="19" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1209
1242
|
<line num="20" count="7" type="stmt"/>
|
|
1210
1243
|
<line num="24" count="34" type="stmt"/>
|
|
1211
|
-
<line num="25" count="
|
|
1212
|
-
<line num="26" count="
|
|
1213
|
-
<line num="27" count="
|
|
1214
|
-
<line num="29" count="
|
|
1244
|
+
<line num="25" count="6" type="stmt"/>
|
|
1245
|
+
<line num="26" count="6" type="stmt"/>
|
|
1246
|
+
<line num="27" count="6" type="stmt"/>
|
|
1247
|
+
<line num="29" count="6" type="cond" truecount="3" falsecount="1"/>
|
|
1215
1248
|
<line num="30" count="0" type="stmt"/>
|
|
1216
|
-
<line num="32" count="
|
|
1217
|
-
<line num="33" count="
|
|
1249
|
+
<line num="32" count="6" type="stmt"/>
|
|
1250
|
+
<line num="33" count="6" type="stmt"/>
|
|
1218
1251
|
<line num="34" count="4" type="stmt"/>
|
|
1219
1252
|
<line num="35" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
1220
1253
|
<line num="37" count="4" type="stmt"/>
|
|
1221
1254
|
<line num="38" count="4" type="stmt"/>
|
|
1222
|
-
<line num="40" count="
|
|
1255
|
+
<line num="40" count="2" type="stmt"/>
|
|
1223
1256
|
<line num="44" count="34" type="stmt"/>
|
|
1224
1257
|
<line num="45" count="69" type="stmt"/>
|
|
1225
1258
|
<line num="46" count="69" type="stmt"/>
|
|
@@ -1695,141 +1728,141 @@
|
|
|
1695
1728
|
</file>
|
|
1696
1729
|
</package>
|
|
1697
1730
|
<package name="api.controllers.table">
|
|
1698
|
-
<metrics statements="
|
|
1731
|
+
<metrics statements="227" coveredstatements="169" conditionals="120" coveredconditionals="65" methods="33" coveredmethods="23"/>
|
|
1699
1732
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/index.js">
|
|
1700
|
-
<metrics statements="
|
|
1733
|
+
<metrics statements="76" coveredstatements="67" conditionals="41" coveredconditionals="30" methods="10" coveredmethods="7"/>
|
|
1701
1734
|
<line num="1" count="34" type="stmt"/>
|
|
1702
1735
|
<line num="2" count="34" type="stmt"/>
|
|
1703
1736
|
<line num="3" count="34" type="stmt"/>
|
|
1704
1737
|
<line num="10" count="34" type="stmt"/>
|
|
1705
1738
|
<line num="11" count="34" type="stmt"/>
|
|
1706
1739
|
<line num="12" count="34" type="stmt"/>
|
|
1707
|
-
<line num="
|
|
1708
|
-
<line num="
|
|
1709
|
-
<line num="
|
|
1710
|
-
<line num="
|
|
1711
|
-
<line num="
|
|
1712
|
-
<line num="
|
|
1713
|
-
<line num="
|
|
1714
|
-
<line num="
|
|
1715
|
-
<line num="
|
|
1716
|
-
<line num="
|
|
1717
|
-
<line num="
|
|
1718
|
-
<line num="
|
|
1719
|
-
<line num="
|
|
1720
|
-
<line num="
|
|
1721
|
-
<line num="
|
|
1722
|
-
<line num="
|
|
1723
|
-
<line num="
|
|
1724
|
-
<line num="
|
|
1725
|
-
<line num="
|
|
1726
|
-
<line num="
|
|
1727
|
-
<line num="
|
|
1728
|
-
<line num="
|
|
1729
|
-
<line num="
|
|
1730
|
-
<line num="
|
|
1731
|
-
<line num="
|
|
1732
|
-
<line num="
|
|
1733
|
-
<line num="
|
|
1734
|
-
<line num="
|
|
1735
|
-
<line num="
|
|
1736
|
-
<line num="
|
|
1737
|
-
<line num="
|
|
1738
|
-
<line num="
|
|
1739
|
-
<line num="
|
|
1740
|
-
<line num="
|
|
1741
|
-
<line num="
|
|
1742
|
-
<line num="119" count="
|
|
1743
|
-
<line num="
|
|
1744
|
-
<line num="
|
|
1745
|
-
<line num="
|
|
1746
|
-
<line num="
|
|
1747
|
-
<line num="
|
|
1748
|
-
<line num="
|
|
1749
|
-
<line num="139" count="
|
|
1740
|
+
<line num="14" count="34" type="stmt"/>
|
|
1741
|
+
<line num="15" count="1" type="stmt"/>
|
|
1742
|
+
<line num="17" count="1" type="stmt"/>
|
|
1743
|
+
<line num="23" count="2" type="stmt"/>
|
|
1744
|
+
<line num="29" count="1" type="stmt"/>
|
|
1745
|
+
<line num="35" count="1" type="stmt"/>
|
|
1746
|
+
<line num="36" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1747
|
+
<line num="43" count="1" type="stmt"/>
|
|
1748
|
+
<line num="46" count="34" type="stmt"/>
|
|
1749
|
+
<line num="47" count="19" type="stmt"/>
|
|
1750
|
+
<line num="48" count="19" type="stmt"/>
|
|
1751
|
+
<line num="51" count="34" type="stmt"/>
|
|
1752
|
+
<line num="52" count="99" type="stmt"/>
|
|
1753
|
+
<line num="53" count="99" type="stmt"/>
|
|
1754
|
+
<line num="54" count="99" type="stmt"/>
|
|
1755
|
+
<line num="55" count="99" type="stmt"/>
|
|
1756
|
+
<line num="64" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
1757
|
+
<line num="65" count="4" type="stmt"/>
|
|
1758
|
+
<line num="70" count="99" type="stmt"/>
|
|
1759
|
+
<line num="76" count="99" type="stmt"/>
|
|
1760
|
+
<line num="80" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
1761
|
+
<line num="81" count="4" type="stmt"/>
|
|
1762
|
+
<line num="82" count="13" type="stmt"/>
|
|
1763
|
+
<line num="83" count="13" type="stmt"/>
|
|
1764
|
+
<line num="84" count="13" type="cond" truecount="3" falsecount="1"/>
|
|
1765
|
+
<line num="85" count="0" type="stmt"/>
|
|
1766
|
+
<line num="87" count="13" type="cond" truecount="3" falsecount="1"/>
|
|
1767
|
+
<line num="88" count="0" type="stmt"/>
|
|
1768
|
+
<line num="94" count="99" type="stmt"/>
|
|
1769
|
+
<line num="107" count="99" type="stmt"/>
|
|
1770
|
+
<line num="110" count="99" type="stmt"/>
|
|
1771
|
+
<line num="111" count="0" type="stmt"/>
|
|
1772
|
+
<line num="112" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1773
|
+
<line num="114" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1774
|
+
<line num="115" count="0" type="stmt"/>
|
|
1775
|
+
<line num="119" count="99" type="stmt"/>
|
|
1776
|
+
<line num="120" count="99" type="stmt"/>
|
|
1777
|
+
<line num="128" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
1778
|
+
<line num="129" count="4" type="stmt"/>
|
|
1779
|
+
<line num="132" count="0" type="stmt"/>
|
|
1780
|
+
<line num="137" count="99" type="stmt"/>
|
|
1781
|
+
<line num="138" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
1782
|
+
<line num="139" count="1" type="stmt"/>
|
|
1783
|
+
<line num="141" count="99" type="stmt"/>
|
|
1784
|
+
<line num="142" count="99" type="stmt"/>
|
|
1750
1785
|
<line num="144" count="99" type="stmt"/>
|
|
1751
|
-
<line num="
|
|
1752
|
-
<line num="146" count="1" type="stmt"/>
|
|
1753
|
-
<line num="148" count="99" type="stmt"/>
|
|
1786
|
+
<line num="146" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
1754
1787
|
<line num="149" count="99" type="stmt"/>
|
|
1788
|
+
<line num="150" count="99" type="stmt"/>
|
|
1755
1789
|
<line num="151" count="99" type="stmt"/>
|
|
1756
|
-
<line num="
|
|
1757
|
-
<line num="
|
|
1758
|
-
<line num="
|
|
1759
|
-
<line num="
|
|
1760
|
-
<line num="
|
|
1761
|
-
<line num="
|
|
1762
|
-
<line num="
|
|
1763
|
-
<line num="164" count="2" type="stmt"/>
|
|
1764
|
-
<line num="167" count="2" type="stmt"/>
|
|
1765
|
-
<line num="172" count="2" type="stmt"/>
|
|
1790
|
+
<line num="154" count="34" type="stmt"/>
|
|
1791
|
+
<line num="155" count="2" type="stmt"/>
|
|
1792
|
+
<line num="156" count="2" type="stmt"/>
|
|
1793
|
+
<line num="157" count="2" type="stmt"/>
|
|
1794
|
+
<line num="160" count="2" type="stmt"/>
|
|
1795
|
+
<line num="165" count="2" type="stmt"/>
|
|
1796
|
+
<line num="168" count="2" type="stmt"/>
|
|
1766
1797
|
<line num="175" count="2" type="stmt"/>
|
|
1767
|
-
<line num="
|
|
1768
|
-
<line num="
|
|
1769
|
-
<line num="
|
|
1770
|
-
<line num="
|
|
1771
|
-
<line num="
|
|
1772
|
-
<line num="
|
|
1773
|
-
<line num="
|
|
1774
|
-
<line num="
|
|
1775
|
-
<line num="
|
|
1776
|
-
<line num="
|
|
1777
|
-
<line num="
|
|
1778
|
-
<line num="
|
|
1779
|
-
<line num="202" count="1" type="stmt"/>
|
|
1798
|
+
<line num="178" count="2" type="stmt"/>
|
|
1799
|
+
<line num="179" count="2" type="stmt"/>
|
|
1800
|
+
<line num="180" count="2" type="stmt"/>
|
|
1801
|
+
<line num="182" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1802
|
+
<line num="183" count="0" type="stmt"/>
|
|
1803
|
+
<line num="186" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1804
|
+
<line num="188" count="2" type="stmt"/>
|
|
1805
|
+
<line num="189" count="2" type="stmt"/>
|
|
1806
|
+
<line num="192" count="34" type="stmt"/>
|
|
1807
|
+
<line num="193" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
1808
|
+
<line num="194" count="1" type="stmt"/>
|
|
1809
|
+
<line num="195" count="1" type="stmt"/>
|
|
1780
1810
|
</file>
|
|
1781
1811
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/utils.js">
|
|
1782
|
-
<metrics statements="
|
|
1812
|
+
<metrics statements="151" coveredstatements="102" conditionals="79" coveredconditionals="35" methods="23" coveredmethods="16"/>
|
|
1783
1813
|
<line num="1" count="34" type="stmt"/>
|
|
1784
1814
|
<line num="2" count="34" type="stmt"/>
|
|
1785
|
-
<line num="
|
|
1815
|
+
<line num="7" count="34" type="stmt"/>
|
|
1786
1816
|
<line num="8" count="34" type="stmt"/>
|
|
1787
1817
|
<line num="9" count="34" type="stmt"/>
|
|
1788
1818
|
<line num="10" count="34" type="stmt"/>
|
|
1789
1819
|
<line num="11" count="34" type="stmt"/>
|
|
1790
|
-
<line num="
|
|
1791
|
-
<line num="
|
|
1792
|
-
<line num="
|
|
1793
|
-
<line num="
|
|
1794
|
-
<line num="
|
|
1795
|
-
<line num="
|
|
1796
|
-
<line num="
|
|
1797
|
-
<line num="
|
|
1798
|
-
<line num="24" count="
|
|
1799
|
-
<line num="25" count="
|
|
1800
|
-
<line num="
|
|
1801
|
-
<line num="31" count="1" type="
|
|
1802
|
-
<line num="
|
|
1803
|
-
<line num="
|
|
1804
|
-
<line num="
|
|
1805
|
-
<line num="35" count="0" type="stmt"/>
|
|
1806
|
-
<line num="37" count="1" type="stmt"/>
|
|
1820
|
+
<line num="15" count="34" type="stmt"/>
|
|
1821
|
+
<line num="16" count="34" type="stmt"/>
|
|
1822
|
+
<line num="17" count="34" type="stmt"/>
|
|
1823
|
+
<line num="19" count="34" type="stmt"/>
|
|
1824
|
+
<line num="20" count="99" type="stmt"/>
|
|
1825
|
+
<line num="21" count="99" type="stmt"/>
|
|
1826
|
+
<line num="22" count="99" type="stmt"/>
|
|
1827
|
+
<line num="23" count="99" type="cond" truecount="5" falsecount="0"/>
|
|
1828
|
+
<line num="24" count="4" type="stmt"/>
|
|
1829
|
+
<line num="25" count="11" type="stmt"/>
|
|
1830
|
+
<line num="29" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
1831
|
+
<line num="31" count="1" type="stmt"/>
|
|
1832
|
+
<line num="36" count="1" type="stmt"/>
|
|
1833
|
+
<line num="37" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1834
|
+
<line num="38" count="1" type="stmt"/>
|
|
1807
1835
|
<line num="39" count="1" type="stmt"/>
|
|
1808
|
-
<line num="
|
|
1809
|
-
<line num="
|
|
1810
|
-
<line num="
|
|
1811
|
-
<line num="47" count="
|
|
1812
|
-
<line num="
|
|
1813
|
-
<line num="
|
|
1814
|
-
<line num="54" count="
|
|
1815
|
-
<line num="
|
|
1836
|
+
<line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1837
|
+
<line num="41" count="0" type="stmt"/>
|
|
1838
|
+
<line num="43" count="1" type="stmt"/>
|
|
1839
|
+
<line num="47" count="1" type="stmt"/>
|
|
1840
|
+
<line num="48" count="1" type="stmt"/>
|
|
1841
|
+
<line num="50" count="99" type="stmt"/>
|
|
1842
|
+
<line num="54" count="34" type="stmt"/>
|
|
1843
|
+
<line num="55" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1844
|
+
<line num="56" count="0" type="stmt"/>
|
|
1845
|
+
<line num="59" count="4" type="stmt"/>
|
|
1816
1846
|
<line num="62" count="4" type="stmt"/>
|
|
1817
|
-
<line num="
|
|
1818
|
-
<line num="
|
|
1819
|
-
<line num="
|
|
1820
|
-
<line num="
|
|
1821
|
-
<line num="
|
|
1822
|
-
<line num="
|
|
1823
|
-
<line num="
|
|
1824
|
-
<line num="74" count="1" type="stmt"/>
|
|
1825
|
-
<line num="75" count="1" type="stmt"/>
|
|
1826
|
-
<line num="76" count="1" type="stmt"/>
|
|
1827
|
-
<line num="79" count="1" type="stmt"/>
|
|
1847
|
+
<line num="63" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
1848
|
+
<line num="68" count="0" type="stmt"/>
|
|
1849
|
+
<line num="71" count="4" type="stmt"/>
|
|
1850
|
+
<line num="74" count="34" type="stmt"/>
|
|
1851
|
+
<line num="75" count="100" type="stmt"/>
|
|
1852
|
+
<line num="76" count="100" type="cond" truecount="4" falsecount="0"/>
|
|
1853
|
+
<line num="78" count="1" type="stmt"/>
|
|
1828
1854
|
<line num="80" count="1" type="stmt"/>
|
|
1855
|
+
<line num="81" count="1" type="stmt"/>
|
|
1829
1856
|
<line num="82" count="1" type="stmt"/>
|
|
1830
|
-
<line num="
|
|
1831
|
-
<line num="
|
|
1832
|
-
<line num="
|
|
1857
|
+
<line num="83" count="1" type="stmt"/>
|
|
1858
|
+
<line num="84" count="1" type="stmt"/>
|
|
1859
|
+
<line num="85" count="1" type="stmt"/>
|
|
1860
|
+
<line num="88" count="1" type="stmt"/>
|
|
1861
|
+
<line num="89" count="1" type="stmt"/>
|
|
1862
|
+
<line num="91" count="1" type="stmt"/>
|
|
1863
|
+
<line num="93" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1864
|
+
<line num="98" count="0" type="stmt"/>
|
|
1865
|
+
<line num="105" count="1" type="stmt"/>
|
|
1833
1866
|
<line num="108" count="1" type="stmt"/>
|
|
1834
1867
|
<line num="109" count="1" type="stmt"/>
|
|
1835
1868
|
<line num="110" count="1" type="stmt"/>
|
|
@@ -1883,10 +1916,55 @@
|
|
|
1883
1916
|
<line num="232" count="0" type="stmt"/>
|
|
1884
1917
|
<line num="233" count="0" type="stmt"/>
|
|
1885
1918
|
<line num="236" count="34" type="stmt"/>
|
|
1919
|
+
<line num="237" count="28" type="stmt"/>
|
|
1920
|
+
<line num="238" count="28" type="cond" truecount="1" falsecount="1"/>
|
|
1921
|
+
<line num="239" count="0" type="stmt"/>
|
|
1922
|
+
<line num="240" count="0" type="stmt"/>
|
|
1923
|
+
<line num="242" count="28" type="stmt"/>
|
|
1924
|
+
<line num="246" count="34" type="stmt"/>
|
|
1925
|
+
<line num="247" count="1" type="stmt"/>
|
|
1926
|
+
<line num="248" count="1" type="stmt"/>
|
|
1927
|
+
<line num="251" count="1" type="stmt"/>
|
|
1928
|
+
<line num="252" count="0" type="stmt"/>
|
|
1929
|
+
<line num="255" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1930
|
+
<line num="257" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1931
|
+
<line num="258" count="0" type="stmt"/>
|
|
1932
|
+
<line num="259" count="0" type="stmt"/>
|
|
1933
|
+
<line num="263" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1934
|
+
<line num="264" count="0" type="stmt"/>
|
|
1935
|
+
<line num="265" count="0" type="stmt"/>
|
|
1936
|
+
<line num="269" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1937
|
+
<line num="270" count="0" type="stmt"/>
|
|
1938
|
+
<line num="271" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1939
|
+
<line num="272" count="0" type="stmt"/>
|
|
1940
|
+
<line num="273" count="0" type="stmt"/>
|
|
1941
|
+
<line num="277" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1942
|
+
<line num="278" count="0" type="stmt"/>
|
|
1943
|
+
<line num="280" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1944
|
+
<line num="281" count="0" type="stmt"/>
|
|
1945
|
+
<line num="282" count="0" type="stmt"/>
|
|
1946
|
+
<line num="283" count="0" type="stmt"/>
|
|
1947
|
+
<line num="284" count="0" type="stmt"/>
|
|
1948
|
+
<line num="288" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1949
|
+
<line num="289" count="0" type="stmt"/>
|
|
1950
|
+
<line num="290" count="0" type="stmt"/>
|
|
1951
|
+
<line num="294" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1952
|
+
<line num="295" count="0" type="stmt"/>
|
|
1953
|
+
<line num="296" count="0" type="stmt"/>
|
|
1954
|
+
<line num="297" count="0" type="stmt"/>
|
|
1955
|
+
<line num="299" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1956
|
+
<line num="300" count="0" type="stmt"/>
|
|
1957
|
+
<line num="307" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1958
|
+
<line num="308" count="0" type="stmt"/>
|
|
1959
|
+
<line num="309" count="0" type="stmt"/>
|
|
1960
|
+
<line num="310" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1961
|
+
<line num="311" count="0" type="stmt"/>
|
|
1962
|
+
<line num="313" count="0" type="stmt"/>
|
|
1963
|
+
<line num="318" count="34" type="stmt"/>
|
|
1886
1964
|
</file>
|
|
1887
1965
|
</package>
|
|
1888
1966
|
<package name="api.controllers.view">
|
|
1889
|
-
<metrics statements="
|
|
1967
|
+
<metrics statements="173" coveredstatements="127" conditionals="77" coveredconditionals="48" methods="21" coveredmethods="17"/>
|
|
1890
1968
|
<file name="exporters.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/exporters.js">
|
|
1891
1969
|
<metrics statements="10" coveredstatements="10" conditionals="2" coveredconditionals="1" methods="4" coveredmethods="4"/>
|
|
1892
1970
|
<line num="1" count="33" type="stmt"/>
|
|
@@ -1970,18 +2048,18 @@
|
|
|
1970
2048
|
<line num="20" count="0" type="stmt"/>
|
|
1971
2049
|
<line num="21" count="0" type="stmt"/>
|
|
1972
2050
|
<line num="25" count="34" type="stmt"/>
|
|
1973
|
-
<line num="26" count="
|
|
1974
|
-
<line num="27" count="
|
|
1975
|
-
<line num="28" count="
|
|
1976
|
-
<line num="29" count="
|
|
1977
|
-
<line num="31" count="
|
|
1978
|
-
<line num="32" count="
|
|
2051
|
+
<line num="26" count="2" type="stmt"/>
|
|
2052
|
+
<line num="27" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2053
|
+
<line num="28" count="2" type="stmt"/>
|
|
2054
|
+
<line num="29" count="2" type="stmt"/>
|
|
2055
|
+
<line num="31" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
2056
|
+
<line num="32" count="4" type="stmt"/>
|
|
1979
2057
|
<line num="34" count="1" type="stmt"/>
|
|
1980
2058
|
<line num="40" count="0" type="stmt"/>
|
|
1981
2059
|
<line num="46" count="0" type="stmt"/>
|
|
1982
2060
|
<line num="47" count="0" type="stmt"/>
|
|
1983
2061
|
<line num="48" count="0" type="stmt"/>
|
|
1984
|
-
<line num="54" count="
|
|
2062
|
+
<line num="54" count="2" type="stmt"/>
|
|
1985
2063
|
<line num="57" count="34" type="stmt"/>
|
|
1986
2064
|
<line num="58" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
1987
2065
|
<line num="59" count="8" type="stmt"/>
|
|
@@ -2037,38 +2115,44 @@
|
|
|
2037
2115
|
<line num="142" count="0" type="stmt"/>
|
|
2038
2116
|
</file>
|
|
2039
2117
|
<file name="viewBuilder.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/viewBuilder.js">
|
|
2040
|
-
<metrics statements="
|
|
2041
|
-
<line num="1" count="
|
|
2042
|
-
<line num="13" count="
|
|
2043
|
-
<line num="
|
|
2044
|
-
<line num="
|
|
2045
|
-
<line num="
|
|
2046
|
-
<line num="
|
|
2047
|
-
<line num="
|
|
2048
|
-
<line num="
|
|
2049
|
-
<line num="
|
|
2050
|
-
<line num="
|
|
2051
|
-
<line num="
|
|
2052
|
-
<line num="
|
|
2053
|
-
<line num="
|
|
2054
|
-
<line num="
|
|
2055
|
-
<line num="
|
|
2056
|
-
<line num="
|
|
2057
|
-
<line num="
|
|
2058
|
-
<line num="
|
|
2059
|
-
<line num="
|
|
2060
|
-
<line num="
|
|
2061
|
-
<line num="
|
|
2062
|
-
<line num="
|
|
2063
|
-
<line num="
|
|
2064
|
-
<line num="
|
|
2065
|
-
<line num="
|
|
2118
|
+
<metrics statements="33" coveredstatements="28" conditionals="30" coveredconditionals="25" methods="4" coveredmethods="3"/>
|
|
2119
|
+
<line num="1" count="35" type="stmt"/>
|
|
2120
|
+
<line num="13" count="35" type="stmt"/>
|
|
2121
|
+
<line num="14" count="0" type="stmt"/>
|
|
2122
|
+
<line num="22" count="35" type="stmt"/>
|
|
2123
|
+
<line num="28" count="35" type="stmt"/>
|
|
2124
|
+
<line num="34" count="35" type="stmt"/>
|
|
2125
|
+
<line num="72" count="11" type="stmt"/>
|
|
2126
|
+
<line num="74" count="11" type="stmt"/>
|
|
2127
|
+
<line num="75" count="11" type="stmt"/>
|
|
2128
|
+
<line num="76" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
2129
|
+
<line num="77" count="1" type="stmt"/>
|
|
2130
|
+
<line num="80" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2131
|
+
<line num="81" count="0" type="stmt"/>
|
|
2132
|
+
<line num="84" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2133
|
+
<line num="85" count="0" type="stmt"/>
|
|
2134
|
+
<line num="86" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2135
|
+
<line num="87" count="0" type="stmt"/>
|
|
2136
|
+
<line num="90" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2137
|
+
<line num="92" count="2" type="stmt"/>
|
|
2138
|
+
<line num="96" count="2" type="stmt"/>
|
|
2139
|
+
<line num="99" count="11" type="stmt"/>
|
|
2140
|
+
<line num="109" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
2141
|
+
<line num="125" count="11" type="cond" truecount="4" falsecount="1"/>
|
|
2142
|
+
<line num="126" count="0" type="stmt"/>
|
|
2143
|
+
<line num="128" count="11" type="stmt"/>
|
|
2144
|
+
<line num="129" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
2066
2145
|
<line num="131" count="11" type="stmt"/>
|
|
2067
|
-
<line num="
|
|
2146
|
+
<line num="133" count="11" type="cond" truecount="4" falsecount="0"/>
|
|
2147
|
+
<line num="135" count="11" type="stmt"/>
|
|
2148
|
+
<line num="137" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
2149
|
+
<line num="138" count="6" type="stmt"/>
|
|
2150
|
+
<line num="144" count="11" type="stmt"/>
|
|
2151
|
+
<line num="162" count="35" type="stmt"/>
|
|
2068
2152
|
</file>
|
|
2069
2153
|
</package>
|
|
2070
2154
|
<package name="api.routes">
|
|
2071
|
-
<metrics statements="
|
|
2155
|
+
<metrics statements="271" coveredstatements="264" conditionals="11" coveredconditionals="7" methods="12" coveredmethods="12"/>
|
|
2072
2156
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/analytics.js">
|
|
2073
2157
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2074
2158
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -2096,7 +2180,7 @@
|
|
|
2096
2180
|
<line num="5" count="23" type="stmt"/>
|
|
2097
2181
|
<line num="7" count="23" type="stmt"/>
|
|
2098
2182
|
<line num="9" count="23" type="stmt"/>
|
|
2099
|
-
<line num="
|
|
2183
|
+
<line num="33" count="23" type="stmt"/>
|
|
2100
2184
|
</file>
|
|
2101
2185
|
<file name="auth.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/auth.js">
|
|
2102
2186
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -2178,17 +2262,19 @@
|
|
|
2178
2262
|
<line num="17" count="23" type="stmt"/>
|
|
2179
2263
|
</file>
|
|
2180
2264
|
<file name="dev.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/dev.js">
|
|
2181
|
-
<metrics statements="
|
|
2265
|
+
<metrics statements="12" coveredstatements="12" conditionals="4" coveredconditionals="2" methods="1" coveredmethods="1"/>
|
|
2182
2266
|
<line num="1" count="23" type="stmt"/>
|
|
2183
2267
|
<line num="2" count="23" type="stmt"/>
|
|
2184
2268
|
<line num="3" count="23" type="stmt"/>
|
|
2185
2269
|
<line num="4" count="23" type="stmt"/>
|
|
2186
2270
|
<line num="5" count="23" type="stmt"/>
|
|
2187
2271
|
<line num="7" count="23" type="stmt"/>
|
|
2188
|
-
<line num="
|
|
2189
|
-
<line num="
|
|
2190
|
-
<line num="
|
|
2272
|
+
<line num="10" count="46" type="stmt"/>
|
|
2273
|
+
<line num="16" count="23" type="cond" truecount="2" falsecount="2"/>
|
|
2274
|
+
<line num="17" count="23" type="stmt"/>
|
|
2275
|
+
<line num="18" count="23" type="stmt"/>
|
|
2191
2276
|
<line num="21" count="23" type="stmt"/>
|
|
2277
|
+
<line num="26" count="23" type="stmt"/>
|
|
2192
2278
|
</file>
|
|
2193
2279
|
<file name="hosting.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/hosting.js">
|
|
2194
2280
|
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -2288,9 +2374,9 @@
|
|
|
2288
2374
|
<line num="15" count="23" type="stmt"/>
|
|
2289
2375
|
<line num="17" count="23" type="stmt"/>
|
|
2290
2376
|
<line num="21" count="23" type="stmt"/>
|
|
2291
|
-
<line num="
|
|
2292
|
-
<line num="
|
|
2293
|
-
<line num="
|
|
2377
|
+
<line num="41" count="23" type="stmt"/>
|
|
2378
|
+
<line num="51" count="23" type="stmt"/>
|
|
2379
|
+
<line num="85" count="23" type="stmt"/>
|
|
2294
2380
|
</file>
|
|
2295
2381
|
<file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/role.js">
|
|
2296
2382
|
<metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
@@ -2427,9 +2513,9 @@
|
|
|
2427
2513
|
</file>
|
|
2428
2514
|
</package>
|
|
2429
2515
|
<package name="automations">
|
|
2430
|
-
<metrics statements="
|
|
2516
|
+
<metrics statements="252" coveredstatements="218" conditionals="106" coveredconditionals="82" methods="29" coveredmethods="27"/>
|
|
2431
2517
|
<file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
|
|
2432
|
-
<metrics statements="
|
|
2518
|
+
<metrics statements="23" coveredstatements="23" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
|
|
2433
2519
|
<line num="1" count="34" type="stmt"/>
|
|
2434
2520
|
<line num="2" count="34" type="stmt"/>
|
|
2435
2521
|
<line num="3" count="34" type="stmt"/>
|
|
@@ -2447,46 +2533,42 @@
|
|
|
2447
2533
|
<line num="15" count="34" type="stmt"/>
|
|
2448
2534
|
<line num="16" count="34" type="stmt"/>
|
|
2449
2535
|
<line num="18" count="34" type="stmt"/>
|
|
2450
|
-
<line num="
|
|
2451
|
-
<line num="
|
|
2536
|
+
<line num="36" count="34" type="stmt"/>
|
|
2537
|
+
<line num="58" count="34" type="cond" truecount="1" falsecount="1"/>
|
|
2538
|
+
<line num="59" count="34" type="stmt"/>
|
|
2539
|
+
<line num="60" count="34" type="stmt"/>
|
|
2540
|
+
<line num="61" count="34" type="stmt"/>
|
|
2541
|
+
<line num="71" count="34" type="stmt"/>
|
|
2452
2542
|
</file>
|
|
2453
2543
|
<file name="automationUtils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/automationUtils.js">
|
|
2454
|
-
<metrics statements="
|
|
2544
|
+
<metrics statements="27" coveredstatements="27" conditionals="18" coveredconditionals="16" methods="3" coveredmethods="3"/>
|
|
2455
2545
|
<line num="1" count="34" type="stmt"/>
|
|
2456
|
-
<line num="
|
|
2457
|
-
<line num="
|
|
2458
|
-
<line num="
|
|
2459
|
-
<line num="
|
|
2460
|
-
<line num="
|
|
2461
|
-
<line num="
|
|
2462
|
-
<line num="
|
|
2463
|
-
<line num="
|
|
2464
|
-
<line num="
|
|
2465
|
-
<line num="
|
|
2466
|
-
<line num="
|
|
2467
|
-
<line num="
|
|
2468
|
-
<line num="
|
|
2469
|
-
<line num="
|
|
2470
|
-
<line num="
|
|
2471
|
-
<line num="
|
|
2472
|
-
<line num="
|
|
2473
|
-
<line num="
|
|
2474
|
-
<line num="
|
|
2475
|
-
<line num="
|
|
2476
|
-
<line num="48" count="
|
|
2477
|
-
<line num="
|
|
2478
|
-
<line num="
|
|
2546
|
+
<line num="19" count="34" type="stmt"/>
|
|
2547
|
+
<line num="20" count="15" type="cond" truecount="2" falsecount="0"/>
|
|
2548
|
+
<line num="21" count="1" type="stmt"/>
|
|
2549
|
+
<line num="23" count="14" type="stmt"/>
|
|
2550
|
+
<line num="24" count="36" type="stmt"/>
|
|
2551
|
+
<line num="25" count="36" type="cond" truecount="2" falsecount="0"/>
|
|
2552
|
+
<line num="26" count="6" type="stmt"/>
|
|
2553
|
+
<line num="28" count="30" type="stmt"/>
|
|
2554
|
+
<line num="29" count="30" type="cond" truecount="2" falsecount="0"/>
|
|
2555
|
+
<line num="30" count="12" type="stmt"/>
|
|
2556
|
+
<line num="32" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
2557
|
+
<line num="33" count="2" type="stmt"/>
|
|
2558
|
+
<line num="34" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2559
|
+
<line num="35" count="1" type="stmt"/>
|
|
2560
|
+
<line num="37" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2561
|
+
<line num="38" count="1" type="stmt"/>
|
|
2562
|
+
<line num="41" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
2563
|
+
<line num="42" count="1" type="stmt"/>
|
|
2564
|
+
<line num="43" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2565
|
+
<line num="44" count="1" type="stmt"/>
|
|
2566
|
+
<line num="48" count="14" type="stmt"/>
|
|
2567
|
+
<line num="61" count="34" type="stmt"/>
|
|
2568
|
+
<line num="62" count="9" type="stmt"/>
|
|
2569
|
+
<line num="63" count="8" type="stmt"/>
|
|
2479
2570
|
<line num="66" count="34" type="stmt"/>
|
|
2480
|
-
<line num="67" count="
|
|
2481
|
-
<line num="69" count="9" type="cond" truecount="1" falsecount="1"/>
|
|
2482
|
-
<line num="70" count="0" type="stmt"/>
|
|
2483
|
-
<line num="71" count="0" type="stmt"/>
|
|
2484
|
-
<line num="73" count="9" type="stmt"/>
|
|
2485
|
-
<line num="76" count="8" type="stmt"/>
|
|
2486
|
-
<line num="88" count="34" type="stmt"/>
|
|
2487
|
-
<line num="89" count="2" type="stmt"/>
|
|
2488
|
-
<line num="90" count="2" type="stmt"/>
|
|
2489
|
-
<line num="91" count="1" type="stmt"/>
|
|
2571
|
+
<line num="67" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
2490
2572
|
</file>
|
|
2491
2573
|
<file name="bullboard.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/bullboard.js">
|
|
2492
2574
|
<metrics statements="21" coveredstatements="13" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="0"/>
|
|
@@ -2524,7 +2606,7 @@
|
|
|
2524
2606
|
<line num="17" count="24" type="stmt"/>
|
|
2525
2607
|
</file>
|
|
2526
2608
|
<file name="thread.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/thread.js">
|
|
2527
|
-
<metrics statements="
|
|
2609
|
+
<metrics statements="67" coveredstatements="57" conditionals="21" coveredconditionals="12" methods="7" coveredmethods="7"/>
|
|
2528
2610
|
<line num="1" count="33" type="stmt"/>
|
|
2529
2611
|
<line num="2" count="33" type="stmt"/>
|
|
2530
2612
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -2536,55 +2618,62 @@
|
|
|
2536
2618
|
<line num="9" count="33" type="stmt"/>
|
|
2537
2619
|
<line num="10" count="33" type="stmt"/>
|
|
2538
2620
|
<line num="12" count="33" type="stmt"/>
|
|
2539
|
-
<line num="
|
|
2540
|
-
<line num="22" count="7" type="
|
|
2541
|
-
<line num="23" count="7" type="
|
|
2621
|
+
<line num="13" count="33" type="stmt"/>
|
|
2622
|
+
<line num="22" count="7" type="stmt"/>
|
|
2623
|
+
<line num="23" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
2542
2624
|
<line num="24" count="7" type="stmt"/>
|
|
2543
|
-
<line num="
|
|
2625
|
+
<line num="25" count="7" type="stmt"/>
|
|
2544
2626
|
<line num="27" count="7" type="stmt"/>
|
|
2545
|
-
<line num="
|
|
2627
|
+
<line num="28" count="7" type="stmt"/>
|
|
2546
2628
|
<line num="30" count="7" type="stmt"/>
|
|
2547
|
-
<line num="
|
|
2629
|
+
<line num="31" count="7" type="stmt"/>
|
|
2548
2630
|
<line num="34" count="7" type="stmt"/>
|
|
2549
|
-
<line num="
|
|
2631
|
+
<line num="35" count="7" type="stmt"/>
|
|
2550
2632
|
<line num="37" count="7" type="stmt"/>
|
|
2551
2633
|
<line num="38" count="7" type="stmt"/>
|
|
2552
|
-
<line num="
|
|
2553
|
-
<line num="43" count="5" type="
|
|
2554
|
-
<line num="44" count="
|
|
2555
|
-
<line num="
|
|
2556
|
-
<line num="
|
|
2557
|
-
<line num="51" count="7" type="
|
|
2558
|
-
<line num="52" count="
|
|
2559
|
-
<line num="
|
|
2634
|
+
<line num="39" count="7" type="stmt"/>
|
|
2635
|
+
<line num="43" count="5" type="stmt"/>
|
|
2636
|
+
<line num="44" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2637
|
+
<line num="45" count="0" type="stmt"/>
|
|
2638
|
+
<line num="47" count="5" type="stmt"/>
|
|
2639
|
+
<line num="51" count="7" type="stmt"/>
|
|
2640
|
+
<line num="52" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
2641
|
+
<line num="53" count="0" type="stmt"/>
|
|
2560
2642
|
<line num="55" count="7" type="stmt"/>
|
|
2561
|
-
<line num="56" count="
|
|
2562
|
-
<line num="
|
|
2563
|
-
<line num="
|
|
2564
|
-
<line num="63" count="
|
|
2565
|
-
<line num="
|
|
2566
|
-
<line num="
|
|
2643
|
+
<line num="56" count="7" type="stmt"/>
|
|
2644
|
+
<line num="57" count="6" type="stmt"/>
|
|
2645
|
+
<line num="61" count="12" type="stmt"/>
|
|
2646
|
+
<line num="63" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
2647
|
+
<line num="64" count="7" type="stmt"/>
|
|
2648
|
+
<line num="66" count="12" type="stmt"/>
|
|
2567
2649
|
<line num="70" count="7" type="stmt"/>
|
|
2568
|
-
<line num="71" count="
|
|
2569
|
-
<line num="72" count="
|
|
2570
|
-
<line num="73" count="
|
|
2571
|
-
<line num="
|
|
2650
|
+
<line num="71" count="7" type="stmt"/>
|
|
2651
|
+
<line num="72" count="6" type="stmt"/>
|
|
2652
|
+
<line num="73" count="6" type="stmt"/>
|
|
2653
|
+
<line num="75" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2654
|
+
<line num="76" count="0" type="stmt"/>
|
|
2655
|
+
<line num="77" count="0" type="stmt"/>
|
|
2572
2656
|
<line num="79" count="5" type="stmt"/>
|
|
2573
|
-
<line num="80" count="5" type="
|
|
2657
|
+
<line num="80" count="5" type="stmt"/>
|
|
2574
2658
|
<line num="81" count="5" type="stmt"/>
|
|
2575
|
-
<line num="
|
|
2576
|
-
<line num="
|
|
2577
|
-
<line num="
|
|
2578
|
-
<line num="
|
|
2579
|
-
<line num="
|
|
2580
|
-
<line num="
|
|
2581
|
-
<line num="
|
|
2582
|
-
<line num="101" count="
|
|
2583
|
-
<line num="
|
|
2584
|
-
<line num="
|
|
2585
|
-
<line num="
|
|
2586
|
-
<line num="
|
|
2587
|
-
<line num="
|
|
2659
|
+
<line num="86" count="5" type="stmt"/>
|
|
2660
|
+
<line num="87" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2661
|
+
<line num="88" count="5" type="stmt"/>
|
|
2662
|
+
<line num="89" count="5" type="stmt"/>
|
|
2663
|
+
<line num="96" count="5" type="stmt"/>
|
|
2664
|
+
<line num="99" count="5" type="cond" truecount="2" falsecount="2"/>
|
|
2665
|
+
<line num="100" count="0" type="stmt"/>
|
|
2666
|
+
<line num="101" count="0" type="stmt"/>
|
|
2667
|
+
<line num="105" count="0" type="stmt"/>
|
|
2668
|
+
<line num="107" count="5" type="stmt"/>
|
|
2669
|
+
<line num="109" count="0" type="stmt"/>
|
|
2670
|
+
<line num="110" count="0" type="stmt"/>
|
|
2671
|
+
<line num="115" count="6" type="cond" truecount="2" falsecount="2"/>
|
|
2672
|
+
<line num="116" count="0" type="stmt"/>
|
|
2673
|
+
<line num="118" count="6" type="stmt"/>
|
|
2674
|
+
<line num="122" count="33" type="stmt"/>
|
|
2675
|
+
<line num="123" count="7" type="stmt"/>
|
|
2676
|
+
<line num="127" count="7" type="stmt"/>
|
|
2588
2677
|
</file>
|
|
2589
2678
|
<file name="triggers.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggers.js">
|
|
2590
2679
|
<metrics statements="44" coveredstatements="42" conditionals="25" coveredconditionals="21" methods="7" coveredmethods="7"/>
|
|
@@ -2634,7 +2723,7 @@
|
|
|
2634
2723
|
<line num="107" count="33" type="stmt"/>
|
|
2635
2724
|
</file>
|
|
2636
2725
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/utils.js">
|
|
2637
|
-
<metrics statements="62" coveredstatements="
|
|
2726
|
+
<metrics statements="62" coveredstatements="49" conditionals="36" coveredconditionals="29" methods="8" coveredmethods="8"/>
|
|
2638
2727
|
<line num="1" count="33" type="stmt"/>
|
|
2639
2728
|
<line num="2" count="33" type="stmt"/>
|
|
2640
2729
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -2657,17 +2746,17 @@
|
|
|
2657
2746
|
<line num="34" count="2" type="stmt"/>
|
|
2658
2747
|
<line num="38" count="2" type="stmt"/>
|
|
2659
2748
|
<line num="44" count="33" type="stmt"/>
|
|
2660
|
-
<line num="45" count="
|
|
2661
|
-
<line num="46" count="
|
|
2662
|
-
<line num="47" count="
|
|
2749
|
+
<line num="45" count="185" type="stmt"/>
|
|
2750
|
+
<line num="46" count="185" type="stmt"/>
|
|
2751
|
+
<line num="47" count="185" type="stmt"/>
|
|
2663
2752
|
<line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2664
2753
|
<line num="49" count="0" type="stmt"/>
|
|
2665
2754
|
<line num="50" count="0" type="stmt"/>
|
|
2666
|
-
<line num="53" count="
|
|
2755
|
+
<line num="53" count="185" type="stmt"/>
|
|
2667
2756
|
<line num="61" count="33" type="stmt"/>
|
|
2668
|
-
<line num="62" count="
|
|
2669
|
-
<line num="64" count="
|
|
2670
|
-
<line num="71" count="
|
|
2757
|
+
<line num="62" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2758
|
+
<line num="64" count="1" type="stmt"/>
|
|
2759
|
+
<line num="71" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2671
2760
|
<line num="73" count="0" type="stmt"/>
|
|
2672
2761
|
<line num="74" count="0" type="stmt"/>
|
|
2673
2762
|
<line num="82" count="0" type="stmt"/>
|
|
@@ -2675,7 +2764,7 @@
|
|
|
2675
2764
|
<line num="84" count="0" type="stmt"/>
|
|
2676
2765
|
<line num="85" count="0" type="stmt"/>
|
|
2677
2766
|
<line num="86" count="0" type="stmt"/>
|
|
2678
|
-
<line num="88" count="
|
|
2767
|
+
<line num="88" count="1" type="stmt"/>
|
|
2679
2768
|
<line num="99" count="33" type="stmt"/>
|
|
2680
2769
|
<line num="100" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
2681
2770
|
<line num="101" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -2700,24 +2789,25 @@
|
|
|
2700
2789
|
</file>
|
|
2701
2790
|
</package>
|
|
2702
2791
|
<package name="automations.steps">
|
|
2703
|
-
<metrics statements="
|
|
2792
|
+
<metrics statements="241" coveredstatements="179" conditionals="87" coveredconditionals="61" methods="20" coveredmethods="11"/>
|
|
2704
2793
|
<file name="bash.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/bash.js">
|
|
2705
|
-
<metrics statements="
|
|
2794
|
+
<metrics statements="16" coveredstatements="5" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
2706
2795
|
<line num="1" count="34" type="stmt"/>
|
|
2707
2796
|
<line num="2" count="34" type="stmt"/>
|
|
2708
|
-
<line num="
|
|
2709
|
-
<line num="
|
|
2710
|
-
<line num="41" count="
|
|
2711
|
-
<line num="42" count="0" type="
|
|
2712
|
-
<line num="
|
|
2797
|
+
<line num="3" count="34" type="stmt"/>
|
|
2798
|
+
<line num="5" count="34" type="stmt"/>
|
|
2799
|
+
<line num="41" count="34" type="stmt"/>
|
|
2800
|
+
<line num="42" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2801
|
+
<line num="43" count="0" type="stmt"/>
|
|
2713
2802
|
<line num="48" count="0" type="stmt"/>
|
|
2714
|
-
<line num="
|
|
2803
|
+
<line num="49" count="0" type="stmt"/>
|
|
2715
2804
|
<line num="52" count="0" type="stmt"/>
|
|
2716
2805
|
<line num="53" count="0" type="stmt"/>
|
|
2717
|
-
<line num="
|
|
2806
|
+
<line num="54" count="0" type="stmt"/>
|
|
2718
2807
|
<line num="56" count="0" type="stmt"/>
|
|
2719
|
-
<line num="
|
|
2720
|
-
<line num="
|
|
2808
|
+
<line num="57" count="0" type="stmt"/>
|
|
2809
|
+
<line num="60" count="0" type="stmt"/>
|
|
2810
|
+
<line num="65" count="0" type="stmt"/>
|
|
2721
2811
|
</file>
|
|
2722
2812
|
<file name="createRow.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/createRow.js">
|
|
2723
2813
|
<metrics statements="17" coveredstatements="17" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
|
|
@@ -2748,22 +2838,23 @@
|
|
|
2748
2838
|
<line num="36" count="1" type="stmt"/>
|
|
2749
2839
|
</file>
|
|
2750
2840
|
<file name="deleteRow.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/deleteRow.js">
|
|
2751
|
-
<metrics statements="
|
|
2841
|
+
<metrics statements="16" coveredstatements="16" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
|
|
2752
2842
|
<line num="1" count="34" type="stmt"/>
|
|
2753
2843
|
<line num="2" count="34" type="stmt"/>
|
|
2754
2844
|
<line num="3" count="34" type="stmt"/>
|
|
2755
2845
|
<line num="4" count="34" type="stmt"/>
|
|
2756
|
-
<line num="
|
|
2757
|
-
<line num="
|
|
2758
|
-
<line num="56" count="
|
|
2759
|
-
<line num="57" count="
|
|
2760
|
-
<line num="
|
|
2761
|
-
<line num="
|
|
2762
|
-
<line num="76" count="3" type="
|
|
2763
|
-
<line num="77" count="
|
|
2764
|
-
<line num="
|
|
2765
|
-
<line num="80" count="
|
|
2766
|
-
<line num="
|
|
2846
|
+
<line num="5" count="34" type="stmt"/>
|
|
2847
|
+
<line num="7" count="34" type="stmt"/>
|
|
2848
|
+
<line num="56" count="34" type="stmt"/>
|
|
2849
|
+
<line num="57" count="4" type="cond" truecount="4" falsecount="0"/>
|
|
2850
|
+
<line num="58" count="1" type="stmt"/>
|
|
2851
|
+
<line num="66" count="3" type="stmt"/>
|
|
2852
|
+
<line num="76" count="3" type="stmt"/>
|
|
2853
|
+
<line num="77" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
2854
|
+
<line num="78" count="1" type="stmt"/>
|
|
2855
|
+
<line num="80" count="3" type="stmt"/>
|
|
2856
|
+
<line num="81" count="2" type="stmt"/>
|
|
2857
|
+
<line num="87" count="1" type="stmt"/>
|
|
2767
2858
|
</file>
|
|
2768
2859
|
<file name="discord.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/discord.js">
|
|
2769
2860
|
<metrics statements="14" coveredstatements="6" conditionals="6" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
@@ -2783,33 +2874,35 @@
|
|
|
2783
2874
|
<line num="78" count="0" type="stmt"/>
|
|
2784
2875
|
</file>
|
|
2785
2876
|
<file name="executeQuery.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/executeQuery.js">
|
|
2786
|
-
<metrics statements="
|
|
2877
|
+
<metrics statements="13" coveredstatements="5" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
2787
2878
|
<line num="1" count="34" type="stmt"/>
|
|
2788
2879
|
<line num="2" count="34" type="stmt"/>
|
|
2789
|
-
<line num="
|
|
2790
|
-
<line num="
|
|
2791
|
-
<line num="48" count="
|
|
2792
|
-
<line num="49" count="0" type="
|
|
2793
|
-
<line num="
|
|
2794
|
-
<line num="
|
|
2795
|
-
<line num="
|
|
2880
|
+
<line num="3" count="34" type="stmt"/>
|
|
2881
|
+
<line num="5" count="34" type="stmt"/>
|
|
2882
|
+
<line num="48" count="34" type="stmt"/>
|
|
2883
|
+
<line num="49" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2884
|
+
<line num="50" count="0" type="stmt"/>
|
|
2885
|
+
<line num="58" count="0" type="stmt"/>
|
|
2886
|
+
<line num="60" count="0" type="stmt"/>
|
|
2796
2887
|
<line num="69" count="0" type="stmt"/>
|
|
2797
2888
|
<line num="70" count="0" type="stmt"/>
|
|
2798
|
-
<line num="
|
|
2889
|
+
<line num="71" count="0" type="stmt"/>
|
|
2890
|
+
<line num="76" count="0" type="stmt"/>
|
|
2799
2891
|
</file>
|
|
2800
2892
|
<file name="executeScript.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/executeScript.js">
|
|
2801
|
-
<metrics statements="
|
|
2893
|
+
<metrics statements="12" coveredstatements="5" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
2802
2894
|
<line num="1" count="34" type="stmt"/>
|
|
2803
2895
|
<line num="2" count="34" type="stmt"/>
|
|
2804
|
-
<line num="
|
|
2805
|
-
<line num="
|
|
2806
|
-
<line num="41" count="
|
|
2807
|
-
<line num="42" count="0" type="
|
|
2808
|
-
<line num="
|
|
2809
|
-
<line num="
|
|
2896
|
+
<line num="3" count="34" type="stmt"/>
|
|
2897
|
+
<line num="5" count="34" type="stmt"/>
|
|
2898
|
+
<line num="41" count="34" type="stmt"/>
|
|
2899
|
+
<line num="42" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2900
|
+
<line num="43" count="0" type="stmt"/>
|
|
2901
|
+
<line num="51" count="0" type="stmt"/>
|
|
2810
2902
|
<line num="58" count="0" type="stmt"/>
|
|
2811
2903
|
<line num="59" count="0" type="stmt"/>
|
|
2812
|
-
<line num="
|
|
2904
|
+
<line num="60" count="0" type="stmt"/>
|
|
2905
|
+
<line num="65" count="0" type="stmt"/>
|
|
2813
2906
|
</file>
|
|
2814
2907
|
<file name="filter.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/filter.js">
|
|
2815
2908
|
<metrics statements="26" coveredstatements="26" conditionals="16" coveredconditionals="16" methods="1" coveredmethods="1"/>
|
|
@@ -2852,69 +2945,72 @@
|
|
|
2852
2945
|
<line num="82" count="0" type="stmt"/>
|
|
2853
2946
|
</file>
|
|
2854
2947
|
<file name="outgoingWebhook.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/outgoingWebhook.js">
|
|
2855
|
-
<metrics statements="
|
|
2948
|
+
<metrics statements="25" coveredstatements="21" conditionals="15" coveredconditionals="10" methods="1" coveredmethods="1"/>
|
|
2856
2949
|
<line num="1" count="34" type="stmt"/>
|
|
2857
2950
|
<line num="2" count="34" type="stmt"/>
|
|
2858
|
-
<line num="
|
|
2859
|
-
<line num="
|
|
2860
|
-
<line num="
|
|
2861
|
-
<line num="
|
|
2862
|
-
<line num="80" count="
|
|
2863
|
-
<line num="81" count="2" type="
|
|
2864
|
-
<line num="82" count="2" type="
|
|
2865
|
-
<line num="
|
|
2866
|
-
<line num="
|
|
2867
|
-
<line num="
|
|
2868
|
-
<line num="
|
|
2869
|
-
<line num="
|
|
2870
|
-
<line num="101" count="
|
|
2871
|
-
<line num="
|
|
2872
|
-
<line num="104" count="0" type="
|
|
2873
|
-
<line num="
|
|
2874
|
-
<line num="
|
|
2875
|
-
<line num="
|
|
2876
|
-
<line num="117" count="
|
|
2877
|
-
<line num="
|
|
2951
|
+
<line num="3" count="34" type="stmt"/>
|
|
2952
|
+
<line num="5" count="34" type="stmt"/>
|
|
2953
|
+
<line num="13" count="34" type="stmt"/>
|
|
2954
|
+
<line num="21" count="34" type="stmt"/>
|
|
2955
|
+
<line num="80" count="34" type="stmt"/>
|
|
2956
|
+
<line num="81" count="2" type="stmt"/>
|
|
2957
|
+
<line num="82" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2958
|
+
<line num="83" count="2" type="stmt"/>
|
|
2959
|
+
<line num="85" count="2" type="stmt"/>
|
|
2960
|
+
<line num="88" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2961
|
+
<line num="93" count="1" type="stmt"/>
|
|
2962
|
+
<line num="97" count="1" type="stmt"/>
|
|
2963
|
+
<line num="101" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2964
|
+
<line num="102" count="0" type="stmt"/>
|
|
2965
|
+
<line num="104" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2966
|
+
<line num="105" count="0" type="stmt"/>
|
|
2967
|
+
<line num="107" count="0" type="stmt"/>
|
|
2968
|
+
<line num="115" count="2" type="stmt"/>
|
|
2969
|
+
<line num="117" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2970
|
+
<line num="118" count="1" type="stmt"/>
|
|
2878
2971
|
<line num="120" count="2" type="stmt"/>
|
|
2879
2972
|
<line num="121" count="2" type="stmt"/>
|
|
2973
|
+
<line num="122" count="2" type="stmt"/>
|
|
2880
2974
|
</file>
|
|
2881
2975
|
<file name="queryRows.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/queryRows.js">
|
|
2882
|
-
<metrics statements="
|
|
2976
|
+
<metrics statements="23" coveredstatements="22" conditionals="11" coveredconditionals="7" methods="2" coveredmethods="2"/>
|
|
2883
2977
|
<line num="1" count="34" type="stmt"/>
|
|
2884
2978
|
<line num="2" count="34" type="stmt"/>
|
|
2885
2979
|
<line num="3" count="34" type="stmt"/>
|
|
2886
2980
|
<line num="4" count="34" type="stmt"/>
|
|
2887
|
-
<line num="
|
|
2888
|
-
<line num="
|
|
2889
|
-
<line num="
|
|
2890
|
-
<line num="
|
|
2891
|
-
<line num="
|
|
2981
|
+
<line num="5" count="34" type="stmt"/>
|
|
2982
|
+
<line num="7" count="34" type="stmt"/>
|
|
2983
|
+
<line num="12" count="34" type="stmt"/>
|
|
2984
|
+
<line num="17" count="34" type="stmt"/>
|
|
2985
|
+
<line num="75" count="1" type="stmt"/>
|
|
2892
2986
|
<line num="80" count="1" type="stmt"/>
|
|
2893
|
-
<line num="
|
|
2894
|
-
<line num="84" count="
|
|
2987
|
+
<line num="81" count="1" type="stmt"/>
|
|
2988
|
+
<line num="84" count="34" type="stmt"/>
|
|
2895
2989
|
<line num="85" count="1" type="stmt"/>
|
|
2896
2990
|
<line num="86" count="1" type="stmt"/>
|
|
2897
|
-
<line num="87" count="1" type="
|
|
2898
|
-
<line num="88" count="1" type="
|
|
2991
|
+
<line num="87" count="1" type="stmt"/>
|
|
2992
|
+
<line num="88" count="1" type="cond" truecount="4" falsecount="1"/>
|
|
2899
2993
|
<line num="89" count="1" type="stmt"/>
|
|
2900
|
-
<line num="
|
|
2901
|
-
<line num="
|
|
2994
|
+
<line num="90" count="1" type="stmt"/>
|
|
2995
|
+
<line num="93" count="1" type="stmt"/>
|
|
2902
2996
|
<line num="105" count="1" type="stmt"/>
|
|
2903
2997
|
<line num="106" count="1" type="stmt"/>
|
|
2904
|
-
<line num="
|
|
2998
|
+
<line num="107" count="1" type="stmt"/>
|
|
2999
|
+
<line num="112" count="0" type="stmt"/>
|
|
2905
3000
|
</file>
|
|
2906
3001
|
<file name="sendSmtpEmail.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/sendSmtpEmail.js">
|
|
2907
|
-
<metrics statements="
|
|
3002
|
+
<metrics statements="11" coveredstatements="4" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
2908
3003
|
<line num="1" count="34" type="stmt"/>
|
|
2909
|
-
<line num="
|
|
2910
|
-
<line num="
|
|
2911
|
-
<line num="51" count="
|
|
2912
|
-
<line num="52" count="0" type="
|
|
2913
|
-
<line num="53" count="0" type="
|
|
2914
|
-
<line num="
|
|
3004
|
+
<line num="2" count="34" type="stmt"/>
|
|
3005
|
+
<line num="4" count="34" type="stmt"/>
|
|
3006
|
+
<line num="51" count="34" type="stmt"/>
|
|
3007
|
+
<line num="52" count="0" type="stmt"/>
|
|
3008
|
+
<line num="53" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3009
|
+
<line num="54" count="0" type="stmt"/>
|
|
2915
3010
|
<line num="56" count="0" type="stmt"/>
|
|
2916
3011
|
<line num="57" count="0" type="stmt"/>
|
|
2917
|
-
<line num="
|
|
3012
|
+
<line num="58" count="0" type="stmt"/>
|
|
3013
|
+
<line num="63" count="0" type="stmt"/>
|
|
2918
3014
|
</file>
|
|
2919
3015
|
<file name="serverLog.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/serverLog.js">
|
|
2920
3016
|
<metrics statements="4" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
@@ -2935,7 +3031,7 @@
|
|
|
2935
3031
|
<line num="59" count="0" type="stmt"/>
|
|
2936
3032
|
</file>
|
|
2937
3033
|
<file name="updateRow.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/updateRow.js">
|
|
2938
|
-
<metrics statements="
|
|
3034
|
+
<metrics statements="18" coveredstatements="18" conditionals="10" coveredconditionals="10" methods="1" coveredmethods="1"/>
|
|
2939
3035
|
<line num="1" count="34" type="stmt"/>
|
|
2940
3036
|
<line num="2" count="34" type="stmt"/>
|
|
2941
3037
|
<line num="3" count="34" type="stmt"/>
|
|
@@ -2943,18 +3039,20 @@
|
|
|
2943
3039
|
<line num="58" count="34" type="stmt"/>
|
|
2944
3040
|
<line num="59" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
2945
3041
|
<line num="60" count="1" type="stmt"/>
|
|
2946
|
-
<line num="
|
|
2947
|
-
<line num="70" count="
|
|
2948
|
-
<line num="71" count="
|
|
2949
|
-
<line num="
|
|
2950
|
-
<line num="
|
|
2951
|
-
<line num="
|
|
2952
|
-
<line num="
|
|
3042
|
+
<line num="67" count="2" type="stmt"/>
|
|
3043
|
+
<line num="70" count="2" type="stmt"/>
|
|
3044
|
+
<line num="71" count="7" type="cond" truecount="4" falsecount="0"/>
|
|
3045
|
+
<line num="72" count="1" type="stmt"/>
|
|
3046
|
+
<line num="77" count="2" type="stmt"/>
|
|
3047
|
+
<line num="88" count="2" type="stmt"/>
|
|
3048
|
+
<line num="89" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
3049
|
+
<line num="90" count="1" type="stmt"/>
|
|
3050
|
+
<line num="92" count="2" type="stmt"/>
|
|
2953
3051
|
<line num="93" count="1" type="stmt"/>
|
|
2954
3052
|
<line num="101" count="1" type="stmt"/>
|
|
2955
3053
|
</file>
|
|
2956
3054
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/utils.js">
|
|
2957
|
-
<metrics statements="17" coveredstatements="
|
|
3055
|
+
<metrics statements="17" coveredstatements="15" conditionals="9" coveredconditionals="6" methods="3" coveredmethods="3"/>
|
|
2958
3056
|
<line num="1" count="34" type="stmt"/>
|
|
2959
3057
|
<line num="2" count="2" type="stmt"/>
|
|
2960
3058
|
<line num="4" count="2" type="stmt"/>
|
|
@@ -2966,7 +3064,7 @@
|
|
|
2966
3064
|
<line num="14" count="2" type="stmt"/>
|
|
2967
3065
|
<line num="20" count="34" type="cond" truecount="0" falsecount="1"/>
|
|
2968
3066
|
<line num="21" count="15" type="stmt"/>
|
|
2969
|
-
<line num="26" count="
|
|
3067
|
+
<line num="26" count="1" type="stmt"/>
|
|
2970
3068
|
<line num="29" count="15" type="cond" truecount="2" falsecount="0"/>
|
|
2971
3069
|
<line num="30" count="14" type="stmt"/>
|
|
2972
3070
|
<line num="32" count="15" type="cond" truecount="1" falsecount="1"/>
|
|
@@ -3034,16 +3132,16 @@
|
|
|
3034
3132
|
<line num="22" count="39" type="stmt"/>
|
|
3035
3133
|
<line num="23" count="39" type="stmt"/>
|
|
3036
3134
|
<line num="32" count="39" type="stmt"/>
|
|
3037
|
-
<line num="
|
|
3038
|
-
<line num="
|
|
3039
|
-
<line num="
|
|
3040
|
-
<line num="
|
|
3041
|
-
<line num="
|
|
3042
|
-
<line num="
|
|
3043
|
-
<line num="141" count="39" type="stmt"/>
|
|
3135
|
+
<line num="48" count="39" type="stmt"/>
|
|
3136
|
+
<line num="54" count="39" type="stmt"/>
|
|
3137
|
+
<line num="60" count="39" type="stmt"/>
|
|
3138
|
+
<line num="67" count="39" type="stmt"/>
|
|
3139
|
+
<line num="72" count="39" type="stmt"/>
|
|
3140
|
+
<line num="134" count="39" type="stmt"/>
|
|
3044
3141
|
<line num="142" count="39" type="stmt"/>
|
|
3045
|
-
<line num="
|
|
3046
|
-
<line num="
|
|
3142
|
+
<line num="143" count="39" type="stmt"/>
|
|
3143
|
+
<line num="150" count="39" type="stmt"/>
|
|
3144
|
+
<line num="156" count="39" type="stmt"/>
|
|
3047
3145
|
</file>
|
|
3048
3146
|
<file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
|
|
3049
3147
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -3056,7 +3154,7 @@
|
|
|
3056
3154
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3057
3155
|
<line num="1" count="33" type="stmt"/>
|
|
3058
3156
|
<line num="2" count="33" type="stmt"/>
|
|
3059
|
-
<line num="4" count="
|
|
3157
|
+
<line num="4" count="197" type="stmt"/>
|
|
3060
3158
|
</file>
|
|
3061
3159
|
</package>
|
|
3062
3160
|
<package name="db">
|
|
@@ -3116,7 +3214,7 @@
|
|
|
3116
3214
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3117
3215
|
<line num="1" count="45" type="stmt"/>
|
|
3118
3216
|
<line num="3" count="45" type="stmt"/>
|
|
3119
|
-
<line num="4" count="
|
|
3217
|
+
<line num="4" count="803" type="stmt"/>
|
|
3120
3218
|
</file>
|
|
3121
3219
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3122
3220
|
<metrics statements="108" coveredstatements="100" conditionals="51" coveredconditionals="18" methods="30" coveredmethods="27"/>
|
|
@@ -3148,9 +3246,9 @@
|
|
|
3148
3246
|
<line num="84" count="45" type="stmt"/>
|
|
3149
3247
|
<line num="86" count="45" type="stmt"/>
|
|
3150
3248
|
<line num="87" count="74" type="stmt"/>
|
|
3151
|
-
<line num="103" count="
|
|
3152
|
-
<line num="104" count="
|
|
3153
|
-
<line num="106" count="
|
|
3249
|
+
<line num="103" count="603" type="cond" truecount="2" falsecount="0"/>
|
|
3250
|
+
<line num="104" count="590" type="stmt"/>
|
|
3251
|
+
<line num="106" count="603" type="stmt"/>
|
|
3154
3252
|
<line num="113" count="45" type="stmt"/>
|
|
3155
3253
|
<line num="118" count="45" type="cond" truecount="0" falsecount="2"/>
|
|
3156
3254
|
<line num="119" count="3" type="stmt"/>
|
|
@@ -3162,19 +3260,19 @@
|
|
|
3162
3260
|
<line num="143" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
3163
3261
|
<line num="145" count="11" type="stmt"/>
|
|
3164
3262
|
<line num="154" count="45" type="cond" truecount="1" falsecount="0"/>
|
|
3165
|
-
<line num="155" count="
|
|
3166
|
-
<line num="156" count="
|
|
3263
|
+
<line num="155" count="200" type="cond" truecount="2" falsecount="0"/>
|
|
3264
|
+
<line num="156" count="200" type="stmt"/>
|
|
3167
3265
|
<line num="162" count="45" type="cond" truecount="0" falsecount="2"/>
|
|
3168
3266
|
<line num="163" count="3" type="stmt"/>
|
|
3169
3267
|
<line num="171" count="45" type="stmt"/>
|
|
3170
|
-
<line num="172" count="
|
|
3268
|
+
<line num="172" count="132" type="stmt"/>
|
|
3171
3269
|
<line num="178" count="45" type="stmt"/>
|
|
3172
3270
|
<line num="179" count="2" type="stmt"/>
|
|
3173
3271
|
<line num="180" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
3174
3272
|
<line num="181" count="1" type="stmt"/>
|
|
3175
3273
|
<line num="183" count="1" type="stmt"/>
|
|
3176
3274
|
<line num="189" count="45" type="cond" truecount="0" falsecount="2"/>
|
|
3177
|
-
<line num="190" count="
|
|
3275
|
+
<line num="190" count="203" type="stmt"/>
|
|
3178
3276
|
<line num="197" count="45" type="stmt"/>
|
|
3179
3277
|
<line num="198" count="20" type="stmt"/>
|
|
3180
3278
|
<line num="212" count="45" type="stmt"/>
|
|
@@ -3185,22 +3283,22 @@
|
|
|
3185
3283
|
<line num="229" count="45" type="cond" truecount="0" falsecount="1"/>
|
|
3186
3284
|
<line num="230" count="0" type="stmt"/>
|
|
3187
3285
|
<line num="237" count="45" type="cond" truecount="0" falsecount="1"/>
|
|
3188
|
-
<line num="238" count="
|
|
3189
|
-
<line num="239" count="
|
|
3286
|
+
<line num="238" count="178" type="stmt"/>
|
|
3287
|
+
<line num="239" count="178" type="cond" truecount="1" falsecount="1"/>
|
|
3190
3288
|
<line num="240" count="0" type="stmt"/>
|
|
3191
|
-
<line num="242" count="
|
|
3289
|
+
<line num="242" count="178" type="stmt"/>
|
|
3192
3290
|
<line num="249" count="45" type="stmt"/>
|
|
3193
|
-
<line num="250" count="
|
|
3194
|
-
<line num="251" count="
|
|
3195
|
-
<line num="252" count="
|
|
3291
|
+
<line num="250" count="178" type="stmt"/>
|
|
3292
|
+
<line num="251" count="178" type="stmt"/>
|
|
3293
|
+
<line num="252" count="178" type="stmt"/>
|
|
3196
3294
|
<line num="259" count="45" type="stmt"/>
|
|
3197
3295
|
<line num="260" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3198
3296
|
<line num="266" count="45" type="cond" truecount="0" falsecount="2"/>
|
|
3199
|
-
<line num="267" count="
|
|
3297
|
+
<line num="267" count="188" type="stmt"/>
|
|
3200
3298
|
<line num="274" count="45" type="stmt"/>
|
|
3201
|
-
<line num="275" count="
|
|
3299
|
+
<line num="275" count="197" type="stmt"/>
|
|
3202
3300
|
<line num="281" count="45" type="cond" truecount="0" falsecount="2"/>
|
|
3203
|
-
<line num="282" count="
|
|
3301
|
+
<line num="282" count="190" type="stmt"/>
|
|
3204
3302
|
<line num="289" count="45" type="stmt"/>
|
|
3205
3303
|
<line num="290" count="10" type="stmt"/>
|
|
3206
3304
|
<line num="296" count="45" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -3231,7 +3329,7 @@
|
|
|
3231
3329
|
</file>
|
|
3232
3330
|
</package>
|
|
3233
3331
|
<package name="db.linkedRows">
|
|
3234
|
-
<metrics statements="
|
|
3332
|
+
<metrics statements="300" coveredstatements="290" conditionals="136" coveredconditionals="117" methods="60" coveredmethods="57"/>
|
|
3235
3333
|
<file name="LinkController.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/LinkController.js">
|
|
3236
3334
|
<metrics statements="151" coveredstatements="146" conditionals="68" coveredconditionals="60" methods="27" coveredmethods="24"/>
|
|
3237
3335
|
<line num="1" count="34" type="stmt"/>
|
|
@@ -3243,22 +3341,22 @@
|
|
|
3243
3341
|
<line num="41" count="9" type="stmt"/>
|
|
3244
3342
|
<line num="42" count="9" type="stmt"/>
|
|
3245
3343
|
<line num="47" count="9" type="stmt"/>
|
|
3246
|
-
<line num="56" count="
|
|
3247
|
-
<line num="57" count="
|
|
3248
|
-
<line num="58" count="
|
|
3249
|
-
<line num="59" count="
|
|
3250
|
-
<line num="60" count="
|
|
3251
|
-
<line num="61" count="
|
|
3344
|
+
<line num="56" count="187" type="stmt"/>
|
|
3345
|
+
<line num="57" count="187" type="stmt"/>
|
|
3346
|
+
<line num="58" count="187" type="stmt"/>
|
|
3347
|
+
<line num="59" count="187" type="stmt"/>
|
|
3348
|
+
<line num="60" count="187" type="stmt"/>
|
|
3349
|
+
<line num="61" count="187" type="stmt"/>
|
|
3252
3350
|
<line num="70" count="52" type="cond" truecount="2" falsecount="0"/>
|
|
3253
3351
|
<line num="71" count="5" type="stmt"/>
|
|
3254
3352
|
<line num="74" count="52" type="stmt"/>
|
|
3255
|
-
<line num="85" count="
|
|
3353
|
+
<line num="85" count="180" type="cond" truecount="2" falsecount="0"/>
|
|
3256
3354
|
<line num="86" count="5" type="stmt"/>
|
|
3257
|
-
<line num="88" count="
|
|
3258
|
-
<line num="89" count="
|
|
3259
|
-
<line num="90" count="
|
|
3355
|
+
<line num="88" count="180" type="stmt"/>
|
|
3356
|
+
<line num="89" count="450" type="stmt"/>
|
|
3357
|
+
<line num="90" count="450" type="cond" truecount="2" falsecount="0"/>
|
|
3260
3358
|
<line num="91" count="41" type="stmt"/>
|
|
3261
|
-
<line num="94" count="
|
|
3359
|
+
<line num="94" count="139" type="stmt"/>
|
|
3262
3360
|
<line num="101" count="27" type="stmt"/>
|
|
3263
3361
|
<line num="113" count="9" type="stmt"/>
|
|
3264
3362
|
<line num="124" count="22" type="stmt"/>
|
|
@@ -3387,7 +3485,7 @@
|
|
|
3387
3485
|
<line num="468" count="34" type="stmt"/>
|
|
3388
3486
|
</file>
|
|
3389
3487
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/index.js">
|
|
3390
|
-
<metrics statements="
|
|
3488
|
+
<metrics statements="96" coveredstatements="92" conditionals="42" coveredconditionals="34" methods="20" coveredmethods="20"/>
|
|
3391
3489
|
<line num="1" count="34" type="stmt"/>
|
|
3392
3490
|
<line num="10" count="34" type="stmt"/>
|
|
3393
3491
|
<line num="11" count="34" type="stmt"/>
|
|
@@ -3419,69 +3517,71 @@
|
|
|
3419
3517
|
<line num="80" count="30" type="stmt"/>
|
|
3420
3518
|
<line num="81" count="18" type="stmt"/>
|
|
3421
3519
|
<line num="84" count="30" type="stmt"/>
|
|
3422
|
-
<line num="
|
|
3423
|
-
<line num="
|
|
3424
|
-
<line num="
|
|
3425
|
-
<line num="
|
|
3426
|
-
<line num="
|
|
3427
|
-
<line num="
|
|
3428
|
-
<line num="107" count="
|
|
3429
|
-
<line num="108" count="
|
|
3430
|
-
<line num="109" count="
|
|
3431
|
-
<line num="
|
|
3432
|
-
<line num="
|
|
3433
|
-
<line num="
|
|
3434
|
-
<line num="
|
|
3435
|
-
<line num="117" count="
|
|
3436
|
-
<line num="
|
|
3437
|
-
<line num="
|
|
3438
|
-
<line num="
|
|
3439
|
-
<line num="
|
|
3440
|
-
<line num="
|
|
3441
|
-
<line num="
|
|
3442
|
-
<line num="
|
|
3520
|
+
<line num="85" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
3521
|
+
<line num="86" count="18" type="stmt"/>
|
|
3522
|
+
<line num="88" count="30" type="stmt"/>
|
|
3523
|
+
<line num="89" count="18" type="stmt"/>
|
|
3524
|
+
<line num="91" count="30" type="stmt"/>
|
|
3525
|
+
<line num="92" count="30" type="stmt"/>
|
|
3526
|
+
<line num="107" count="34" type="stmt"/>
|
|
3527
|
+
<line num="108" count="177" type="stmt"/>
|
|
3528
|
+
<line num="109" count="177" type="cond" truecount="2" falsecount="0"/>
|
|
3529
|
+
<line num="110" count="177" type="cond" truecount="1" falsecount="1"/>
|
|
3530
|
+
<line num="111" count="0" type="stmt"/>
|
|
3531
|
+
<line num="114" count="177" type="cond" truecount="4" falsecount="0"/>
|
|
3532
|
+
<line num="115" count="101" type="stmt"/>
|
|
3533
|
+
<line num="117" count="177" type="stmt"/>
|
|
3534
|
+
<line num="118" count="177" type="stmt"/>
|
|
3535
|
+
<line num="119" count="177" type="cond" truecount="2" falsecount="0"/>
|
|
3536
|
+
<line num="124" count="136" type="stmt"/>
|
|
3537
|
+
<line num="127" count="0" type="stmt"/>
|
|
3538
|
+
<line num="129" count="41" type="cond" truecount="5" falsecount="2"/>
|
|
3539
|
+
<line num="132" count="21" type="stmt"/>
|
|
3540
|
+
<line num="134" count="0" type="stmt"/>
|
|
3541
|
+
<line num="136" count="18" type="stmt"/>
|
|
3443
3542
|
<line num="138" count="1" type="stmt"/>
|
|
3444
|
-
<line num="140" count="
|
|
3445
|
-
<line num="
|
|
3446
|
-
<line num="
|
|
3447
|
-
<line num="
|
|
3448
|
-
<line num="
|
|
3449
|
-
<line num="
|
|
3450
|
-
<line num="
|
|
3543
|
+
<line num="140" count="1" type="stmt"/>
|
|
3544
|
+
<line num="142" count="0" type="stmt"/>
|
|
3545
|
+
<line num="154" count="34" type="stmt"/>
|
|
3546
|
+
<line num="155" count="100" type="stmt"/>
|
|
3547
|
+
<line num="156" count="100" type="stmt"/>
|
|
3548
|
+
<line num="157" count="100" type="cond" truecount="2" falsecount="0"/>
|
|
3549
|
+
<line num="158" count="70" type="stmt"/>
|
|
3451
3550
|
<line num="161" count="30" type="stmt"/>
|
|
3452
|
-
<line num="
|
|
3453
|
-
<line num="
|
|
3551
|
+
<line num="163" count="30" type="stmt"/>
|
|
3552
|
+
<line num="164" count="25" type="stmt"/>
|
|
3454
3553
|
<line num="167" count="30" type="stmt"/>
|
|
3455
|
-
<line num="168" count="30" type="stmt"/>
|
|
3456
3554
|
<line num="169" count="30" type="stmt"/>
|
|
3457
3555
|
<line num="170" count="30" type="stmt"/>
|
|
3458
|
-
<line num="171" count="
|
|
3459
|
-
<line num="172" count="
|
|
3556
|
+
<line num="171" count="30" type="stmt"/>
|
|
3557
|
+
<line num="172" count="30" type="stmt"/>
|
|
3558
|
+
<line num="173" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
3460
3559
|
<line num="174" count="18" type="stmt"/>
|
|
3461
|
-
<line num="176" count="18" type="
|
|
3462
|
-
<line num="177" count="18" type="
|
|
3463
|
-
<line num="
|
|
3464
|
-
<line num="
|
|
3465
|
-
<line num="
|
|
3466
|
-
<line num="
|
|
3467
|
-
<line num="
|
|
3468
|
-
<line num="
|
|
3469
|
-
<line num="
|
|
3470
|
-
<line num="
|
|
3471
|
-
<line num="
|
|
3472
|
-
<line num="
|
|
3473
|
-
<line num="
|
|
3474
|
-
<line num="
|
|
3475
|
-
<line num="
|
|
3476
|
-
<line num="
|
|
3477
|
-
<line num="207" count="9" type="cond" truecount="1" falsecount="1"/>
|
|
3478
|
-
<line num="208" count="9" type="stmt"/>
|
|
3479
|
-
<line num="209" count="9" type="stmt"/>
|
|
3480
|
-
<line num="210" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
3481
|
-
<line num="211" count="8" type="stmt"/>
|
|
3560
|
+
<line num="176" count="18" type="stmt"/>
|
|
3561
|
+
<line num="177" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
3562
|
+
<line num="179" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
3563
|
+
<line num="180" count="18" type="stmt"/>
|
|
3564
|
+
<line num="185" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
3565
|
+
<line num="186" count="18" type="stmt"/>
|
|
3566
|
+
<line num="191" count="30" type="stmt"/>
|
|
3567
|
+
<line num="201" count="34" type="stmt"/>
|
|
3568
|
+
<line num="202" count="26" type="stmt"/>
|
|
3569
|
+
<line num="204" count="26" type="stmt"/>
|
|
3570
|
+
<line num="205" count="26" type="stmt"/>
|
|
3571
|
+
<line num="207" count="32" type="stmt"/>
|
|
3572
|
+
<line num="208" count="32" type="stmt"/>
|
|
3573
|
+
<line num="209" count="103" type="cond" truecount="4" falsecount="0"/>
|
|
3574
|
+
<line num="210" count="94" type="stmt"/>
|
|
3575
|
+
<line num="212" count="9" type="stmt"/>
|
|
3482
3576
|
<line num="213" count="9" type="stmt"/>
|
|
3577
|
+
<line num="214" count="9" type="cond" truecount="1" falsecount="1"/>
|
|
3483
3578
|
<line num="215" count="9" type="stmt"/>
|
|
3484
|
-
<line num="
|
|
3579
|
+
<line num="216" count="9" type="stmt"/>
|
|
3580
|
+
<line num="217" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
3581
|
+
<line num="218" count="8" type="stmt"/>
|
|
3582
|
+
<line num="220" count="9" type="stmt"/>
|
|
3583
|
+
<line num="222" count="9" type="stmt"/>
|
|
3584
|
+
<line num="225" count="26" type="stmt"/>
|
|
3485
3585
|
</file>
|
|
3486
3586
|
<file name="linkUtils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/linkUtils.js">
|
|
3487
3587
|
<metrics statements="53" coveredstatements="52" conditionals="26" coveredconditionals="23" methods="13" coveredmethods="13"/>
|
|
@@ -3597,7 +3697,7 @@
|
|
|
3597
3697
|
</file>
|
|
3598
3698
|
</package>
|
|
3599
3699
|
<package name="middleware">
|
|
3600
|
-
<metrics statements="
|
|
3700
|
+
<metrics statements="206" coveredstatements="185" conditionals="139" coveredconditionals="111" methods="27" coveredmethods="27"/>
|
|
3601
3701
|
<file name="appInfo.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/appInfo.js">
|
|
3602
3702
|
<metrics statements="10" coveredstatements="8" conditionals="11" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
3603
3703
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -3619,7 +3719,7 @@
|
|
|
3619
3719
|
<line num="10" count="7" type="stmt"/>
|
|
3620
3720
|
<line num="13" count="24" type="stmt"/>
|
|
3621
3721
|
<line num="17" count="24" type="stmt"/>
|
|
3622
|
-
<line num="19" count="
|
|
3722
|
+
<line num="19" count="2200" type="stmt"/>
|
|
3623
3723
|
<line num="21" count="150" type="cond" truecount="2" falsecount="0"/>
|
|
3624
3724
|
<line num="22" count="1" type="stmt"/>
|
|
3625
3725
|
<line num="25" count="149" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -3678,7 +3778,7 @@
|
|
|
3678
3778
|
<line num="74" count="1" type="stmt"/>
|
|
3679
3779
|
</file>
|
|
3680
3780
|
<file name="currentapp.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/currentapp.js">
|
|
3681
|
-
<metrics statements="
|
|
3781
|
+
<metrics statements="52" coveredstatements="43" conditionals="40" coveredconditionals="31" methods="1" coveredmethods="1"/>
|
|
3682
3782
|
<line num="2" count="28" type="stmt"/>
|
|
3683
3783
|
<line num="3" count="28" type="stmt"/>
|
|
3684
3784
|
<line num="4" count="28" type="stmt"/>
|
|
@@ -3690,44 +3790,47 @@
|
|
|
3690
3790
|
<line num="10" count="28" type="stmt"/>
|
|
3691
3791
|
<line num="11" count="28" type="stmt"/>
|
|
3692
3792
|
<line num="13" count="28" type="stmt"/>
|
|
3693
|
-
<line num="15" count="
|
|
3694
|
-
<line num="17" count="
|
|
3695
|
-
<line num="18" count="
|
|
3696
|
-
<line num="19" count="
|
|
3793
|
+
<line num="15" count="160" type="stmt"/>
|
|
3794
|
+
<line num="17" count="160" type="stmt"/>
|
|
3795
|
+
<line num="18" count="160" type="stmt"/>
|
|
3796
|
+
<line num="19" count="160" type="stmt"/>
|
|
3697
3797
|
<line num="21" count="0" type="stmt"/>
|
|
3698
|
-
<line num="23" count="
|
|
3798
|
+
<line num="23" count="160" type="cond" truecount="4" falsecount="0"/>
|
|
3699
3799
|
<line num="24" count="1" type="stmt"/>
|
|
3700
|
-
<line num="27" count="
|
|
3701
|
-
<line num="28" count="
|
|
3702
|
-
<line num="29" count="
|
|
3703
|
-
<line num="30" count="
|
|
3800
|
+
<line num="27" count="159" type="cond" truecount="2" falsecount="0"/>
|
|
3801
|
+
<line num="28" count="153" type="stmt"/>
|
|
3802
|
+
<line num="29" count="153" type="stmt"/>
|
|
3803
|
+
<line num="30" count="153" type="cond" truecount="1" falsecount="1"/>
|
|
3704
3804
|
<line num="31" count="0" type="stmt"/>
|
|
3705
3805
|
<line num="32" count="0" type="stmt"/>
|
|
3706
|
-
<line num="35" count="
|
|
3707
|
-
<line num="39" count="
|
|
3708
|
-
<line num="
|
|
3709
|
-
<line num="
|
|
3710
|
-
<line num="
|
|
3711
|
-
<line num="
|
|
3712
|
-
<line num="
|
|
3713
|
-
<line num="
|
|
3714
|
-
<line num="
|
|
3715
|
-
<line num="
|
|
3716
|
-
<line num="
|
|
3717
|
-
<line num="
|
|
3718
|
-
<line num="
|
|
3719
|
-
<line num="
|
|
3720
|
-
<line num="68" count="
|
|
3721
|
-
<line num="
|
|
3722
|
-
<line num="
|
|
3723
|
-
<line num="
|
|
3724
|
-
<line num="
|
|
3725
|
-
<line num="
|
|
3726
|
-
<line num="
|
|
3727
|
-
<line num="
|
|
3728
|
-
<line num="
|
|
3729
|
-
<line num="
|
|
3730
|
-
<line num="
|
|
3806
|
+
<line num="35" count="153" type="cond" truecount="1" falsecount="1"/>
|
|
3807
|
+
<line num="39" count="159" type="cond" truecount="2" falsecount="0"/>
|
|
3808
|
+
<line num="43" count="2" type="stmt"/>
|
|
3809
|
+
<line num="44" count="2" type="stmt"/>
|
|
3810
|
+
<line num="48" count="157" type="stmt"/>
|
|
3811
|
+
<line num="49" count="157" type="cond" truecount="2" falsecount="0"/>
|
|
3812
|
+
<line num="51" count="33" type="stmt"/>
|
|
3813
|
+
<line num="52" count="124" type="cond" truecount="1" falsecount="1"/>
|
|
3814
|
+
<line num="54" count="124" type="stmt"/>
|
|
3815
|
+
<line num="55" count="124" type="stmt"/>
|
|
3816
|
+
<line num="57" count="124" type="cond" truecount="2" falsecount="0"/>
|
|
3817
|
+
<line num="61" count="157" type="cond" truecount="1" falsecount="1"/>
|
|
3818
|
+
<line num="62" count="0" type="stmt"/>
|
|
3819
|
+
<line num="65" count="157" type="stmt"/>
|
|
3820
|
+
<line num="68" count="157" type="cond" truecount="1" falsecount="1"/>
|
|
3821
|
+
<line num="75" count="0" type="stmt"/>
|
|
3822
|
+
<line num="76" count="0" type="stmt"/>
|
|
3823
|
+
<line num="77" count="0" type="stmt"/>
|
|
3824
|
+
<line num="78" count="0" type="stmt"/>
|
|
3825
|
+
<line num="79" count="0" type="stmt"/>
|
|
3826
|
+
<line num="82" count="157" type="stmt"/>
|
|
3827
|
+
<line num="83" count="157" type="cond" truecount="1" falsecount="1"/>
|
|
3828
|
+
<line num="84" count="157" type="stmt"/>
|
|
3829
|
+
<line num="85" count="157" type="cond" truecount="2" falsecount="0"/>
|
|
3830
|
+
<line num="86" count="157" type="stmt"/>
|
|
3831
|
+
<line num="95" count="157" type="cond" truecount="2" falsecount="0"/>
|
|
3832
|
+
<line num="101" count="7" type="stmt"/>
|
|
3833
|
+
<line num="104" count="157" type="stmt"/>
|
|
3731
3834
|
</file>
|
|
3732
3835
|
<file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
|
|
3733
3836
|
<metrics statements="17" coveredstatements="14" conditionals="8" coveredconditionals="5" methods="4" coveredmethods="4"/>
|
|
@@ -3827,7 +3930,7 @@
|
|
|
3827
3930
|
</file>
|
|
3828
3931
|
</package>
|
|
3829
3932
|
<package name="utilities">
|
|
3830
|
-
<metrics statements="
|
|
3933
|
+
<metrics statements="283" coveredstatements="205" conditionals="105" coveredconditionals="58" methods="57" coveredmethods="38"/>
|
|
3831
3934
|
<file name="bcrypt.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/bcrypt.js">
|
|
3832
3935
|
<metrics statements="9" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
3833
3936
|
<line num="3" count="0" type="stmt"/>
|
|
@@ -3907,7 +4010,7 @@
|
|
|
3907
4010
|
<line num="95" count="35" type="stmt"/>
|
|
3908
4011
|
</file>
|
|
3909
4012
|
<file name="global.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/global.js">
|
|
3910
|
-
<metrics statements="53" coveredstatements="
|
|
4013
|
+
<metrics statements="53" coveredstatements="43" conditionals="25" coveredconditionals="17" methods="14" coveredmethods="10"/>
|
|
3911
4014
|
<line num="4" count="39" type="stmt"/>
|
|
3912
4015
|
<line num="5" count="39" type="stmt"/>
|
|
3913
4016
|
<line num="6" count="39" type="stmt"/>
|
|
@@ -3916,26 +4019,26 @@
|
|
|
3916
4019
|
<line num="9" count="39" type="stmt"/>
|
|
3917
4020
|
<line num="10" count="39" type="stmt"/>
|
|
3918
4021
|
<line num="12" count="39" type="stmt"/>
|
|
3919
|
-
<line num="13" count="
|
|
4022
|
+
<line num="13" count="133" type="cond" truecount="4" falsecount="0"/>
|
|
3920
4023
|
<line num="14" count="3" type="stmt"/>
|
|
3921
|
-
<line num="17" count="
|
|
4024
|
+
<line num="17" count="130" type="cond" truecount="2" falsecount="2"/>
|
|
3922
4025
|
<line num="18" count="0" type="stmt"/>
|
|
3923
4026
|
<line num="19" count="0" type="stmt"/>
|
|
3924
4027
|
<line num="20" count="0" type="stmt"/>
|
|
3925
4028
|
<line num="21" count="0" type="stmt"/>
|
|
3926
|
-
<line num="24" count="
|
|
3927
|
-
<line num="26" count="
|
|
3928
|
-
<line num="27" count="
|
|
3929
|
-
<line num="28" count="
|
|
3930
|
-
<line num="29" count="
|
|
3931
|
-
<line num="31" count="
|
|
3932
|
-
<line num="32" count="
|
|
3933
|
-
<line num="36" count="
|
|
3934
|
-
<line num="37" count="
|
|
3935
|
-
<line num="39" count="
|
|
4029
|
+
<line num="24" count="130" type="stmt"/>
|
|
4030
|
+
<line num="26" count="130" type="cond" truecount="5" falsecount="0"/>
|
|
4031
|
+
<line num="27" count="125" type="stmt"/>
|
|
4032
|
+
<line num="28" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4033
|
+
<line num="29" count="0" type="stmt"/>
|
|
4034
|
+
<line num="31" count="130" type="stmt"/>
|
|
4035
|
+
<line num="32" count="130" type="stmt"/>
|
|
4036
|
+
<line num="36" count="126" type="cond" truecount="1" falsecount="1"/>
|
|
4037
|
+
<line num="37" count="126" type="stmt"/>
|
|
4038
|
+
<line num="39" count="126" type="stmt"/>
|
|
3936
4039
|
<line num="42" count="39" type="stmt"/>
|
|
3937
|
-
<line num="45" count="
|
|
3938
|
-
<line num="46" count="
|
|
4040
|
+
<line num="45" count="124" type="stmt"/>
|
|
4041
|
+
<line num="46" count="124" type="stmt"/>
|
|
3939
4042
|
<line num="49" count="39" type="stmt"/>
|
|
3940
4043
|
<line num="50" count="2" type="stmt"/>
|
|
3941
4044
|
<line num="51" count="2" type="stmt"/>
|
|
@@ -3947,11 +4050,11 @@
|
|
|
3947
4050
|
<line num="60" count="30" type="stmt"/>
|
|
3948
4051
|
<line num="61" count="0" type="stmt"/>
|
|
3949
4052
|
<line num="64" count="2" type="stmt"/>
|
|
3950
|
-
<line num="70" count="
|
|
4053
|
+
<line num="70" count="7" type="stmt"/>
|
|
3951
4054
|
<line num="72" count="32" type="stmt"/>
|
|
3952
|
-
<line num="73" count="
|
|
3953
|
-
<line num="75" count="
|
|
3954
|
-
<line num="76" count="
|
|
4055
|
+
<line num="73" count="7" type="stmt"/>
|
|
4056
|
+
<line num="75" count="7" type="stmt"/>
|
|
4057
|
+
<line num="76" count="7" type="stmt"/>
|
|
3955
4058
|
<line num="78" count="32" type="cond" truecount="1" falsecount="1"/>
|
|
3956
4059
|
<line num="79" count="0" type="stmt"/>
|
|
3957
4060
|
<line num="81" count="32" type="stmt"/>
|
|
@@ -3979,15 +4082,15 @@
|
|
|
3979
4082
|
<line num="17" count="1" type="stmt"/>
|
|
3980
4083
|
<line num="19" count="1" type="stmt"/>
|
|
3981
4084
|
<line num="28" count="36" type="stmt"/>
|
|
3982
|
-
<line num="29" count="
|
|
4085
|
+
<line num="29" count="186" type="stmt"/>
|
|
3983
4086
|
<line num="36" count="36" type="stmt"/>
|
|
3984
4087
|
<line num="37" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
3985
4088
|
<line num="39" count="2" type="stmt"/>
|
|
3986
4089
|
<line num="41" count="0" type="stmt"/>
|
|
3987
4090
|
<line num="54" count="36" type="stmt"/>
|
|
3988
|
-
<line num="55" count="
|
|
4091
|
+
<line num="55" count="187" type="cond" truecount="1" falsecount="1"/>
|
|
3989
4092
|
<line num="56" count="0" type="stmt"/>
|
|
3990
|
-
<line num="60" count="
|
|
4093
|
+
<line num="60" count="187" type="stmt"/>
|
|
3991
4094
|
<line num="64" count="36" type="stmt"/>
|
|
3992
4095
|
<line num="65" count="2" type="stmt"/>
|
|
3993
4096
|
<line num="70" count="36" type="stmt"/>
|
|
@@ -4024,6 +4127,21 @@
|
|
|
4024
4127
|
<line num="132" count="0" type="stmt"/>
|
|
4025
4128
|
<line num="133" count="0" type="stmt"/>
|
|
4026
4129
|
</file>
|
|
4130
|
+
<file name="scriptRunner.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/scriptRunner.js">
|
|
4131
|
+
<metrics statements="12" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
4132
|
+
<line num="1" count="34" type="stmt"/>
|
|
4133
|
+
<line num="2" count="34" type="stmt"/>
|
|
4134
|
+
<line num="6" count="0" type="stmt"/>
|
|
4135
|
+
<line num="7" count="0" type="stmt"/>
|
|
4136
|
+
<line num="8" count="0" type="stmt"/>
|
|
4137
|
+
<line num="9" count="0" type="stmt"/>
|
|
4138
|
+
<line num="10" count="0" type="stmt"/>
|
|
4139
|
+
<line num="11" count="0" type="stmt"/>
|
|
4140
|
+
<line num="12" count="0" type="stmt"/>
|
|
4141
|
+
<line num="16" count="0" type="stmt"/>
|
|
4142
|
+
<line num="17" count="0" type="stmt"/>
|
|
4143
|
+
<line num="21" count="34" type="stmt"/>
|
|
4144
|
+
</file>
|
|
4027
4145
|
<file name="security.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/security.js">
|
|
4028
4146
|
<metrics statements="28" coveredstatements="23" conditionals="15" coveredconditionals="8" methods="4" coveredmethods="4"/>
|
|
4029
4147
|
<line num="6" count="33" type="stmt"/>
|
|
@@ -4082,19 +4200,19 @@
|
|
|
4082
4200
|
<line num="5" count="34" type="stmt"/>
|
|
4083
4201
|
<line num="6" count="34" type="stmt"/>
|
|
4084
4202
|
<line num="7" count="34" type="stmt"/>
|
|
4085
|
-
<line num="10" count="
|
|
4086
|
-
<line num="11" count="
|
|
4087
|
-
<line num="13" count="
|
|
4088
|
-
<line num="14" count="
|
|
4089
|
-
<line num="15" count="
|
|
4203
|
+
<line num="10" count="184" type="cond" truecount="1" falsecount="1"/>
|
|
4204
|
+
<line num="11" count="184" type="stmt"/>
|
|
4205
|
+
<line num="13" count="184" type="cond" truecount="2" falsecount="0"/>
|
|
4206
|
+
<line num="14" count="173" type="stmt"/>
|
|
4207
|
+
<line num="15" count="173" type="cond" truecount="2" falsecount="0"/>
|
|
4090
4208
|
<line num="16" count="6" type="stmt"/>
|
|
4091
|
-
<line num="19" count="
|
|
4209
|
+
<line num="19" count="184" type="cond" truecount="2" falsecount="2"/>
|
|
4092
4210
|
<line num="20" count="0" type="stmt"/>
|
|
4093
4211
|
<line num="21" count="0" type="stmt"/>
|
|
4094
|
-
<line num="26" count="
|
|
4095
|
-
<line num="28" count="
|
|
4212
|
+
<line num="26" count="184" type="stmt"/>
|
|
4213
|
+
<line num="28" count="184" type="cond" truecount="3" falsecount="1"/>
|
|
4096
4214
|
<line num="29" count="0" type="stmt"/>
|
|
4097
|
-
<line num="31" count="
|
|
4215
|
+
<line num="31" count="184" type="stmt"/>
|
|
4098
4216
|
<line num="34" count="34" type="stmt"/>
|
|
4099
4217
|
<line num="37" count="34" type="stmt"/>
|
|
4100
4218
|
<line num="39" count="0" type="stmt"/>
|
|
@@ -4103,15 +4221,15 @@
|
|
|
4103
4221
|
<line num="56" count="0" type="stmt"/>
|
|
4104
4222
|
<line num="58" count="0" type="stmt"/>
|
|
4105
4223
|
<line num="61" count="34" type="stmt"/>
|
|
4106
|
-
<line num="62" count="
|
|
4107
|
-
<line num="63" count="
|
|
4108
|
-
<line num="69" count="
|
|
4109
|
-
<line num="70" count="
|
|
4110
|
-
<line num="71" count="
|
|
4111
|
-
<line num="72" count="
|
|
4112
|
-
<line num="73" count="
|
|
4113
|
-
<line num="74" count="
|
|
4114
|
-
<line num="77" count="
|
|
4224
|
+
<line num="62" count="173" type="stmt"/>
|
|
4225
|
+
<line num="63" count="173" type="stmt"/>
|
|
4226
|
+
<line num="69" count="173" type="stmt"/>
|
|
4227
|
+
<line num="70" count="173" type="stmt"/>
|
|
4228
|
+
<line num="71" count="173" type="stmt"/>
|
|
4229
|
+
<line num="72" count="173" type="cond" truecount="1" falsecount="1"/>
|
|
4230
|
+
<line num="73" count="173" type="stmt"/>
|
|
4231
|
+
<line num="74" count="173" type="stmt"/>
|
|
4232
|
+
<line num="77" count="173" type="stmt"/>
|
|
4115
4233
|
<line num="80" count="0" type="stmt"/>
|
|
4116
4234
|
<line num="84" count="34" type="cond" truecount="0" falsecount="1"/>
|
|
4117
4235
|
<line num="85" count="0" type="stmt"/>
|
|
@@ -4131,9 +4249,9 @@
|
|
|
4131
4249
|
</file>
|
|
4132
4250
|
</package>
|
|
4133
4251
|
<package name="utilities.queue">
|
|
4134
|
-
<metrics statements="
|
|
4252
|
+
<metrics statements="20" coveredstatements="18" conditionals="7" coveredconditionals="4" methods="7" coveredmethods="6"/>
|
|
4135
4253
|
<file name="inMemoryQueue.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/queue/inMemoryQueue.js">
|
|
4136
|
-
<metrics statements="
|
|
4254
|
+
<metrics statements="20" coveredstatements="18" conditionals="7" coveredconditionals="4" methods="7" coveredmethods="6"/>
|
|
4137
4255
|
<line num="1" count="33" type="stmt"/>
|
|
4138
4256
|
<line num="13" count="8" type="stmt"/>
|
|
4139
4257
|
<line num="33" count="33" type="stmt"/>
|
|
@@ -4152,7 +4270,8 @@
|
|
|
4152
4270
|
<line num="73" count="8" type="stmt"/>
|
|
4153
4271
|
<line num="74" count="8" type="stmt"/>
|
|
4154
4272
|
<line num="83" count="0" type="stmt"/>
|
|
4155
|
-
<line num="
|
|
4273
|
+
<line num="90" count="185" type="stmt"/>
|
|
4274
|
+
<line num="94" count="33" type="stmt"/>
|
|
4156
4275
|
</file>
|
|
4157
4276
|
</package>
|
|
4158
4277
|
<package name="utilities.routing">
|
|
@@ -4171,9 +4290,9 @@
|
|
|
4171
4290
|
</file>
|
|
4172
4291
|
</package>
|
|
4173
4292
|
<package name="utilities.rowProcessor">
|
|
4174
|
-
<metrics statements="
|
|
4293
|
+
<metrics statements="95" coveredstatements="74" conditionals="76" coveredconditionals="46" methods="12" coveredmethods="10"/>
|
|
4175
4294
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/index.js">
|
|
4176
|
-
<metrics statements="
|
|
4295
|
+
<metrics statements="84" coveredstatements="64" conditionals="70" coveredconditionals="41" methods="10" coveredmethods="9"/>
|
|
4177
4296
|
<line num="1" count="34" type="stmt"/>
|
|
4178
4297
|
<line num="2" count="34" type="stmt"/>
|
|
4179
4298
|
<line num="3" count="34" type="stmt"/>
|
|
@@ -4216,43 +4335,48 @@
|
|
|
4216
4335
|
<line num="142" count="73" type="stmt"/>
|
|
4217
4336
|
<line num="144" count="34" type="stmt"/>
|
|
4218
4337
|
<line num="152" count="34" type="stmt"/>
|
|
4219
|
-
<line num="154" count="174" type="cond" truecount="
|
|
4220
|
-
<line num="155" count="
|
|
4221
|
-
<line num="
|
|
4222
|
-
<line num="
|
|
4223
|
-
<line num="160" count="
|
|
4224
|
-
<line num="
|
|
4225
|
-
<line num="
|
|
4226
|
-
<line num="
|
|
4227
|
-
<line num="181" count="73" type="stmt"/>
|
|
4338
|
+
<line num="154" count="174" type="cond" truecount="1" falsecount="1"/>
|
|
4339
|
+
<line num="155" count="0" type="stmt"/>
|
|
4340
|
+
<line num="158" count="174" type="cond" truecount="2" falsecount="0"/>
|
|
4341
|
+
<line num="159" count="16" type="stmt"/>
|
|
4342
|
+
<line num="160" count="158" type="cond" truecount="2" falsecount="0"/>
|
|
4343
|
+
<line num="161" count="22" type="stmt"/>
|
|
4344
|
+
<line num="164" count="136" type="stmt"/>
|
|
4345
|
+
<line num="176" count="34" type="stmt"/>
|
|
4228
4346
|
<line num="182" count="73" type="stmt"/>
|
|
4229
|
-
<line num="
|
|
4230
|
-
<line num="185" count="
|
|
4231
|
-
<line num="186" count="
|
|
4232
|
-
<line num="187" count="
|
|
4233
|
-
<line num="189" count="
|
|
4234
|
-
<line num="
|
|
4235
|
-
<line num="
|
|
4236
|
-
<line num="
|
|
4237
|
-
<line num="
|
|
4238
|
-
<line num="
|
|
4239
|
-
<line num="
|
|
4240
|
-
<line num="
|
|
4241
|
-
<line num="
|
|
4242
|
-
<line num="
|
|
4243
|
-
<line num="
|
|
4244
|
-
<line num="
|
|
4347
|
+
<line num="184" count="73" type="stmt"/>
|
|
4348
|
+
<line num="185" count="73" type="stmt"/>
|
|
4349
|
+
<line num="186" count="73" type="stmt"/>
|
|
4350
|
+
<line num="187" count="332" type="stmt"/>
|
|
4351
|
+
<line num="189" count="332" type="cond" truecount="2" falsecount="0"/>
|
|
4352
|
+
<line num="190" count="159" type="cond" truecount="2" falsecount="0"/>
|
|
4353
|
+
<line num="191" count="3" type="stmt"/>
|
|
4354
|
+
<line num="193" count="159" type="stmt"/>
|
|
4355
|
+
<line num="197" count="173" type="cond" truecount="1" falsecount="1"/>
|
|
4356
|
+
<line num="198" count="0" type="stmt"/>
|
|
4357
|
+
<line num="200" count="173" type="stmt"/>
|
|
4358
|
+
<line num="204" count="73" type="cond" truecount="4" falsecount="0"/>
|
|
4359
|
+
<line num="205" count="68" type="stmt"/>
|
|
4360
|
+
<line num="206" count="68" type="stmt"/>
|
|
4361
|
+
<line num="210" count="73" type="stmt"/>
|
|
4362
|
+
<line num="223" count="34" type="stmt"/>
|
|
4245
4363
|
<line num="229" count="100" type="stmt"/>
|
|
4246
|
-
<line num="
|
|
4247
|
-
<line num="
|
|
4248
|
-
<line num="
|
|
4249
|
-
<line num="
|
|
4250
|
-
<line num="236" count="
|
|
4251
|
-
<line num="
|
|
4252
|
-
<line num="
|
|
4253
|
-
<line num="
|
|
4254
|
-
<line num="
|
|
4255
|
-
<line num="
|
|
4364
|
+
<line num="230" count="100" type="stmt"/>
|
|
4365
|
+
<line num="231" count="100" type="cond" truecount="2" falsecount="0"/>
|
|
4366
|
+
<line num="232" count="87" type="stmt"/>
|
|
4367
|
+
<line num="233" count="87" type="stmt"/>
|
|
4368
|
+
<line num="236" count="100" type="stmt"/>
|
|
4369
|
+
<line num="239" count="100" type="stmt"/>
|
|
4370
|
+
<line num="242" count="100" type="stmt"/>
|
|
4371
|
+
<line num="243" count="296" type="cond" truecount="2" falsecount="0"/>
|
|
4372
|
+
<line num="244" count="8" type="stmt"/>
|
|
4373
|
+
<line num="245" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
4374
|
+
<line num="246" count="6" type="stmt"/>
|
|
4375
|
+
<line num="248" count="2" type="stmt"/>
|
|
4376
|
+
<line num="249" count="2" type="stmt"/>
|
|
4377
|
+
<line num="254" count="100" type="cond" truecount="2" falsecount="0"/>
|
|
4378
|
+
<line num="255" count="26" type="stmt"/>
|
|
4379
|
+
<line num="261" count="100" type="cond" truecount="2" falsecount="0"/>
|
|
4256
4380
|
</file>
|
|
4257
4381
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/utils.js">
|
|
4258
4382
|
<metrics statements="11" coveredstatements="10" conditionals="6" coveredconditionals="5" methods="2" coveredmethods="1"/>
|