@budibase/server 0.9.185-alpha.2 → 0.9.185-alpha.20
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/Dockerfile +7 -1
- package/__mocks__/oracledb.ts +31 -0
- package/builder/assets/bb-space-man.5be51a45.svg +290 -0
- package/builder/assets/index.7d405e74.css +1 -0
- package/builder/assets/index.83e08172.js +1316 -0
- package/builder/assets/oracle.66592424.png +0 -0
- package/builder/assets/vendor.470042a4.js +152 -0
- package/builder/assets/vendor.5e1fe644.css +1 -0
- package/builder/index.html +4 -4
- package/coverage/clover.xml +785 -687
- package/coverage/coverage-final.json +90 -88
- package/coverage/lcov-report/api/controllers/analytics.js.html +2 -2
- package/coverage/lcov-report/api/controllers/apikeys.js.html +2 -2
- package/coverage/lcov-report/api/controllers/application.js.html +43 -13
- package/coverage/lcov-report/api/controllers/auth.js.html +7 -7
- package/coverage/lcov-report/api/controllers/automation.js.html +3 -3
- package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +4 -4
- package/coverage/lcov-report/api/controllers/datasource.js.html +129 -21
- package/coverage/lcov-report/api/controllers/dev.js.html +16 -7
- package/coverage/lcov-report/api/controllers/hosting.js.html +10 -10
- package/coverage/lcov-report/api/controllers/index.html +77 -77
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +3 -3
- package/coverage/lcov-report/api/controllers/metadata.js.html +3 -3
- package/coverage/lcov-report/api/controllers/permission.js.html +3 -3
- package/coverage/lcov-report/api/controllers/query.js.html +48 -210
- package/coverage/lcov-report/api/controllers/role.js.html +9 -9
- package/coverage/lcov-report/api/controllers/routing.js.html +3 -3
- package/coverage/lcov-report/api/controllers/row/external.js.html +2 -2
- package/coverage/lcov-report/api/controllers/row/index.html +10 -10
- package/coverage/lcov-report/api/controllers/row/index.js.html +2 -2
- package/coverage/lcov-report/api/controllers/row/internal.js.html +9 -9
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +2 -2
- package/coverage/lcov-report/api/controllers/row/utils.js.html +2 -2
- package/coverage/lcov-report/api/controllers/screen.js.html +2 -2
- package/coverage/lcov-report/api/controllers/script.js.html +3 -3
- package/coverage/lcov-report/api/controllers/table/external.js.html +29 -8
- package/coverage/lcov-report/api/controllers/table/index.html +20 -20
- package/coverage/lcov-report/api/controllers/table/index.js.html +3 -3
- package/coverage/lcov-report/api/controllers/table/internal.js.html +2 -2
- package/coverage/lcov-report/api/controllers/table/utils.js.html +8 -8
- package/coverage/lcov-report/api/controllers/templates.js.html +4 -4
- package/coverage/lcov-report/api/controllers/user.js.html +2 -2
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.html +9 -9
- package/coverage/lcov-report/api/controllers/view/index.js.html +5 -5
- package/coverage/lcov-report/api/controllers/view/utils.js.html +11 -11
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +3 -3
- package/coverage/lcov-report/api/controllers/webhook.js.html +4 -4
- package/coverage/lcov-report/api/index.html +1 -1
- package/coverage/lcov-report/api/index.js.html +1 -1
- 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 +1 -1
- package/coverage/lcov-report/api/routes/auth.js.html +1 -1
- package/coverage/lcov-report/api/routes/automation.js.html +1 -1
- package/coverage/lcov-report/api/routes/backup.js.html +1 -1
- package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
- package/coverage/lcov-report/api/routes/component.js.html +1 -1
- package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
- package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
- package/coverage/lcov-report/api/routes/dev.js.html +2 -2
- package/coverage/lcov-report/api/routes/hosting.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +4 -4
- 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 +5 -2
- 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 +2 -2
- 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 +2 -2
- package/coverage/lcov-report/automations/automationUtils.js.html +3 -3
- package/coverage/lcov-report/automations/bullboard.js.html +71 -20
- package/coverage/lcov-report/automations/index.html +33 -48
- package/coverage/lcov-report/automations/index.js.html +2 -2
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/discord.js.html +3 -3
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeScript.js.html +3 -3
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +14 -14
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +3 -3
- package/coverage/lcov-report/automations/steps/queryRows.js.html +3 -3
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/utils.js.html +7 -7
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +2 -2
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +2 -2
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +8 -8
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +2 -2
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +2 -2
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +2 -2
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +2 -2
- package/coverage/lcov-report/automations/triggers.js.html +22 -10
- package/coverage/lcov-report/automations/utils.js.html +42 -12
- package/coverage/lcov-report/constants/index.html +5 -5
- package/coverage/lcov-report/constants/index.js.html +44 -23
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +1 -1
- package/coverage/lcov-report/db/client.js.html +2 -2
- package/coverage/lcov-report/db/inMemoryView.js.html +2 -2
- package/coverage/lcov-report/db/index.html +2 -2
- package/coverage/lcov-report/db/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +6 -6
- package/coverage/lcov-report/db/linkedRows/index.html +10 -10
- package/coverage/lcov-report/db/linkedRows/index.js.html +5 -5
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +6 -6
- package/coverage/lcov-report/db/newid.js.html +3 -3
- package/coverage/lcov-report/db/utils.js.html +57 -57
- package/coverage/lcov-report/events/AutomationEmitter.js.html +6 -6
- package/coverage/lcov-report/events/index.html +6 -6
- package/coverage/lcov-report/events/index.js.html +1 -1
- package/coverage/lcov-report/events/utils.js.html +5 -5
- package/coverage/lcov-report/index.html +86 -71
- 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 +2 -2
- package/coverage/lcov-report/middleware/authorized.js.html +4 -4
- package/coverage/lcov-report/middleware/builder.js.html +16 -7
- package/coverage/lcov-report/middleware/currentapp.js.html +6 -6
- package/coverage/lcov-report/middleware/index.html +21 -21
- package/coverage/lcov-report/middleware/joi-validator.js.html +2 -2
- package/coverage/lcov-report/middleware/resourceId.js.html +18 -18
- package/coverage/lcov-report/middleware/selfhost.js.html +2 -2
- package/coverage/lcov-report/middleware/usageQuota.js.html +4 -4
- package/coverage/lcov-report/middleware/utils.js.html +1 -1
- package/coverage/lcov-report/{automations/thread.js.html → threads/automation.js.html} +90 -33
- package/coverage/lcov-report/threads/index.html +141 -0
- package/coverage/lcov-report/threads/index.js.html +278 -0
- package/coverage/lcov-report/threads/query.js.html +278 -0
- 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 +2 -2
- package/coverage/lcov-report/utilities/global.js.html +2 -2
- package/coverage/lcov-report/utilities/index.html +21 -21
- package/coverage/lcov-report/utilities/index.js.html +12 -9
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +30 -9
- package/coverage/lcov-report/utilities/queue/index.html +14 -14
- 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 +4 -4
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +2 -2
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +3 -3
- package/coverage/lcov-report/utilities/scriptRunner.js.html +16 -7
- package/coverage/lcov-report/utilities/security.js.html +3 -3
- 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 +5 -5
- package/coverage/lcov.info +1247 -1070
- package/dist/api/controllers/application.js +11 -1
- package/dist/api/controllers/datasource.js +31 -7
- package/dist/api/controllers/deploy/index.js +2 -0
- package/dist/api/controllers/dev.js +4 -1
- package/dist/api/controllers/query.js +27 -57
- package/dist/api/controllers/table/external.js +8 -1
- package/dist/api/routes/query.js +1 -1
- package/dist/app.js +2 -11
- package/dist/automations/bullboard.js +37 -10
- package/dist/automations/triggers.js +7 -3
- package/dist/automations/utils.js +11 -2
- package/dist/constants/index.js +6 -0
- package/dist/definitions/datasource.js +1 -0
- package/dist/environment.js +13 -0
- package/dist/integrations/base/IntegrationBase.js +2 -0
- package/dist/integrations/base/sql.js +40 -8
- package/dist/integrations/index.js +6 -0
- package/dist/integrations/mysql.js +3 -1
- package/dist/integrations/oracle.js +345 -0
- package/dist/integrations/utils.js +17 -2
- package/dist/middleware/builder.js +4 -1
- package/dist/package.json +11 -6
- package/dist/{automations/thread.js → threads/automation.js} +26 -8
- package/dist/threads/index.js +64 -0
- package/dist/threads/query.js +64 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utilities/index.js +1 -0
- package/dist/utilities/queue/inMemoryQueue.js +8 -0
- package/dist/utilities/scriptRunner.js +4 -1
- package/package.json +12 -7
- package/scripts/dev/manage.js +1 -0
- package/scripts/integrations/oracle/docker-compose.yml +19 -0
- package/scripts/integrations/oracle/instantclient/linux/x86-64/basiclite-21.4.zip +0 -0
- package/scripts/integrations/oracle/instantclient/linux/x86-64/install.sh +23 -0
- package/scripts/integrations/oracle/oracle.md +90 -0
- package/scripts/integrations/postgres/docker-compose.yml +3 -3
- package/scripts/likeCypress.ts +33 -0
- package/src/api/controllers/application.js +11 -1
- package/src/api/controllers/datasource.js +45 -9
- package/src/api/controllers/deploy/index.js +2 -0
- package/src/api/controllers/dev.js +4 -1
- package/src/api/controllers/query.js +26 -80
- package/src/api/controllers/table/external.js +8 -1
- package/src/api/routes/query.js +1 -0
- package/src/app.ts +2 -10
- package/src/automations/bullboard.js +28 -11
- package/src/automations/tests/automation.spec.js +3 -4
- package/src/automations/triggers.js +7 -3
- package/src/automations/utils.js +12 -2
- package/src/constants/index.js +7 -0
- package/src/definitions/datasource.ts +1 -0
- package/src/environment.js +15 -0
- package/src/integrations/airtable.ts +2 -1
- package/src/integrations/arangodb.ts +2 -1
- package/src/integrations/base/IntegrationBase.ts +6 -0
- package/src/integrations/base/datasourcePlus.ts +2 -1
- package/src/integrations/base/sql.ts +41 -9
- package/src/integrations/couchdb.ts +2 -1
- package/src/integrations/dynamodb.ts +2 -1
- package/src/integrations/elasticsearch.ts +2 -1
- package/src/integrations/index.ts +7 -0
- package/src/integrations/mongodb.ts +2 -1
- package/src/integrations/mysql.ts +1 -1
- package/src/integrations/oracle.ts +445 -0
- package/src/integrations/rest.ts +2 -1
- package/src/integrations/s3.ts +2 -1
- package/src/integrations/tests/oracle.spec.js +94 -0
- package/src/integrations/utils.ts +16 -2
- package/src/middleware/builder.js +4 -1
- package/src/{automations/thread.js → threads/automation.js} +27 -8
- package/src/threads/index.js +66 -0
- package/src/threads/query.js +66 -0
- package/src/utilities/index.js +1 -0
- package/src/utilities/queue/inMemoryQueue.js +7 -0
- package/src/utilities/scriptRunner.js +4 -1
- package/tsconfig.json +1 -1
- package/builder/assets/index.0eadd2f5.js +0 -201
- package/builder/assets/index.a79ec0ef.css +0 -29
- package/builder/assets/vendor.278a305c.js +0 -9
- package/builder/assets/vendor.d75d5eb7.css +0 -1
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="1637762063149" clover="3.2.0">
|
|
3
|
+
<project timestamp="1637762063149" name="All files">
|
|
4
|
+
<metrics statements="4365" coveredstatements="3225" conditionals="1729" coveredconditionals="940" methods="618" coveredmethods="440" elements="6712" coveredelements="4605" complexity="0" loc="4365" ncloc="4365" packages="20" files="138" classes="138"/>
|
|
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">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</file>
|
|
39
39
|
</package>
|
|
40
40
|
<package name="api.controllers">
|
|
41
|
-
<metrics statements="
|
|
41
|
+
<metrics statements="1116" coveredstatements="804" conditionals="367" coveredconditionals="171" methods="153" coveredmethods="110"/>
|
|
42
42
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.js">
|
|
43
43
|
<metrics statements="13" coveredstatements="6" conditionals="13" coveredconditionals="4" methods="2" coveredmethods="1"/>
|
|
44
44
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<line num="46" count="1" type="stmt"/>
|
|
84
84
|
</file>
|
|
85
85
|
<file name="application.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/application.js">
|
|
86
|
-
<metrics statements="
|
|
86
|
+
<metrics statements="184" coveredstatements="146" conditionals="72" coveredconditionals="41" methods="20" coveredmethods="17"/>
|
|
87
87
|
<line num="1" count="33" type="stmt"/>
|
|
88
88
|
<line num="2" count="33" type="stmt"/>
|
|
89
89
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -103,163 +103,171 @@
|
|
|
103
103
|
<line num="45" count="33" type="stmt"/>
|
|
104
104
|
<line num="46" count="33" type="stmt"/>
|
|
105
105
|
<line num="47" count="33" type="stmt"/>
|
|
106
|
+
<line num="48" count="33" type="stmt"/>
|
|
106
107
|
<line num="49" count="33" type="stmt"/>
|
|
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="85" count="
|
|
117
|
-
<line num="
|
|
118
|
-
<line num="88" count="
|
|
119
|
-
<line num="
|
|
120
|
-
<line num="91" count="
|
|
121
|
-
<line num="
|
|
122
|
-
<line num="
|
|
123
|
-
<line num="100" count="
|
|
124
|
-
<line num="
|
|
125
|
-
<line num="
|
|
126
|
-
<line num="
|
|
108
|
+
<line num="51" count="33" type="stmt"/>
|
|
109
|
+
<line num="55" count="188" type="stmt"/>
|
|
110
|
+
<line num="61" count="376" type="stmt"/>
|
|
111
|
+
<line num="65" count="188" type="stmt"/>
|
|
112
|
+
<line num="71" count="200" type="stmt"/>
|
|
113
|
+
<line num="75" count="186" type="cond" truecount="4" falsecount="0"/>
|
|
114
|
+
<line num="82" count="183" type="cond" truecount="1" falsecount="1"/>
|
|
115
|
+
<line num="83" count="0" type="stmt"/>
|
|
116
|
+
<line num="84" count="183" type="cond" truecount="2" falsecount="0"/>
|
|
117
|
+
<line num="85" count="180" type="stmt"/>
|
|
118
|
+
<line num="87" count="183" type="cond" truecount="2" falsecount="0"/>
|
|
119
|
+
<line num="88" count="180" type="stmt"/>
|
|
120
|
+
<line num="90" count="183" type="cond" truecount="2" falsecount="0"/>
|
|
121
|
+
<line num="91" count="10" type="stmt"/>
|
|
122
|
+
<line num="93" count="173" type="stmt"/>
|
|
123
|
+
<line num="94" count="173" type="cond" truecount="1" falsecount="1"/>
|
|
124
|
+
<line num="100" count="0" type="stmt"/>
|
|
125
|
+
<line num="102" count="173" type="stmt"/>
|
|
126
|
+
<line num="106" count="178" type="cond" truecount="1" falsecount="1"/>
|
|
127
|
+
<line num="107" count="178" type="stmt"/>
|
|
127
128
|
<line num="108" count="178" type="stmt"/>
|
|
128
|
-
<line num="
|
|
129
|
-
<line num="
|
|
130
|
-
<line num="119" count="178" type="stmt"/>
|
|
129
|
+
<line num="110" count="178" type="stmt"/>
|
|
130
|
+
<line num="111" count="178" type="stmt"/>
|
|
131
131
|
<line num="120" count="178" type="stmt"/>
|
|
132
|
-
<line num="
|
|
133
|
-
<line num="
|
|
134
|
-
<line num="126" count="
|
|
132
|
+
<line num="121" count="178" type="stmt"/>
|
|
133
|
+
<line num="122" count="178" type="stmt"/>
|
|
134
|
+
<line num="126" count="178" type="cond" truecount="3" falsecount="1"/>
|
|
135
135
|
<line num="127" count="0" type="stmt"/>
|
|
136
|
-
<line num="
|
|
137
|
-
<line num="
|
|
138
|
-
<line num="
|
|
139
|
-
<line num="
|
|
140
|
-
<line num="
|
|
141
|
-
<line num="
|
|
142
|
-
<line num="
|
|
143
|
-
<line num="145" count="
|
|
144
|
-
<line num="146" count="10" type="
|
|
145
|
-
<line num="
|
|
146
|
-
<line num="
|
|
147
|
-
<line num="151" count="10" type="
|
|
148
|
-
<line num="152" count="
|
|
149
|
-
<line num="153" count="
|
|
150
|
-
<line num="
|
|
151
|
-
<line num="
|
|
136
|
+
<line num="128" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
137
|
+
<line num="129" count="0" type="stmt"/>
|
|
138
|
+
<line num="131" count="178" type="cond" truecount="3" falsecount="1"/>
|
|
139
|
+
<line num="134" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
140
|
+
<line num="135" count="0" type="stmt"/>
|
|
141
|
+
<line num="139" count="178" type="stmt"/>
|
|
142
|
+
<line num="142" count="178" type="stmt"/>
|
|
143
|
+
<line num="145" count="33" type="stmt"/>
|
|
144
|
+
<line num="146" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
145
|
+
<line num="147" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
146
|
+
<line num="148" count="10" type="stmt"/>
|
|
147
|
+
<line num="151" count="10" type="cond" truecount="2" falsecount="2"/>
|
|
148
|
+
<line num="152" count="10" type="stmt"/>
|
|
149
|
+
<line num="153" count="10" type="stmt"/>
|
|
150
|
+
<line num="154" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
151
|
+
<line num="155" count="14" type="stmt"/>
|
|
152
152
|
<line num="157" count="0" type="stmt"/>
|
|
153
|
-
<line num="
|
|
154
|
-
<line num="
|
|
155
|
-
<line num="
|
|
156
|
-
<line num="
|
|
157
|
-
<line num="170" count="
|
|
153
|
+
<line num="158" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
154
|
+
<line num="159" count="0" type="stmt"/>
|
|
155
|
+
<line num="162" count="0" type="stmt"/>
|
|
156
|
+
<line num="167" count="10" type="stmt"/>
|
|
157
|
+
<line num="170" count="33" type="stmt"/>
|
|
158
158
|
<line num="171" count="1" type="stmt"/>
|
|
159
159
|
<line num="172" count="1" type="stmt"/>
|
|
160
160
|
<line num="173" count="1" type="stmt"/>
|
|
161
|
-
<line num="
|
|
162
|
-
<line num="
|
|
163
|
-
<line num="
|
|
164
|
-
<line num="186" count="
|
|
161
|
+
<line num="174" count="1" type="stmt"/>
|
|
162
|
+
<line num="175" count="1" type="stmt"/>
|
|
163
|
+
<line num="179" count="1" type="stmt"/>
|
|
164
|
+
<line num="186" count="33" type="stmt"/>
|
|
165
165
|
<line num="187" count="187" type="stmt"/>
|
|
166
166
|
<line num="188" count="187" type="stmt"/>
|
|
167
|
-
<line num="
|
|
168
|
-
<line num="
|
|
169
|
-
<line num="193" count="
|
|
167
|
+
<line num="189" count="187" type="stmt"/>
|
|
168
|
+
<line num="190" count="187" type="stmt"/>
|
|
169
|
+
<line num="193" count="187" type="cond" truecount="4" falsecount="0"/>
|
|
170
170
|
<line num="194" count="185" type="stmt"/>
|
|
171
|
-
<line num="
|
|
172
|
-
<line num="
|
|
173
|
-
<line num="
|
|
174
|
-
<line num="207" count="
|
|
175
|
-
<line num="
|
|
176
|
-
<line num="
|
|
177
|
-
<line num="
|
|
178
|
-
<line num="
|
|
171
|
+
<line num="195" count="185" type="stmt"/>
|
|
172
|
+
<line num="196" count="185" type="stmt"/>
|
|
173
|
+
<line num="199" count="187" type="stmt"/>
|
|
174
|
+
<line num="207" count="33" type="stmt"/>
|
|
175
|
+
<line num="208" count="178" type="stmt"/>
|
|
176
|
+
<line num="209" count="178" type="stmt"/>
|
|
177
|
+
<line num="214" count="178" type="cond" truecount="2" falsecount="2"/>
|
|
178
|
+
<line num="215" count="0" type="stmt"/>
|
|
179
|
+
<line num="217" count="178" type="stmt"/>
|
|
179
180
|
<line num="218" count="178" type="stmt"/>
|
|
180
|
-
<line num="
|
|
181
|
+
<line num="220" count="178" type="stmt"/>
|
|
181
182
|
<line num="221" count="178" type="stmt"/>
|
|
182
183
|
<line num="223" count="178" type="stmt"/>
|
|
183
|
-
<line num="
|
|
184
|
-
<line num="
|
|
185
|
-
<line num="
|
|
186
|
-
<line num="
|
|
187
|
-
<line num="
|
|
188
|
-
<line num="
|
|
189
|
-
<line num="
|
|
190
|
-
<line num="
|
|
191
|
-
<line num="
|
|
192
|
-
<line num="
|
|
193
|
-
<line num="
|
|
194
|
-
<line num="
|
|
195
|
-
<line num="
|
|
196
|
-
<line num="
|
|
197
|
-
<line num="270" count="
|
|
198
|
-
<line num="
|
|
199
|
-
<line num="
|
|
200
|
-
<line num="
|
|
201
|
-
<line num="
|
|
202
|
-
<line num="
|
|
203
|
-
<line num="
|
|
204
|
-
<line num="
|
|
205
|
-
<line num="
|
|
206
|
-
<line num="
|
|
207
|
-
<line num="
|
|
208
|
-
<line num="292" count="
|
|
209
|
-
<line num="
|
|
210
|
-
<line num="
|
|
211
|
-
<line num="
|
|
212
|
-
<line num="
|
|
213
|
-
<line num="
|
|
214
|
-
<line num="
|
|
215
|
-
<line num="
|
|
216
|
-
<line num="
|
|
217
|
-
<line num="
|
|
218
|
-
<line num="
|
|
219
|
-
<line num="315" count="
|
|
220
|
-
<line num="
|
|
221
|
-
<line num="
|
|
222
|
-
<line num="
|
|
223
|
-
<line num="
|
|
224
|
-
<line num="
|
|
225
|
-
<line num="
|
|
226
|
-
<line num="330" count="
|
|
227
|
-
<line num="
|
|
228
|
-
<line num="
|
|
184
|
+
<line num="225" count="178" type="stmt"/>
|
|
185
|
+
<line num="226" count="0" type="stmt"/>
|
|
186
|
+
<line num="230" count="178" type="stmt"/>
|
|
187
|
+
<line num="245" count="178" type="stmt"/>
|
|
188
|
+
<line num="246" count="178" type="stmt"/>
|
|
189
|
+
<line num="250" count="178" type="cond" truecount="1" falsecount="1"/>
|
|
190
|
+
<line num="251" count="178" type="stmt"/>
|
|
191
|
+
<line num="259" count="178" type="stmt"/>
|
|
192
|
+
<line num="260" count="178" type="stmt"/>
|
|
193
|
+
<line num="261" count="178" type="stmt"/>
|
|
194
|
+
<line num="264" count="33" type="stmt"/>
|
|
195
|
+
<line num="265" count="2" type="stmt"/>
|
|
196
|
+
<line num="266" count="2" type="stmt"/>
|
|
197
|
+
<line num="267" count="2" type="stmt"/>
|
|
198
|
+
<line num="270" count="33" type="stmt"/>
|
|
199
|
+
<line num="272" count="2" type="stmt"/>
|
|
200
|
+
<line num="273" count="2" type="stmt"/>
|
|
201
|
+
<line num="274" count="2" type="stmt"/>
|
|
202
|
+
<line num="277" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
203
|
+
<line num="278" count="0" type="stmt"/>
|
|
204
|
+
<line num="279" count="0" type="stmt"/>
|
|
205
|
+
<line num="283" count="2" type="stmt"/>
|
|
206
|
+
<line num="287" count="2" type="stmt"/>
|
|
207
|
+
<line num="288" count="2" type="stmt"/>
|
|
208
|
+
<line num="289" count="2" type="stmt"/>
|
|
209
|
+
<line num="292" count="33" type="stmt"/>
|
|
210
|
+
<line num="294" count="1" type="stmt"/>
|
|
211
|
+
<line num="295" count="1" type="stmt"/>
|
|
212
|
+
<line num="296" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
213
|
+
<line num="297" count="0" type="stmt"/>
|
|
214
|
+
<line num="301" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
215
|
+
<line num="302" count="0" type="stmt"/>
|
|
216
|
+
<line num="306" count="1" type="stmt"/>
|
|
217
|
+
<line num="310" count="1" type="stmt"/>
|
|
218
|
+
<line num="311" count="1" type="stmt"/>
|
|
219
|
+
<line num="312" count="1" type="stmt"/>
|
|
220
|
+
<line num="315" count="33" type="stmt"/>
|
|
221
|
+
<line num="316" count="11" type="stmt"/>
|
|
222
|
+
<line num="318" count="11" type="stmt"/>
|
|
223
|
+
<line num="323" count="11" type="cond" truecount="2" falsecount="2"/>
|
|
224
|
+
<line num="324" count="0" type="stmt"/>
|
|
225
|
+
<line num="327" count="11" type="stmt"/>
|
|
226
|
+
<line num="328" count="11" type="stmt"/>
|
|
227
|
+
<line num="330" count="11" type="stmt"/>
|
|
228
|
+
<line num="331" count="11" type="stmt"/>
|
|
229
|
+
<line num="334" count="33" type="stmt"/>
|
|
230
|
+
<line num="335" count="0" type="stmt"/>
|
|
231
|
+
<line num="336" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
229
232
|
<line num="337" count="0" type="stmt"/>
|
|
230
|
-
<line num="
|
|
231
|
-
<line num="339" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
232
|
-
<line num="342" count="0" type="stmt"/>
|
|
233
|
+
<line num="341" count="0" type="stmt"/>
|
|
233
234
|
<line num="343" count="0" type="stmt"/>
|
|
234
|
-
<line num="
|
|
235
|
+
<line num="344" count="0" type="stmt"/>
|
|
236
|
+
<line num="345" count="0" type="stmt"/>
|
|
237
|
+
<line num="346" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
235
238
|
<line num="349" count="0" type="stmt"/>
|
|
236
|
-
<line num="
|
|
237
|
-
<line num="
|
|
238
|
-
<line num="
|
|
239
|
+
<line num="350" count="0" type="stmt"/>
|
|
240
|
+
<line num="353" count="0" type="stmt"/>
|
|
241
|
+
<line num="356" count="0" type="stmt"/>
|
|
239
242
|
<line num="361" count="0" type="stmt"/>
|
|
240
|
-
<line num="
|
|
241
|
-
<line num="
|
|
243
|
+
<line num="362" count="0" type="stmt"/>
|
|
244
|
+
<line num="364" count="0" type="stmt"/>
|
|
242
245
|
<line num="368" count="0" type="stmt"/>
|
|
243
|
-
<line num="
|
|
244
|
-
<line num="
|
|
245
|
-
<line num="
|
|
246
|
-
<line num="
|
|
247
|
-
<line num="
|
|
248
|
-
<line num="
|
|
249
|
-
<line num="
|
|
250
|
-
<line num="
|
|
246
|
+
<line num="372" count="0" type="stmt"/>
|
|
247
|
+
<line num="374" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
248
|
+
<line num="375" count="0" type="stmt"/>
|
|
249
|
+
<line num="377" count="0" type="stmt"/>
|
|
250
|
+
<line num="383" count="33" type="stmt"/>
|
|
251
|
+
<line num="384" count="5" type="stmt"/>
|
|
252
|
+
<line num="385" count="5" type="stmt"/>
|
|
253
|
+
<line num="386" count="5" type="stmt"/>
|
|
251
254
|
<line num="388" count="5" type="stmt"/>
|
|
255
|
+
<line num="389" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
252
256
|
<line num="390" count="5" type="stmt"/>
|
|
253
|
-
<line num="
|
|
254
|
-
<line num="
|
|
255
|
-
<line num="
|
|
256
|
-
<line num="
|
|
257
|
-
<line num="
|
|
258
|
-
<line num="399" count="356" type="stmt"/>
|
|
259
|
-
<line num="402" count="178" type="stmt"/>
|
|
260
|
-
<line num="403" count="178" type="stmt"/>
|
|
257
|
+
<line num="395" count="5" type="stmt"/>
|
|
258
|
+
<line num="397" count="5" type="stmt"/>
|
|
259
|
+
<line num="399" count="5" type="stmt"/>
|
|
260
|
+
<line num="400" count="5" type="stmt"/>
|
|
261
|
+
<line num="403" count="33" type="stmt"/>
|
|
261
262
|
<line num="404" count="178" type="stmt"/>
|
|
262
263
|
<line num="406" count="178" type="stmt"/>
|
|
264
|
+
<line num="407" count="178" type="stmt"/>
|
|
265
|
+
<line num="408" count="356" type="stmt"/>
|
|
266
|
+
<line num="409" count="356" type="stmt"/>
|
|
267
|
+
<line num="412" count="178" type="stmt"/>
|
|
268
|
+
<line num="413" count="178" type="stmt"/>
|
|
269
|
+
<line num="414" count="178" type="stmt"/>
|
|
270
|
+
<line num="416" count="178" type="stmt"/>
|
|
263
271
|
</file>
|
|
264
272
|
<file name="auth.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/auth.js">
|
|
265
273
|
<metrics statements="27" coveredstatements="23" conditionals="8" coveredconditionals="4" methods="1" coveredmethods="1"/>
|
|
@@ -471,14 +479,14 @@
|
|
|
471
479
|
<line num="20" count="1" type="stmt"/>
|
|
472
480
|
<line num="21" count="1" type="stmt"/>
|
|
473
481
|
<line num="22" count="1" type="stmt"/>
|
|
474
|
-
<line num="23" count="
|
|
482
|
+
<line num="23" count="47" type="cond" truecount="2" falsecount="0"/>
|
|
475
483
|
<line num="24" count="1" type="stmt"/>
|
|
476
|
-
<line num="26" count="
|
|
477
|
-
<line num="27" count="
|
|
484
|
+
<line num="26" count="46" type="stmt"/>
|
|
485
|
+
<line num="27" count="46" type="stmt"/>
|
|
478
486
|
<line num="34" count="1" type="stmt"/>
|
|
479
487
|
</file>
|
|
480
488
|
<file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/datasource.js">
|
|
481
|
-
<metrics statements="
|
|
489
|
+
<metrics statements="107" coveredstatements="47" conditionals="36" coveredconditionals="7" methods="16" coveredmethods="8"/>
|
|
482
490
|
<line num="1" count="33" type="stmt"/>
|
|
483
491
|
<line num="9" count="33" type="stmt"/>
|
|
484
492
|
<line num="10" count="33" type="stmt"/>
|
|
@@ -541,41 +549,54 @@
|
|
|
541
549
|
<line num="118" count="33" type="stmt"/>
|
|
542
550
|
<line num="119" count="1" type="stmt"/>
|
|
543
551
|
<line num="122" count="1" type="stmt"/>
|
|
544
|
-
<line num="
|
|
552
|
+
<line num="125" count="1" type="stmt"/>
|
|
545
553
|
<line num="126" count="1" type="stmt"/>
|
|
546
|
-
<line num="128" count="1" type="stmt"/>
|
|
547
|
-
<line num="129" count="1" type="stmt"/>
|
|
548
|
-
<line num="132" count="33" type="stmt"/>
|
|
549
|
-
<line num="133" count="1" type="stmt"/>
|
|
550
554
|
<line num="134" count="1" type="stmt"/>
|
|
551
|
-
<line num="
|
|
552
|
-
<line num="
|
|
553
|
-
<line num="140" count="
|
|
555
|
+
<line num="136" count="1" type="stmt"/>
|
|
556
|
+
<line num="137" count="1" type="stmt"/>
|
|
557
|
+
<line num="140" count="33" type="stmt"/>
|
|
554
558
|
<line num="141" count="1" type="stmt"/>
|
|
555
|
-
<line num="
|
|
556
|
-
<line num="
|
|
557
|
-
<line num="
|
|
559
|
+
<line num="142" count="1" type="stmt"/>
|
|
560
|
+
<line num="146" count="33" type="stmt"/>
|
|
561
|
+
<line num="147" count="1" type="stmt"/>
|
|
562
|
+
<line num="148" count="1" type="stmt"/>
|
|
563
|
+
<line num="149" count="1" type="stmt"/>
|
|
558
564
|
<line num="151" count="0" type="stmt"/>
|
|
559
|
-
<line num="152" count="0" type="stmt"/>
|
|
560
|
-
<line num="153" count="0" type="stmt"/>
|
|
561
565
|
<line num="156" count="0" type="stmt"/>
|
|
562
|
-
<line num="157" count="0" type="
|
|
566
|
+
<line num="157" count="0" type="stmt"/>
|
|
563
567
|
<line num="158" count="0" type="stmt"/>
|
|
564
|
-
<line num="
|
|
565
|
-
<line num="
|
|
566
|
-
<line num="
|
|
567
|
-
<line num="
|
|
568
|
+
<line num="162" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
569
|
+
<line num="163" count="0" type="stmt"/>
|
|
570
|
+
<line num="165" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
571
|
+
<line num="166" count="0" type="stmt"/>
|
|
568
572
|
<line num="168" count="0" type="stmt"/>
|
|
569
573
|
<line num="169" count="0" type="stmt"/>
|
|
570
|
-
<line num="
|
|
571
|
-
<line num="171" count="0" type="stmt"/>
|
|
572
|
-
<line num="172" count="0" type="stmt"/>
|
|
574
|
+
<line num="172" count="33" type="stmt"/>
|
|
573
575
|
<line num="173" count="0" type="stmt"/>
|
|
574
|
-
<line num="
|
|
576
|
+
<line num="176" count="0" type="stmt"/>
|
|
577
|
+
<line num="177" count="0" type="stmt"/>
|
|
575
578
|
<line num="178" count="0" type="stmt"/>
|
|
579
|
+
<line num="181" count="0" type="stmt"/>
|
|
580
|
+
<line num="182" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
581
|
+
<line num="183" count="0" type="stmt"/>
|
|
582
|
+
<line num="185" count="0" type="stmt"/>
|
|
583
|
+
<line num="186" count="0" type="stmt"/>
|
|
584
|
+
<line num="188" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
585
|
+
<line num="189" count="0" type="stmt"/>
|
|
586
|
+
<line num="193" count="0" type="stmt"/>
|
|
587
|
+
<line num="194" count="0" type="stmt"/>
|
|
588
|
+
<line num="195" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
589
|
+
<line num="196" count="0" type="stmt"/>
|
|
590
|
+
<line num="197" count="0" type="stmt"/>
|
|
591
|
+
<line num="198" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
592
|
+
<line num="199" count="0" type="stmt"/>
|
|
593
|
+
<line num="205" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
594
|
+
<line num="206" count="0" type="stmt"/>
|
|
595
|
+
<line num="207" count="0" type="stmt"/>
|
|
596
|
+
<line num="214" count="0" type="stmt"/>
|
|
576
597
|
</file>
|
|
577
598
|
<file name="dev.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/dev.js">
|
|
578
|
-
<metrics statements="
|
|
599
|
+
<metrics statements="63" coveredstatements="18" conditionals="15" coveredconditionals="0" methods="10" coveredmethods="3"/>
|
|
579
600
|
<line num="1" count="23" type="stmt"/>
|
|
580
601
|
<line num="2" count="23" type="stmt"/>
|
|
581
602
|
<line num="3" count="23" type="stmt"/>
|
|
@@ -584,61 +605,64 @@
|
|
|
584
605
|
<line num="6" count="23" type="stmt"/>
|
|
585
606
|
<line num="7" count="23" type="stmt"/>
|
|
586
607
|
<line num="8" count="23" type="stmt"/>
|
|
587
|
-
<line num="
|
|
588
|
-
<line num="12" count="0" type="
|
|
589
|
-
<line num="13" count="0" type="
|
|
590
|
-
<line num="
|
|
591
|
-
<line num="27" count="0" type="
|
|
608
|
+
<line num="9" count="23" type="stmt"/>
|
|
609
|
+
<line num="12" count="0" type="stmt"/>
|
|
610
|
+
<line num="13" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
611
|
+
<line num="14" count="0" type="stmt"/>
|
|
612
|
+
<line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
613
|
+
<line num="28" count="0" type="stmt"/>
|
|
592
614
|
<line num="29" count="0" type="stmt"/>
|
|
593
|
-
<line num="30" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
594
615
|
<line num="31" count="0" type="stmt"/>
|
|
595
|
-
<line num="
|
|
596
|
-
<line num="
|
|
597
|
-
<line num="
|
|
598
|
-
<line num="
|
|
616
|
+
<line num="32" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
617
|
+
<line num="33" count="0" type="stmt"/>
|
|
618
|
+
<line num="36" count="0" type="stmt"/>
|
|
619
|
+
<line num="37" count="0" type="stmt"/>
|
|
599
620
|
<line num="41" count="0" type="stmt"/>
|
|
621
|
+
<line num="42" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
600
622
|
<line num="43" count="0" type="stmt"/>
|
|
601
|
-
<line num="
|
|
602
|
-
<line num="
|
|
603
|
-
<line num="
|
|
604
|
-
<line num="
|
|
605
|
-
<line num="
|
|
606
|
-
<line num="
|
|
607
|
-
<line num="
|
|
608
|
-
<line num="
|
|
609
|
-
<line num="
|
|
610
|
-
<line num="
|
|
611
|
-
<line num="
|
|
612
|
-
<line num="66" count="0" type="stmt"/>
|
|
623
|
+
<line num="45" count="0" type="stmt"/>
|
|
624
|
+
<line num="48" count="23" type="stmt"/>
|
|
625
|
+
<line num="49" count="46" type="stmt"/>
|
|
626
|
+
<line num="50" count="0" type="stmt"/>
|
|
627
|
+
<line num="54" count="23" type="stmt"/>
|
|
628
|
+
<line num="55" count="46" type="stmt"/>
|
|
629
|
+
<line num="56" count="0" type="stmt"/>
|
|
630
|
+
<line num="60" count="23" type="stmt"/>
|
|
631
|
+
<line num="61" count="46" type="stmt"/>
|
|
632
|
+
<line num="62" count="0" type="stmt"/>
|
|
633
|
+
<line num="66" count="23" type="stmt"/>
|
|
613
634
|
<line num="67" count="0" type="stmt"/>
|
|
635
|
+
<line num="68" count="0" type="stmt"/>
|
|
614
636
|
<line num="69" count="0" type="stmt"/>
|
|
615
637
|
<line num="71" count="0" type="stmt"/>
|
|
616
|
-
<line num="
|
|
617
|
-
<line num="
|
|
618
|
-
<line num="
|
|
619
|
-
<line num="
|
|
620
|
-
<line num="82" count="0" type="stmt"/>
|
|
638
|
+
<line num="73" count="0" type="stmt"/>
|
|
639
|
+
<line num="78" count="23" type="stmt"/>
|
|
640
|
+
<line num="79" count="0" type="stmt"/>
|
|
641
|
+
<line num="80" count="0" type="stmt"/>
|
|
621
642
|
<line num="83" count="0" type="stmt"/>
|
|
622
|
-
<line num="84" count="0" type="
|
|
643
|
+
<line num="84" count="0" type="stmt"/>
|
|
623
644
|
<line num="85" count="0" type="stmt"/>
|
|
624
645
|
<line num="86" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
625
|
-
<line num="
|
|
626
|
-
<line num="
|
|
627
|
-
<line num="
|
|
628
|
-
<line num="
|
|
629
|
-
<line num="
|
|
646
|
+
<line num="87" count="0" type="stmt"/>
|
|
647
|
+
<line num="88" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
648
|
+
<line num="92" count="0" type="stmt"/>
|
|
649
|
+
<line num="95" count="0" type="stmt"/>
|
|
650
|
+
<line num="98" count="0" type="stmt"/>
|
|
651
|
+
<line num="99" count="0" type="stmt"/>
|
|
630
652
|
<line num="104" count="0" type="stmt"/>
|
|
631
|
-
<line num="105" count="0" type="stmt"/>
|
|
632
653
|
<line num="106" count="0" type="stmt"/>
|
|
633
654
|
<line num="107" count="0" type="stmt"/>
|
|
634
655
|
<line num="108" count="0" type="stmt"/>
|
|
635
656
|
<line num="109" count="0" type="stmt"/>
|
|
636
|
-
<line num="
|
|
637
|
-
<line num="
|
|
638
|
-
<line num="
|
|
657
|
+
<line num="110" count="0" type="stmt"/>
|
|
658
|
+
<line num="111" count="0" type="stmt"/>
|
|
659
|
+
<line num="112" count="0" type="stmt"/>
|
|
660
|
+
<line num="116" count="0" type="stmt"/>
|
|
661
|
+
<line num="120" count="23" type="stmt"/>
|
|
662
|
+
<line num="121" count="0" type="stmt"/>
|
|
639
663
|
</file>
|
|
640
664
|
<file name="hosting.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/hosting.js">
|
|
641
|
-
<metrics statements="15" coveredstatements="
|
|
665
|
+
<metrics statements="15" coveredstatements="14" conditionals="4" coveredconditionals="3" methods="2" coveredmethods="1"/>
|
|
642
666
|
<line num="1" count="23" type="stmt"/>
|
|
643
667
|
<line num="2" count="23" type="stmt"/>
|
|
644
668
|
<line num="3" count="23" type="stmt"/>
|
|
@@ -649,8 +673,8 @@
|
|
|
649
673
|
<line num="9" count="1" type="stmt"/>
|
|
650
674
|
<line num="10" count="1" type="stmt"/>
|
|
651
675
|
<line num="11" count="1" type="stmt"/>
|
|
652
|
-
<line num="12" count="1" type="cond" truecount="
|
|
653
|
-
<line num="13" count="
|
|
676
|
+
<line num="12" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
677
|
+
<line num="13" count="1" type="stmt"/>
|
|
654
678
|
<line num="15" count="1" type="stmt"/>
|
|
655
679
|
<line num="20" count="23" type="stmt"/>
|
|
656
680
|
<line num="21" count="0" type="stmt"/>
|
|
@@ -804,102 +828,79 @@
|
|
|
804
828
|
<line num="170" count="1" type="stmt"/>
|
|
805
829
|
</file>
|
|
806
830
|
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query.js">
|
|
807
|
-
<metrics statements="
|
|
831
|
+
<metrics statements="72" coveredstatements="61" conditionals="25" coveredconditionals="12" methods="9" coveredmethods="9"/>
|
|
808
832
|
<line num="1" count="34" type="stmt"/>
|
|
809
833
|
<line num="2" count="34" type="stmt"/>
|
|
810
834
|
<line num="3" count="34" type="stmt"/>
|
|
811
835
|
<line num="4" count="34" type="stmt"/>
|
|
812
836
|
<line num="5" count="34" type="stmt"/>
|
|
813
837
|
<line num="6" count="34" type="stmt"/>
|
|
814
|
-
<line num="
|
|
815
|
-
<line num="
|
|
816
|
-
<line num="
|
|
817
|
-
<line num="
|
|
818
|
-
<line num="
|
|
819
|
-
<line num="
|
|
820
|
-
<line num="
|
|
821
|
-
<line num="22" count="
|
|
822
|
-
<line num="23" count="
|
|
823
|
-
<line num="
|
|
824
|
-
<line num="
|
|
825
|
-
<line num="
|
|
826
|
-
<line num="
|
|
827
|
-
<line num="
|
|
828
|
-
<line num="
|
|
829
|
-
<line num="
|
|
830
|
-
<line num="
|
|
831
|
-
<line num="
|
|
832
|
-
<line num="
|
|
833
|
-
<line num="
|
|
834
|
-
<line num="
|
|
835
|
-
<line num="
|
|
836
|
-
<line num="
|
|
837
|
-
<line num="
|
|
838
|
-
<line num="
|
|
839
|
-
<line num="
|
|
840
|
-
<line num="
|
|
841
|
-
<line num="
|
|
842
|
-
<line num="
|
|
843
|
-
<line num="
|
|
844
|
-
<line num="
|
|
845
|
-
<line num="
|
|
846
|
-
<line num="
|
|
847
|
-
<line num="
|
|
848
|
-
<line num="
|
|
849
|
-
<line num="89" count="
|
|
850
|
-
<line num="
|
|
851
|
-
<line num="
|
|
852
|
-
<line num="
|
|
853
|
-
<line num="
|
|
854
|
-
<line num="
|
|
855
|
-
<line num="
|
|
856
|
-
<line num="
|
|
857
|
-
<line num="
|
|
858
|
-
<line num="
|
|
859
|
-
<line num="
|
|
860
|
-
<line num="
|
|
861
|
-
<line num="
|
|
862
|
-
<line num="
|
|
863
|
-
<line num="
|
|
864
|
-
<line num="
|
|
838
|
+
<line num="8" count="34" type="stmt"/>
|
|
839
|
+
<line num="12" count="4" type="stmt"/>
|
|
840
|
+
<line num="13" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
841
|
+
<line num="14" count="4" type="stmt"/>
|
|
842
|
+
<line num="15" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
843
|
+
<line num="16" count="3" type="stmt"/>
|
|
844
|
+
<line num="19" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
845
|
+
<line num="22" count="34" type="stmt"/>
|
|
846
|
+
<line num="23" count="2" type="stmt"/>
|
|
847
|
+
<line num="25" count="2" type="stmt"/>
|
|
848
|
+
<line num="30" count="2" type="stmt"/>
|
|
849
|
+
<line num="33" count="34" type="stmt"/>
|
|
850
|
+
<line num="34" count="18" type="stmt"/>
|
|
851
|
+
<line num="35" count="18" type="stmt"/>
|
|
852
|
+
<line num="37" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
853
|
+
<line num="38" count="18" type="stmt"/>
|
|
854
|
+
<line num="41" count="18" type="stmt"/>
|
|
855
|
+
<line num="42" count="18" type="stmt"/>
|
|
856
|
+
<line num="44" count="18" type="stmt"/>
|
|
857
|
+
<line num="45" count="18" type="stmt"/>
|
|
858
|
+
<line num="49" count="4" type="stmt"/>
|
|
859
|
+
<line num="52" count="4" type="stmt"/>
|
|
860
|
+
<line num="53" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
861
|
+
<line num="54" count="0" type="stmt"/>
|
|
862
|
+
<line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
863
|
+
<line num="58" count="0" type="stmt"/>
|
|
864
|
+
<line num="59" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
865
|
+
<line num="61" count="0" type="stmt"/>
|
|
866
|
+
<line num="65" count="0" type="stmt"/>
|
|
867
|
+
<line num="69" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
868
|
+
<line num="74" count="0" type="stmt"/>
|
|
869
|
+
<line num="75" count="0" type="stmt"/>
|
|
870
|
+
<line num="81" count="0" type="stmt"/>
|
|
871
|
+
<line num="83" count="0" type="stmt"/>
|
|
872
|
+
<line num="86" count="4" type="stmt"/>
|
|
873
|
+
<line num="89" count="34" type="stmt"/>
|
|
874
|
+
<line num="90" count="2" type="stmt"/>
|
|
875
|
+
<line num="91" count="2" type="stmt"/>
|
|
876
|
+
<line num="93" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
877
|
+
<line num="94" count="1" type="stmt"/>
|
|
878
|
+
<line num="95" count="1" type="stmt"/>
|
|
879
|
+
<line num="96" count="1" type="stmt"/>
|
|
880
|
+
<line num="98" count="2" type="stmt"/>
|
|
881
|
+
<line num="101" count="34" type="stmt"/>
|
|
882
|
+
<line num="102" count="2" type="stmt"/>
|
|
883
|
+
<line num="104" count="2" type="stmt"/>
|
|
884
|
+
<line num="106" count="2" type="stmt"/>
|
|
885
|
+
<line num="107" count="2" type="stmt"/>
|
|
886
|
+
<line num="109" count="2" type="stmt"/>
|
|
887
|
+
<line num="110" count="2" type="stmt"/>
|
|
888
|
+
<line num="117" count="1" type="stmt"/>
|
|
889
|
+
<line num="122" count="1" type="stmt"/>
|
|
890
|
+
<line num="126" count="34" type="stmt"/>
|
|
891
|
+
<line num="127" count="2" type="stmt"/>
|
|
892
|
+
<line num="129" count="2" type="stmt"/>
|
|
865
893
|
<line num="130" count="2" type="stmt"/>
|
|
866
|
-
<line num="
|
|
867
|
-
<line num="133" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
868
|
-
<line num="134" count="1" type="stmt"/>
|
|
869
|
-
<line num="135" count="1" type="stmt"/>
|
|
870
|
-
<line num="136" count="1" type="stmt"/>
|
|
894
|
+
<line num="132" count="2" type="stmt"/>
|
|
871
895
|
<line num="138" count="2" type="stmt"/>
|
|
872
|
-
<line num="
|
|
873
|
-
<line num="
|
|
874
|
-
<line num="
|
|
875
|
-
<line num="
|
|
876
|
-
<line num="148" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
877
|
-
<line num="149" count="1" type="stmt"/>
|
|
896
|
+
<line num="139" count="2" type="stmt"/>
|
|
897
|
+
<line num="145" count="1" type="stmt"/>
|
|
898
|
+
<line num="147" count="1" type="stmt"/>
|
|
899
|
+
<line num="151" count="34" type="stmt"/>
|
|
878
900
|
<line num="152" count="1" type="stmt"/>
|
|
879
901
|
<line num="153" count="1" type="stmt"/>
|
|
880
902
|
<line num="154" count="1" type="stmt"/>
|
|
881
|
-
<line num="
|
|
882
|
-
<line num="163" count="1" type="stmt"/>
|
|
883
|
-
<line num="168" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
884
|
-
<line num="169" count="0" type="stmt"/>
|
|
885
|
-
<line num="173" count="34" type="stmt"/>
|
|
886
|
-
<line num="174" count="2" type="stmt"/>
|
|
887
|
-
<line num="176" count="2" type="stmt"/>
|
|
888
|
-
<line num="177" count="2" type="stmt"/>
|
|
889
|
-
<line num="179" count="2" type="stmt"/>
|
|
890
|
-
<line num="181" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
891
|
-
<line num="182" count="1" type="stmt"/>
|
|
892
|
-
<line num="185" count="1" type="stmt"/>
|
|
893
|
-
<line num="189" count="1" type="stmt"/>
|
|
894
|
-
<line num="192" count="1" type="stmt"/>
|
|
895
|
-
<line num="198" count="1" type="stmt"/>
|
|
896
|
-
<line num="200" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
897
|
-
<line num="201" count="0" type="stmt"/>
|
|
898
|
-
<line num="205" count="34" type="stmt"/>
|
|
899
|
-
<line num="206" count="1" type="stmt"/>
|
|
900
|
-
<line num="207" count="1" type="stmt"/>
|
|
901
|
-
<line num="208" count="1" type="stmt"/>
|
|
902
|
-
<line num="209" count="1" type="stmt"/>
|
|
903
|
+
<line num="155" count="1" type="stmt"/>
|
|
903
904
|
</file>
|
|
904
905
|
<file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/role.js">
|
|
905
906
|
<metrics statements="53" coveredstatements="47" conditionals="22" coveredconditionals="14" methods="7" coveredmethods="5"/>
|
|
@@ -1825,9 +1826,9 @@
|
|
|
1825
1826
|
</file>
|
|
1826
1827
|
</package>
|
|
1827
1828
|
<package name="api.controllers.table">
|
|
1828
|
-
<metrics statements="
|
|
1829
|
+
<metrics statements="425" coveredstatements="220" conditionals="225" coveredconditionals="84" methods="56" coveredmethods="27"/>
|
|
1829
1830
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/external.js">
|
|
1830
|
-
<metrics statements="
|
|
1831
|
+
<metrics statements="137" coveredstatements="11" conditionals="76" coveredconditionals="0" methods="14" coveredmethods="0"/>
|
|
1831
1832
|
<line num="1" count="34" type="stmt"/>
|
|
1832
1833
|
<line num="5" count="34" type="stmt"/>
|
|
1833
1834
|
<line num="12" count="34" type="stmt"/>
|
|
@@ -1892,75 +1893,79 @@
|
|
|
1892
1893
|
<line num="163" count="0" type="stmt"/>
|
|
1893
1894
|
<line num="165" count="0" type="stmt"/>
|
|
1894
1895
|
<line num="166" count="0" type="stmt"/>
|
|
1895
|
-
<line num="
|
|
1896
|
-
<line num="
|
|
1897
|
-
<line num="
|
|
1898
|
-
<line num="178" count="0" type="cond" truecount="0" falsecount="
|
|
1896
|
+
<line num="168" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1897
|
+
<line num="169" count="0" type="stmt"/>
|
|
1898
|
+
<line num="171" count="0" type="stmt"/>
|
|
1899
|
+
<line num="178" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1899
1900
|
<line num="179" count="0" type="stmt"/>
|
|
1900
|
-
<line num="182" count="0" type="
|
|
1901
|
+
<line num="182" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1901
1902
|
<line num="183" count="0" type="stmt"/>
|
|
1902
|
-
<line num="
|
|
1903
|
-
<line num="185" count="0" type="stmt"/>
|
|
1903
|
+
<line num="186" count="0" type="stmt"/>
|
|
1904
1904
|
<line num="187" count="0" type="stmt"/>
|
|
1905
|
-
<line num="
|
|
1906
|
-
<line num="
|
|
1907
|
-
<line num="
|
|
1905
|
+
<line num="188" count="0" type="stmt"/>
|
|
1906
|
+
<line num="189" count="0" type="stmt"/>
|
|
1907
|
+
<line num="191" count="0" type="stmt"/>
|
|
1908
1908
|
<line num="194" count="0" type="stmt"/>
|
|
1909
|
-
<line num="195" count="0" type="
|
|
1910
|
-
<line num="
|
|
1909
|
+
<line num="195" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1910
|
+
<line num="196" count="0" type="stmt"/>
|
|
1911
1911
|
<line num="198" count="0" type="stmt"/>
|
|
1912
|
-
<line num="199" count="0" type="
|
|
1913
|
-
<line num="
|
|
1914
|
-
<line num="
|
|
1915
|
-
<line num="
|
|
1916
|
-
<line num="
|
|
1917
|
-
<line num="210" count="0" type="
|
|
1918
|
-
<line num="
|
|
1912
|
+
<line num="199" count="0" type="stmt"/>
|
|
1913
|
+
<line num="201" count="0" type="stmt"/>
|
|
1914
|
+
<line num="202" count="0" type="stmt"/>
|
|
1915
|
+
<line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1916
|
+
<line num="204" count="0" type="stmt"/>
|
|
1917
|
+
<line num="210" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1918
|
+
<line num="211" count="0" type="stmt"/>
|
|
1919
|
+
<line num="213" count="0" type="stmt"/>
|
|
1919
1920
|
<line num="214" count="0" type="stmt"/>
|
|
1920
|
-
<line num="
|
|
1921
|
-
<line num="
|
|
1922
|
-
<line num="
|
|
1923
|
-
<line num="
|
|
1924
|
-
<line num="
|
|
1921
|
+
<line num="217" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1922
|
+
<line num="218" count="0" type="stmt"/>
|
|
1923
|
+
<line num="224" count="0" type="stmt"/>
|
|
1924
|
+
<line num="225" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1925
|
+
<line num="226" count="0" type="stmt"/>
|
|
1925
1926
|
<line num="228" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1926
1927
|
<line num="229" count="0" type="stmt"/>
|
|
1927
|
-
<line num="232" count="0" type="
|
|
1928
|
+
<line num="232" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1928
1929
|
<line num="233" count="0" type="stmt"/>
|
|
1929
1930
|
<line num="236" count="0" type="stmt"/>
|
|
1930
|
-
<line num="
|
|
1931
|
-
<line num="
|
|
1932
|
-
<line num="
|
|
1933
|
-
<line num="
|
|
1934
|
-
<line num="
|
|
1931
|
+
<line num="237" count="0" type="stmt"/>
|
|
1932
|
+
<line num="240" count="0" type="stmt"/>
|
|
1933
|
+
<line num="242" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1934
|
+
<line num="245" count="0" type="stmt"/>
|
|
1935
|
+
<line num="247" count="0" type="stmt"/>
|
|
1935
1936
|
<line num="248" count="0" type="stmt"/>
|
|
1936
|
-
<line num="
|
|
1937
|
-
<line num="
|
|
1938
|
-
<line num="
|
|
1939
|
-
<line num="
|
|
1940
|
-
<line num="
|
|
1941
|
-
<line num="
|
|
1942
|
-
<line num="
|
|
1937
|
+
<line num="249" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1938
|
+
<line num="252" count="0" type="stmt"/>
|
|
1939
|
+
<line num="256" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1940
|
+
<line num="257" count="0" type="stmt"/>
|
|
1941
|
+
<line num="258" count="0" type="stmt"/>
|
|
1942
|
+
<line num="263" count="0" type="stmt"/>
|
|
1943
|
+
<line num="264" count="0" type="stmt"/>
|
|
1943
1944
|
<line num="266" count="0" type="stmt"/>
|
|
1944
|
-
<line num="
|
|
1945
|
-
<line num="268" count="0" type="stmt"/>
|
|
1945
|
+
<line num="269" count="34" type="stmt"/>
|
|
1946
1946
|
<line num="270" count="0" type="stmt"/>
|
|
1947
1947
|
<line num="271" count="0" type="stmt"/>
|
|
1948
|
-
<line num="272" count="0" type="
|
|
1949
|
-
<line num="
|
|
1948
|
+
<line num="272" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1949
|
+
<line num="273" count="0" type="stmt"/>
|
|
1950
1950
|
<line num="275" count="0" type="stmt"/>
|
|
1951
1951
|
<line num="277" count="0" type="stmt"/>
|
|
1952
|
+
<line num="278" count="0" type="stmt"/>
|
|
1952
1953
|
<line num="279" count="0" type="stmt"/>
|
|
1953
|
-
<line num="
|
|
1954
|
+
<line num="281" count="0" type="stmt"/>
|
|
1954
1955
|
<line num="282" count="0" type="stmt"/>
|
|
1955
|
-
<line num="
|
|
1956
|
+
<line num="284" count="0" type="stmt"/>
|
|
1956
1957
|
<line num="286" count="0" type="stmt"/>
|
|
1957
1958
|
<line num="287" count="0" type="stmt"/>
|
|
1958
|
-
<line num="
|
|
1959
|
-
<line num="
|
|
1960
|
-
<line num="
|
|
1961
|
-
<line num="
|
|
1962
|
-
<line num="
|
|
1959
|
+
<line num="289" count="0" type="stmt"/>
|
|
1960
|
+
<line num="292" count="34" type="stmt"/>
|
|
1961
|
+
<line num="293" count="0" type="stmt"/>
|
|
1962
|
+
<line num="294" count="0" type="stmt"/>
|
|
1963
|
+
<line num="295" count="0" type="stmt"/>
|
|
1964
|
+
<line num="296" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
1965
|
+
<line num="297" count="0" type="stmt"/>
|
|
1963
1966
|
<line num="299" count="0" type="stmt"/>
|
|
1967
|
+
<line num="303" count="0" type="stmt"/>
|
|
1968
|
+
<line num="306" count="0" type="stmt"/>
|
|
1964
1969
|
</file>
|
|
1965
1970
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/index.js">
|
|
1966
1971
|
<metrics statements="53" coveredstatements="44" conditionals="23" coveredconditionals="17" methods="10" coveredmethods="7"/>
|
|
@@ -2673,7 +2678,7 @@
|
|
|
2673
2678
|
<line num="21" count="23" type="stmt"/>
|
|
2674
2679
|
<line num="41" count="23" type="stmt"/>
|
|
2675
2680
|
<line num="51" count="23" type="stmt"/>
|
|
2676
|
-
<line num="
|
|
2681
|
+
<line num="86" count="23" type="stmt"/>
|
|
2677
2682
|
</file>
|
|
2678
2683
|
<file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/role.js">
|
|
2679
2684
|
<metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
@@ -2810,7 +2815,7 @@
|
|
|
2810
2815
|
</file>
|
|
2811
2816
|
</package>
|
|
2812
2817
|
<package name="automations">
|
|
2813
|
-
<metrics statements="
|
|
2818
|
+
<metrics statements="198" coveredstatements="168" conditionals="87" coveredconditionals="70" methods="25" coveredmethods="20"/>
|
|
2814
2819
|
<file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
|
|
2815
2820
|
<metrics statements="23" coveredstatements="23" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
|
|
2816
2821
|
<line num="1" count="34" type="stmt"/>
|
|
@@ -2868,7 +2873,7 @@
|
|
|
2868
2873
|
<line num="67" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
2869
2874
|
</file>
|
|
2870
2875
|
<file name="bullboard.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/bullboard.js">
|
|
2871
|
-
<metrics statements="
|
|
2876
|
+
<metrics statements="28" coveredstatements="15" conditionals="6" coveredconditionals="3" methods="3" coveredmethods="0"/>
|
|
2872
2877
|
<line num="1" count="33" type="stmt"/>
|
|
2873
2878
|
<line num="2" count="33" type="stmt"/>
|
|
2874
2879
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -2877,20 +2882,27 @@
|
|
|
2877
2882
|
<line num="8" count="33" type="stmt"/>
|
|
2878
2883
|
<line num="9" count="33" type="stmt"/>
|
|
2879
2884
|
<line num="10" count="33" type="stmt"/>
|
|
2880
|
-
<line num="12" count="33" type="
|
|
2881
|
-
<line num="13" count="33" type="
|
|
2882
|
-
<line num="
|
|
2883
|
-
<line num="
|
|
2884
|
-
<line num="
|
|
2885
|
-
<line num="
|
|
2886
|
-
<line num="
|
|
2887
|
-
<line num="
|
|
2888
|
-
<line num="
|
|
2889
|
-
<line num="
|
|
2890
|
-
<line num="
|
|
2891
|
-
<line num="
|
|
2892
|
-
<line num="
|
|
2893
|
-
|
|
2885
|
+
<line num="12" count="33" type="stmt"/>
|
|
2886
|
+
<line num="13" count="33" type="cond" truecount="2" falsecount="0"/>
|
|
2887
|
+
<line num="14" count="33" type="stmt"/>
|
|
2888
|
+
<line num="16" count="33" type="stmt"/>
|
|
2889
|
+
<line num="19" count="0" type="stmt"/>
|
|
2890
|
+
<line num="22" count="33" type="stmt"/>
|
|
2891
|
+
<line num="24" count="33" type="stmt"/>
|
|
2892
|
+
<line num="26" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2893
|
+
<line num="27" count="0" type="stmt"/>
|
|
2894
|
+
<line num="29" count="0" type="stmt"/>
|
|
2895
|
+
<line num="30" count="0" type="stmt"/>
|
|
2896
|
+
<line num="34" count="0" type="stmt"/>
|
|
2897
|
+
<line num="35" count="0" type="stmt"/>
|
|
2898
|
+
<line num="36" count="0" type="stmt"/>
|
|
2899
|
+
<line num="37" count="0" type="stmt"/>
|
|
2900
|
+
<line num="38" count="0" type="stmt"/>
|
|
2901
|
+
<line num="40" count="0" type="stmt"/>
|
|
2902
|
+
<line num="44" count="0" type="stmt"/>
|
|
2903
|
+
<line num="45" count="0" type="stmt"/>
|
|
2904
|
+
<line num="48" count="33" type="stmt"/>
|
|
2905
|
+
</file>
|
|
2894
2906
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/index.js">
|
|
2895
2907
|
<metrics statements="8" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="2"/>
|
|
2896
2908
|
<line num="1" count="24" type="stmt"/>
|
|
@@ -2902,78 +2914,8 @@
|
|
|
2902
2914
|
<line num="15" count="0" type="stmt"/>
|
|
2903
2915
|
<line num="17" count="24" type="stmt"/>
|
|
2904
2916
|
</file>
|
|
2905
|
-
<file name="thread.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/thread.js">
|
|
2906
|
-
<metrics statements="67" coveredstatements="57" conditionals="21" coveredconditionals="12" methods="7" coveredmethods="7"/>
|
|
2907
|
-
<line num="1" count="33" type="stmt"/>
|
|
2908
|
-
<line num="2" count="33" type="stmt"/>
|
|
2909
|
-
<line num="3" count="33" type="stmt"/>
|
|
2910
|
-
<line num="4" count="33" type="stmt"/>
|
|
2911
|
-
<line num="5" count="33" type="stmt"/>
|
|
2912
|
-
<line num="6" count="33" type="stmt"/>
|
|
2913
|
-
<line num="7" count="33" type="stmt"/>
|
|
2914
|
-
<line num="8" count="33" type="stmt"/>
|
|
2915
|
-
<line num="9" count="33" type="stmt"/>
|
|
2916
|
-
<line num="10" count="33" type="stmt"/>
|
|
2917
|
-
<line num="12" count="33" type="stmt"/>
|
|
2918
|
-
<line num="13" count="33" type="stmt"/>
|
|
2919
|
-
<line num="22" count="7" type="stmt"/>
|
|
2920
|
-
<line num="23" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
2921
|
-
<line num="24" count="7" type="stmt"/>
|
|
2922
|
-
<line num="25" count="7" type="stmt"/>
|
|
2923
|
-
<line num="27" count="7" type="stmt"/>
|
|
2924
|
-
<line num="28" count="7" type="stmt"/>
|
|
2925
|
-
<line num="30" count="7" type="stmt"/>
|
|
2926
|
-
<line num="31" count="7" type="stmt"/>
|
|
2927
|
-
<line num="34" count="7" type="stmt"/>
|
|
2928
|
-
<line num="35" count="7" type="stmt"/>
|
|
2929
|
-
<line num="37" count="7" type="stmt"/>
|
|
2930
|
-
<line num="38" count="7" type="stmt"/>
|
|
2931
|
-
<line num="39" count="7" type="stmt"/>
|
|
2932
|
-
<line num="43" count="5" type="stmt"/>
|
|
2933
|
-
<line num="44" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2934
|
-
<line num="45" count="0" type="stmt"/>
|
|
2935
|
-
<line num="47" count="5" type="stmt"/>
|
|
2936
|
-
<line num="51" count="7" type="stmt"/>
|
|
2937
|
-
<line num="52" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
2938
|
-
<line num="53" count="0" type="stmt"/>
|
|
2939
|
-
<line num="55" count="7" type="stmt"/>
|
|
2940
|
-
<line num="56" count="7" type="stmt"/>
|
|
2941
|
-
<line num="57" count="6" type="stmt"/>
|
|
2942
|
-
<line num="61" count="12" type="stmt"/>
|
|
2943
|
-
<line num="63" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
2944
|
-
<line num="64" count="7" type="stmt"/>
|
|
2945
|
-
<line num="66" count="12" type="stmt"/>
|
|
2946
|
-
<line num="70" count="7" type="stmt"/>
|
|
2947
|
-
<line num="71" count="7" type="stmt"/>
|
|
2948
|
-
<line num="72" count="6" type="stmt"/>
|
|
2949
|
-
<line num="73" count="6" type="stmt"/>
|
|
2950
|
-
<line num="75" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2951
|
-
<line num="76" count="0" type="stmt"/>
|
|
2952
|
-
<line num="77" count="0" type="stmt"/>
|
|
2953
|
-
<line num="79" count="5" type="stmt"/>
|
|
2954
|
-
<line num="80" count="5" type="stmt"/>
|
|
2955
|
-
<line num="81" count="5" type="stmt"/>
|
|
2956
|
-
<line num="86" count="5" type="stmt"/>
|
|
2957
|
-
<line num="87" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2958
|
-
<line num="88" count="5" type="stmt"/>
|
|
2959
|
-
<line num="89" count="5" type="stmt"/>
|
|
2960
|
-
<line num="96" count="5" type="stmt"/>
|
|
2961
|
-
<line num="99" count="5" type="cond" truecount="2" falsecount="2"/>
|
|
2962
|
-
<line num="100" count="0" type="stmt"/>
|
|
2963
|
-
<line num="101" count="0" type="stmt"/>
|
|
2964
|
-
<line num="105" count="0" type="stmt"/>
|
|
2965
|
-
<line num="107" count="5" type="stmt"/>
|
|
2966
|
-
<line num="109" count="0" type="stmt"/>
|
|
2967
|
-
<line num="110" count="0" type="stmt"/>
|
|
2968
|
-
<line num="115" count="6" type="cond" truecount="2" falsecount="2"/>
|
|
2969
|
-
<line num="116" count="0" type="stmt"/>
|
|
2970
|
-
<line num="118" count="6" type="stmt"/>
|
|
2971
|
-
<line num="122" count="33" type="stmt"/>
|
|
2972
|
-
<line num="123" count="7" type="stmt"/>
|
|
2973
|
-
<line num="127" count="7" type="stmt"/>
|
|
2974
|
-
</file>
|
|
2975
2917
|
<file name="triggers.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggers.js">
|
|
2976
|
-
<metrics statements="
|
|
2918
|
+
<metrics statements="45" coveredstatements="43" conditionals="25" coveredconditionals="21" methods="7" coveredmethods="7"/>
|
|
2977
2919
|
<line num="1" count="33" type="stmt"/>
|
|
2978
2920
|
<line num="2" count="33" type="stmt"/>
|
|
2979
2921
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -2985,42 +2927,43 @@
|
|
|
2985
2927
|
<line num="10" count="33" type="stmt"/>
|
|
2986
2928
|
<line num="11" count="33" type="stmt"/>
|
|
2987
2929
|
<line num="13" count="33" type="stmt"/>
|
|
2988
|
-
<line num="
|
|
2989
|
-
<line num="
|
|
2990
|
-
<line num="
|
|
2991
|
-
<line num="
|
|
2992
|
-
<line num="
|
|
2993
|
-
<line num="
|
|
2994
|
-
<line num="
|
|
2995
|
-
<line num="
|
|
2996
|
-
<line num="
|
|
2997
|
-
<line num="
|
|
2998
|
-
<line num="
|
|
2930
|
+
<line num="14" count="33" type="stmt"/>
|
|
2931
|
+
<line num="20" count="16" type="cond" truecount="1" falsecount="1"/>
|
|
2932
|
+
<line num="21" count="0" type="stmt"/>
|
|
2933
|
+
<line num="24" count="16" type="stmt"/>
|
|
2934
|
+
<line num="25" count="16" type="stmt"/>
|
|
2935
|
+
<line num="30" count="16" type="stmt"/>
|
|
2936
|
+
<line num="31" count="4" type="stmt"/>
|
|
2937
|
+
<line num="33" count="4" type="stmt"/>
|
|
2938
|
+
<line num="34" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
2939
|
+
<line num="37" count="16" type="stmt"/>
|
|
2940
|
+
<line num="38" count="4" type="stmt"/>
|
|
2999
2941
|
<line num="39" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
3000
|
-
<line num="
|
|
3001
|
-
<line num="
|
|
3002
|
-
<line num="50" count="4" type="
|
|
3003
|
-
<line num="
|
|
3004
|
-
<line num="
|
|
3005
|
-
<line num="
|
|
3006
|
-
<line num="
|
|
3007
|
-
<line num="
|
|
3008
|
-
<line num="
|
|
3009
|
-
<line num="
|
|
3010
|
-
<line num="
|
|
3011
|
-
<line num="
|
|
3012
|
-
<line num="
|
|
3013
|
-
<line num="94" count="1" type="stmt"/>
|
|
3014
|
-
<line num="95" count="1" type="stmt"/>
|
|
2942
|
+
<line num="43" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2943
|
+
<line num="48" count="0" type="stmt"/>
|
|
2944
|
+
<line num="50" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2945
|
+
<line num="54" count="4" type="stmt"/>
|
|
2946
|
+
<line num="59" count="33" type="stmt"/>
|
|
2947
|
+
<line num="64" count="8" type="stmt"/>
|
|
2948
|
+
<line num="67" count="33" type="stmt"/>
|
|
2949
|
+
<line num="72" count="3" type="stmt"/>
|
|
2950
|
+
<line num="75" count="33" type="stmt"/>
|
|
2951
|
+
<line num="80" count="5" type="stmt"/>
|
|
2952
|
+
<line num="83" count="33" type="stmt"/>
|
|
2953
|
+
<line num="88" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
2954
|
+
<line num="96" count="1" type="stmt"/>
|
|
3015
2955
|
<line num="97" count="1" type="stmt"/>
|
|
3016
|
-
<line num="
|
|
3017
|
-
<line num="
|
|
3018
|
-
<line num="101" count="
|
|
3019
|
-
<line num="103" count="
|
|
3020
|
-
<line num="
|
|
2956
|
+
<line num="98" count="1" type="stmt"/>
|
|
2957
|
+
<line num="99" count="1" type="stmt"/>
|
|
2958
|
+
<line num="101" count="1" type="stmt"/>
|
|
2959
|
+
<line num="103" count="6" type="stmt"/>
|
|
2960
|
+
<line num="104" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
2961
|
+
<line num="105" count="2" type="stmt"/>
|
|
2962
|
+
<line num="107" count="4" type="stmt"/>
|
|
2963
|
+
<line num="111" count="33" type="stmt"/>
|
|
3021
2964
|
</file>
|
|
3022
2965
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/utils.js">
|
|
3023
|
-
<metrics statements="
|
|
2966
|
+
<metrics statements="67" coveredstatements="53" conditionals="36" coveredconditionals="29" methods="9" coveredmethods="8"/>
|
|
3024
2967
|
<line num="1" count="33" type="stmt"/>
|
|
3025
2968
|
<line num="2" count="33" type="stmt"/>
|
|
3026
2969
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -3032,59 +2975,62 @@
|
|
|
3032
2975
|
<line num="9" count="33" type="stmt"/>
|
|
3033
2976
|
<line num="11" count="33" type="stmt"/>
|
|
3034
2977
|
<line num="12" count="33" type="stmt"/>
|
|
3035
|
-
<line num="
|
|
3036
|
-
<line num="15" count="
|
|
3037
|
-
<line num="
|
|
3038
|
-
<line num="
|
|
3039
|
-
<line num="
|
|
3040
|
-
<line num="
|
|
3041
|
-
<line num="27" count="
|
|
3042
|
-
<line num="
|
|
3043
|
-
<line num="33" count="
|
|
3044
|
-
<line num="
|
|
3045
|
-
<line num="
|
|
3046
|
-
<line num="
|
|
3047
|
-
<line num="46" count="
|
|
2978
|
+
<line num="13" count="33" type="stmt"/>
|
|
2979
|
+
<line num="15" count="33" type="stmt"/>
|
|
2980
|
+
<line num="16" count="10" type="stmt"/>
|
|
2981
|
+
<line num="18" count="10" type="stmt"/>
|
|
2982
|
+
<line num="20" count="0" type="stmt"/>
|
|
2983
|
+
<line num="23" count="0" type="stmt"/>
|
|
2984
|
+
<line num="27" count="33" type="stmt"/>
|
|
2985
|
+
<line num="28" count="2" type="stmt"/>
|
|
2986
|
+
<line num="33" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
2987
|
+
<line num="34" count="0" type="stmt"/>
|
|
2988
|
+
<line num="36" count="2" type="stmt"/>
|
|
2989
|
+
<line num="40" count="2" type="stmt"/>
|
|
2990
|
+
<line num="46" count="33" type="stmt"/>
|
|
3048
2991
|
<line num="47" count="185" type="stmt"/>
|
|
3049
2992
|
<line num="48" count="185" type="stmt"/>
|
|
3050
|
-
<line num="49" count="
|
|
3051
|
-
<line num="50" count="0" type="
|
|
2993
|
+
<line num="49" count="185" type="stmt"/>
|
|
2994
|
+
<line num="50" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3052
2995
|
<line num="51" count="0" type="stmt"/>
|
|
3053
|
-
<line num="
|
|
3054
|
-
<line num="
|
|
3055
|
-
<line num="63" count="
|
|
3056
|
-
<line num="
|
|
3057
|
-
<line num="
|
|
3058
|
-
<line num="
|
|
2996
|
+
<line num="52" count="0" type="stmt"/>
|
|
2997
|
+
<line num="55" count="185" type="stmt"/>
|
|
2998
|
+
<line num="63" count="33" type="stmt"/>
|
|
2999
|
+
<line num="64" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
3000
|
+
<line num="66" count="1" type="stmt"/>
|
|
3001
|
+
<line num="73" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
3059
3002
|
<line num="75" count="0" type="stmt"/>
|
|
3060
|
-
<line num="
|
|
3003
|
+
<line num="76" count="0" type="stmt"/>
|
|
3061
3004
|
<line num="84" count="0" type="stmt"/>
|
|
3062
3005
|
<line num="85" count="0" type="stmt"/>
|
|
3063
3006
|
<line num="86" count="0" type="stmt"/>
|
|
3064
3007
|
<line num="87" count="0" type="stmt"/>
|
|
3065
|
-
<line num="
|
|
3066
|
-
<line num="
|
|
3067
|
-
<line num="101" count="
|
|
3008
|
+
<line num="88" count="0" type="stmt"/>
|
|
3009
|
+
<line num="90" count="1" type="stmt"/>
|
|
3010
|
+
<line num="101" count="33" type="stmt"/>
|
|
3068
3011
|
<line num="102" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
3069
|
-
<line num="
|
|
3070
|
-
<line num="
|
|
3071
|
-
<line num="
|
|
3072
|
-
<line num="
|
|
3012
|
+
<line num="103" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
3013
|
+
<line num="105" count="23" type="cond" truecount="3" falsecount="0"/>
|
|
3014
|
+
<line num="107" count="70" type="stmt"/>
|
|
3015
|
+
<line num="114" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
3073
3016
|
<line num="119" count="1" type="stmt"/>
|
|
3074
|
-
<line num="
|
|
3017
|
+
<line num="120" count="1" type="stmt"/>
|
|
3075
3018
|
<line num="122" count="1" type="stmt"/>
|
|
3076
|
-
<line num="
|
|
3077
|
-
<line num="128" count="1" type="
|
|
3019
|
+
<line num="123" count="1" type="stmt"/>
|
|
3020
|
+
<line num="128" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
3078
3021
|
<line num="129" count="1" type="stmt"/>
|
|
3079
|
-
<line num="
|
|
3080
|
-
<line num="
|
|
3081
|
-
<line num="
|
|
3082
|
-
<line num="
|
|
3022
|
+
<line num="130" count="1" type="stmt"/>
|
|
3023
|
+
<line num="132" count="1" type="stmt"/>
|
|
3024
|
+
<line num="138" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
3025
|
+
<line num="142" count="1" type="stmt"/>
|
|
3083
3026
|
<line num="152" count="1" type="stmt"/>
|
|
3084
3027
|
<line num="153" count="1" type="stmt"/>
|
|
3085
|
-
<line num="
|
|
3028
|
+
<line num="154" count="1" type="stmt"/>
|
|
3086
3029
|
<line num="158" count="1" type="stmt"/>
|
|
3087
|
-
<line num="
|
|
3030
|
+
<line num="159" count="1" type="stmt"/>
|
|
3031
|
+
<line num="164" count="23" type="stmt"/>
|
|
3032
|
+
<line num="172" count="33" type="stmt"/>
|
|
3033
|
+
<line num="173" count="0" type="stmt"/>
|
|
3088
3034
|
</file>
|
|
3089
3035
|
</package>
|
|
3090
3036
|
<package name="automations.steps">
|
|
@@ -3386,63 +3332,64 @@
|
|
|
3386
3332
|
<metrics statements="13" coveredstatements="13" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3387
3333
|
<file name="app.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggerInfo/app.js">
|
|
3388
3334
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3389
|
-
<line num="1" count="
|
|
3335
|
+
<line num="1" count="34" type="stmt"/>
|
|
3390
3336
|
</file>
|
|
3391
3337
|
<file name="cron.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggerInfo/cron.js">
|
|
3392
3338
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3393
|
-
<line num="1" count="
|
|
3339
|
+
<line num="1" count="34" type="stmt"/>
|
|
3394
3340
|
</file>
|
|
3395
3341
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggerInfo/index.js">
|
|
3396
3342
|
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3397
|
-
<line num="1" count="
|
|
3398
|
-
<line num="2" count="
|
|
3399
|
-
<line num="3" count="
|
|
3400
|
-
<line num="4" count="
|
|
3401
|
-
<line num="5" count="
|
|
3402
|
-
<line num="6" count="
|
|
3403
|
-
<line num="8" count="
|
|
3343
|
+
<line num="1" count="34" type="stmt"/>
|
|
3344
|
+
<line num="2" count="34" type="stmt"/>
|
|
3345
|
+
<line num="3" count="34" type="stmt"/>
|
|
3346
|
+
<line num="4" count="34" type="stmt"/>
|
|
3347
|
+
<line num="5" count="34" type="stmt"/>
|
|
3348
|
+
<line num="6" count="34" type="stmt"/>
|
|
3349
|
+
<line num="8" count="34" type="stmt"/>
|
|
3404
3350
|
</file>
|
|
3405
3351
|
<file name="rowDeleted.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggerInfo/rowDeleted.js">
|
|
3406
3352
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3407
|
-
<line num="1" count="
|
|
3353
|
+
<line num="1" count="34" type="stmt"/>
|
|
3408
3354
|
</file>
|
|
3409
3355
|
<file name="rowSaved.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggerInfo/rowSaved.js">
|
|
3410
3356
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3411
|
-
<line num="1" count="
|
|
3357
|
+
<line num="1" count="34" type="stmt"/>
|
|
3412
3358
|
</file>
|
|
3413
3359
|
<file name="rowUpdated.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggerInfo/rowUpdated.js">
|
|
3414
3360
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3415
|
-
<line num="1" count="
|
|
3361
|
+
<line num="1" count="34" type="stmt"/>
|
|
3416
3362
|
</file>
|
|
3417
3363
|
<file name="webhook.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggerInfo/webhook.js">
|
|
3418
3364
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3419
|
-
<line num="1" count="
|
|
3365
|
+
<line num="1" count="34" type="stmt"/>
|
|
3420
3366
|
</file>
|
|
3421
3367
|
</package>
|
|
3422
3368
|
<package name="constants">
|
|
3423
|
-
<metrics statements="
|
|
3369
|
+
<metrics statements="28" coveredstatements="28" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3424
3370
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/index.js">
|
|
3425
|
-
<metrics statements="
|
|
3426
|
-
<line num="1" count="
|
|
3427
|
-
<line num="2" count="
|
|
3428
|
-
<line num="3" count="
|
|
3429
|
-
<line num="5" count="
|
|
3430
|
-
<line num="9" count="
|
|
3431
|
-
<line num="22" count="
|
|
3432
|
-
<line num="23" count="
|
|
3433
|
-
<line num="32" count="
|
|
3434
|
-
<line num="48" count="
|
|
3435
|
-
<line num="55" count="
|
|
3436
|
-
<line num="61" count="
|
|
3437
|
-
<line num="67" count="
|
|
3438
|
-
<line num="78" count="
|
|
3439
|
-
<line num="83" count="
|
|
3440
|
-
<line num="145" count="
|
|
3441
|
-
<line num="153" count="
|
|
3442
|
-
<line num="154" count="
|
|
3443
|
-
<line num="161" count="
|
|
3444
|
-
<line num="166" count="
|
|
3445
|
-
<line num="
|
|
3371
|
+
<metrics statements="21" coveredstatements="21" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3372
|
+
<line num="1" count="41" type="stmt"/>
|
|
3373
|
+
<line num="2" count="41" type="stmt"/>
|
|
3374
|
+
<line num="3" count="41" type="stmt"/>
|
|
3375
|
+
<line num="5" count="41" type="stmt"/>
|
|
3376
|
+
<line num="9" count="41" type="stmt"/>
|
|
3377
|
+
<line num="22" count="41" type="stmt"/>
|
|
3378
|
+
<line num="23" count="41" type="stmt"/>
|
|
3379
|
+
<line num="32" count="41" type="stmt"/>
|
|
3380
|
+
<line num="48" count="41" type="stmt"/>
|
|
3381
|
+
<line num="55" count="41" type="stmt"/>
|
|
3382
|
+
<line num="61" count="41" type="stmt"/>
|
|
3383
|
+
<line num="67" count="41" type="stmt"/>
|
|
3384
|
+
<line num="78" count="41" type="stmt"/>
|
|
3385
|
+
<line num="83" count="41" type="stmt"/>
|
|
3386
|
+
<line num="145" count="41" type="stmt"/>
|
|
3387
|
+
<line num="153" count="41" type="stmt"/>
|
|
3388
|
+
<line num="154" count="41" type="stmt"/>
|
|
3389
|
+
<line num="161" count="41" type="stmt"/>
|
|
3390
|
+
<line num="166" count="41" type="stmt"/>
|
|
3391
|
+
<line num="172" count="41" type="stmt"/>
|
|
3392
|
+
<line num="178" count="41" type="stmt"/>
|
|
3446
3393
|
</file>
|
|
3447
3394
|
<file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
|
|
3448
3395
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -3513,119 +3460,119 @@
|
|
|
3513
3460
|
</file>
|
|
3514
3461
|
<file name="newid.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/newid.js">
|
|
3515
3462
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3516
|
-
<line num="1" count="
|
|
3517
|
-
<line num="3" count="
|
|
3463
|
+
<line num="1" count="47" type="stmt"/>
|
|
3464
|
+
<line num="3" count="47" type="stmt"/>
|
|
3518
3465
|
<line num="4" count="803" type="stmt"/>
|
|
3519
3466
|
</file>
|
|
3520
3467
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3521
3468
|
<metrics statements="108" coveredstatements="100" conditionals="51" coveredconditionals="18" methods="30" coveredmethods="27"/>
|
|
3522
|
-
<line num="1" count="
|
|
3523
|
-
<line num="12" count="
|
|
3524
|
-
<line num="14" count="
|
|
3525
|
-
<line num="16" count="
|
|
3526
|
-
<line num="22" count="
|
|
3527
|
-
<line num="45" count="
|
|
3528
|
-
<line num="50" count="
|
|
3529
|
-
<line num="54" count="
|
|
3530
|
-
<line num="58" count="
|
|
3531
|
-
<line num="60" count="
|
|
3532
|
-
<line num="68" count="
|
|
3533
|
-
<line num="69" count="
|
|
3534
|
-
<line num="70" count="
|
|
3535
|
-
<line num="71" count="
|
|
3536
|
-
<line num="72" count="
|
|
3537
|
-
<line num="73" count="
|
|
3538
|
-
<line num="74" count="
|
|
3539
|
-
<line num="75" count="
|
|
3540
|
-
<line num="76" count="
|
|
3541
|
-
<line num="77" count="
|
|
3542
|
-
<line num="78" count="
|
|
3543
|
-
<line num="79" count="
|
|
3544
|
-
<line num="80" count="
|
|
3545
|
-
<line num="81" count="
|
|
3546
|
-
<line num="83" count="
|
|
3547
|
-
<line num="84" count="
|
|
3548
|
-
<line num="86" count="
|
|
3469
|
+
<line num="1" count="47" type="stmt"/>
|
|
3470
|
+
<line num="12" count="47" type="stmt"/>
|
|
3471
|
+
<line num="14" count="47" type="stmt"/>
|
|
3472
|
+
<line num="16" count="47" type="stmt"/>
|
|
3473
|
+
<line num="22" count="47" type="stmt"/>
|
|
3474
|
+
<line num="45" count="47" type="stmt"/>
|
|
3475
|
+
<line num="50" count="47" type="stmt"/>
|
|
3476
|
+
<line num="54" count="47" type="stmt"/>
|
|
3477
|
+
<line num="58" count="47" type="stmt"/>
|
|
3478
|
+
<line num="60" count="47" type="stmt"/>
|
|
3479
|
+
<line num="68" count="47" type="stmt"/>
|
|
3480
|
+
<line num="69" count="47" type="stmt"/>
|
|
3481
|
+
<line num="70" count="47" type="stmt"/>
|
|
3482
|
+
<line num="71" count="47" type="stmt"/>
|
|
3483
|
+
<line num="72" count="47" type="stmt"/>
|
|
3484
|
+
<line num="73" count="47" type="stmt"/>
|
|
3485
|
+
<line num="74" count="47" type="stmt"/>
|
|
3486
|
+
<line num="75" count="47" type="stmt"/>
|
|
3487
|
+
<line num="76" count="47" type="stmt"/>
|
|
3488
|
+
<line num="77" count="47" type="stmt"/>
|
|
3489
|
+
<line num="78" count="47" type="stmt"/>
|
|
3490
|
+
<line num="79" count="47" type="stmt"/>
|
|
3491
|
+
<line num="80" count="47" type="stmt"/>
|
|
3492
|
+
<line num="81" count="47" type="stmt"/>
|
|
3493
|
+
<line num="83" count="47" type="stmt"/>
|
|
3494
|
+
<line num="84" count="47" type="stmt"/>
|
|
3495
|
+
<line num="86" count="47" type="stmt"/>
|
|
3549
3496
|
<line num="87" count="74" type="stmt"/>
|
|
3550
3497
|
<line num="103" count="603" type="cond" truecount="2" falsecount="0"/>
|
|
3551
3498
|
<line num="104" count="590" type="stmt"/>
|
|
3552
3499
|
<line num="106" count="603" type="stmt"/>
|
|
3553
|
-
<line num="113" count="
|
|
3554
|
-
<line num="118" count="
|
|
3500
|
+
<line num="113" count="47" type="stmt"/>
|
|
3501
|
+
<line num="118" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3555
3502
|
<line num="119" count="3" type="stmt"/>
|
|
3556
|
-
<line num="126" count="
|
|
3503
|
+
<line num="126" count="47" type="stmt"/>
|
|
3557
3504
|
<line num="127" count="99" type="stmt"/>
|
|
3558
|
-
<line num="138" count="
|
|
3505
|
+
<line num="138" count="47" type="cond" truecount="0" falsecount="3"/>
|
|
3559
3506
|
<line num="139" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
3560
3507
|
<line num="140" count="0" type="stmt"/>
|
|
3561
3508
|
<line num="143" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
3562
3509
|
<line num="145" count="11" type="stmt"/>
|
|
3563
|
-
<line num="154" count="
|
|
3510
|
+
<line num="154" count="47" type="cond" truecount="1" falsecount="0"/>
|
|
3564
3511
|
<line num="155" count="200" type="cond" truecount="2" falsecount="0"/>
|
|
3565
3512
|
<line num="156" count="200" type="stmt"/>
|
|
3566
|
-
<line num="162" count="
|
|
3513
|
+
<line num="162" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3567
3514
|
<line num="163" count="3" type="stmt"/>
|
|
3568
|
-
<line num="171" count="
|
|
3515
|
+
<line num="171" count="47" type="stmt"/>
|
|
3569
3516
|
<line num="172" count="132" type="stmt"/>
|
|
3570
|
-
<line num="178" count="
|
|
3517
|
+
<line num="178" count="47" type="stmt"/>
|
|
3571
3518
|
<line num="179" count="2" type="stmt"/>
|
|
3572
3519
|
<line num="180" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
3573
3520
|
<line num="181" count="1" type="stmt"/>
|
|
3574
3521
|
<line num="183" count="1" type="stmt"/>
|
|
3575
|
-
<line num="189" count="
|
|
3522
|
+
<line num="189" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3576
3523
|
<line num="190" count="203" type="stmt"/>
|
|
3577
|
-
<line num="197" count="
|
|
3524
|
+
<line num="197" count="47" type="stmt"/>
|
|
3578
3525
|
<line num="198" count="20" type="stmt"/>
|
|
3579
|
-
<line num="212" count="
|
|
3526
|
+
<line num="212" count="47" type="stmt"/>
|
|
3580
3527
|
<line num="220" count="9" type="stmt"/>
|
|
3581
3528
|
<line num="221" count="9" type="stmt"/>
|
|
3582
3529
|
<line num="222" count="9" type="stmt"/>
|
|
3583
3530
|
<line num="223" count="9" type="stmt"/>
|
|
3584
|
-
<line num="229" count="
|
|
3531
|
+
<line num="229" count="47" type="cond" truecount="0" falsecount="1"/>
|
|
3585
3532
|
<line num="230" count="0" type="stmt"/>
|
|
3586
|
-
<line num="237" count="
|
|
3533
|
+
<line num="237" count="47" type="cond" truecount="0" falsecount="1"/>
|
|
3587
3534
|
<line num="238" count="178" type="stmt"/>
|
|
3588
3535
|
<line num="239" count="178" type="cond" truecount="1" falsecount="1"/>
|
|
3589
3536
|
<line num="240" count="0" type="stmt"/>
|
|
3590
3537
|
<line num="242" count="178" type="stmt"/>
|
|
3591
|
-
<line num="249" count="
|
|
3538
|
+
<line num="249" count="47" type="stmt"/>
|
|
3592
3539
|
<line num="250" count="178" type="stmt"/>
|
|
3593
3540
|
<line num="251" count="178" type="stmt"/>
|
|
3594
3541
|
<line num="252" count="178" type="stmt"/>
|
|
3595
|
-
<line num="259" count="
|
|
3542
|
+
<line num="259" count="47" type="stmt"/>
|
|
3596
3543
|
<line num="260" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3597
|
-
<line num="266" count="
|
|
3544
|
+
<line num="266" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3598
3545
|
<line num="267" count="188" type="stmt"/>
|
|
3599
|
-
<line num="274" count="
|
|
3546
|
+
<line num="274" count="47" type="stmt"/>
|
|
3600
3547
|
<line num="275" count="197" type="stmt"/>
|
|
3601
|
-
<line num="281" count="
|
|
3548
|
+
<line num="281" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3602
3549
|
<line num="282" count="190" type="stmt"/>
|
|
3603
|
-
<line num="289" count="
|
|
3550
|
+
<line num="289" count="47" type="stmt"/>
|
|
3604
3551
|
<line num="290" count="10" type="stmt"/>
|
|
3605
|
-
<line num="296" count="
|
|
3552
|
+
<line num="296" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3606
3553
|
<line num="297" count="2" type="stmt"/>
|
|
3607
|
-
<line num="304" count="
|
|
3554
|
+
<line num="304" count="47" type="cond" truecount="1" falsecount="1"/>
|
|
3608
3555
|
<line num="305" count="23" type="stmt"/>
|
|
3609
|
-
<line num="313" count="
|
|
3556
|
+
<line num="313" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3610
3557
|
<line num="314" count="3" type="stmt"/>
|
|
3611
|
-
<line num="321" count="
|
|
3558
|
+
<line num="321" count="47" type="stmt"/>
|
|
3612
3559
|
<line num="322" count="18" type="stmt"/>
|
|
3613
|
-
<line num="330" count="
|
|
3560
|
+
<line num="330" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3614
3561
|
<line num="331" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
3615
3562
|
<line num="332" count="2" type="stmt"/>
|
|
3616
3563
|
<line num="335" count="1" type="stmt"/>
|
|
3617
|
-
<line num="342" count="
|
|
3564
|
+
<line num="342" count="47" type="stmt"/>
|
|
3618
3565
|
<line num="343" count="10" type="stmt"/>
|
|
3619
|
-
<line num="346" count="
|
|
3566
|
+
<line num="346" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3620
3567
|
<line num="347" count="0" type="stmt"/>
|
|
3621
3568
|
<line num="348" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3622
3569
|
<line num="349" count="0" type="stmt"/>
|
|
3623
3570
|
<line num="351" count="0" type="stmt"/>
|
|
3624
|
-
<line num="354" count="
|
|
3571
|
+
<line num="354" count="47" type="stmt"/>
|
|
3625
3572
|
<line num="355" count="1" type="stmt"/>
|
|
3626
|
-
<line num="358" count="
|
|
3573
|
+
<line num="358" count="47" type="cond" truecount="0" falsecount="1"/>
|
|
3627
3574
|
<line num="359" count="0" type="stmt"/>
|
|
3628
|
-
<line num="365" count="
|
|
3575
|
+
<line num="365" count="47" type="stmt"/>
|
|
3629
3576
|
<line num="366" count="60" type="stmt"/>
|
|
3630
3577
|
</file>
|
|
3631
3578
|
</package>
|
|
@@ -3945,9 +3892,9 @@
|
|
|
3945
3892
|
<metrics statements="38" coveredstatements="34" conditionals="18" coveredconditionals="10" methods="8" coveredmethods="7"/>
|
|
3946
3893
|
<file name="AutomationEmitter.js" path="/home/runner/work/budibase/budibase/packages/server/src/events/AutomationEmitter.js">
|
|
3947
3894
|
<metrics statements="12" coveredstatements="9" conditionals="6" coveredconditionals="2" methods="3" coveredmethods="2"/>
|
|
3948
|
-
<line num="1" count="
|
|
3949
|
-
<line num="2" count="
|
|
3950
|
-
<line num="5" count="
|
|
3895
|
+
<line num="1" count="4" type="stmt"/>
|
|
3896
|
+
<line num="2" count="4" type="stmt"/>
|
|
3897
|
+
<line num="5" count="4" type="stmt"/>
|
|
3951
3898
|
<line num="15" count="7" type="stmt"/>
|
|
3952
3899
|
<line num="16" count="7" type="stmt"/>
|
|
3953
3900
|
<line num="23" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -3956,7 +3903,7 @@
|
|
|
3956
3903
|
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3957
3904
|
<line num="39" count="0" type="stmt"/>
|
|
3958
3905
|
<line num="41" count="0" type="stmt"/>
|
|
3959
|
-
<line num="51" count="
|
|
3906
|
+
<line num="51" count="4" type="stmt"/>
|
|
3960
3907
|
</file>
|
|
3961
3908
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/events/index.js">
|
|
3962
3909
|
<metrics statements="7" coveredstatements="7" conditionals="2" coveredconditionals="1" methods="3" coveredmethods="3"/>
|
|
@@ -3998,7 +3945,7 @@
|
|
|
3998
3945
|
</file>
|
|
3999
3946
|
</package>
|
|
4000
3947
|
<package name="middleware">
|
|
4001
|
-
<metrics statements="
|
|
3948
|
+
<metrics statements="217" coveredstatements="195" conditionals="148" coveredconditionals="118" methods="28" coveredmethods="28"/>
|
|
4002
3949
|
<file name="appInfo.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/appInfo.js">
|
|
4003
3950
|
<metrics statements="10" coveredstatements="8" conditionals="11" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
4004
3951
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -4043,40 +3990,43 @@
|
|
|
4043
3990
|
<line num="62" count="4" type="stmt"/>
|
|
4044
3991
|
</file>
|
|
4045
3992
|
<file name="builder.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/builder.js">
|
|
4046
|
-
<metrics statements="
|
|
3993
|
+
<metrics statements="36" coveredstatements="32" conditionals="22" coveredconditionals="17" methods="3" coveredmethods="3"/>
|
|
4047
3994
|
<line num="1" count="24" type="stmt"/>
|
|
4048
3995
|
<line num="7" count="24" type="stmt"/>
|
|
4049
3996
|
<line num="8" count="24" type="stmt"/>
|
|
4050
3997
|
<line num="9" count="24" type="stmt"/>
|
|
4051
3998
|
<line num="10" count="24" type="stmt"/>
|
|
4052
|
-
<line num="
|
|
4053
|
-
<line num="
|
|
4054
|
-
<line num="
|
|
4055
|
-
<line num="28" count="
|
|
4056
|
-
<line num="
|
|
4057
|
-
<line num="33" count="
|
|
4058
|
-
<line num="
|
|
4059
|
-
<line num="36" count="
|
|
4060
|
-
<line num="
|
|
4061
|
-
<line num="
|
|
4062
|
-
<line num="
|
|
4063
|
-
<line num="48" count="
|
|
4064
|
-
<line num="
|
|
3999
|
+
<line num="11" count="24" type="stmt"/>
|
|
4000
|
+
<line num="13" count="24" type="stmt"/>
|
|
4001
|
+
<line num="25" count="1" type="stmt"/>
|
|
4002
|
+
<line num="28" count="1" type="cond" truecount="2" falsecount="2"/>
|
|
4003
|
+
<line num="29" count="0" type="stmt"/>
|
|
4004
|
+
<line num="33" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
4005
|
+
<line num="34" count="0" type="stmt"/>
|
|
4006
|
+
<line num="36" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
4007
|
+
<line num="37" count="0" type="stmt"/>
|
|
4008
|
+
<line num="41" count="1" type="stmt"/>
|
|
4009
|
+
<line num="45" count="1" type="stmt"/>
|
|
4010
|
+
<line num="48" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
4011
|
+
<line num="49" count="0" type="stmt"/>
|
|
4065
4012
|
<line num="51" count="1" type="stmt"/>
|
|
4066
4013
|
<line num="52" count="1" type="stmt"/>
|
|
4067
4014
|
<line num="53" count="1" type="stmt"/>
|
|
4015
|
+
<line num="54" count="1" type="stmt"/>
|
|
4068
4016
|
<line num="55" count="1" type="stmt"/>
|
|
4069
|
-
<line num="
|
|
4070
|
-
<line num="
|
|
4071
|
-
<line num="61" count="
|
|
4072
|
-
<line num="62" count="
|
|
4073
|
-
<line num="64" count="
|
|
4074
|
-
<line num="65" count="
|
|
4075
|
-
<line num="
|
|
4076
|
-
<line num="68" count="143" type="
|
|
4077
|
-
<line num="69" count="
|
|
4078
|
-
<line num="
|
|
4079
|
-
<line num="
|
|
4017
|
+
<line num="56" count="1" type="stmt"/>
|
|
4018
|
+
<line num="58" count="1" type="stmt"/>
|
|
4019
|
+
<line num="61" count="24" type="stmt"/>
|
|
4020
|
+
<line num="62" count="148" type="stmt"/>
|
|
4021
|
+
<line num="64" count="148" type="cond" truecount="2" falsecount="0"/>
|
|
4022
|
+
<line num="65" count="5" type="stmt"/>
|
|
4023
|
+
<line num="67" count="143" type="stmt"/>
|
|
4024
|
+
<line num="68" count="143" type="stmt"/>
|
|
4025
|
+
<line num="69" count="143" type="cond" truecount="2" falsecount="0"/>
|
|
4026
|
+
<line num="71" count="143" type="cond" truecount="4" falsecount="0"/>
|
|
4027
|
+
<line num="72" count="142" type="stmt"/>
|
|
4028
|
+
<line num="75" count="1" type="stmt"/>
|
|
4029
|
+
<line num="77" count="1" type="stmt"/>
|
|
4080
4030
|
</file>
|
|
4081
4031
|
<file name="currentapp.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/currentapp.js">
|
|
4082
4032
|
<metrics statements="53" coveredstatements="44" conditionals="41" coveredconditionals="32" methods="1" coveredmethods="1"/>
|
|
@@ -4156,29 +4106,29 @@
|
|
|
4156
4106
|
</file>
|
|
4157
4107
|
<file name="resourceId.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/resourceId.js">
|
|
4158
4108
|
<metrics statements="29" coveredstatements="29" conditionals="12" coveredconditionals="12" methods="9" coveredmethods="9"/>
|
|
4159
|
-
<line num="3" count="
|
|
4160
|
-
<line num="4" count="
|
|
4161
|
-
<line num="5" count="
|
|
4162
|
-
<line num="6" count="
|
|
4163
|
-
<line num="10" count="
|
|
4164
|
-
<line num="11" count="
|
|
4109
|
+
<line num="3" count="604" type="stmt"/>
|
|
4110
|
+
<line num="4" count="604" type="stmt"/>
|
|
4111
|
+
<line num="5" count="604" type="stmt"/>
|
|
4112
|
+
<line num="6" count="604" type="stmt"/>
|
|
4113
|
+
<line num="10" count="604" type="stmt"/>
|
|
4114
|
+
<line num="11" count="604" type="stmt"/>
|
|
4165
4115
|
<line num="15" count="72" type="stmt"/>
|
|
4166
4116
|
<line num="16" count="72" type="stmt"/>
|
|
4167
|
-
<line num="20" count="
|
|
4168
|
-
<line num="21" count="
|
|
4169
|
-
<line num="22" count="
|
|
4170
|
-
<line num="23" count="
|
|
4171
|
-
<line num="24" count="
|
|
4172
|
-
<line num="25" count="
|
|
4117
|
+
<line num="20" count="604" type="stmt"/>
|
|
4118
|
+
<line num="21" count="604" type="stmt"/>
|
|
4119
|
+
<line num="22" count="604" type="stmt"/>
|
|
4120
|
+
<line num="23" count="604" type="stmt"/>
|
|
4121
|
+
<line num="24" count="57" type="cond" truecount="2" falsecount="0"/>
|
|
4122
|
+
<line num="25" count="57" type="cond" truecount="2" falsecount="0"/>
|
|
4173
4123
|
<line num="26" count="1" type="stmt"/>
|
|
4174
|
-
<line num="28" count="
|
|
4175
|
-
<line num="29" count="
|
|
4176
|
-
<line num="31" count="
|
|
4124
|
+
<line num="28" count="56" type="cond" truecount="4" falsecount="0"/>
|
|
4125
|
+
<line num="29" count="52" type="stmt"/>
|
|
4126
|
+
<line num="31" count="56" type="cond" truecount="4" falsecount="0"/>
|
|
4177
4127
|
<line num="32" count="11" type="stmt"/>
|
|
4178
|
-
<line num="34" count="
|
|
4128
|
+
<line num="34" count="56" type="stmt"/>
|
|
4179
4129
|
<line num="39" count="24" type="stmt"/>
|
|
4180
4130
|
<line num="41" count="24" type="stmt"/>
|
|
4181
|
-
<line num="42" count="
|
|
4131
|
+
<line num="42" count="462" type="stmt"/>
|
|
4182
4132
|
<line num="45" count="24" type="stmt"/>
|
|
4183
4133
|
<line num="46" count="47" type="stmt"/>
|
|
4184
4134
|
<line num="52" count="24" type="stmt"/>
|
|
@@ -4241,8 +4191,154 @@
|
|
|
4241
4191
|
<line num="6" count="269" type="stmt"/>
|
|
4242
4192
|
</file>
|
|
4243
4193
|
</package>
|
|
4194
|
+
<package name="threads">
|
|
4195
|
+
<metrics statements="134" coveredstatements="108" conditionals="53" coveredconditionals="30" methods="22" coveredmethods="20"/>
|
|
4196
|
+
<file name="automation.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/automation.js">
|
|
4197
|
+
<metrics statements="76" coveredstatements="64" conditionals="23" coveredconditionals="13" methods="10" coveredmethods="9"/>
|
|
4198
|
+
<line num="2" count="4" type="stmt"/>
|
|
4199
|
+
<line num="3" count="4" type="stmt"/>
|
|
4200
|
+
<line num="4" count="4" type="stmt"/>
|
|
4201
|
+
<line num="5" count="4" type="stmt"/>
|
|
4202
|
+
<line num="6" count="4" type="stmt"/>
|
|
4203
|
+
<line num="7" count="4" type="stmt"/>
|
|
4204
|
+
<line num="8" count="4" type="stmt"/>
|
|
4205
|
+
<line num="9" count="4" type="stmt"/>
|
|
4206
|
+
<line num="10" count="4" type="stmt"/>
|
|
4207
|
+
<line num="11" count="4" type="stmt"/>
|
|
4208
|
+
<line num="12" count="4" type="stmt"/>
|
|
4209
|
+
<line num="13" count="4" type="stmt"/>
|
|
4210
|
+
<line num="15" count="4" type="stmt"/>
|
|
4211
|
+
<line num="16" count="4" type="stmt"/>
|
|
4212
|
+
<line num="17" count="4" type="stmt"/>
|
|
4213
|
+
<line num="26" count="7" type="stmt"/>
|
|
4214
|
+
<line num="27" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
4215
|
+
<line num="28" count="7" type="stmt"/>
|
|
4216
|
+
<line num="29" count="7" type="stmt"/>
|
|
4217
|
+
<line num="30" count="7" type="stmt"/>
|
|
4218
|
+
<line num="31" count="7" type="stmt"/>
|
|
4219
|
+
<line num="33" count="7" type="stmt"/>
|
|
4220
|
+
<line num="34" count="7" type="stmt"/>
|
|
4221
|
+
<line num="36" count="7" type="stmt"/>
|
|
4222
|
+
<line num="37" count="7" type="stmt"/>
|
|
4223
|
+
<line num="40" count="7" type="stmt"/>
|
|
4224
|
+
<line num="41" count="7" type="stmt"/>
|
|
4225
|
+
<line num="43" count="7" type="stmt"/>
|
|
4226
|
+
<line num="44" count="7" type="stmt"/>
|
|
4227
|
+
<line num="48" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
4228
|
+
<line num="49" count="0" type="stmt"/>
|
|
4229
|
+
<line num="51" count="7" type="stmt"/>
|
|
4230
|
+
<line num="55" count="5" type="stmt"/>
|
|
4231
|
+
<line num="56" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4232
|
+
<line num="57" count="0" type="stmt"/>
|
|
4233
|
+
<line num="59" count="5" type="stmt"/>
|
|
4234
|
+
<line num="63" count="7" type="stmt"/>
|
|
4235
|
+
<line num="64" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
4236
|
+
<line num="65" count="0" type="stmt"/>
|
|
4237
|
+
<line num="67" count="7" type="stmt"/>
|
|
4238
|
+
<line num="68" count="7" type="stmt"/>
|
|
4239
|
+
<line num="69" count="6" type="stmt"/>
|
|
4240
|
+
<line num="73" count="12" type="stmt"/>
|
|
4241
|
+
<line num="75" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
4242
|
+
<line num="76" count="7" type="stmt"/>
|
|
4243
|
+
<line num="78" count="12" type="stmt"/>
|
|
4244
|
+
<line num="82" count="7" type="stmt"/>
|
|
4245
|
+
<line num="83" count="7" type="stmt"/>
|
|
4246
|
+
<line num="84" count="6" type="stmt"/>
|
|
4247
|
+
<line num="85" count="6" type="stmt"/>
|
|
4248
|
+
<line num="87" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4249
|
+
<line num="88" count="0" type="stmt"/>
|
|
4250
|
+
<line num="89" count="0" type="stmt"/>
|
|
4251
|
+
<line num="91" count="5" type="stmt"/>
|
|
4252
|
+
<line num="92" count="5" type="stmt"/>
|
|
4253
|
+
<line num="93" count="5" type="stmt"/>
|
|
4254
|
+
<line num="98" count="5" type="stmt"/>
|
|
4255
|
+
<line num="99" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4256
|
+
<line num="100" count="5" type="stmt"/>
|
|
4257
|
+
<line num="101" count="5" type="stmt"/>
|
|
4258
|
+
<line num="108" count="5" type="stmt"/>
|
|
4259
|
+
<line num="111" count="5" type="cond" truecount="2" falsecount="2"/>
|
|
4260
|
+
<line num="112" count="0" type="stmt"/>
|
|
4261
|
+
<line num="113" count="0" type="stmt"/>
|
|
4262
|
+
<line num="117" count="0" type="stmt"/>
|
|
4263
|
+
<line num="119" count="5" type="stmt"/>
|
|
4264
|
+
<line num="121" count="0" type="stmt"/>
|
|
4265
|
+
<line num="122" count="0" type="stmt"/>
|
|
4266
|
+
<line num="127" count="6" type="cond" truecount="2" falsecount="2"/>
|
|
4267
|
+
<line num="128" count="0" type="stmt"/>
|
|
4268
|
+
<line num="130" count="6" type="stmt"/>
|
|
4269
|
+
<line num="134" count="4" type="stmt"/>
|
|
4270
|
+
<line num="135" count="7" type="stmt"/>
|
|
4271
|
+
<line num="139" count="7" type="stmt"/>
|
|
4272
|
+
<line num="142" count="6" type="stmt"/>
|
|
4273
|
+
<line num="145" count="0" type="stmt"/>
|
|
4274
|
+
</file>
|
|
4275
|
+
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/index.js">
|
|
4276
|
+
<metrics statements="29" coveredstatements="23" conditionals="18" coveredconditionals="10" methods="5" coveredmethods="5"/>
|
|
4277
|
+
<line num="1" count="34" type="stmt"/>
|
|
4278
|
+
<line num="2" count="34" type="stmt"/>
|
|
4279
|
+
<line num="4" count="34" type="stmt"/>
|
|
4280
|
+
<line num="10" count="14" type="stmt"/>
|
|
4281
|
+
<line num="11" count="14" type="cond" truecount="2" falsecount="1"/>
|
|
4282
|
+
<line num="13" count="4" type="stmt"/>
|
|
4283
|
+
<line num="14" count="4" type="stmt"/>
|
|
4284
|
+
<line num="16" count="10" type="stmt"/>
|
|
4285
|
+
<line num="17" count="10" type="stmt"/>
|
|
4286
|
+
<line num="19" count="0" type="stmt"/>
|
|
4287
|
+
<line num="21" count="14" type="stmt"/>
|
|
4288
|
+
<line num="26" count="67" type="stmt"/>
|
|
4289
|
+
<line num="27" count="67" type="cond" truecount="2" falsecount="0"/>
|
|
4290
|
+
<line num="28" count="67" type="stmt"/>
|
|
4291
|
+
<line num="33" count="67" type="cond" truecount="1" falsecount="1"/>
|
|
4292
|
+
<line num="34" count="0" type="stmt"/>
|
|
4293
|
+
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4294
|
+
<line num="39" count="0" type="stmt"/>
|
|
4295
|
+
<line num="41" count="0" type="stmt"/>
|
|
4296
|
+
<line num="46" count="14" type="stmt"/>
|
|
4297
|
+
<line num="49" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
4298
|
+
<line num="50" count="14" type="stmt"/>
|
|
4299
|
+
<line num="52" count="0" type="stmt"/>
|
|
4300
|
+
<line num="54" count="14" type="stmt"/>
|
|
4301
|
+
<line num="55" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
4302
|
+
<line num="56" count="2" type="stmt"/>
|
|
4303
|
+
<line num="58" count="8" type="stmt"/>
|
|
4304
|
+
<line num="65" count="34" type="stmt"/>
|
|
4305
|
+
<line num="66" count="34" type="stmt"/>
|
|
4306
|
+
</file>
|
|
4307
|
+
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/query.js">
|
|
4308
|
+
<metrics statements="29" coveredstatements="21" conditionals="12" coveredconditionals="7" methods="7" coveredmethods="6"/>
|
|
4309
|
+
<line num="2" count="1" type="stmt"/>
|
|
4310
|
+
<line num="3" count="1" type="stmt"/>
|
|
4311
|
+
<line num="4" count="1" type="stmt"/>
|
|
4312
|
+
<line num="5" count="1" type="stmt"/>
|
|
4313
|
+
<line num="8" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4314
|
+
<line num="9" count="0" type="stmt"/>
|
|
4315
|
+
<line num="10" count="0" type="stmt"/>
|
|
4316
|
+
<line num="12" count="0" type="stmt"/>
|
|
4317
|
+
<line num="15" count="2" type="stmt"/>
|
|
4318
|
+
<line num="19" count="4" type="stmt"/>
|
|
4319
|
+
<line num="20" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
4320
|
+
<line num="21" count="2" type="stmt"/>
|
|
4321
|
+
<line num="23" count="2" type="stmt"/>
|
|
4322
|
+
<line num="25" count="2" type="stmt"/>
|
|
4323
|
+
<line num="28" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4324
|
+
<line num="29" count="0" type="stmt"/>
|
|
4325
|
+
<line num="30" count="0" type="stmt"/>
|
|
4326
|
+
<line num="34" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4327
|
+
<line num="35" count="0" type="stmt"/>
|
|
4328
|
+
<line num="39" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4329
|
+
<line num="40" count="0" type="stmt"/>
|
|
4330
|
+
<line num="44" count="2" type="stmt"/>
|
|
4331
|
+
<line num="46" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4332
|
+
<line num="47" count="0" type="stmt"/>
|
|
4333
|
+
<line num="50" count="2" type="stmt"/>
|
|
4334
|
+
<line num="53" count="1" type="stmt"/>
|
|
4335
|
+
<line num="54" count="4" type="stmt"/>
|
|
4336
|
+
<line num="61" count="2" type="stmt"/>
|
|
4337
|
+
<line num="64" count="2" type="stmt"/>
|
|
4338
|
+
</file>
|
|
4339
|
+
</package>
|
|
4244
4340
|
<package name="utilities">
|
|
4245
|
-
<metrics statements="
|
|
4341
|
+
<metrics statements="322" coveredstatements="232" conditionals="121" coveredconditionals="66" methods="62" coveredmethods="42"/>
|
|
4246
4342
|
<file name="bcrypt.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/bcrypt.js">
|
|
4247
4343
|
<metrics statements="9" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
4248
4344
|
<line num="3" count="0" type="stmt"/>
|
|
@@ -4423,74 +4519,75 @@
|
|
|
4423
4519
|
<line num="17" count="1" type="stmt"/>
|
|
4424
4520
|
<line num="19" count="1" type="stmt"/>
|
|
4425
4521
|
<line num="28" count="36" type="stmt"/>
|
|
4426
|
-
<line num="29" count="
|
|
4522
|
+
<line num="29" count="187" type="stmt"/>
|
|
4427
4523
|
<line num="36" count="36" type="stmt"/>
|
|
4428
4524
|
<line num="37" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4429
4525
|
<line num="39" count="2" type="stmt"/>
|
|
4430
4526
|
<line num="41" count="0" type="stmt"/>
|
|
4431
|
-
<line num="
|
|
4432
|
-
<line num="
|
|
4433
|
-
<line num="
|
|
4434
|
-
<line num="
|
|
4435
|
-
<line num="
|
|
4436
|
-
<line num="
|
|
4437
|
-
<line num="
|
|
4438
|
-
<line num="
|
|
4439
|
-
<line num="
|
|
4440
|
-
<line num="
|
|
4441
|
-
<line num="76" count="3" type="stmt"/>
|
|
4527
|
+
<line num="55" count="36" type="stmt"/>
|
|
4528
|
+
<line num="56" count="187" type="cond" truecount="1" falsecount="1"/>
|
|
4529
|
+
<line num="57" count="0" type="stmt"/>
|
|
4530
|
+
<line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4531
|
+
<line num="62" count="0" type="stmt"/>
|
|
4532
|
+
<line num="64" count="0" type="stmt"/>
|
|
4533
|
+
<line num="66" count="187" type="stmt"/>
|
|
4534
|
+
<line num="70" count="36" type="stmt"/>
|
|
4535
|
+
<line num="71" count="2" type="stmt"/>
|
|
4536
|
+
<line num="76" count="36" type="stmt"/>
|
|
4442
4537
|
<line num="77" count="3" type="stmt"/>
|
|
4443
|
-
<line num="
|
|
4538
|
+
<line num="78" count="3" type="stmt"/>
|
|
4444
4539
|
<line num="81" count="3" type="stmt"/>
|
|
4445
4540
|
<line num="82" count="3" type="stmt"/>
|
|
4446
|
-
<line num="83" count="
|
|
4541
|
+
<line num="83" count="3" type="stmt"/>
|
|
4447
4542
|
<line num="84" count="0" type="stmt"/>
|
|
4448
|
-
<line num="
|
|
4543
|
+
<line num="85" count="0" type="stmt"/>
|
|
4449
4544
|
<line num="87" count="3" type="stmt"/>
|
|
4450
|
-
<line num="
|
|
4451
|
-
<line num="90" count="3" type="
|
|
4452
|
-
<line num="91" count="
|
|
4453
|
-
<line num="
|
|
4545
|
+
<line num="88" count="3" type="stmt"/>
|
|
4546
|
+
<line num="90" count="3" type="stmt"/>
|
|
4547
|
+
<line num="91" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
4548
|
+
<line num="92" count="0" type="stmt"/>
|
|
4454
4549
|
<line num="94" count="3" type="stmt"/>
|
|
4455
|
-
<line num="
|
|
4456
|
-
<line num="102" count="
|
|
4550
|
+
<line num="95" count="3" type="stmt"/>
|
|
4551
|
+
<line num="102" count="36" type="stmt"/>
|
|
4457
4552
|
<line num="103" count="1" type="stmt"/>
|
|
4458
|
-
<line num="
|
|
4459
|
-
<line num="108" count="
|
|
4553
|
+
<line num="104" count="1" type="stmt"/>
|
|
4554
|
+
<line num="108" count="36" type="stmt"/>
|
|
4460
4555
|
<line num="109" count="4" type="stmt"/>
|
|
4461
|
-
<line num="
|
|
4556
|
+
<line num="110" count="4" type="stmt"/>
|
|
4462
4557
|
<line num="112" count="4" type="stmt"/>
|
|
4463
|
-
<line num="113" count="
|
|
4464
|
-
<line num="114" count="0" type="
|
|
4465
|
-
<line num="
|
|
4466
|
-
<line num="120" count="
|
|
4467
|
-
<line num="
|
|
4468
|
-
<line num="125" count="
|
|
4469
|
-
<line num="
|
|
4470
|
-
<line num="135" count="
|
|
4471
|
-
<line num="
|
|
4558
|
+
<line num="113" count="4" type="stmt"/>
|
|
4559
|
+
<line num="114" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4560
|
+
<line num="115" count="0" type="stmt"/>
|
|
4561
|
+
<line num="120" count="4" type="cond" truecount="3" falsecount="1"/>
|
|
4562
|
+
<line num="121" count="0" type="stmt"/>
|
|
4563
|
+
<line num="125" count="36" type="stmt"/>
|
|
4564
|
+
<line num="126" count="0" type="stmt"/>
|
|
4565
|
+
<line num="135" count="36" type="stmt"/>
|
|
4566
|
+
<line num="136" count="0" type="stmt"/>
|
|
4472
4567
|
<line num="138" count="0" type="stmt"/>
|
|
4473
|
-
<line num="
|
|
4474
|
-
<line num="144" count="
|
|
4568
|
+
<line num="139" count="0" type="stmt"/>
|
|
4569
|
+
<line num="144" count="36" type="stmt"/>
|
|
4475
4570
|
<line num="145" count="0" type="stmt"/>
|
|
4476
4571
|
<line num="146" count="0" type="stmt"/>
|
|
4477
|
-
<line num="147" count="0" type="
|
|
4478
|
-
<line num="
|
|
4572
|
+
<line num="147" count="0" type="stmt"/>
|
|
4573
|
+
<line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4574
|
+
<line num="150" count="0" type="stmt"/>
|
|
4479
4575
|
</file>
|
|
4480
4576
|
<file name="scriptRunner.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/scriptRunner.js">
|
|
4481
|
-
<metrics statements="
|
|
4577
|
+
<metrics statements="13" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
4482
4578
|
<line num="1" count="34" type="stmt"/>
|
|
4483
4579
|
<line num="2" count="34" type="stmt"/>
|
|
4484
|
-
<line num="
|
|
4580
|
+
<line num="3" count="34" type="stmt"/>
|
|
4485
4581
|
<line num="7" count="0" type="stmt"/>
|
|
4486
4582
|
<line num="8" count="0" type="stmt"/>
|
|
4487
|
-
<line num="9" count="0" type="stmt"/>
|
|
4488
|
-
<line num="10" count="0" type="stmt"/>
|
|
4489
4583
|
<line num="11" count="0" type="stmt"/>
|
|
4490
4584
|
<line num="12" count="0" type="stmt"/>
|
|
4491
|
-
<line num="
|
|
4492
|
-
<line num="
|
|
4493
|
-
<line num="
|
|
4585
|
+
<line num="13" count="0" type="stmt"/>
|
|
4586
|
+
<line num="14" count="0" type="stmt"/>
|
|
4587
|
+
<line num="15" count="0" type="stmt"/>
|
|
4588
|
+
<line num="19" count="0" type="stmt"/>
|
|
4589
|
+
<line num="20" count="0" type="stmt"/>
|
|
4590
|
+
<line num="24" count="34" type="stmt"/>
|
|
4494
4591
|
</file>
|
|
4495
4592
|
<file name="security.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/security.js">
|
|
4496
4593
|
<metrics statements="28" coveredstatements="23" conditionals="15" coveredconditionals="8" methods="4" coveredmethods="4"/>
|
|
@@ -4599,9 +4696,9 @@
|
|
|
4599
4696
|
</file>
|
|
4600
4697
|
</package>
|
|
4601
4698
|
<package name="utilities.queue">
|
|
4602
|
-
<metrics statements="
|
|
4699
|
+
<metrics statements="21" coveredstatements="18" conditionals="7" coveredconditionals="4" methods="8" coveredmethods="6"/>
|
|
4603
4700
|
<file name="inMemoryQueue.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/queue/inMemoryQueue.js">
|
|
4604
|
-
<metrics statements="
|
|
4701
|
+
<metrics statements="21" coveredstatements="18" conditionals="7" coveredconditionals="4" methods="8" coveredmethods="6"/>
|
|
4605
4702
|
<line num="1" count="33" type="stmt"/>
|
|
4606
4703
|
<line num="13" count="8" type="stmt"/>
|
|
4607
4704
|
<line num="33" count="33" type="stmt"/>
|
|
@@ -4621,7 +4718,8 @@
|
|
|
4621
4718
|
<line num="74" count="8" type="stmt"/>
|
|
4622
4719
|
<line num="83" count="0" type="stmt"/>
|
|
4623
4720
|
<line num="90" count="185" type="stmt"/>
|
|
4624
|
-
<line num="
|
|
4721
|
+
<line num="97" count="0" type="stmt"/>
|
|
4722
|
+
<line num="101" count="33" type="stmt"/>
|
|
4625
4723
|
</file>
|
|
4626
4724
|
</package>
|
|
4627
4725
|
<package name="utilities.routing">
|