@budibase/server 1.0.26 → 1.0.27-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__mocks__/node-fetch.ts +21 -0
- package/builder/assets/bb-spaceship.8f6e81e1.svg +227 -0
- package/builder/assets/{index.4fb3f887.css → index.0dce895b.css} +1 -1
- package/builder/assets/index.b98dd7ca.js +1348 -0
- package/builder/assets/{vendor.470042a4.js → vendor.f9faf6ab.js} +88 -88
- package/builder/index.html +3 -3
- package/coverage/clover.xml +1364 -1121
- package/coverage/coverage-final.json +37 -36
- package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
- package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/controllers/application.js.html +59 -59
- package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
- package/coverage/lcov-report/api/controllers/automation.js.html +22 -10
- 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 +170 -68
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/api/controllers/hosting.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +39 -54
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query/index.html +126 -0
- package/coverage/lcov-report/api/controllers/{query.js.html → query/index.js.html} +225 -114
- package/coverage/lcov-report/api/controllers/query/validation.js.html +206 -0
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +22 -22
- package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internal.js.html +38 -11
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +7 -4
- package/coverage/lcov-report/api/controllers/row/utils.js.html +29 -20
- package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
- package/coverage/lcov-report/api/controllers/user.js.html +108 -9
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
- package/coverage/lcov-report/api/controllers/webhook.js.html +18 -6
- package/coverage/lcov-report/api/index.html +1 -1
- package/coverage/lcov-report/api/index.js.html +5 -5
- package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
- package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/routes/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 +1 -1
- package/coverage/lcov-report/api/routes/hosting.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +9 -9
- package/coverage/lcov-report/api/routes/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/integration.js.html +1 -1
- package/coverage/lcov-report/api/routes/layout.js.html +1 -1
- package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
- package/coverage/lcov-report/api/routes/permission.js.html +1 -1
- package/coverage/lcov-report/api/routes/query.js.html +19 -85
- package/coverage/lcov-report/api/routes/role.js.html +1 -1
- package/coverage/lcov-report/api/routes/routing.js.html +1 -1
- package/coverage/lcov-report/api/routes/row.js.html +1 -1
- package/coverage/lcov-report/api/routes/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.js.html +1 -1
- package/coverage/lcov-report/api/routes/static.js.html +1 -1
- package/coverage/lcov-report/api/routes/table.js.html +1 -1
- package/coverage/lcov-report/api/routes/templates.js.html +1 -1
- package/coverage/lcov-report/api/routes/user.js.html +32 -2
- package/coverage/lcov-report/api/routes/view.js.html +1 -1
- package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/actions.js.html +1 -1
- package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
- package/coverage/lcov-report/automations/bullboard.js.html +1 -1
- package/coverage/lcov-report/automations/index.html +20 -20
- package/coverage/lcov-report/automations/index.js.html +1 -1
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/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 +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +31 -7
- package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +11 -11
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +5 -8
- package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/triggers.js.html +1 -1
- package/coverage/lcov-report/automations/utils.js.html +48 -15
- package/coverage/lcov-report/constants/index.html +1 -1
- package/coverage/lcov-report/constants/index.js.html +22 -22
- 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 +18 -18
- package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
- package/coverage/lcov-report/db/index.html +15 -15
- package/coverage/lcov-report/db/index.js.html +3 -3
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
- package/coverage/lcov-report/db/newid.js.html +4 -4
- package/coverage/lcov-report/db/utils.js.html +107 -80
- package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
- package/coverage/lcov-report/events/index.html +1 -1
- package/coverage/lcov-report/events/index.js.html +1 -1
- package/coverage/lcov-report/events/utils.js.html +1 -1
- package/coverage/lcov-report/index.html +99 -84
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
- package/coverage/lcov-report/middleware/authorized.js.html +10 -10
- package/coverage/lcov-report/middleware/builder.js.html +8 -8
- package/coverage/lcov-report/middleware/currentapp.js.html +28 -28
- package/coverage/lcov-report/middleware/index.html +1 -1
- package/coverage/lcov-report/middleware/joi-validator.js.html +11 -11
- package/coverage/lcov-report/middleware/resourceId.js.html +18 -18
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
- package/coverage/lcov-report/middleware/utils.js.html +2 -2
- package/coverage/lcov-report/threads/automation.js.html +1 -1
- package/coverage/lcov-report/threads/index.html +31 -31
- package/coverage/lcov-report/threads/index.js.html +12 -12
- package/coverage/lcov-report/threads/query.js.html +396 -69
- package/coverage/lcov-report/threads/utils.js.html +358 -13
- package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
- package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
- package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
- package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
- package/coverage/lcov-report/utilities/global.js.html +13 -13
- package/coverage/lcov-report/utilities/index.html +19 -19
- package/coverage/lcov-report/utilities/index.js.html +69 -36
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +2 -2
- package/coverage/lcov-report/utilities/queue/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.html +19 -19
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +235 -10
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
- package/coverage/lcov-report/utilities/security.js.html +2 -2
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +19 -19
- package/coverage/lcov.info +2294 -1874
- package/dist/api/controllers/automation.js +7 -5
- package/dist/api/controllers/datasource.js +29 -0
- package/dist/api/controllers/query/import/index.js +79 -0
- package/dist/api/controllers/query/import/sources/base/index.js +64 -0
- package/dist/api/controllers/query/import/sources/base/openapi.js +42 -0
- package/dist/api/controllers/query/import/sources/curl.js +96 -0
- package/dist/api/controllers/query/import/sources/openapi2.js +142 -0
- package/dist/api/controllers/query/import/sources/tests/openapi2/data/crud/crud.json +253 -0
- package/dist/api/controllers/query/import/sources/tests/openapi2/data/petstore/petstore.json +1054 -0
- package/dist/api/controllers/{query.js → query/index.js} +86 -52
- package/dist/api/controllers/query/validation.js +38 -0
- package/dist/api/controllers/row/internal.js +14 -6
- package/dist/api/controllers/row/internalSearch.js +2 -1
- package/dist/api/controllers/row/utils.js +13 -6
- package/dist/api/controllers/user.js +37 -1
- package/dist/api/controllers/webhook.js +4 -0
- package/dist/api/routes/query.js +5 -33
- package/dist/api/routes/user.js +3 -1
- package/dist/automations/steps/executeQuery.js +8 -1
- package/dist/automations/steps/outgoingWebhook.js +2 -3
- package/dist/automations/utils.js +10 -0
- package/dist/db/utils.js +8 -0
- package/dist/definitions/datasource.js +6 -1
- package/dist/integrations/base/sqlTable.js +1 -1
- package/dist/integrations/rest.js +207 -117
- package/dist/package.json +11 -4
- package/dist/tests/utilities/TestConfiguration.js +47 -0
- package/dist/threads/query.js +148 -40
- package/dist/threads/utils.js +105 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utilities/fileSystem/utilities.js +2 -1
- package/dist/utilities/index.js +10 -0
- package/dist/utilities/rowProcessor/index.js +76 -0
- package/package.json +12 -5
- package/src/api/controllers/automation.js +8 -4
- package/src/api/controllers/datasource.js +34 -0
- package/src/api/controllers/query/import/index.ts +85 -0
- package/src/api/controllers/query/import/sources/base/index.ts +87 -0
- package/src/api/controllers/query/import/sources/base/openapi.ts +24 -0
- package/src/api/controllers/query/import/sources/curl.ts +102 -0
- package/src/api/controllers/query/import/sources/openapi2.ts +163 -0
- package/src/api/controllers/query/import/sources/tests/curl/curl.spec.js +103 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/delete.txt +1 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/empty-body.txt +2 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/get.txt +1 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/headers.txt +3 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/patch.txt +2 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/path.txt +1 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/post.txt +2 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/put.txt +2 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/query.txt +1 -0
- package/src/api/controllers/query/import/sources/tests/openapi2/data/crud/crud.json +253 -0
- package/src/api/controllers/query/import/sources/tests/openapi2/data/crud/crud.yaml +160 -0
- package/src/api/controllers/query/import/sources/tests/openapi2/data/petstore/petstore.json +1054 -0
- package/src/api/controllers/query/import/sources/tests/openapi2/data/petstore/petstore.yaml +711 -0
- package/src/api/controllers/query/import/sources/tests/openapi2/openapi2.spec.js +238 -0
- package/src/api/controllers/query/import/tests/index.spec.js +109 -0
- package/src/api/controllers/query/index.js +195 -0
- package/src/api/controllers/query/validation.js +42 -0
- package/src/api/controllers/row/internal.js +14 -5
- package/src/api/controllers/row/internalSearch.js +2 -1
- package/src/api/controllers/row/utils.js +11 -8
- package/src/api/controllers/user.js +33 -0
- package/src/api/controllers/webhook.js +4 -0
- package/src/api/routes/query.js +13 -35
- package/src/api/routes/tests/datasource.spec.js +45 -0
- package/src/api/routes/tests/query.spec.js +69 -0
- package/src/api/routes/user.js +10 -0
- package/src/automations/steps/executeQuery.js +9 -1
- package/src/automations/steps/outgoingWebhook.js +2 -3
- package/src/automations/utils.js +11 -0
- package/src/db/utils.js +9 -0
- package/src/definitions/common.ts +2 -16
- package/src/definitions/datasource.ts +83 -1
- package/src/integrations/base/IntegrationBase.ts +4 -4
- package/src/integrations/base/sqlTable.ts +1 -1
- package/src/integrations/oracle.ts +1 -1
- package/src/integrations/rest.ts +230 -137
- package/src/integrations/tests/rest.spec.js +167 -19
- package/src/tests/utilities/TestConfiguration.js +57 -0
- package/src/threads/query.js +149 -40
- package/src/threads/utils.js +115 -0
- package/src/utilities/fileSystem/utilities.js +2 -0
- package/src/utilities/index.js +11 -0
- package/src/utilities/rowProcessor/index.js +75 -0
- package/builder/assets/index.8adef83f.js +0 -1316
- package/src/api/controllers/query.js +0 -158
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="1641911475198" clover="3.2.0">
|
|
3
|
+
<project timestamp="1641911475198" name="All files">
|
|
4
|
+
<metrics statements="4630" coveredstatements="3425" conditionals="1852" coveredconditionals="1011" methods="661" coveredmethods="465" elements="7143" coveredelements="4901" complexity="0" loc="4630" ncloc="4630" packages="21" files="140" classes="140"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="29" coveredstatements="27" conditionals="5" coveredconditionals="2" methods="5" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
<line num="13" count="23" type="stmt"/>
|
|
17
17
|
<line num="15" count="23" type="stmt"/>
|
|
18
18
|
<line num="17" count="23" type="stmt"/>
|
|
19
|
-
<line num="31" count="
|
|
20
|
-
<line num="35" count="
|
|
19
|
+
<line num="31" count="167" type="stmt"/>
|
|
20
|
+
<line num="35" count="167" type="stmt"/>
|
|
21
21
|
<line num="37" count="1" type="stmt"/>
|
|
22
22
|
<line num="38" count="1" type="stmt"/>
|
|
23
23
|
<line num="60" count="23" type="stmt"/>
|
|
24
|
-
<line num="61" count="
|
|
25
|
-
<line num="62" count="
|
|
24
|
+
<line num="61" count="163" type="stmt"/>
|
|
25
|
+
<line num="62" count="163" type="stmt"/>
|
|
26
26
|
<line num="64" count="37" type="cond" truecount="1" falsecount="2"/>
|
|
27
27
|
<line num="65" count="37" type="stmt"/>
|
|
28
28
|
<line num="70" count="37" type="cond" truecount="1" falsecount="1"/>
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</file>
|
|
39
39
|
</package>
|
|
40
40
|
<package name="api.controllers">
|
|
41
|
-
<metrics statements="
|
|
41
|
+
<metrics statements="1080" coveredstatements="769" conditionals="357" coveredconditionals="165" methods="149" coveredmethods="103"/>
|
|
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"/>
|
|
@@ -105,40 +105,40 @@
|
|
|
105
105
|
<line num="46" count="33" type="stmt"/>
|
|
106
106
|
<line num="47" count="33" type="stmt"/>
|
|
107
107
|
<line num="49" count="33" type="stmt"/>
|
|
108
|
-
<line num="53" count="
|
|
109
|
-
<line num="59" count="
|
|
110
|
-
<line num="63" count="
|
|
108
|
+
<line num="53" count="195" type="stmt"/>
|
|
109
|
+
<line num="59" count="390" type="stmt"/>
|
|
110
|
+
<line num="63" count="195" type="stmt"/>
|
|
111
111
|
<line num="69" count="12" type="stmt"/>
|
|
112
|
-
<line num="73" count="
|
|
113
|
-
<line num="80" count="
|
|
112
|
+
<line num="73" count="193" type="cond" truecount="4" falsecount="0"/>
|
|
113
|
+
<line num="80" count="190" type="cond" truecount="1" falsecount="1"/>
|
|
114
114
|
<line num="81" count="0" type="stmt"/>
|
|
115
|
-
<line num="82" count="
|
|
116
|
-
<line num="83" count="
|
|
117
|
-
<line num="85" count="
|
|
118
|
-
<line num="86" count="
|
|
119
|
-
<line num="88" count="
|
|
120
|
-
<line num="89" count="
|
|
121
|
-
<line num="91" count="
|
|
122
|
-
<line num="92" count="
|
|
115
|
+
<line num="82" count="190" type="cond" truecount="2" falsecount="0"/>
|
|
116
|
+
<line num="83" count="187" type="stmt"/>
|
|
117
|
+
<line num="85" count="190" type="cond" truecount="2" falsecount="0"/>
|
|
118
|
+
<line num="86" count="187" type="stmt"/>
|
|
119
|
+
<line num="88" count="190" type="cond" truecount="2" falsecount="0"/>
|
|
120
|
+
<line num="89" count="15" type="stmt"/>
|
|
121
|
+
<line num="91" count="175" type="stmt"/>
|
|
122
|
+
<line num="92" count="175" type="cond" truecount="1" falsecount="1"/>
|
|
123
123
|
<line num="98" count="0" type="stmt"/>
|
|
124
|
-
<line num="100" count="
|
|
125
|
-
<line num="104" count="
|
|
126
|
-
<line num="105" count="
|
|
127
|
-
<line num="106" count="
|
|
128
|
-
<line num="108" count="
|
|
129
|
-
<line num="109" count="
|
|
130
|
-
<line num="118" count="
|
|
131
|
-
<line num="119" count="
|
|
132
|
-
<line num="120" count="
|
|
133
|
-
<line num="124" count="
|
|
124
|
+
<line num="100" count="175" type="stmt"/>
|
|
125
|
+
<line num="104" count="185" type="cond" truecount="1" falsecount="1"/>
|
|
126
|
+
<line num="105" count="185" type="stmt"/>
|
|
127
|
+
<line num="106" count="185" type="stmt"/>
|
|
128
|
+
<line num="108" count="185" type="stmt"/>
|
|
129
|
+
<line num="109" count="185" type="stmt"/>
|
|
130
|
+
<line num="118" count="185" type="stmt"/>
|
|
131
|
+
<line num="119" count="185" type="stmt"/>
|
|
132
|
+
<line num="120" count="185" type="stmt"/>
|
|
133
|
+
<line num="124" count="185" type="cond" truecount="3" falsecount="1"/>
|
|
134
134
|
<line num="125" count="0" type="stmt"/>
|
|
135
135
|
<line num="126" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
136
136
|
<line num="127" count="0" type="stmt"/>
|
|
137
|
-
<line num="129" count="
|
|
137
|
+
<line num="129" count="185" type="cond" truecount="3" falsecount="1"/>
|
|
138
138
|
<line num="132" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
139
139
|
<line num="133" count="0" type="stmt"/>
|
|
140
|
-
<line num="137" count="
|
|
141
|
-
<line num="140" count="
|
|
140
|
+
<line num="137" count="185" type="stmt"/>
|
|
141
|
+
<line num="140" count="185" type="stmt"/>
|
|
142
142
|
<line num="143" count="33" type="stmt"/>
|
|
143
143
|
<line num="144" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
144
144
|
<line num="145" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -161,35 +161,35 @@
|
|
|
161
161
|
<line num="173" count="1" type="stmt"/>
|
|
162
162
|
<line num="177" count="1" type="stmt"/>
|
|
163
163
|
<line num="184" count="33" type="stmt"/>
|
|
164
|
-
<line num="185" count="
|
|
165
|
-
<line num="186" count="
|
|
166
|
-
<line num="187" count="
|
|
167
|
-
<line num="188" count="
|
|
168
|
-
<line num="191" count="
|
|
169
|
-
<line num="192" count="
|
|
170
|
-
<line num="193" count="
|
|
171
|
-
<line num="194" count="
|
|
172
|
-
<line num="197" count="
|
|
164
|
+
<line num="185" count="194" type="stmt"/>
|
|
165
|
+
<line num="186" count="194" type="stmt"/>
|
|
166
|
+
<line num="187" count="194" type="stmt"/>
|
|
167
|
+
<line num="188" count="194" type="stmt"/>
|
|
168
|
+
<line num="191" count="194" type="cond" truecount="4" falsecount="0"/>
|
|
169
|
+
<line num="192" count="192" type="stmt"/>
|
|
170
|
+
<line num="193" count="192" type="stmt"/>
|
|
171
|
+
<line num="194" count="192" type="stmt"/>
|
|
172
|
+
<line num="197" count="194" type="stmt"/>
|
|
173
173
|
<line num="205" count="33" type="stmt"/>
|
|
174
|
-
<line num="206" count="
|
|
175
|
-
<line num="207" count="
|
|
176
|
-
<line num="212" count="
|
|
174
|
+
<line num="206" count="185" type="stmt"/>
|
|
175
|
+
<line num="207" count="185" type="stmt"/>
|
|
176
|
+
<line num="212" count="185" type="cond" truecount="2" falsecount="2"/>
|
|
177
177
|
<line num="213" count="0" type="stmt"/>
|
|
178
|
-
<line num="215" count="
|
|
179
|
-
<line num="216" count="
|
|
180
|
-
<line num="218" count="
|
|
181
|
-
<line num="219" count="
|
|
182
|
-
<line num="221" count="
|
|
183
|
-
<line num="223" count="
|
|
178
|
+
<line num="215" count="185" type="stmt"/>
|
|
179
|
+
<line num="216" count="185" type="stmt"/>
|
|
180
|
+
<line num="218" count="185" type="stmt"/>
|
|
181
|
+
<line num="219" count="185" type="stmt"/>
|
|
182
|
+
<line num="221" count="185" type="stmt"/>
|
|
183
|
+
<line num="223" count="185" type="stmt"/>
|
|
184
184
|
<line num="224" count="0" type="stmt"/>
|
|
185
|
-
<line num="228" count="
|
|
186
|
-
<line num="243" count="
|
|
187
|
-
<line num="244" count="
|
|
188
|
-
<line num="248" count="
|
|
189
|
-
<line num="249" count="
|
|
190
|
-
<line num="257" count="
|
|
191
|
-
<line num="258" count="
|
|
192
|
-
<line num="259" count="
|
|
185
|
+
<line num="228" count="185" type="stmt"/>
|
|
186
|
+
<line num="243" count="185" type="stmt"/>
|
|
187
|
+
<line num="244" count="185" type="stmt"/>
|
|
188
|
+
<line num="248" count="185" type="cond" truecount="1" falsecount="1"/>
|
|
189
|
+
<line num="249" count="185" type="stmt"/>
|
|
190
|
+
<line num="257" count="185" type="stmt"/>
|
|
191
|
+
<line num="258" count="185" type="stmt"/>
|
|
192
|
+
<line num="259" count="185" type="stmt"/>
|
|
193
193
|
<line num="262" count="33" type="stmt"/>
|
|
194
194
|
<line num="263" count="2" type="stmt"/>
|
|
195
195
|
<line num="264" count="2" type="stmt"/>
|
|
@@ -258,12 +258,12 @@
|
|
|
258
258
|
<line num="397" count="5" type="stmt"/>
|
|
259
259
|
<line num="398" count="5" type="stmt"/>
|
|
260
260
|
<line num="401" count="33" type="stmt"/>
|
|
261
|
-
<line num="402" count="
|
|
262
|
-
<line num="404" count="
|
|
263
|
-
<line num="405" count="
|
|
264
|
-
<line num="406" count="
|
|
265
|
-
<line num="407" count="
|
|
266
|
-
<line num="410" count="
|
|
261
|
+
<line num="402" count="185" type="stmt"/>
|
|
262
|
+
<line num="404" count="185" type="stmt"/>
|
|
263
|
+
<line num="405" count="185" type="stmt"/>
|
|
264
|
+
<line num="406" count="370" type="stmt"/>
|
|
265
|
+
<line num="407" count="370" type="stmt"/>
|
|
266
|
+
<line num="410" count="185" type="stmt"/>
|
|
267
267
|
</file>
|
|
268
268
|
<file name="auth.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/auth.js">
|
|
269
269
|
<metrics statements="27" coveredstatements="23" conditionals="8" coveredconditionals="4" methods="1" coveredmethods="1"/>
|
|
@@ -296,101 +296,103 @@
|
|
|
296
296
|
<line num="53" count="0" type="stmt"/>
|
|
297
297
|
</file>
|
|
298
298
|
<file name="automation.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/automation.js">
|
|
299
|
-
<metrics statements="
|
|
299
|
+
<metrics statements="96" coveredstatements="86" conditionals="32" coveredconditionals="23" methods="14" coveredmethods="13"/>
|
|
300
300
|
<line num="1" count="33" type="stmt"/>
|
|
301
301
|
<line num="2" count="33" type="stmt"/>
|
|
302
302
|
<line num="3" count="33" type="stmt"/>
|
|
303
303
|
<line num="4" count="33" type="stmt"/>
|
|
304
|
-
<line num="8" count="33" type="stmt"/>
|
|
305
304
|
<line num="9" count="33" type="stmt"/>
|
|
306
305
|
<line num="10" count="33" type="stmt"/>
|
|
307
306
|
<line num="11" count="33" type="stmt"/>
|
|
308
|
-
<line num="
|
|
309
|
-
<line num="
|
|
310
|
-
<line num="
|
|
311
|
-
<line num="
|
|
312
|
-
<line num="
|
|
313
|
-
<line num="37" count="22" type="
|
|
314
|
-
<line num="38" count="
|
|
315
|
-
<line num="40" count="22" type="
|
|
316
|
-
<line num="41" count="
|
|
317
|
-
<line num="
|
|
318
|
-
<line num="44" count="
|
|
319
|
-
<line num="45" count="
|
|
320
|
-
<line num="47" count="
|
|
321
|
-
<line num="48" count="
|
|
307
|
+
<line num="12" count="33" type="stmt"/>
|
|
308
|
+
<line num="14" count="33" type="stmt"/>
|
|
309
|
+
<line num="15" count="33" type="stmt"/>
|
|
310
|
+
<line num="24" count="1" type="stmt"/>
|
|
311
|
+
<line num="29" count="1" type="stmt"/>
|
|
312
|
+
<line num="37" count="22" type="cond" truecount="1" falsecount="1"/>
|
|
313
|
+
<line num="38" count="0" type="stmt"/>
|
|
314
|
+
<line num="40" count="22" type="stmt"/>
|
|
315
|
+
<line num="41" count="22" type="stmt"/>
|
|
316
|
+
<line num="42" count="22" type="stmt"/>
|
|
317
|
+
<line num="44" count="22" type="cond" truecount="2" falsecount="0"/>
|
|
318
|
+
<line num="45" count="18" type="stmt"/>
|
|
319
|
+
<line num="47" count="22" type="stmt"/>
|
|
320
|
+
<line num="48" count="26" type="cond" truecount="1" falsecount="1"/>
|
|
322
321
|
<line num="49" count="0" type="stmt"/>
|
|
323
|
-
<line num="
|
|
324
|
-
<line num="
|
|
325
|
-
<line num="
|
|
326
|
-
<line num="
|
|
327
|
-
<line num="
|
|
328
|
-
<line num="
|
|
329
|
-
<line num="
|
|
330
|
-
<line num="
|
|
331
|
-
<line num="
|
|
332
|
-
<line num="
|
|
322
|
+
<line num="51" count="26" type="stmt"/>
|
|
323
|
+
<line num="52" count="7" type="cond" truecount="3" falsecount="1"/>
|
|
324
|
+
<line num="53" count="0" type="stmt"/>
|
|
325
|
+
<line num="57" count="22" type="stmt"/>
|
|
326
|
+
<line num="60" count="33" type="stmt"/>
|
|
327
|
+
<line num="61" count="21" type="stmt"/>
|
|
328
|
+
<line num="62" count="21" type="stmt"/>
|
|
329
|
+
<line num="63" count="21" type="stmt"/>
|
|
330
|
+
<line num="66" count="21" type="cond" truecount="4" falsecount="0"/>
|
|
331
|
+
<line num="67" count="1" type="stmt"/>
|
|
333
332
|
<line num="70" count="20" type="stmt"/>
|
|
333
|
+
<line num="72" count="20" type="stmt"/>
|
|
334
|
+
<line num="73" count="20" type="stmt"/>
|
|
334
335
|
<line num="74" count="20" type="stmt"/>
|
|
335
|
-
<line num="75" count="20" type="stmt"/>
|
|
336
|
-
<line num="77" count="20" type="stmt"/>
|
|
337
336
|
<line num="78" count="20" type="stmt"/>
|
|
338
|
-
<line num="
|
|
339
|
-
<line num="
|
|
340
|
-
<line num="
|
|
341
|
-
<line num="
|
|
342
|
-
<line num="91" count="2" type="stmt"/>
|
|
337
|
+
<line num="79" count="20" type="stmt"/>
|
|
338
|
+
<line num="81" count="20" type="stmt"/>
|
|
339
|
+
<line num="82" count="20" type="stmt"/>
|
|
340
|
+
<line num="91" count="33" type="stmt"/>
|
|
343
341
|
<line num="92" count="2" type="stmt"/>
|
|
344
342
|
<line num="93" count="2" type="stmt"/>
|
|
345
|
-
<line num="
|
|
346
|
-
<line num="
|
|
347
|
-
<line num="
|
|
343
|
+
<line num="94" count="2" type="stmt"/>
|
|
344
|
+
<line num="95" count="2" type="stmt"/>
|
|
345
|
+
<line num="96" count="2" type="stmt"/>
|
|
346
|
+
<line num="97" count="2" type="stmt"/>
|
|
347
|
+
<line num="102" count="2" type="stmt"/>
|
|
348
|
+
<line num="103" count="2" type="stmt"/>
|
|
348
349
|
<line num="106" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
349
|
-
<line num="110" count="2" type="cond" truecount="
|
|
350
|
-
<line num="
|
|
351
|
-
<line num="
|
|
352
|
-
<line num="
|
|
353
|
-
<line num="
|
|
354
|
-
<line num="
|
|
355
|
-
<line num="
|
|
356
|
-
<line num="
|
|
357
|
-
<line num="
|
|
358
|
-
<line num="
|
|
359
|
-
<line num="
|
|
360
|
-
<line num="144" count="33" type="stmt"/>
|
|
350
|
+
<line num="110" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
351
|
+
<line num="114" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
352
|
+
<line num="115" count="1" type="stmt"/>
|
|
353
|
+
<line num="122" count="2" type="stmt"/>
|
|
354
|
+
<line num="123" count="2" type="stmt"/>
|
|
355
|
+
<line num="133" count="33" type="stmt"/>
|
|
356
|
+
<line num="134" count="2" type="stmt"/>
|
|
357
|
+
<line num="135" count="2" type="stmt"/>
|
|
358
|
+
<line num="140" count="2" type="stmt"/>
|
|
359
|
+
<line num="143" count="33" type="stmt"/>
|
|
360
|
+
<line num="144" count="1" type="stmt"/>
|
|
361
361
|
<line num="145" count="1" type="stmt"/>
|
|
362
|
-
<line num="
|
|
363
|
-
<line num="
|
|
364
|
-
<line num="
|
|
365
|
-
<line num="
|
|
366
|
-
<line num="
|
|
367
|
-
<line num="157" count="
|
|
362
|
+
<line num="148" count="33" type="stmt"/>
|
|
363
|
+
<line num="149" count="1" type="stmt"/>
|
|
364
|
+
<line num="150" count="1" type="stmt"/>
|
|
365
|
+
<line num="151" count="1" type="stmt"/>
|
|
366
|
+
<line num="152" count="1" type="stmt"/>
|
|
367
|
+
<line num="157" count="1" type="stmt"/>
|
|
368
368
|
<line num="158" count="1" type="stmt"/>
|
|
369
369
|
<line num="161" count="33" type="stmt"/>
|
|
370
370
|
<line num="162" count="1" type="stmt"/>
|
|
371
371
|
<line num="165" count="33" type="stmt"/>
|
|
372
372
|
<line num="166" count="1" type="stmt"/>
|
|
373
|
-
<line num="
|
|
374
|
-
<line num="
|
|
375
|
-
<line num="
|
|
376
|
-
<line num="
|
|
377
|
-
<line num="
|
|
373
|
+
<line num="169" count="33" type="stmt"/>
|
|
374
|
+
<line num="170" count="1" type="stmt"/>
|
|
375
|
+
<line num="182" count="33" type="stmt"/>
|
|
376
|
+
<line num="183" count="0" type="stmt"/>
|
|
377
|
+
<line num="184" count="0" type="stmt"/>
|
|
378
|
+
<line num="185" count="0" type="stmt"/>
|
|
378
379
|
<line num="186" count="0" type="stmt"/>
|
|
379
|
-
<line num="
|
|
380
|
-
<line num="
|
|
381
|
-
<line num="
|
|
382
|
-
<line num="
|
|
383
|
-
<line num="
|
|
384
|
-
<line num="203" count="33" type="stmt"/>
|
|
380
|
+
<line num="190" count="0" type="stmt"/>
|
|
381
|
+
<line num="198" count="2" type="cond" truecount="2" falsecount="2"/>
|
|
382
|
+
<line num="199" count="0" type="stmt"/>
|
|
383
|
+
<line num="201" count="2" type="cond" truecount="2" falsecount="2"/>
|
|
384
|
+
<line num="202" count="0" type="stmt"/>
|
|
385
385
|
<line num="204" count="2" type="stmt"/>
|
|
386
|
-
<line num="
|
|
387
|
-
<line num="206" count="2" type="stmt"/>
|
|
388
|
-
<line num="207" count="2" type="stmt"/>
|
|
386
|
+
<line num="207" count="33" type="stmt"/>
|
|
389
387
|
<line num="208" count="2" type="stmt"/>
|
|
390
388
|
<line num="209" count="2" type="stmt"/>
|
|
391
|
-
<line num="
|
|
389
|
+
<line num="210" count="2" type="stmt"/>
|
|
390
|
+
<line num="211" count="2" type="stmt"/>
|
|
391
|
+
<line num="212" count="2" type="stmt"/>
|
|
392
|
+
<line num="213" count="2" type="stmt"/>
|
|
392
393
|
<line num="222" count="2" type="stmt"/>
|
|
393
|
-
<line num="
|
|
394
|
+
<line num="226" count="2" type="stmt"/>
|
|
395
|
+
<line num="227" count="2" type="stmt"/>
|
|
394
396
|
</file>
|
|
395
397
|
<file name="backup.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/backup.js">
|
|
396
398
|
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
@@ -475,121 +477,137 @@
|
|
|
475
477
|
<line num="20" count="1" type="stmt"/>
|
|
476
478
|
<line num="21" count="1" type="stmt"/>
|
|
477
479
|
<line num="22" count="1" type="stmt"/>
|
|
478
|
-
<line num="23" count="
|
|
480
|
+
<line num="23" count="49" type="cond" truecount="2" falsecount="0"/>
|
|
479
481
|
<line num="24" count="1" type="stmt"/>
|
|
480
|
-
<line num="26" count="
|
|
481
|
-
<line num="27" count="
|
|
482
|
+
<line num="26" count="48" type="stmt"/>
|
|
483
|
+
<line num="27" count="48" type="stmt"/>
|
|
482
484
|
<line num="34" count="1" type="stmt"/>
|
|
483
485
|
</file>
|
|
484
486
|
<file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/datasource.js">
|
|
485
|
-
<metrics statements="
|
|
486
|
-
<line num="1" count="
|
|
487
|
-
<line num="9" count="
|
|
488
|
-
<line num="10" count="
|
|
489
|
-
<line num="11" count="
|
|
490
|
-
<line num="12" count="
|
|
491
|
-
<line num="
|
|
492
|
-
<line num="15" count="
|
|
493
|
-
<line num="
|
|
487
|
+
<metrics statements="123" coveredstatements="73" conditionals="45" coveredconditionals="15" methods="19" coveredmethods="11"/>
|
|
488
|
+
<line num="1" count="34" type="stmt"/>
|
|
489
|
+
<line num="9" count="34" type="stmt"/>
|
|
490
|
+
<line num="10" count="34" type="stmt"/>
|
|
491
|
+
<line num="11" count="34" type="stmt"/>
|
|
492
|
+
<line num="12" count="34" type="stmt"/>
|
|
493
|
+
<line num="13" count="34" type="stmt"/>
|
|
494
|
+
<line num="15" count="34" type="stmt"/>
|
|
495
|
+
<line num="16" count="2" type="stmt"/>
|
|
494
496
|
<line num="19" count="2" type="stmt"/>
|
|
495
|
-
<line num="
|
|
496
|
-
<line num="
|
|
497
|
-
<line num="
|
|
498
|
-
<line num="
|
|
499
|
-
<line num="
|
|
500
|
-
<line num="
|
|
501
|
-
<line num="44" count="
|
|
497
|
+
<line num="20" count="2" type="stmt"/>
|
|
498
|
+
<line num="25" count="2" type="stmt"/>
|
|
499
|
+
<line num="27" count="2" type="stmt"/>
|
|
500
|
+
<line num="33" count="2" type="stmt"/>
|
|
501
|
+
<line num="39" count="1" type="stmt"/>
|
|
502
|
+
<line num="41" count="2" type="stmt"/>
|
|
503
|
+
<line num="44" count="34" type="stmt"/>
|
|
502
504
|
<line num="45" count="0" type="stmt"/>
|
|
503
|
-
<line num="
|
|
505
|
+
<line num="46" count="0" type="stmt"/>
|
|
504
506
|
<line num="48" count="0" type="stmt"/>
|
|
505
|
-
<line num="
|
|
507
|
+
<line num="49" count="0" type="stmt"/>
|
|
506
508
|
<line num="51" count="0" type="stmt"/>
|
|
507
|
-
<line num="
|
|
508
|
-
<line num="54" count="0" type="
|
|
509
|
-
<line num="55" count="0" type="
|
|
510
|
-
<line num="
|
|
511
|
-
<line num="
|
|
512
|
-
<line num="
|
|
513
|
-
<line num="
|
|
514
|
-
<line num="
|
|
515
|
-
<line num="
|
|
516
|
-
<line num="
|
|
517
|
-
<line num="
|
|
518
|
-
<line num="
|
|
519
|
-
<line num="
|
|
520
|
-
<line num="
|
|
521
|
-
<line num="
|
|
522
|
-
<line num="
|
|
523
|
-
<line num="
|
|
524
|
-
<line num="
|
|
525
|
-
<line num="
|
|
526
|
-
<line num="
|
|
527
|
-
<line num="
|
|
528
|
-
<line num="
|
|
529
|
-
<line num="
|
|
530
|
-
<line num="
|
|
531
|
-
<line num="
|
|
532
|
-
<line num="
|
|
533
|
-
<line num="
|
|
534
|
-
<line num="
|
|
535
|
-
<line num="
|
|
536
|
-
<line num="
|
|
537
|
-
<line num="104" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
538
|
-
<line num="105" count="24" type="stmt"/>
|
|
539
|
-
<line num="106" count="24" type="cond" truecount="3" falsecount="1"/>
|
|
509
|
+
<line num="52" count="0" type="stmt"/>
|
|
510
|
+
<line num="54" count="0" type="stmt"/>
|
|
511
|
+
<line num="55" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
512
|
+
<line num="56" count="0" type="stmt"/>
|
|
513
|
+
<line num="58" count="0" type="stmt"/>
|
|
514
|
+
<line num="64" count="34" type="stmt"/>
|
|
515
|
+
<line num="65" count="6" type="stmt"/>
|
|
516
|
+
<line num="66" count="6" type="stmt"/>
|
|
517
|
+
<line num="67" count="6" type="stmt"/>
|
|
518
|
+
<line num="69" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
519
|
+
<line num="70" count="5" type="stmt"/>
|
|
520
|
+
<line num="73" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
521
|
+
<line num="75" count="0" type="stmt"/>
|
|
522
|
+
<line num="78" count="1" type="stmt"/>
|
|
523
|
+
<line num="79" count="1" type="stmt"/>
|
|
524
|
+
<line num="81" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
525
|
+
<line num="85" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
526
|
+
<line num="86" count="1" type="stmt"/>
|
|
527
|
+
<line num="90" count="1" type="stmt"/>
|
|
528
|
+
<line num="93" count="34" type="stmt"/>
|
|
529
|
+
<line num="94" count="6" type="stmt"/>
|
|
530
|
+
<line num="95" count="6" type="stmt"/>
|
|
531
|
+
<line num="96" count="6" type="stmt"/>
|
|
532
|
+
<line num="97" count="6" type="stmt"/>
|
|
533
|
+
<line num="98" count="6" type="stmt"/>
|
|
534
|
+
<line num="100" count="6" type="stmt"/>
|
|
535
|
+
<line num="101" count="6" type="stmt"/>
|
|
536
|
+
<line num="104" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
537
|
+
<line num="105" count="6" type="stmt"/>
|
|
538
|
+
<line num="106" count="6" type="cond" truecount="3" falsecount="1"/>
|
|
540
539
|
<line num="107" count="0" type="stmt"/>
|
|
541
|
-
<line num="111" count="
|
|
542
|
-
<line num="112" count="
|
|
543
|
-
<line num="113" count="
|
|
544
|
-
<line num="
|
|
545
|
-
<line num="
|
|
546
|
-
<line num="
|
|
547
|
-
<line num="
|
|
548
|
-
<line num="
|
|
549
|
-
<line num="
|
|
550
|
-
<line num="
|
|
551
|
-
<line num="
|
|
552
|
-
<line num="
|
|
553
|
-
<line num="
|
|
554
|
-
<line num="
|
|
555
|
-
<line num="
|
|
556
|
-
<line num="
|
|
557
|
-
<line num="
|
|
558
|
-
<line num="
|
|
559
|
-
<line num="
|
|
560
|
-
<line num="
|
|
561
|
-
<line num="
|
|
562
|
-
<line num="
|
|
563
|
-
<line num="
|
|
564
|
-
<line num="
|
|
565
|
-
<line num="
|
|
566
|
-
<line num="
|
|
567
|
-
<line num="
|
|
568
|
-
<line num="
|
|
569
|
-
<line num="
|
|
570
|
-
<line num="
|
|
571
|
-
<line num="
|
|
572
|
-
<line num="
|
|
573
|
-
<line num="
|
|
574
|
-
<line num="
|
|
575
|
-
<line num="
|
|
576
|
-
<line num="
|
|
577
|
-
<line num="
|
|
540
|
+
<line num="111" count="6" type="stmt"/>
|
|
541
|
+
<line num="112" count="6" type="stmt"/>
|
|
542
|
+
<line num="113" count="6" type="stmt"/>
|
|
543
|
+
<line num="116" count="34" type="stmt"/>
|
|
544
|
+
<line num="117" count="35" type="stmt"/>
|
|
545
|
+
<line num="118" count="35" type="stmt"/>
|
|
546
|
+
<line num="119" count="35" type="stmt"/>
|
|
547
|
+
<line num="121" count="35" type="stmt"/>
|
|
548
|
+
<line num="127" count="35" type="stmt"/>
|
|
549
|
+
<line num="128" count="35" type="cond" truecount="1" falsecount="1"/>
|
|
550
|
+
<line num="129" count="0" type="stmt"/>
|
|
551
|
+
<line num="130" count="0" type="stmt"/>
|
|
552
|
+
<line num="131" count="0" type="stmt"/>
|
|
553
|
+
<line num="134" count="35" type="stmt"/>
|
|
554
|
+
<line num="135" count="35" type="stmt"/>
|
|
555
|
+
<line num="138" count="35" type="cond" truecount="1" falsecount="1"/>
|
|
556
|
+
<line num="139" count="35" type="stmt"/>
|
|
557
|
+
<line num="140" count="35" type="cond" truecount="3" falsecount="1"/>
|
|
558
|
+
<line num="141" count="0" type="stmt"/>
|
|
559
|
+
<line num="145" count="35" type="stmt"/>
|
|
560
|
+
<line num="146" count="35" type="cond" truecount="1" falsecount="1"/>
|
|
561
|
+
<line num="147" count="0" type="stmt"/>
|
|
562
|
+
<line num="149" count="35" type="stmt"/>
|
|
563
|
+
<line num="152" count="34" type="stmt"/>
|
|
564
|
+
<line num="153" count="1" type="stmt"/>
|
|
565
|
+
<line num="156" count="1" type="stmt"/>
|
|
566
|
+
<line num="159" count="1" type="stmt"/>
|
|
567
|
+
<line num="160" count="1" type="stmt"/>
|
|
568
|
+
<line num="168" count="1" type="stmt"/>
|
|
569
|
+
<line num="170" count="1" type="stmt"/>
|
|
570
|
+
<line num="171" count="1" type="stmt"/>
|
|
571
|
+
<line num="174" count="34" type="stmt"/>
|
|
572
|
+
<line num="175" count="1" type="stmt"/>
|
|
573
|
+
<line num="176" count="1" type="stmt"/>
|
|
574
|
+
<line num="180" count="34" type="stmt"/>
|
|
575
|
+
<line num="181" count="1" type="stmt"/>
|
|
576
|
+
<line num="182" count="1" type="stmt"/>
|
|
577
|
+
<line num="183" count="1" type="stmt"/>
|
|
578
578
|
<line num="185" count="0" type="stmt"/>
|
|
579
|
-
<line num="
|
|
580
|
-
<line num="
|
|
581
|
-
<line num="
|
|
582
|
-
<line num="
|
|
583
|
-
<line num="194" count="0" type="stmt"/>
|
|
584
|
-
<line num="195" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
585
|
-
<line num="196" count="0" type="stmt"/>
|
|
579
|
+
<line num="190" count="0" type="stmt"/>
|
|
580
|
+
<line num="191" count="0" type="stmt"/>
|
|
581
|
+
<line num="192" count="0" type="stmt"/>
|
|
582
|
+
<line num="196" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
586
583
|
<line num="197" count="0" type="stmt"/>
|
|
587
|
-
<line num="
|
|
588
|
-
<line num="
|
|
589
|
-
<line num="
|
|
590
|
-
<line num="
|
|
584
|
+
<line num="199" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
585
|
+
<line num="200" count="0" type="stmt"/>
|
|
586
|
+
<line num="202" count="0" type="stmt"/>
|
|
587
|
+
<line num="203" count="0" type="stmt"/>
|
|
588
|
+
<line num="206" count="34" type="stmt"/>
|
|
591
589
|
<line num="207" count="0" type="stmt"/>
|
|
592
|
-
<line num="
|
|
590
|
+
<line num="210" count="0" type="stmt"/>
|
|
591
|
+
<line num="211" count="0" type="stmt"/>
|
|
592
|
+
<line num="212" count="0" type="stmt"/>
|
|
593
|
+
<line num="215" count="0" type="stmt"/>
|
|
594
|
+
<line num="216" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
595
|
+
<line num="217" count="0" type="stmt"/>
|
|
596
|
+
<line num="219" count="0" type="stmt"/>
|
|
597
|
+
<line num="220" count="0" type="stmt"/>
|
|
598
|
+
<line num="222" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
599
|
+
<line num="223" count="0" type="stmt"/>
|
|
600
|
+
<line num="227" count="0" type="stmt"/>
|
|
601
|
+
<line num="228" count="0" type="stmt"/>
|
|
602
|
+
<line num="229" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
603
|
+
<line num="230" count="0" type="stmt"/>
|
|
604
|
+
<line num="231" count="0" type="stmt"/>
|
|
605
|
+
<line num="232" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
606
|
+
<line num="233" count="0" type="stmt"/>
|
|
607
|
+
<line num="239" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
608
|
+
<line num="240" count="0" type="stmt"/>
|
|
609
|
+
<line num="241" count="0" type="stmt"/>
|
|
610
|
+
<line num="248" count="0" type="stmt"/>
|
|
593
611
|
</file>
|
|
594
612
|
<file name="dev.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/dev.js">
|
|
595
613
|
<metrics statements="63" coveredstatements="18" conditionals="15" coveredconditionals="0" methods="10" coveredmethods="3"/>
|
|
@@ -823,79 +841,6 @@
|
|
|
823
841
|
<line num="169" count="33" type="stmt"/>
|
|
824
842
|
<line num="170" count="1" type="stmt"/>
|
|
825
843
|
</file>
|
|
826
|
-
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query.js">
|
|
827
|
-
<metrics statements="70" coveredstatements="59" conditionals="25" coveredconditionals="12" methods="9" coveredmethods="9"/>
|
|
828
|
-
<line num="1" count="34" type="stmt"/>
|
|
829
|
-
<line num="2" count="34" type="stmt"/>
|
|
830
|
-
<line num="7" count="34" type="stmt"/>
|
|
831
|
-
<line num="8" count="34" type="stmt"/>
|
|
832
|
-
<line num="9" count="34" type="stmt"/>
|
|
833
|
-
<line num="11" count="34" type="stmt"/>
|
|
834
|
-
<line num="15" count="5" type="stmt"/>
|
|
835
|
-
<line num="16" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
836
|
-
<line num="17" count="5" type="stmt"/>
|
|
837
|
-
<line num="18" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
838
|
-
<line num="19" count="4" type="stmt"/>
|
|
839
|
-
<line num="22" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
840
|
-
<line num="25" count="34" type="stmt"/>
|
|
841
|
-
<line num="26" count="2" type="stmt"/>
|
|
842
|
-
<line num="28" count="2" type="stmt"/>
|
|
843
|
-
<line num="33" count="2" type="stmt"/>
|
|
844
|
-
<line num="36" count="34" type="stmt"/>
|
|
845
|
-
<line num="37" count="20" type="stmt"/>
|
|
846
|
-
<line num="38" count="20" type="stmt"/>
|
|
847
|
-
<line num="40" count="20" type="cond" truecount="1" falsecount="1"/>
|
|
848
|
-
<line num="41" count="20" type="stmt"/>
|
|
849
|
-
<line num="44" count="20" type="stmt"/>
|
|
850
|
-
<line num="45" count="20" type="stmt"/>
|
|
851
|
-
<line num="47" count="20" type="stmt"/>
|
|
852
|
-
<line num="48" count="20" type="stmt"/>
|
|
853
|
-
<line num="52" count="4" type="stmt"/>
|
|
854
|
-
<line num="55" count="4" type="stmt"/>
|
|
855
|
-
<line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
856
|
-
<line num="57" count="0" type="stmt"/>
|
|
857
|
-
<line num="59" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
858
|
-
<line num="61" count="0" type="stmt"/>
|
|
859
|
-
<line num="62" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
860
|
-
<line num="64" count="0" type="stmt"/>
|
|
861
|
-
<line num="68" count="0" type="stmt"/>
|
|
862
|
-
<line num="72" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
863
|
-
<line num="77" count="0" type="stmt"/>
|
|
864
|
-
<line num="78" count="0" type="stmt"/>
|
|
865
|
-
<line num="84" count="0" type="stmt"/>
|
|
866
|
-
<line num="86" count="0" type="stmt"/>
|
|
867
|
-
<line num="89" count="4" type="stmt"/>
|
|
868
|
-
<line num="92" count="34" type="stmt"/>
|
|
869
|
-
<line num="93" count="3" type="stmt"/>
|
|
870
|
-
<line num="94" count="3" type="stmt"/>
|
|
871
|
-
<line num="96" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
872
|
-
<line num="97" count="1" type="stmt"/>
|
|
873
|
-
<line num="98" count="1" type="stmt"/>
|
|
874
|
-
<line num="100" count="3" type="stmt"/>
|
|
875
|
-
<line num="103" count="34" type="stmt"/>
|
|
876
|
-
<line num="104" count="2" type="stmt"/>
|
|
877
|
-
<line num="106" count="2" type="stmt"/>
|
|
878
|
-
<line num="108" count="2" type="stmt"/>
|
|
879
|
-
<line num="109" count="2" type="stmt"/>
|
|
880
|
-
<line num="111" count="2" type="stmt"/>
|
|
881
|
-
<line num="112" count="2" type="stmt"/>
|
|
882
|
-
<line num="119" count="1" type="stmt"/>
|
|
883
|
-
<line num="124" count="1" type="stmt"/>
|
|
884
|
-
<line num="128" count="34" type="stmt"/>
|
|
885
|
-
<line num="129" count="2" type="stmt"/>
|
|
886
|
-
<line num="131" count="2" type="stmt"/>
|
|
887
|
-
<line num="132" count="2" type="stmt"/>
|
|
888
|
-
<line num="134" count="2" type="stmt"/>
|
|
889
|
-
<line num="140" count="2" type="stmt"/>
|
|
890
|
-
<line num="141" count="2" type="stmt"/>
|
|
891
|
-
<line num="147" count="1" type="stmt"/>
|
|
892
|
-
<line num="149" count="1" type="stmt"/>
|
|
893
|
-
<line num="153" count="34" type="stmt"/>
|
|
894
|
-
<line num="154" count="1" type="stmt"/>
|
|
895
|
-
<line num="155" count="1" type="stmt"/>
|
|
896
|
-
<line num="156" count="1" type="stmt"/>
|
|
897
|
-
<line num="157" count="1" type="stmt"/>
|
|
898
|
-
</file>
|
|
899
844
|
<file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/role.js">
|
|
900
845
|
<metrics statements="53" coveredstatements="47" conditionals="22" coveredconditionals="14" methods="7" coveredmethods="5"/>
|
|
901
846
|
<line num="1" count="33" type="stmt"/>
|
|
@@ -1059,9 +1004,8 @@
|
|
|
1059
1004
|
<line num="25" count="0" type="stmt"/>
|
|
1060
1005
|
</file>
|
|
1061
1006
|
<file name="user.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/user.js">
|
|
1062
|
-
<metrics statements="
|
|
1007
|
+
<metrics statements="119" coveredstatements="39" conditionals="37" coveredconditionals="0" methods="16" coveredmethods="5"/>
|
|
1063
1008
|
<line num="1" count="34" type="stmt"/>
|
|
1064
|
-
<line num="5" count="34" type="stmt"/>
|
|
1065
1009
|
<line num="6" count="34" type="stmt"/>
|
|
1066
1010
|
<line num="7" count="34" type="stmt"/>
|
|
1067
1011
|
<line num="8" count="34" type="stmt"/>
|
|
@@ -1070,97 +1014,119 @@
|
|
|
1070
1014
|
<line num="11" count="34" type="stmt"/>
|
|
1071
1015
|
<line num="12" count="34" type="stmt"/>
|
|
1072
1016
|
<line num="13" count="34" type="stmt"/>
|
|
1073
|
-
<line num="
|
|
1074
|
-
<line num="
|
|
1075
|
-
<line num="
|
|
1076
|
-
<line num="28" count="0" type="
|
|
1077
|
-
<line num="
|
|
1017
|
+
<line num="14" count="34" type="stmt"/>
|
|
1018
|
+
<line num="17" count="2" type="stmt"/>
|
|
1019
|
+
<line num="23" count="0" type="stmt"/>
|
|
1020
|
+
<line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1021
|
+
<line num="29" count="0" type="stmt"/>
|
|
1078
1022
|
<line num="31" count="0" type="stmt"/>
|
|
1079
1023
|
<line num="32" count="0" type="stmt"/>
|
|
1080
|
-
<line num="
|
|
1081
|
-
<line num="38" count="0" type="
|
|
1082
|
-
<line num="
|
|
1083
|
-
<line num="42" count="0" type="
|
|
1084
|
-
<line num="
|
|
1085
|
-
<line num="45" count="0" type="
|
|
1086
|
-
<line num="
|
|
1087
|
-
<line num="
|
|
1088
|
-
<line num="
|
|
1024
|
+
<line num="33" count="0" type="stmt"/>
|
|
1025
|
+
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1026
|
+
<line num="39" count="0" type="stmt"/>
|
|
1027
|
+
<line num="42" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1028
|
+
<line num="43" count="0" type="stmt"/>
|
|
1029
|
+
<line num="45" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1030
|
+
<line num="46" count="0" type="stmt"/>
|
|
1031
|
+
<line num="51" count="0" type="stmt"/>
|
|
1032
|
+
<line num="54" count="34" type="stmt"/>
|
|
1089
1033
|
<line num="56" count="0" type="stmt"/>
|
|
1090
|
-
<line num="
|
|
1034
|
+
<line num="57" count="0" type="stmt"/>
|
|
1091
1035
|
<line num="61" count="0" type="stmt"/>
|
|
1092
1036
|
<line num="62" count="0" type="stmt"/>
|
|
1093
|
-
<line num="63" count="0" type="
|
|
1094
|
-
<line num="64" count="0" type="
|
|
1095
|
-
<line num="
|
|
1096
|
-
<line num="
|
|
1097
|
-
<line num="71" count="
|
|
1098
|
-
<line num="
|
|
1037
|
+
<line num="63" count="0" type="stmt"/>
|
|
1038
|
+
<line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1039
|
+
<line num="65" count="0" type="stmt"/>
|
|
1040
|
+
<line num="68" count="0" type="stmt"/>
|
|
1041
|
+
<line num="71" count="34" type="stmt"/>
|
|
1042
|
+
<line num="72" count="0" type="stmt"/>
|
|
1099
1043
|
<line num="74" count="0" type="stmt"/>
|
|
1100
1044
|
<line num="75" count="0" type="stmt"/>
|
|
1101
|
-
<line num="
|
|
1102
|
-
<line num="78" count="0" type="
|
|
1045
|
+
<line num="76" count="0" type="stmt"/>
|
|
1046
|
+
<line num="78" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1103
1047
|
<line num="79" count="0" type="stmt"/>
|
|
1104
|
-
<line num="
|
|
1105
|
-
<line num="
|
|
1106
|
-
<line num="
|
|
1048
|
+
<line num="80" count="0" type="stmt"/>
|
|
1049
|
+
<line num="82" count="0" type="stmt"/>
|
|
1050
|
+
<line num="85" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1107
1051
|
<line num="87" count="0" type="stmt"/>
|
|
1108
1052
|
<line num="88" count="0" type="stmt"/>
|
|
1109
|
-
<line num="
|
|
1110
|
-
<line num="93" count="0" type="
|
|
1111
|
-
<line num="
|
|
1053
|
+
<line num="89" count="0" type="stmt"/>
|
|
1054
|
+
<line num="93" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
1055
|
+
<line num="94" count="0" type="stmt"/>
|
|
1112
1056
|
<line num="96" count="0" type="stmt"/>
|
|
1113
1057
|
<line num="97" count="0" type="stmt"/>
|
|
1114
|
-
<line num="
|
|
1058
|
+
<line num="98" count="0" type="stmt"/>
|
|
1115
1059
|
<line num="100" count="0" type="stmt"/>
|
|
1116
1060
|
<line num="101" count="0" type="stmt"/>
|
|
1117
1061
|
<line num="102" count="0" type="stmt"/>
|
|
1118
|
-
<line num="103" count="0" type="
|
|
1119
|
-
<line num="104" count="0" type="
|
|
1120
|
-
<line num="
|
|
1062
|
+
<line num="103" count="0" type="stmt"/>
|
|
1063
|
+
<line num="104" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1064
|
+
<line num="105" count="0" type="stmt"/>
|
|
1121
1065
|
<line num="107" count="0" type="stmt"/>
|
|
1122
|
-
<line num="
|
|
1066
|
+
<line num="108" count="0" type="stmt"/>
|
|
1123
1067
|
<line num="110" count="0" type="stmt"/>
|
|
1124
|
-
<line num="
|
|
1125
|
-
<line num="113" count="0" type="
|
|
1126
|
-
<line num="
|
|
1127
|
-
<line num="
|
|
1128
|
-
<line num="121" count="0" type="
|
|
1129
|
-
<line num="
|
|
1130
|
-
<line num="
|
|
1131
|
-
<line num="132" count="0" type="
|
|
1132
|
-
<line num="
|
|
1133
|
-
<line num="
|
|
1134
|
-
<line num="142" count="
|
|
1068
|
+
<line num="111" count="0" type="stmt"/>
|
|
1069
|
+
<line num="113" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1070
|
+
<line num="114" count="0" type="stmt"/>
|
|
1071
|
+
<line num="116" count="0" type="stmt"/>
|
|
1072
|
+
<line num="121" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1073
|
+
<line num="122" count="0" type="stmt"/>
|
|
1074
|
+
<line num="124" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1075
|
+
<line num="132" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1076
|
+
<line num="133" count="0" type="stmt"/>
|
|
1077
|
+
<line num="137" count="0" type="stmt"/>
|
|
1078
|
+
<line num="142" count="34" type="stmt"/>
|
|
1135
1079
|
<line num="143" count="2" type="stmt"/>
|
|
1136
1080
|
<line num="144" count="2" type="stmt"/>
|
|
1137
1081
|
<line num="145" count="2" type="stmt"/>
|
|
1138
1082
|
<line num="146" count="2" type="stmt"/>
|
|
1139
|
-
<line num="
|
|
1140
|
-
<line num="
|
|
1141
|
-
<line num="
|
|
1142
|
-
<line num="
|
|
1143
|
-
<line num="
|
|
1144
|
-
<line num="
|
|
1083
|
+
<line num="147" count="2" type="stmt"/>
|
|
1084
|
+
<line num="149" count="7" type="stmt"/>
|
|
1085
|
+
<line num="151" count="7" type="stmt"/>
|
|
1086
|
+
<line num="159" count="2" type="stmt"/>
|
|
1087
|
+
<line num="162" count="34" type="stmt"/>
|
|
1088
|
+
<line num="164" count="0" type="stmt"/>
|
|
1145
1089
|
<line num="166" count="0" type="stmt"/>
|
|
1146
|
-
<line num="
|
|
1147
|
-
<line num="170" count="
|
|
1090
|
+
<line num="167" count="0" type="stmt"/>
|
|
1091
|
+
<line num="170" count="34" type="stmt"/>
|
|
1148
1092
|
<line num="171" count="1" type="stmt"/>
|
|
1149
1093
|
<line num="172" count="1" type="stmt"/>
|
|
1150
|
-
<line num="
|
|
1094
|
+
<line num="173" count="1" type="stmt"/>
|
|
1151
1095
|
<line num="175" count="1" type="stmt"/>
|
|
1152
|
-
<line num="
|
|
1153
|
-
<line num="
|
|
1154
|
-
<line num="183" count="
|
|
1096
|
+
<line num="176" count="1" type="stmt"/>
|
|
1097
|
+
<line num="180" count="1" type="stmt"/>
|
|
1098
|
+
<line num="183" count="34" type="stmt"/>
|
|
1155
1099
|
<line num="184" count="1" type="stmt"/>
|
|
1156
1100
|
<line num="185" count="1" type="stmt"/>
|
|
1157
|
-
<line num="186" count="
|
|
1158
|
-
<line num="
|
|
1159
|
-
<line num="
|
|
1160
|
-
<line num="196" count="
|
|
1101
|
+
<line num="186" count="1" type="stmt"/>
|
|
1102
|
+
<line num="187" count="0" type="stmt"/>
|
|
1103
|
+
<line num="191" count="1" type="stmt"/>
|
|
1104
|
+
<line num="196" count="34" type="stmt"/>
|
|
1105
|
+
<line num="197" count="1" type="stmt"/>
|
|
1106
|
+
<line num="200" count="34" type="stmt"/>
|
|
1107
|
+
<line num="201" count="0" type="stmt"/>
|
|
1108
|
+
<line num="202" count="0" type="stmt"/>
|
|
1109
|
+
<line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1110
|
+
<line num="204" count="0" type="stmt"/>
|
|
1111
|
+
<line num="206" count="0" type="stmt"/>
|
|
1112
|
+
<line num="207" count="0" type="stmt"/>
|
|
1113
|
+
<line num="209" count="0" type="stmt"/>
|
|
1114
|
+
<line num="210" count="0" type="stmt"/>
|
|
1115
|
+
<line num="212" count="0" type="stmt"/>
|
|
1116
|
+
<line num="214" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1117
|
+
<line num="215" count="0" type="stmt"/>
|
|
1118
|
+
<line num="216" count="0" type="stmt"/>
|
|
1119
|
+
<line num="219" count="34" type="stmt"/>
|
|
1120
|
+
<line num="220" count="0" type="stmt"/>
|
|
1121
|
+
<line num="221" count="0" type="stmt"/>
|
|
1122
|
+
<line num="222" count="0" type="stmt"/>
|
|
1123
|
+
<line num="224" count="0" type="stmt"/>
|
|
1124
|
+
<line num="225" count="0" type="stmt"/>
|
|
1125
|
+
<line num="227" count="0" type="stmt"/>
|
|
1126
|
+
<line num="229" count="0" type="stmt"/>
|
|
1161
1127
|
</file>
|
|
1162
1128
|
<file name="webhook.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/webhook.js">
|
|
1163
|
-
<metrics statements="
|
|
1129
|
+
<metrics statements="57" coveredstatements="52" conditionals="10" coveredconditionals="4" methods="7" coveredmethods="7"/>
|
|
1164
1130
|
<line num="1" count="33" type="stmt"/>
|
|
1165
1131
|
<line num="2" count="33" type="stmt"/>
|
|
1166
1132
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -1198,29 +1164,135 @@
|
|
|
1198
1164
|
<line num="65" count="1" type="stmt"/>
|
|
1199
1165
|
<line num="66" count="1" type="stmt"/>
|
|
1200
1166
|
<line num="67" count="1" type="stmt"/>
|
|
1201
|
-
<line num="68" count="1" type="stmt"/>
|
|
1202
1167
|
<line num="69" count="1" type="stmt"/>
|
|
1203
|
-
<line num="
|
|
1204
|
-
<line num="
|
|
1205
|
-
<line num="
|
|
1168
|
+
<line num="72" count="1" type="stmt"/>
|
|
1169
|
+
<line num="73" count="1" type="stmt"/>
|
|
1170
|
+
<line num="78" count="1" type="stmt"/>
|
|
1206
1171
|
<line num="80" count="1" type="stmt"/>
|
|
1207
|
-
<line num="
|
|
1208
|
-
<line num="
|
|
1209
|
-
<line num="
|
|
1210
|
-
<line num="
|
|
1211
|
-
<line num="
|
|
1212
|
-
<line num="88" count="1" type="stmt"/>
|
|
1172
|
+
<line num="83" count="33" type="stmt"/>
|
|
1173
|
+
<line num="84" count="1" type="stmt"/>
|
|
1174
|
+
<line num="85" count="1" type="stmt"/>
|
|
1175
|
+
<line num="86" count="1" type="stmt"/>
|
|
1176
|
+
<line num="87" count="1" type="stmt"/>
|
|
1213
1177
|
<line num="89" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1178
|
+
<line num="90" count="0" type="stmt"/>
|
|
1214
1179
|
<line num="92" count="1" type="stmt"/>
|
|
1180
|
+
<line num="93" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1181
|
+
<line num="96" count="1" type="stmt"/>
|
|
1182
|
+
<line num="102" count="1" type="stmt"/>
|
|
1183
|
+
<line num="103" count="1" type="stmt"/>
|
|
1184
|
+
<line num="107" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1185
|
+
<line num="108" count="0" type="stmt"/>
|
|
1186
|
+
<line num="109" count="0" type="stmt"/>
|
|
1187
|
+
</file>
|
|
1188
|
+
</package>
|
|
1189
|
+
<package name="api.controllers.query">
|
|
1190
|
+
<metrics statements="96" coveredstatements="79" conditionals="19" coveredconditionals="13" methods="17" coveredmethods="15"/>
|
|
1191
|
+
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query/index.js">
|
|
1192
|
+
<metrics statements="88" coveredstatements="71" conditionals="19" coveredconditionals="13" methods="14" coveredmethods="12"/>
|
|
1193
|
+
<line num="1" count="34" type="stmt"/>
|
|
1194
|
+
<line num="6" count="34" type="stmt"/>
|
|
1195
|
+
<line num="7" count="34" type="stmt"/>
|
|
1196
|
+
<line num="8" count="34" type="stmt"/>
|
|
1197
|
+
<line num="9" count="34" type="stmt"/>
|
|
1198
|
+
<line num="10" count="34" type="stmt"/>
|
|
1199
|
+
<line num="11" count="34" type="stmt"/>
|
|
1200
|
+
<line num="13" count="34" type="stmt"/>
|
|
1201
|
+
<line num="17" count="5" type="stmt"/>
|
|
1202
|
+
<line num="18" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1203
|
+
<line num="19" count="5" type="stmt"/>
|
|
1204
|
+
<line num="20" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1205
|
+
<line num="21" count="4" type="stmt"/>
|
|
1206
|
+
<line num="24" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1207
|
+
<line num="27" count="34" type="stmt"/>
|
|
1208
|
+
<line num="28" count="2" type="stmt"/>
|
|
1209
|
+
<line num="30" count="2" type="stmt"/>
|
|
1210
|
+
<line num="36" count="2" type="stmt"/>
|
|
1211
|
+
<line num="39" count="34" type="stmt"/>
|
|
1212
|
+
<line num="40" count="0" type="stmt"/>
|
|
1213
|
+
<line num="41" count="0" type="stmt"/>
|
|
1214
|
+
<line num="43" count="0" type="stmt"/>
|
|
1215
|
+
<line num="44" count="0" type="stmt"/>
|
|
1216
|
+
<line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1217
|
+
<line num="49" count="0" type="stmt"/>
|
|
1218
|
+
<line num="50" count="0" type="stmt"/>
|
|
1219
|
+
<line num="60" count="0" type="stmt"/>
|
|
1220
|
+
<line num="61" count="0" type="stmt"/>
|
|
1221
|
+
<line num="62" count="0" type="stmt"/>
|
|
1222
|
+
<line num="63" count="0" type="stmt"/>
|
|
1223
|
+
<line num="66" count="0" type="stmt"/>
|
|
1224
|
+
<line num="69" count="0" type="stmt"/>
|
|
1225
|
+
<line num="71" count="0" type="stmt"/>
|
|
1226
|
+
<line num="75" count="0" type="stmt"/>
|
|
1227
|
+
<line num="78" count="34" type="stmt"/>
|
|
1228
|
+
<line num="79" count="28" type="stmt"/>
|
|
1229
|
+
<line num="80" count="28" type="stmt"/>
|
|
1230
|
+
<line num="82" count="28" type="cond" truecount="1" falsecount="1"/>
|
|
1231
|
+
<line num="83" count="28" type="stmt"/>
|
|
1232
|
+
<line num="86" count="28" type="stmt"/>
|
|
1233
|
+
<line num="87" count="28" type="stmt"/>
|
|
1234
|
+
<line num="89" count="28" type="stmt"/>
|
|
1235
|
+
<line num="90" count="28" type="stmt"/>
|
|
1236
|
+
<line num="93" count="34" type="stmt"/>
|
|
1237
|
+
<line num="94" count="3" type="stmt"/>
|
|
1238
|
+
<line num="95" count="3" type="stmt"/>
|
|
1239
|
+
<line num="97" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
1215
1240
|
<line num="98" count="1" type="stmt"/>
|
|
1216
1241
|
<line num="99" count="1" type="stmt"/>
|
|
1217
|
-
<line num="
|
|
1218
|
-
<line num="104" count="
|
|
1219
|
-
<line num="105" count="
|
|
1242
|
+
<line num="101" count="3" type="stmt"/>
|
|
1243
|
+
<line num="104" count="34" type="stmt"/>
|
|
1244
|
+
<line num="105" count="8" type="stmt"/>
|
|
1245
|
+
<line num="107" count="8" type="stmt"/>
|
|
1246
|
+
<line num="111" count="8" type="stmt"/>
|
|
1247
|
+
<line num="113" count="8" type="stmt"/>
|
|
1248
|
+
<line num="114" count="8" type="stmt"/>
|
|
1249
|
+
<line num="124" count="7" type="stmt"/>
|
|
1250
|
+
<line num="131" count="1" type="stmt"/>
|
|
1251
|
+
<line num="136" count="2" type="stmt"/>
|
|
1252
|
+
<line num="138" count="2" type="stmt"/>
|
|
1253
|
+
<line num="139" count="2" type="stmt"/>
|
|
1254
|
+
<line num="142" count="2" type="stmt"/>
|
|
1255
|
+
<line num="143" count="2" type="stmt"/>
|
|
1256
|
+
<line num="152" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
1257
|
+
<line num="153" count="1" type="stmt"/>
|
|
1258
|
+
<line num="155" count="0" type="stmt"/>
|
|
1259
|
+
<line num="158" count="1" type="stmt"/>
|
|
1260
|
+
<line num="162" count="34" type="stmt"/>
|
|
1261
|
+
<line num="163" count="2" type="stmt"/>
|
|
1262
|
+
<line num="166" count="34" type="stmt"/>
|
|
1263
|
+
<line num="167" count="0" type="stmt"/>
|
|
1264
|
+
<line num="170" count="34" type="stmt"/>
|
|
1265
|
+
<line num="171" count="2" type="stmt"/>
|
|
1266
|
+
<line num="172" count="2" type="stmt"/>
|
|
1267
|
+
<line num="173" count="2" type="stmt"/>
|
|
1268
|
+
<line num="175" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1269
|
+
<line num="177" count="1" type="stmt"/>
|
|
1270
|
+
<line num="178" count="1" type="stmt"/>
|
|
1271
|
+
<line num="179" count="1" type="stmt"/>
|
|
1272
|
+
<line num="182" count="1" type="stmt"/>
|
|
1273
|
+
<line num="183" count="1" type="stmt"/>
|
|
1274
|
+
<line num="185" count="1" type="stmt"/>
|
|
1275
|
+
<line num="189" count="34" type="stmt"/>
|
|
1276
|
+
<line num="190" count="2" type="stmt"/>
|
|
1277
|
+
<line num="191" count="2" type="stmt"/>
|
|
1278
|
+
<line num="192" count="2" type="stmt"/>
|
|
1279
|
+
<line num="193" count="2" type="stmt"/>
|
|
1280
|
+
<line num="194" count="2" type="stmt"/>
|
|
1281
|
+
</file>
|
|
1282
|
+
<file name="validation.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query/validation.js">
|
|
1283
|
+
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
1284
|
+
<line num="1" count="35" type="stmt"/>
|
|
1285
|
+
<line num="2" count="35" type="stmt"/>
|
|
1286
|
+
<line num="4" count="35" type="stmt"/>
|
|
1287
|
+
<line num="5" count="28" type="stmt"/>
|
|
1288
|
+
<line num="26" count="35" type="stmt"/>
|
|
1289
|
+
<line num="28" count="23" type="stmt"/>
|
|
1290
|
+
<line num="31" count="35" type="stmt"/>
|
|
1291
|
+
<line num="33" count="23" type="stmt"/>
|
|
1220
1292
|
</file>
|
|
1221
1293
|
</package>
|
|
1222
1294
|
<package name="api.controllers.row">
|
|
1223
|
-
<metrics statements="
|
|
1295
|
+
<metrics statements="593" coveredstatements="314" conditionals="253" coveredconditionals="85" methods="88" coveredmethods="38"/>
|
|
1224
1296
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
|
|
1225
1297
|
<metrics statements="99" coveredstatements="15" conditionals="42" coveredconditionals="0" methods="13" coveredmethods="0"/>
|
|
1226
1298
|
<line num="6" count="34" type="stmt"/>
|
|
@@ -1412,12 +1484,11 @@
|
|
|
1412
1484
|
<line num="137" count="0" type="stmt"/>
|
|
1413
1485
|
</file>
|
|
1414
1486
|
<file name="internal.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internal.js">
|
|
1415
|
-
<metrics statements="
|
|
1487
|
+
<metrics statements="214" coveredstatements="178" conditionals="64" coveredconditionals="39" methods="25" coveredmethods="23"/>
|
|
1416
1488
|
<line num="1" count="34" type="stmt"/>
|
|
1417
1489
|
<line num="2" count="34" type="stmt"/>
|
|
1418
1490
|
<line num="8" count="34" type="stmt"/>
|
|
1419
1491
|
<line num="9" count="34" type="stmt"/>
|
|
1420
|
-
<line num="14" count="34" type="stmt"/>
|
|
1421
1492
|
<line num="15" count="34" type="stmt"/>
|
|
1422
1493
|
<line num="16" count="34" type="stmt"/>
|
|
1423
1494
|
<line num="17" count="34" type="stmt"/>
|
|
@@ -1425,206 +1496,212 @@
|
|
|
1425
1496
|
<line num="19" count="34" type="stmt"/>
|
|
1426
1497
|
<line num="20" count="34" type="stmt"/>
|
|
1427
1498
|
<line num="21" count="34" type="stmt"/>
|
|
1428
|
-
<line num="
|
|
1499
|
+
<line num="22" count="34" type="stmt"/>
|
|
1500
|
+
<line num="28" count="34" type="stmt"/>
|
|
1429
1501
|
<line num="29" count="34" type="stmt"/>
|
|
1430
|
-
<line num="
|
|
1431
|
-
<line num="
|
|
1432
|
-
<line num="
|
|
1433
|
-
<line num="
|
|
1434
|
-
<line num="44" count="0" type="
|
|
1435
|
-
<line num="
|
|
1436
|
-
<line num="
|
|
1437
|
-
<line num="
|
|
1438
|
-
<line num="
|
|
1502
|
+
<line num="31" count="34" type="stmt"/>
|
|
1503
|
+
<line num="38" count="70" type="stmt"/>
|
|
1504
|
+
<line num="42" count="70" type="cond" truecount="1" falsecount="1"/>
|
|
1505
|
+
<line num="43" count="0" type="stmt"/>
|
|
1506
|
+
<line num="44" count="0" type="stmt"/>
|
|
1507
|
+
<line num="46" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1508
|
+
<line num="47" count="0" type="stmt"/>
|
|
1509
|
+
<line num="48" count="0" type="stmt"/>
|
|
1510
|
+
<line num="51" count="0" type="stmt"/>
|
|
1439
1511
|
<line num="52" count="0" type="stmt"/>
|
|
1440
|
-
<line num="
|
|
1441
|
-
<line num="
|
|
1512
|
+
<line num="54" count="0" type="stmt"/>
|
|
1513
|
+
<line num="58" count="70" type="stmt"/>
|
|
1442
1514
|
<line num="59" count="70" type="stmt"/>
|
|
1443
|
-
<line num="
|
|
1444
|
-
<line num="
|
|
1445
|
-
<line num="
|
|
1446
|
-
<line num="
|
|
1447
|
-
<line num="70" count="
|
|
1448
|
-
<line num="
|
|
1449
|
-
<line num="77" count="
|
|
1450
|
-
<line num="
|
|
1451
|
-
<line num="82" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1515
|
+
<line num="61" count="70" type="stmt"/>
|
|
1516
|
+
<line num="62" count="70" type="stmt"/>
|
|
1517
|
+
<line num="68" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
1518
|
+
<line num="69" count="0" type="stmt"/>
|
|
1519
|
+
<line num="70" count="0" type="stmt"/>
|
|
1520
|
+
<line num="72" count="5" type="stmt"/>
|
|
1521
|
+
<line num="77" count="10" type="stmt"/>
|
|
1522
|
+
<line num="79" count="5" type="stmt"/>
|
|
1452
1523
|
<line num="83" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1453
|
-
<line num="
|
|
1454
|
-
<line num="
|
|
1524
|
+
<line num="84" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1525
|
+
<line num="85" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1455
1526
|
<line num="87" count="6" type="stmt"/>
|
|
1456
|
-
<line num="
|
|
1457
|
-
<line num="
|
|
1458
|
-
<line num="
|
|
1459
|
-
<line num="
|
|
1460
|
-
<line num="
|
|
1461
|
-
<line num="
|
|
1462
|
-
<line num="
|
|
1463
|
-
<line num="
|
|
1464
|
-
<line num="
|
|
1465
|
-
<line num="
|
|
1466
|
-
<line num="
|
|
1467
|
-
<line num="108" count="
|
|
1527
|
+
<line num="88" count="6" type="stmt"/>
|
|
1528
|
+
<line num="89" count="6" type="stmt"/>
|
|
1529
|
+
<line num="92" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1530
|
+
<line num="93" count="0" type="stmt"/>
|
|
1531
|
+
<line num="95" count="1" type="stmt"/>
|
|
1532
|
+
<line num="96" count="0" type="stmt"/>
|
|
1533
|
+
<line num="99" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
1534
|
+
<line num="100" count="0" type="stmt"/>
|
|
1535
|
+
<line num="102" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
1536
|
+
<line num="103" count="0" type="stmt"/>
|
|
1537
|
+
<line num="105" count="5" type="stmt"/>
|
|
1538
|
+
<line num="108" count="34" type="stmt"/>
|
|
1468
1539
|
<line num="109" count="5" type="stmt"/>
|
|
1469
1540
|
<line num="110" count="5" type="stmt"/>
|
|
1470
1541
|
<line num="111" count="5" type="stmt"/>
|
|
1542
|
+
<line num="112" count="5" type="stmt"/>
|
|
1471
1543
|
<line num="113" count="5" type="stmt"/>
|
|
1472
|
-
<line num="
|
|
1473
|
-
<line num="116" count="
|
|
1474
|
-
<line num="
|
|
1475
|
-
<line num="
|
|
1476
|
-
<line num="
|
|
1544
|
+
<line num="115" count="5" type="stmt"/>
|
|
1545
|
+
<line num="116" count="5" type="stmt"/>
|
|
1546
|
+
<line num="118" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1547
|
+
<line num="121" count="0" type="stmt"/>
|
|
1548
|
+
<line num="125" count="0" type="stmt"/>
|
|
1477
1549
|
<line num="128" count="5" type="stmt"/>
|
|
1478
|
-
<line num="
|
|
1479
|
-
<line num="
|
|
1480
|
-
<line num="
|
|
1481
|
-
<line num="
|
|
1482
|
-
<line num="
|
|
1483
|
-
<line num="
|
|
1484
|
-
<line num="
|
|
1485
|
-
<line num="
|
|
1486
|
-
<line num="
|
|
1487
|
-
<line num="156" count="
|
|
1488
|
-
<line num="
|
|
1489
|
-
<line num="160" count="
|
|
1490
|
-
<line num="
|
|
1491
|
-
<line num="
|
|
1492
|
-
<line num="165" count="
|
|
1493
|
-
<line num="
|
|
1494
|
-
<line num="
|
|
1495
|
-
<line num="169" count="67" type="cond" truecount="3" falsecount="1"/>
|
|
1550
|
+
<line num="130" count="5" type="stmt"/>
|
|
1551
|
+
<line num="131" count="5" type="stmt"/>
|
|
1552
|
+
<line num="132" count="21" type="cond" truecount="2" falsecount="0"/>
|
|
1553
|
+
<line num="133" count="6" type="stmt"/>
|
|
1554
|
+
<line num="137" count="5" type="stmt"/>
|
|
1555
|
+
<line num="138" count="5" type="stmt"/>
|
|
1556
|
+
<line num="143" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1557
|
+
<line num="144" count="1" type="stmt"/>
|
|
1558
|
+
<line num="148" count="4" type="stmt"/>
|
|
1559
|
+
<line num="156" count="4" type="stmt"/>
|
|
1560
|
+
<line num="158" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1561
|
+
<line num="160" count="0" type="stmt"/>
|
|
1562
|
+
<line num="161" count="0" type="stmt"/>
|
|
1563
|
+
<line num="162" count="0" type="stmt"/>
|
|
1564
|
+
<line num="165" count="4" type="stmt"/>
|
|
1565
|
+
<line num="168" count="34" type="stmt"/>
|
|
1566
|
+
<line num="169" count="67" type="stmt"/>
|
|
1496
1567
|
<line num="170" count="67" type="stmt"/>
|
|
1497
|
-
<line num="
|
|
1568
|
+
<line num="171" count="67" type="stmt"/>
|
|
1569
|
+
<line num="172" count="67" type="stmt"/>
|
|
1570
|
+
<line num="174" count="67" type="cond" truecount="3" falsecount="1"/>
|
|
1498
1571
|
<line num="175" count="67" type="stmt"/>
|
|
1499
|
-
<line num="
|
|
1500
|
-
<line num="
|
|
1501
|
-
<line num="
|
|
1502
|
-
<line num="186" count="67" type="
|
|
1503
|
-
<line num="
|
|
1504
|
-
<line num="
|
|
1505
|
-
<line num="
|
|
1506
|
-
<line num="
|
|
1507
|
-
<line num="
|
|
1508
|
-
<line num="
|
|
1509
|
-
<line num="
|
|
1510
|
-
<line num="
|
|
1511
|
-
<line num="
|
|
1512
|
-
<line num="
|
|
1513
|
-
<line num="
|
|
1514
|
-
<line num="
|
|
1515
|
-
<line num="
|
|
1516
|
-
<line num="
|
|
1517
|
-
<line num="
|
|
1518
|
-
<line num="223" count="
|
|
1519
|
-
<line num="224" count="
|
|
1520
|
-
<line num="
|
|
1521
|
-
<line num="
|
|
1522
|
-
<line num="
|
|
1523
|
-
<line num="
|
|
1524
|
-
<line num="
|
|
1525
|
-
<line num="
|
|
1526
|
-
<line num="
|
|
1527
|
-
<line num="
|
|
1528
|
-
<line num="
|
|
1529
|
-
<line num="
|
|
1530
|
-
<line num="261" count="5" type="stmt"/>
|
|
1572
|
+
<line num="179" count="67" type="stmt"/>
|
|
1573
|
+
<line num="180" count="67" type="stmt"/>
|
|
1574
|
+
<line num="181" count="67" type="stmt"/>
|
|
1575
|
+
<line num="186" count="67" type="cond" truecount="1" falsecount="1"/>
|
|
1576
|
+
<line num="187" count="0" type="stmt"/>
|
|
1577
|
+
<line num="191" count="67" type="stmt"/>
|
|
1578
|
+
<line num="199" count="66" type="stmt"/>
|
|
1579
|
+
<line num="202" count="34" type="stmt"/>
|
|
1580
|
+
<line num="203" count="7" type="stmt"/>
|
|
1581
|
+
<line num="204" count="7" type="stmt"/>
|
|
1582
|
+
<line num="207" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
1583
|
+
<line num="208" count="1" type="stmt"/>
|
|
1584
|
+
<line num="209" count="1" type="stmt"/>
|
|
1585
|
+
<line num="212" count="6" type="stmt"/>
|
|
1586
|
+
<line num="213" count="6" type="stmt"/>
|
|
1587
|
+
<line num="214" count="6" type="stmt"/>
|
|
1588
|
+
<line num="216" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
1589
|
+
<line num="217" count="5" type="stmt"/>
|
|
1590
|
+
<line num="222" count="0" type="stmt"/>
|
|
1591
|
+
<line num="223" count="0" type="stmt"/>
|
|
1592
|
+
<line num="224" count="0" type="stmt"/>
|
|
1593
|
+
<line num="228" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1594
|
+
<line num="229" count="3" type="stmt"/>
|
|
1595
|
+
<line num="231" count="3" type="stmt"/>
|
|
1596
|
+
<line num="232" count="3" type="stmt"/>
|
|
1597
|
+
<line num="239" count="3" type="stmt"/>
|
|
1598
|
+
<line num="242" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1599
|
+
<line num="243" count="3" type="stmt"/>
|
|
1600
|
+
<line num="249" count="2" type="stmt"/>
|
|
1601
|
+
<line num="252" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
1602
|
+
<line num="256" count="0" type="stmt"/>
|
|
1531
1603
|
<line num="262" count="5" type="stmt"/>
|
|
1532
|
-
<line num="
|
|
1533
|
-
<line num="265" count="5" type="stmt"/>
|
|
1604
|
+
<line num="265" count="34" type="stmt"/>
|
|
1534
1605
|
<line num="266" count="5" type="stmt"/>
|
|
1535
1606
|
<line num="267" count="5" type="stmt"/>
|
|
1536
|
-
<line num="
|
|
1537
|
-
<line num="
|
|
1538
|
-
<line num="
|
|
1539
|
-
<line num="
|
|
1540
|
-
<line num="
|
|
1541
|
-
<line num="
|
|
1542
|
-
<line num="
|
|
1543
|
-
<line num="
|
|
1544
|
-
<line num="
|
|
1545
|
-
<line num="
|
|
1546
|
-
<line num="
|
|
1547
|
-
<line num="
|
|
1548
|
-
<line num="285" count="
|
|
1549
|
-
<line num="286" count="
|
|
1550
|
-
<line num="
|
|
1551
|
-
<line num="
|
|
1552
|
-
<line num="
|
|
1553
|
-
<line num="
|
|
1554
|
-
<line num="
|
|
1555
|
-
<line num="
|
|
1556
|
-
<line num="
|
|
1557
|
-
<line num="
|
|
1558
|
-
<line num="
|
|
1559
|
-
<line num="
|
|
1560
|
-
<line num="
|
|
1607
|
+
<line num="269" count="5" type="stmt"/>
|
|
1608
|
+
<line num="270" count="5" type="stmt"/>
|
|
1609
|
+
<line num="271" count="5" type="stmt"/>
|
|
1610
|
+
<line num="272" count="5" type="stmt"/>
|
|
1611
|
+
<line num="275" count="34" type="stmt"/>
|
|
1612
|
+
<line num="276" count="18" type="stmt"/>
|
|
1613
|
+
<line num="277" count="18" type="stmt"/>
|
|
1614
|
+
<line num="278" count="18" type="stmt"/>
|
|
1615
|
+
<line num="279" count="18" type="stmt"/>
|
|
1616
|
+
<line num="280" count="15" type="stmt"/>
|
|
1617
|
+
<line num="281" count="15" type="stmt"/>
|
|
1618
|
+
<line num="284" count="34" type="stmt"/>
|
|
1619
|
+
<line num="285" count="3" type="stmt"/>
|
|
1620
|
+
<line num="286" count="3" type="stmt"/>
|
|
1621
|
+
<line num="287" count="3" type="stmt"/>
|
|
1622
|
+
<line num="288" count="3" type="stmt"/>
|
|
1623
|
+
<line num="290" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1624
|
+
<line num="291" count="0" type="stmt"/>
|
|
1625
|
+
<line num="293" count="2" type="stmt"/>
|
|
1626
|
+
<line num="295" count="2" type="stmt"/>
|
|
1627
|
+
<line num="297" count="2" type="stmt"/>
|
|
1628
|
+
<line num="304" count="2" type="stmt"/>
|
|
1629
|
+
<line num="307" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1630
|
+
<line num="308" count="0" type="stmt"/>
|
|
1631
|
+
<line num="311" count="0" type="stmt"/>
|
|
1632
|
+
<line num="312" count="0" type="stmt"/>
|
|
1561
1633
|
<line num="314" count="2" type="stmt"/>
|
|
1562
|
-
<line num="315" count="2" type="stmt"/>
|
|
1563
1634
|
<line num="316" count="2" type="stmt"/>
|
|
1564
|
-
<line num="
|
|
1635
|
+
<line num="319" count="34" type="stmt"/>
|
|
1636
|
+
<line num="320" count="2" type="stmt"/>
|
|
1565
1637
|
<line num="321" count="2" type="stmt"/>
|
|
1638
|
+
<line num="322" count="2" type="stmt"/>
|
|
1639
|
+
<line num="323" count="2" type="stmt"/>
|
|
1566
1640
|
<line num="324" count="2" type="stmt"/>
|
|
1567
|
-
<line num="
|
|
1568
|
-
<line num="
|
|
1569
|
-
<line num="
|
|
1570
|
-
<line num="
|
|
1571
|
-
<line num="
|
|
1572
|
-
<line num="342" count="
|
|
1573
|
-
<line num="
|
|
1574
|
-
<line num="
|
|
1575
|
-
<line num="
|
|
1576
|
-
<line num="
|
|
1577
|
-
<line num="
|
|
1578
|
-
<line num="
|
|
1579
|
-
<line num="
|
|
1580
|
-
<line num="
|
|
1581
|
-
<line num="
|
|
1582
|
-
<line num="
|
|
1583
|
-
<line num="359" count="1" type="stmt"/>
|
|
1584
|
-
<line num="362" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1585
|
-
<line num="363" count="0" type="stmt"/>
|
|
1641
|
+
<line num="328" count="2" type="stmt"/>
|
|
1642
|
+
<line num="331" count="2" type="stmt"/>
|
|
1643
|
+
<line num="332" count="3" type="stmt"/>
|
|
1644
|
+
<line num="339" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1645
|
+
<line num="340" count="0" type="stmt"/>
|
|
1646
|
+
<line num="342" count="0" type="stmt"/>
|
|
1647
|
+
<line num="345" count="0" type="stmt"/>
|
|
1648
|
+
<line num="349" count="3" type="stmt"/>
|
|
1649
|
+
<line num="352" count="2" type="stmt"/>
|
|
1650
|
+
<line num="353" count="2" type="stmt"/>
|
|
1651
|
+
<line num="354" count="2" type="stmt"/>
|
|
1652
|
+
<line num="357" count="34" type="stmt"/>
|
|
1653
|
+
<line num="359" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1654
|
+
<line num="360" count="0" type="stmt"/>
|
|
1655
|
+
<line num="363" count="1" type="stmt"/>
|
|
1656
|
+
<line num="364" count="1" type="stmt"/>
|
|
1586
1657
|
<line num="365" count="1" type="stmt"/>
|
|
1587
|
-
<line num="
|
|
1658
|
+
<line num="366" count="1" type="stmt"/>
|
|
1659
|
+
<line num="367" count="1" type="stmt"/>
|
|
1660
|
+
<line num="368" count="1" type="stmt"/>
|
|
1588
1661
|
<line num="371" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1589
1662
|
<line num="372" count="0" type="stmt"/>
|
|
1590
1663
|
<line num="374" count="1" type="stmt"/>
|
|
1591
|
-
<line num="
|
|
1592
|
-
<line num="
|
|
1593
|
-
<line num="381" count="
|
|
1594
|
-
<line num="
|
|
1595
|
-
<line num="
|
|
1596
|
-
<line num="
|
|
1597
|
-
<line num="
|
|
1598
|
-
<line num="
|
|
1599
|
-
<line num="
|
|
1600
|
-
<line num="
|
|
1664
|
+
<line num="378" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
1665
|
+
<line num="380" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1666
|
+
<line num="381" count="0" type="stmt"/>
|
|
1667
|
+
<line num="383" count="1" type="stmt"/>
|
|
1668
|
+
<line num="384" count="1" type="stmt"/>
|
|
1669
|
+
<line num="387" count="1" type="stmt"/>
|
|
1670
|
+
<line num="390" count="34" type="stmt"/>
|
|
1671
|
+
<line num="391" count="2" type="stmt"/>
|
|
1672
|
+
<line num="398" count="34" type="stmt"/>
|
|
1673
|
+
<line num="399" count="1" type="stmt"/>
|
|
1601
1674
|
<line num="400" count="1" type="stmt"/>
|
|
1602
|
-
<line num="
|
|
1675
|
+
<line num="401" count="1" type="stmt"/>
|
|
1676
|
+
<line num="402" count="1" type="stmt"/>
|
|
1677
|
+
<line num="404" count="1" type="stmt"/>
|
|
1603
1678
|
<line num="409" count="1" type="stmt"/>
|
|
1604
|
-
<line num="411" count="1" type="stmt"/>
|
|
1605
|
-
<line num="413" count="1" type="stmt"/>
|
|
1606
|
-
<line num="414" count="1" type="stmt"/>
|
|
1607
1679
|
<line num="415" count="1" type="stmt"/>
|
|
1608
|
-
<line num="416" count="1" type="stmt"/>
|
|
1609
|
-
<line num="417" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1610
1680
|
<line num="418" count="1" type="stmt"/>
|
|
1611
|
-
<line num="
|
|
1612
|
-
<line num="
|
|
1681
|
+
<line num="420" count="1" type="stmt"/>
|
|
1682
|
+
<line num="422" count="1" type="stmt"/>
|
|
1683
|
+
<line num="423" count="1" type="stmt"/>
|
|
1613
1684
|
<line num="424" count="1" type="stmt"/>
|
|
1614
1685
|
<line num="425" count="1" type="stmt"/>
|
|
1686
|
+
<line num="426" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1615
1687
|
<line num="427" count="1" type="stmt"/>
|
|
1688
|
+
<line num="428" count="1" type="stmt"/>
|
|
1689
|
+
<line num="430" count="0" type="stmt"/>
|
|
1616
1690
|
<line num="433" count="1" type="stmt"/>
|
|
1617
|
-
<line num="434" count="
|
|
1618
|
-
<line num="
|
|
1619
|
-
<line num="437" count="1" type="stmt"/>
|
|
1620
|
-
<line num="438" count="1" type="stmt"/>
|
|
1621
|
-
<line num="439" count="1" type="stmt"/>
|
|
1622
|
-
<line num="441" count="1" type="stmt"/>
|
|
1691
|
+
<line num="434" count="1" type="stmt"/>
|
|
1692
|
+
<line num="436" count="1" type="stmt"/>
|
|
1623
1693
|
<line num="442" count="1" type="stmt"/>
|
|
1694
|
+
<line num="443" count="3" type="stmt"/>
|
|
1695
|
+
<line num="444" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
1624
1696
|
<line num="446" count="1" type="stmt"/>
|
|
1697
|
+
<line num="447" count="1" type="stmt"/>
|
|
1698
|
+
<line num="448" count="1" type="stmt"/>
|
|
1699
|
+
<line num="450" count="1" type="stmt"/>
|
|
1700
|
+
<line num="451" count="1" type="stmt"/>
|
|
1701
|
+
<line num="455" count="1" type="stmt"/>
|
|
1625
1702
|
</file>
|
|
1626
1703
|
<file name="internalSearch.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internalSearch.js">
|
|
1627
|
-
<metrics statements="147" coveredstatements="7" conditionals="
|
|
1704
|
+
<metrics statements="147" coveredstatements="7" conditionals="87" coveredconditionals="0" methods="33" coveredmethods="0"/>
|
|
1628
1705
|
<line num="1" count="33" type="stmt"/>
|
|
1629
1706
|
<line num="2" count="33" type="stmt"/>
|
|
1630
1707
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -1708,73 +1785,73 @@
|
|
|
1708
1785
|
<line num="189" count="0" type="stmt"/>
|
|
1709
1786
|
<line num="192" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1710
1787
|
<line num="193" count="0" type="stmt"/>
|
|
1711
|
-
<line num="
|
|
1712
|
-
<line num="
|
|
1713
|
-
<line num="
|
|
1714
|
-
<line num="
|
|
1715
|
-
<line num="
|
|
1716
|
-
<line num="
|
|
1717
|
-
<line num="
|
|
1718
|
-
<line num="
|
|
1719
|
-
<line num="
|
|
1720
|
-
<line num="
|
|
1721
|
-
<line num="
|
|
1722
|
-
<line num="
|
|
1723
|
-
<line num="
|
|
1724
|
-
<line num="
|
|
1725
|
-
<line num="
|
|
1726
|
-
<line num="
|
|
1727
|
-
<line num="226" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1788
|
+
<line num="195" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1789
|
+
<line num="196" count="0" type="stmt"/>
|
|
1790
|
+
<line num="198" count="0" type="stmt"/>
|
|
1791
|
+
<line num="201" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1792
|
+
<line num="202" count="0" type="stmt"/>
|
|
1793
|
+
<line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1794
|
+
<line num="204" count="0" type="stmt"/>
|
|
1795
|
+
<line num="206" count="0" type="stmt"/>
|
|
1796
|
+
<line num="209" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1797
|
+
<line num="210" count="0" type="stmt"/>
|
|
1798
|
+
<line num="212" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1799
|
+
<line num="213" count="0" type="stmt"/>
|
|
1800
|
+
<line num="215" count="0" type="stmt"/>
|
|
1801
|
+
<line num="219" count="0" type="stmt"/>
|
|
1802
|
+
<line num="224" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1803
|
+
<line num="225" count="0" type="stmt"/>
|
|
1728
1804
|
<line num="227" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1729
|
-
<line num="228" count="0" type="
|
|
1805
|
+
<line num="228" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1730
1806
|
<line num="229" count="0" type="stmt"/>
|
|
1731
|
-
<line num="
|
|
1732
|
-
<line num="
|
|
1733
|
-
<line num="
|
|
1807
|
+
<line num="230" count="0" type="stmt"/>
|
|
1808
|
+
<line num="232" count="0" type="stmt"/>
|
|
1809
|
+
<line num="236" count="0" type="stmt"/>
|
|
1734
1810
|
<line num="239" count="0" type="stmt"/>
|
|
1735
|
-
<line num="
|
|
1736
|
-
<line num="250" count="
|
|
1737
|
-
<line num="
|
|
1738
|
-
<line num="
|
|
1739
|
-
<line num="
|
|
1740
|
-
<line num="260" count="0" type="
|
|
1741
|
-
<line num="
|
|
1742
|
-
<line num="263" count="0" type="
|
|
1743
|
-
<line num="
|
|
1744
|
-
<line num="
|
|
1745
|
-
<line num="286" count="
|
|
1746
|
-
<line num="287" count="0" type="
|
|
1811
|
+
<line num="240" count="0" type="stmt"/>
|
|
1812
|
+
<line num="250" count="33" type="stmt"/>
|
|
1813
|
+
<line num="251" count="0" type="stmt"/>
|
|
1814
|
+
<line num="255" count="0" type="stmt"/>
|
|
1815
|
+
<line num="257" count="0" type="stmt"/>
|
|
1816
|
+
<line num="260" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1817
|
+
<line num="261" count="0" type="stmt"/>
|
|
1818
|
+
<line num="263" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1819
|
+
<line num="264" count="0" type="stmt"/>
|
|
1820
|
+
<line num="266" count="0" type="stmt"/>
|
|
1821
|
+
<line num="286" count="33" type="stmt"/>
|
|
1822
|
+
<line num="287" count="0" type="stmt"/>
|
|
1747
1823
|
<line num="288" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1748
|
-
<line num="289" count="0" type="
|
|
1749
|
-
<line num="
|
|
1750
|
-
<line num="292" count="0" type="
|
|
1751
|
-
<line num="293" count="0" type="
|
|
1752
|
-
<line num="
|
|
1753
|
-
<line num="
|
|
1754
|
-
<line num="305" count="0" type="
|
|
1755
|
-
<line num="
|
|
1756
|
-
<line num="308" count="0" type="
|
|
1757
|
-
<line num="
|
|
1758
|
-
<line num="
|
|
1759
|
-
<line num="
|
|
1760
|
-
<line num="335" count="
|
|
1761
|
-
<line num="336" count="0" type="
|
|
1762
|
-
<line num="337" count="0" type="
|
|
1763
|
-
<line num="
|
|
1824
|
+
<line num="289" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1825
|
+
<line num="290" count="0" type="stmt"/>
|
|
1826
|
+
<line num="292" count="0" type="stmt"/>
|
|
1827
|
+
<line num="293" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1828
|
+
<line num="294" count="0" type="stmt"/>
|
|
1829
|
+
<line num="296" count="0" type="stmt"/>
|
|
1830
|
+
<line num="305" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1831
|
+
<line num="306" count="0" type="stmt"/>
|
|
1832
|
+
<line num="308" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1833
|
+
<line num="309" count="0" type="stmt"/>
|
|
1834
|
+
<line num="311" count="0" type="stmt"/>
|
|
1835
|
+
<line num="316" count="0" type="stmt"/>
|
|
1836
|
+
<line num="335" count="33" type="stmt"/>
|
|
1837
|
+
<line num="336" count="0" type="stmt"/>
|
|
1838
|
+
<line num="337" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
1839
|
+
<line num="338" count="0" type="stmt"/>
|
|
1764
1840
|
<line num="340" count="0" type="stmt"/>
|
|
1765
|
-
<line num="
|
|
1766
|
-
<line num="
|
|
1767
|
-
<line num="
|
|
1768
|
-
<line num="
|
|
1769
|
-
<line num="381" count="
|
|
1770
|
-
<line num="382" count="0" type="
|
|
1771
|
-
<line num="383" count="0" type="
|
|
1772
|
-
<line num="
|
|
1841
|
+
<line num="341" count="0" type="stmt"/>
|
|
1842
|
+
<line num="347" count="0" type="stmt"/>
|
|
1843
|
+
<line num="354" count="0" type="stmt"/>
|
|
1844
|
+
<line num="359" count="0" type="stmt"/>
|
|
1845
|
+
<line num="381" count="33" type="stmt"/>
|
|
1846
|
+
<line num="382" count="0" type="stmt"/>
|
|
1847
|
+
<line num="383" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
1848
|
+
<line num="384" count="0" type="stmt"/>
|
|
1773
1849
|
<line num="386" count="0" type="stmt"/>
|
|
1774
1850
|
<line num="387" count="0" type="stmt"/>
|
|
1851
|
+
<line num="388" count="0" type="stmt"/>
|
|
1775
1852
|
</file>
|
|
1776
1853
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/utils.js">
|
|
1777
|
-
<metrics statements="
|
|
1854
|
+
<metrics statements="48" coveredstatements="35" conditionals="26" coveredconditionals="14" methods="6" coveredmethods="4"/>
|
|
1778
1855
|
<line num="1" count="34" type="stmt"/>
|
|
1779
1856
|
<line num="2" count="34" type="stmt"/>
|
|
1780
1857
|
<line num="3" count="34" type="stmt"/>
|
|
@@ -1807,17 +1884,22 @@
|
|
|
1807
1884
|
<line num="50" count="74" type="stmt"/>
|
|
1808
1885
|
<line num="51" count="74" type="stmt"/>
|
|
1809
1886
|
<line num="52" count="206" type="stmt"/>
|
|
1810
|
-
<line num="
|
|
1887
|
+
<line num="53" count="206" type="stmt"/>
|
|
1888
|
+
<line num="55" count="206" type="cond" truecount="1" falsecount="1"/>
|
|
1811
1889
|
<line num="59" count="0" type="stmt"/>
|
|
1812
|
-
<line num="64" count="206" type="cond" truecount="
|
|
1813
|
-
<line num="
|
|
1814
|
-
<line num="
|
|
1815
|
-
<line num="
|
|
1816
|
-
<line num="
|
|
1890
|
+
<line num="64" count="206" type="cond" truecount="2" falsecount="3"/>
|
|
1891
|
+
<line num="65" count="0" type="stmt"/>
|
|
1892
|
+
<line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1893
|
+
<line num="67" count="0" type="stmt"/>
|
|
1894
|
+
<line num="70" count="206" type="cond" truecount="2" falsecount="2"/>
|
|
1895
|
+
<line num="72" count="0" type="stmt"/>
|
|
1896
|
+
<line num="73" count="0" type="stmt"/>
|
|
1817
1897
|
<line num="75" count="0" type="stmt"/>
|
|
1818
|
-
<line num="
|
|
1819
|
-
<line num="
|
|
1820
|
-
<line num="
|
|
1898
|
+
<line num="77" count="206" type="cond" truecount="1" falsecount="1"/>
|
|
1899
|
+
<line num="78" count="0" type="stmt"/>
|
|
1900
|
+
<line num="83" count="206" type="stmt"/>
|
|
1901
|
+
<line num="85" count="206" type="cond" truecount="2" falsecount="0"/>
|
|
1902
|
+
<line num="87" count="74" type="stmt"/>
|
|
1821
1903
|
</file>
|
|
1822
1904
|
</package>
|
|
1823
1905
|
<package name="api.controllers.table">
|
|
@@ -2463,7 +2545,7 @@
|
|
|
2463
2545
|
</file>
|
|
2464
2546
|
</package>
|
|
2465
2547
|
<package name="api.routes">
|
|
2466
|
-
<metrics statements="
|
|
2548
|
+
<metrics statements="268" coveredstatements="261" conditionals="11" coveredconditionals="7" methods="10" coveredmethods="10"/>
|
|
2467
2549
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/analytics.js">
|
|
2468
2550
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2469
2551
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -2675,19 +2757,16 @@
|
|
|
2675
2757
|
<line num="44" count="23" type="stmt"/>
|
|
2676
2758
|
</file>
|
|
2677
2759
|
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/query.js">
|
|
2678
|
-
<metrics statements="
|
|
2760
|
+
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2679
2761
|
<line num="1" count="23" type="stmt"/>
|
|
2680
2762
|
<line num="2" count="23" type="stmt"/>
|
|
2681
2763
|
<line num="3" count="23" type="stmt"/>
|
|
2682
|
-
<line num="
|
|
2683
|
-
<line num="
|
|
2684
|
-
<line num="10" count="23" type="stmt"/>
|
|
2685
|
-
<line num="15" count="23" type="stmt"/>
|
|
2764
|
+
<line num="8" count="23" type="stmt"/>
|
|
2765
|
+
<line num="13" count="23" type="stmt"/>
|
|
2686
2766
|
<line num="17" count="23" type="stmt"/>
|
|
2767
|
+
<line num="19" count="23" type="stmt"/>
|
|
2687
2768
|
<line num="21" count="23" type="stmt"/>
|
|
2688
|
-
<line num="
|
|
2689
|
-
<line num="51" count="23" type="stmt"/>
|
|
2690
|
-
<line num="86" count="23" type="stmt"/>
|
|
2769
|
+
<line num="64" count="23" type="stmt"/>
|
|
2691
2770
|
</file>
|
|
2692
2771
|
<file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/role.js">
|
|
2693
2772
|
<metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
@@ -2795,7 +2874,7 @@
|
|
|
2795
2874
|
<line num="7" count="23" type="stmt"/>
|
|
2796
2875
|
<line num="9" count="23" type="stmt"/>
|
|
2797
2876
|
<line num="11" count="23" type="stmt"/>
|
|
2798
|
-
<line num="
|
|
2877
|
+
<line num="53" count="23" type="stmt"/>
|
|
2799
2878
|
</file>
|
|
2800
2879
|
<file name="view.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/view.js">
|
|
2801
2880
|
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -2824,7 +2903,7 @@
|
|
|
2824
2903
|
</file>
|
|
2825
2904
|
</package>
|
|
2826
2905
|
<package name="automations">
|
|
2827
|
-
<metrics statements="
|
|
2906
|
+
<metrics statements="209" coveredstatements="177" conditionals="96" coveredconditionals="77" methods="26" coveredmethods="21"/>
|
|
2828
2907
|
<file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
|
|
2829
2908
|
<metrics statements="23" coveredstatements="23" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
|
|
2830
2909
|
<line num="1" count="34" type="stmt"/>
|
|
@@ -2976,7 +3055,7 @@
|
|
|
2976
3055
|
<line num="111" count="33" type="stmt"/>
|
|
2977
3056
|
</file>
|
|
2978
3057
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/utils.js">
|
|
2979
|
-
<metrics statements="
|
|
3058
|
+
<metrics statements="74" coveredstatements="60" conditionals="38" coveredconditionals="31" methods="10" coveredmethods="9"/>
|
|
2980
3059
|
<line num="1" count="33" type="stmt"/>
|
|
2981
3060
|
<line num="2" count="33" type="stmt"/>
|
|
2982
3061
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -2986,68 +3065,75 @@
|
|
|
2986
3065
|
<line num="7" count="33" type="stmt"/>
|
|
2987
3066
|
<line num="8" count="33" type="stmt"/>
|
|
2988
3067
|
<line num="9" count="33" type="stmt"/>
|
|
2989
|
-
<line num="
|
|
3068
|
+
<line num="10" count="33" type="stmt"/>
|
|
2990
3069
|
<line num="12" count="33" type="stmt"/>
|
|
2991
3070
|
<line num="13" count="33" type="stmt"/>
|
|
2992
|
-
<line num="
|
|
2993
|
-
<line num="16" count="
|
|
2994
|
-
<line num="
|
|
2995
|
-
<line num="
|
|
2996
|
-
<line num="
|
|
2997
|
-
<line num="
|
|
2998
|
-
<line num="28" count="
|
|
2999
|
-
<line num="
|
|
3000
|
-
<line num="34" count="
|
|
3001
|
-
<line num="
|
|
3002
|
-
<line num="
|
|
3071
|
+
<line num="14" count="33" type="stmt"/>
|
|
3072
|
+
<line num="16" count="33" type="stmt"/>
|
|
3073
|
+
<line num="17" count="10" type="stmt"/>
|
|
3074
|
+
<line num="19" count="10" type="stmt"/>
|
|
3075
|
+
<line num="21" count="0" type="stmt"/>
|
|
3076
|
+
<line num="24" count="0" type="stmt"/>
|
|
3077
|
+
<line num="28" count="33" type="stmt"/>
|
|
3078
|
+
<line num="29" count="2" type="stmt"/>
|
|
3079
|
+
<line num="34" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
3080
|
+
<line num="35" count="0" type="stmt"/>
|
|
3081
|
+
<line num="37" count="2" type="stmt"/>
|
|
3082
|
+
<line num="41" count="2" type="stmt"/>
|
|
3003
3083
|
<line num="46" count="33" type="stmt"/>
|
|
3004
|
-
<line num="47" count="
|
|
3005
|
-
<line num="48" count="
|
|
3006
|
-
<line num="49" count="
|
|
3007
|
-
<line num="50" count="
|
|
3008
|
-
<line num="
|
|
3009
|
-
<line num="
|
|
3010
|
-
<line num="
|
|
3011
|
-
<line num="
|
|
3012
|
-
<line num="
|
|
3013
|
-
<line num="
|
|
3014
|
-
<line num="
|
|
3015
|
-
<line num="
|
|
3016
|
-
<line num="
|
|
3017
|
-
<line num="
|
|
3018
|
-
<line num="
|
|
3084
|
+
<line num="47" count="66" type="stmt"/>
|
|
3085
|
+
<line num="48" count="66" type="stmt"/>
|
|
3086
|
+
<line num="49" count="726" type="cond" truecount="2" falsecount="0"/>
|
|
3087
|
+
<line num="50" count="33" type="stmt"/>
|
|
3088
|
+
<line num="53" count="66" type="stmt"/>
|
|
3089
|
+
<line num="57" count="33" type="stmt"/>
|
|
3090
|
+
<line num="58" count="192" type="stmt"/>
|
|
3091
|
+
<line num="59" count="192" type="stmt"/>
|
|
3092
|
+
<line num="60" count="192" type="stmt"/>
|
|
3093
|
+
<line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3094
|
+
<line num="62" count="0" type="stmt"/>
|
|
3095
|
+
<line num="63" count="0" type="stmt"/>
|
|
3096
|
+
<line num="66" count="192" type="stmt"/>
|
|
3097
|
+
<line num="74" count="33" type="stmt"/>
|
|
3098
|
+
<line num="75" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
3099
|
+
<line num="77" count="1" type="stmt"/>
|
|
3100
|
+
<line num="84" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
3019
3101
|
<line num="86" count="0" type="stmt"/>
|
|
3020
3102
|
<line num="87" count="0" type="stmt"/>
|
|
3021
|
-
<line num="
|
|
3022
|
-
<line num="
|
|
3023
|
-
<line num="
|
|
3024
|
-
<line num="
|
|
3025
|
-
<line num="
|
|
3026
|
-
<line num="
|
|
3027
|
-
<line num="
|
|
3103
|
+
<line num="95" count="0" type="stmt"/>
|
|
3104
|
+
<line num="96" count="0" type="stmt"/>
|
|
3105
|
+
<line num="97" count="0" type="stmt"/>
|
|
3106
|
+
<line num="98" count="0" type="stmt"/>
|
|
3107
|
+
<line num="99" count="0" type="stmt"/>
|
|
3108
|
+
<line num="101" count="1" type="stmt"/>
|
|
3109
|
+
<line num="112" count="33" type="stmt"/>
|
|
3110
|
+
<line num="113" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
3028
3111
|
<line num="114" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
3029
|
-
<line num="
|
|
3030
|
-
<line num="
|
|
3031
|
-
<line num="
|
|
3032
|
-
<line num="123" count="1" type="stmt"/>
|
|
3033
|
-
<line num="128" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
3034
|
-
<line num="129" count="1" type="stmt"/>
|
|
3112
|
+
<line num="116" count="23" type="cond" truecount="3" falsecount="0"/>
|
|
3113
|
+
<line num="118" count="70" type="stmt"/>
|
|
3114
|
+
<line num="125" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
3035
3115
|
<line num="130" count="1" type="stmt"/>
|
|
3036
|
-
<line num="
|
|
3037
|
-
<line num="
|
|
3038
|
-
<line num="
|
|
3039
|
-
<line num="
|
|
3116
|
+
<line num="131" count="1" type="stmt"/>
|
|
3117
|
+
<line num="133" count="1" type="stmt"/>
|
|
3118
|
+
<line num="134" count="1" type="stmt"/>
|
|
3119
|
+
<line num="139" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
3120
|
+
<line num="140" count="1" type="stmt"/>
|
|
3121
|
+
<line num="141" count="1" type="stmt"/>
|
|
3122
|
+
<line num="143" count="1" type="stmt"/>
|
|
3123
|
+
<line num="149" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
3040
3124
|
<line num="153" count="1" type="stmt"/>
|
|
3041
|
-
<line num="
|
|
3042
|
-
<line num="
|
|
3043
|
-
<line num="
|
|
3044
|
-
<line num="
|
|
3045
|
-
<line num="
|
|
3046
|
-
<line num="
|
|
3125
|
+
<line num="163" count="1" type="stmt"/>
|
|
3126
|
+
<line num="164" count="1" type="stmt"/>
|
|
3127
|
+
<line num="165" count="1" type="stmt"/>
|
|
3128
|
+
<line num="169" count="1" type="stmt"/>
|
|
3129
|
+
<line num="170" count="1" type="stmt"/>
|
|
3130
|
+
<line num="175" count="23" type="stmt"/>
|
|
3131
|
+
<line num="183" count="33" type="stmt"/>
|
|
3132
|
+
<line num="184" count="0" type="stmt"/>
|
|
3047
3133
|
</file>
|
|
3048
3134
|
</package>
|
|
3049
3135
|
<package name="automations.steps">
|
|
3050
|
-
<metrics statements="
|
|
3136
|
+
<metrics statements="242" coveredstatements="179" conditionals="89" coveredconditionals="63" methods="20" coveredmethods="11"/>
|
|
3051
3137
|
<file name="bash.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/bash.js">
|
|
3052
3138
|
<metrics statements="16" coveredstatements="5" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
3053
3139
|
<line num="1" count="34" type="stmt"/>
|
|
@@ -3132,20 +3218,21 @@
|
|
|
3132
3218
|
<line num="78" count="0" type="stmt"/>
|
|
3133
3219
|
</file>
|
|
3134
3220
|
<file name="executeQuery.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/executeQuery.js">
|
|
3135
|
-
<metrics statements="
|
|
3221
|
+
<metrics statements="14" coveredstatements="5" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
3136
3222
|
<line num="1" count="34" type="stmt"/>
|
|
3137
3223
|
<line num="2" count="34" type="stmt"/>
|
|
3138
3224
|
<line num="3" count="34" type="stmt"/>
|
|
3139
3225
|
<line num="5" count="34" type="stmt"/>
|
|
3140
|
-
<line num="
|
|
3141
|
-
<line num="
|
|
3142
|
-
<line num="
|
|
3143
|
-
<line num="
|
|
3144
|
-
<line num="
|
|
3145
|
-
<line num="
|
|
3146
|
-
<line num="
|
|
3147
|
-
<line num="71" count="0" type="stmt"/>
|
|
3226
|
+
<line num="53" count="34" type="stmt"/>
|
|
3227
|
+
<line num="54" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3228
|
+
<line num="55" count="0" type="stmt"/>
|
|
3229
|
+
<line num="63" count="0" type="stmt"/>
|
|
3230
|
+
<line num="65" count="0" type="stmt"/>
|
|
3231
|
+
<line num="74" count="0" type="stmt"/>
|
|
3232
|
+
<line num="75" count="0" type="stmt"/>
|
|
3148
3233
|
<line num="76" count="0" type="stmt"/>
|
|
3234
|
+
<line num="77" count="0" type="stmt"/>
|
|
3235
|
+
<line num="83" count="0" type="stmt"/>
|
|
3149
3236
|
</file>
|
|
3150
3237
|
<file name="executeScript.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/executeScript.js">
|
|
3151
3238
|
<metrics statements="12" coveredstatements="5" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
@@ -3209,26 +3296,26 @@
|
|
|
3209
3296
|
<line num="3" count="34" type="stmt"/>
|
|
3210
3297
|
<line num="5" count="34" type="stmt"/>
|
|
3211
3298
|
<line num="13" count="34" type="stmt"/>
|
|
3212
|
-
<line num="
|
|
3213
|
-
<line num="
|
|
3214
|
-
<line num="
|
|
3215
|
-
<line num="
|
|
3216
|
-
<line num="
|
|
3217
|
-
<line num="
|
|
3218
|
-
<line num="
|
|
3219
|
-
<line num="
|
|
3220
|
-
<line num="
|
|
3221
|
-
<line num="
|
|
3222
|
-
<line num="
|
|
3223
|
-
<line num="
|
|
3224
|
-
<line num="
|
|
3225
|
-
<line num="
|
|
3226
|
-
<line num="
|
|
3227
|
-
<line num="
|
|
3228
|
-
<line num="
|
|
3299
|
+
<line num="19" count="34" type="stmt"/>
|
|
3300
|
+
<line num="79" count="34" type="stmt"/>
|
|
3301
|
+
<line num="80" count="2" type="stmt"/>
|
|
3302
|
+
<line num="81" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
3303
|
+
<line num="82" count="2" type="stmt"/>
|
|
3304
|
+
<line num="84" count="2" type="stmt"/>
|
|
3305
|
+
<line num="87" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
3306
|
+
<line num="88" count="0" type="stmt"/>
|
|
3307
|
+
<line num="90" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3308
|
+
<line num="91" count="0" type="stmt"/>
|
|
3309
|
+
<line num="93" count="0" type="stmt"/>
|
|
3310
|
+
<line num="99" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
3311
|
+
<line num="104" count="1" type="stmt"/>
|
|
3312
|
+
<line num="108" count="1" type="stmt"/>
|
|
3313
|
+
<line num="114" count="2" type="stmt"/>
|
|
3314
|
+
<line num="116" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
3315
|
+
<line num="117" count="1" type="stmt"/>
|
|
3316
|
+
<line num="119" count="2" type="stmt"/>
|
|
3229
3317
|
<line num="120" count="2" type="stmt"/>
|
|
3230
3318
|
<line num="121" count="2" type="stmt"/>
|
|
3231
|
-
<line num="122" count="2" type="stmt"/>
|
|
3232
3319
|
</file>
|
|
3233
3320
|
<file name="queryRows.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/queryRows.js">
|
|
3234
3321
|
<metrics statements="23" coveredstatements="22" conditionals="11" coveredconditionals="7" methods="2" coveredmethods="2"/>
|
|
@@ -3382,27 +3469,27 @@
|
|
|
3382
3469
|
<metrics statements="28" coveredstatements="28" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3383
3470
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/index.js">
|
|
3384
3471
|
<metrics statements="21" coveredstatements="21" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3385
|
-
<line num="1" count="
|
|
3386
|
-
<line num="2" count="
|
|
3387
|
-
<line num="3" count="
|
|
3388
|
-
<line num="5" count="
|
|
3389
|
-
<line num="9" count="
|
|
3390
|
-
<line num="22" count="
|
|
3391
|
-
<line num="23" count="
|
|
3392
|
-
<line num="32" count="
|
|
3393
|
-
<line num="48" count="
|
|
3394
|
-
<line num="55" count="
|
|
3395
|
-
<line num="61" count="
|
|
3396
|
-
<line num="67" count="
|
|
3397
|
-
<line num="78" count="
|
|
3398
|
-
<line num="83" count="
|
|
3399
|
-
<line num="145" count="
|
|
3400
|
-
<line num="153" count="
|
|
3401
|
-
<line num="154" count="
|
|
3402
|
-
<line num="161" count="
|
|
3403
|
-
<line num="166" count="
|
|
3404
|
-
<line num="172" count="
|
|
3405
|
-
<line num="178" count="
|
|
3472
|
+
<line num="1" count="42" type="stmt"/>
|
|
3473
|
+
<line num="2" count="42" type="stmt"/>
|
|
3474
|
+
<line num="3" count="42" type="stmt"/>
|
|
3475
|
+
<line num="5" count="42" type="stmt"/>
|
|
3476
|
+
<line num="9" count="42" type="stmt"/>
|
|
3477
|
+
<line num="22" count="42" type="stmt"/>
|
|
3478
|
+
<line num="23" count="42" type="stmt"/>
|
|
3479
|
+
<line num="32" count="42" type="stmt"/>
|
|
3480
|
+
<line num="48" count="42" type="stmt"/>
|
|
3481
|
+
<line num="55" count="42" type="stmt"/>
|
|
3482
|
+
<line num="61" count="42" type="stmt"/>
|
|
3483
|
+
<line num="67" count="42" type="stmt"/>
|
|
3484
|
+
<line num="78" count="42" type="stmt"/>
|
|
3485
|
+
<line num="83" count="42" type="stmt"/>
|
|
3486
|
+
<line num="145" count="42" type="stmt"/>
|
|
3487
|
+
<line num="153" count="42" type="stmt"/>
|
|
3488
|
+
<line num="154" count="42" type="stmt"/>
|
|
3489
|
+
<line num="161" count="42" type="stmt"/>
|
|
3490
|
+
<line num="166" count="42" type="stmt"/>
|
|
3491
|
+
<line num="172" count="42" type="stmt"/>
|
|
3492
|
+
<line num="178" count="42" type="stmt"/>
|
|
3406
3493
|
</file>
|
|
3407
3494
|
<file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
|
|
3408
3495
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -3419,26 +3506,26 @@
|
|
|
3419
3506
|
</file>
|
|
3420
3507
|
</package>
|
|
3421
3508
|
<package name="db">
|
|
3422
|
-
<metrics statements="
|
|
3509
|
+
<metrics statements="155" coveredstatements="129" conditionals="63" coveredconditionals="21" methods="36" coveredmethods="28"/>
|
|
3423
3510
|
<file name="client.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/client.js">
|
|
3424
3511
|
<metrics statements="17" coveredstatements="17" conditionals="4" coveredconditionals="3" methods="0" coveredmethods="0"/>
|
|
3425
|
-
<line num="1" count="
|
|
3426
|
-
<line num="2" count="
|
|
3427
|
-
<line num="3" count="
|
|
3428
|
-
<line num="4" count="
|
|
3429
|
-
<line num="5" count="
|
|
3430
|
-
<line num="6" count="
|
|
3431
|
-
<line num="8" count="
|
|
3432
|
-
<line num="10" count="
|
|
3433
|
-
<line num="11" count="
|
|
3434
|
-
<line num="12" count="
|
|
3435
|
-
<line num="14" count="
|
|
3436
|
-
<line num="18" count="
|
|
3437
|
-
<line num="19" count="
|
|
3438
|
-
<line num="20" count="
|
|
3439
|
-
<line num="26" count="
|
|
3440
|
-
<line num="29" count="
|
|
3441
|
-
<line num="31" count="
|
|
3512
|
+
<line num="1" count="44" type="stmt"/>
|
|
3513
|
+
<line num="2" count="44" type="stmt"/>
|
|
3514
|
+
<line num="3" count="44" type="stmt"/>
|
|
3515
|
+
<line num="4" count="44" type="stmt"/>
|
|
3516
|
+
<line num="5" count="44" type="stmt"/>
|
|
3517
|
+
<line num="6" count="44" type="stmt"/>
|
|
3518
|
+
<line num="8" count="44" type="cond" truecount="2" falsecount="0"/>
|
|
3519
|
+
<line num="10" count="44" type="stmt"/>
|
|
3520
|
+
<line num="11" count="44" type="stmt"/>
|
|
3521
|
+
<line num="12" count="44" type="stmt"/>
|
|
3522
|
+
<line num="14" count="44" type="stmt"/>
|
|
3523
|
+
<line num="18" count="44" type="cond" truecount="1" falsecount="1"/>
|
|
3524
|
+
<line num="19" count="44" type="stmt"/>
|
|
3525
|
+
<line num="20" count="44" type="stmt"/>
|
|
3526
|
+
<line num="26" count="44" type="stmt"/>
|
|
3527
|
+
<line num="29" count="44" type="stmt"/>
|
|
3528
|
+
<line num="31" count="44" type="stmt"/>
|
|
3442
3529
|
</file>
|
|
3443
3530
|
<file name="inMemoryView.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/inMemoryView.js">
|
|
3444
3531
|
<metrics statements="23" coveredstatements="6" conditionals="8" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
@@ -3468,125 +3555,127 @@
|
|
|
3468
3555
|
</file>
|
|
3469
3556
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/index.js">
|
|
3470
3557
|
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3471
|
-
<line num="1" count="
|
|
3472
|
-
<line num="3" count="
|
|
3558
|
+
<line num="1" count="44" type="stmt"/>
|
|
3559
|
+
<line num="3" count="44" type="stmt"/>
|
|
3473
3560
|
</file>
|
|
3474
3561
|
<file name="newid.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/newid.js">
|
|
3475
3562
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3476
|
-
<line num="1" count="
|
|
3477
|
-
<line num="3" count="
|
|
3478
|
-
<line num="4" count="
|
|
3563
|
+
<line num="1" count="49" type="stmt"/>
|
|
3564
|
+
<line num="3" count="49" type="stmt"/>
|
|
3565
|
+
<line num="4" count="714" type="stmt"/>
|
|
3479
3566
|
</file>
|
|
3480
3567
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3481
|
-
<metrics statements="
|
|
3482
|
-
<line num="1" count="
|
|
3483
|
-
<line num="12" count="
|
|
3484
|
-
<line num="14" count="
|
|
3485
|
-
<line num="16" count="
|
|
3486
|
-
<line num="22" count="
|
|
3487
|
-
<line num="
|
|
3488
|
-
<line num="
|
|
3489
|
-
<line num="
|
|
3490
|
-
<line num="
|
|
3491
|
-
<line num="
|
|
3492
|
-
<line num="
|
|
3493
|
-
<line num="
|
|
3494
|
-
<line num="
|
|
3495
|
-
<line num="
|
|
3496
|
-
<line num="
|
|
3497
|
-
<line num="
|
|
3498
|
-
<line num="
|
|
3499
|
-
<line num="
|
|
3500
|
-
<line num="
|
|
3501
|
-
<line num="
|
|
3502
|
-
<line num="
|
|
3503
|
-
<line num="
|
|
3504
|
-
<line num="
|
|
3505
|
-
<line num="
|
|
3506
|
-
<line num="
|
|
3507
|
-
<line num="
|
|
3508
|
-
<line num="
|
|
3509
|
-
<line num="
|
|
3510
|
-
<line num="
|
|
3511
|
-
<line num="
|
|
3512
|
-
<line num="
|
|
3513
|
-
<line num="
|
|
3514
|
-
<line num="
|
|
3515
|
-
<line num="
|
|
3516
|
-
<line num="
|
|
3517
|
-
<line num="
|
|
3518
|
-
<line num="
|
|
3519
|
-
<line num="
|
|
3520
|
-
<line num="
|
|
3521
|
-
<line num="
|
|
3522
|
-
<line num="
|
|
3523
|
-
<line num="
|
|
3524
|
-
<line num="
|
|
3525
|
-
<line num="
|
|
3526
|
-
<line num="
|
|
3527
|
-
<line num="
|
|
3528
|
-
<line num="
|
|
3529
|
-
<line num="
|
|
3530
|
-
<line num="
|
|
3531
|
-
<line num="
|
|
3532
|
-
<line num="
|
|
3533
|
-
<line num="
|
|
3534
|
-
<line num="
|
|
3535
|
-
<line num="
|
|
3536
|
-
<line num="
|
|
3537
|
-
<line num="
|
|
3538
|
-
<line num="
|
|
3539
|
-
<line num="
|
|
3540
|
-
<line num="220" count="9" type="stmt"/>
|
|
3568
|
+
<metrics statements="110" coveredstatements="101" conditionals="51" coveredconditionals="18" methods="31" coveredmethods="27"/>
|
|
3569
|
+
<line num="1" count="49" type="stmt"/>
|
|
3570
|
+
<line num="12" count="49" type="stmt"/>
|
|
3571
|
+
<line num="14" count="49" type="stmt"/>
|
|
3572
|
+
<line num="16" count="49" type="stmt"/>
|
|
3573
|
+
<line num="22" count="49" type="stmt"/>
|
|
3574
|
+
<line num="46" count="49" type="stmt"/>
|
|
3575
|
+
<line num="51" count="49" type="stmt"/>
|
|
3576
|
+
<line num="55" count="49" type="stmt"/>
|
|
3577
|
+
<line num="59" count="49" type="stmt"/>
|
|
3578
|
+
<line num="61" count="49" type="stmt"/>
|
|
3579
|
+
<line num="69" count="49" type="stmt"/>
|
|
3580
|
+
<line num="70" count="49" type="stmt"/>
|
|
3581
|
+
<line num="71" count="49" type="stmt"/>
|
|
3582
|
+
<line num="72" count="49" type="stmt"/>
|
|
3583
|
+
<line num="73" count="49" type="stmt"/>
|
|
3584
|
+
<line num="74" count="49" type="stmt"/>
|
|
3585
|
+
<line num="75" count="49" type="stmt"/>
|
|
3586
|
+
<line num="76" count="49" type="stmt"/>
|
|
3587
|
+
<line num="77" count="49" type="stmt"/>
|
|
3588
|
+
<line num="78" count="49" type="stmt"/>
|
|
3589
|
+
<line num="79" count="49" type="stmt"/>
|
|
3590
|
+
<line num="80" count="49" type="stmt"/>
|
|
3591
|
+
<line num="81" count="49" type="stmt"/>
|
|
3592
|
+
<line num="82" count="49" type="stmt"/>
|
|
3593
|
+
<line num="84" count="49" type="stmt"/>
|
|
3594
|
+
<line num="85" count="49" type="stmt"/>
|
|
3595
|
+
<line num="87" count="49" type="stmt"/>
|
|
3596
|
+
<line num="88" count="74" type="stmt"/>
|
|
3597
|
+
<line num="104" count="624" type="cond" truecount="2" falsecount="0"/>
|
|
3598
|
+
<line num="105" count="611" type="stmt"/>
|
|
3599
|
+
<line num="107" count="624" type="stmt"/>
|
|
3600
|
+
<line num="114" count="49" type="stmt"/>
|
|
3601
|
+
<line num="119" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3602
|
+
<line num="120" count="3" type="stmt"/>
|
|
3603
|
+
<line num="127" count="49" type="stmt"/>
|
|
3604
|
+
<line num="128" count="99" type="stmt"/>
|
|
3605
|
+
<line num="139" count="49" type="cond" truecount="0" falsecount="3"/>
|
|
3606
|
+
<line num="140" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
3607
|
+
<line num="141" count="0" type="stmt"/>
|
|
3608
|
+
<line num="144" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
3609
|
+
<line num="146" count="11" type="stmt"/>
|
|
3610
|
+
<line num="155" count="49" type="cond" truecount="1" falsecount="0"/>
|
|
3611
|
+
<line num="156" count="210" type="cond" truecount="2" falsecount="0"/>
|
|
3612
|
+
<line num="157" count="210" type="stmt"/>
|
|
3613
|
+
<line num="163" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3614
|
+
<line num="164" count="3" type="stmt"/>
|
|
3615
|
+
<line num="172" count="49" type="stmt"/>
|
|
3616
|
+
<line num="173" count="142" type="stmt"/>
|
|
3617
|
+
<line num="179" count="49" type="stmt"/>
|
|
3618
|
+
<line num="180" count="2" type="stmt"/>
|
|
3619
|
+
<line num="181" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
3620
|
+
<line num="182" count="1" type="stmt"/>
|
|
3621
|
+
<line num="184" count="1" type="stmt"/>
|
|
3622
|
+
<line num="190" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3623
|
+
<line num="191" count="210" type="stmt"/>
|
|
3624
|
+
<line num="198" count="49" type="stmt"/>
|
|
3625
|
+
<line num="199" count="20" type="stmt"/>
|
|
3626
|
+
<line num="213" count="49" type="stmt"/>
|
|
3541
3627
|
<line num="221" count="9" type="stmt"/>
|
|
3542
3628
|
<line num="222" count="9" type="stmt"/>
|
|
3543
3629
|
<line num="223" count="9" type="stmt"/>
|
|
3544
|
-
<line num="
|
|
3545
|
-
<line num="230" count="
|
|
3546
|
-
<line num="
|
|
3547
|
-
<line num="238" count="
|
|
3548
|
-
<line num="239" count="
|
|
3549
|
-
<line num="240" count="
|
|
3550
|
-
<line num="
|
|
3551
|
-
<line num="
|
|
3552
|
-
<line num="250" count="
|
|
3553
|
-
<line num="251" count="
|
|
3554
|
-
<line num="252" count="
|
|
3555
|
-
<line num="
|
|
3556
|
-
<line num="260" count="
|
|
3557
|
-
<line num="
|
|
3558
|
-
<line num="267" count="
|
|
3559
|
-
<line num="
|
|
3560
|
-
<line num="275" count="
|
|
3561
|
-
<line num="
|
|
3562
|
-
<line num="282" count="
|
|
3563
|
-
<line num="
|
|
3564
|
-
<line num="290" count="
|
|
3565
|
-
<line num="
|
|
3566
|
-
<line num="297" count="
|
|
3567
|
-
<line num="
|
|
3568
|
-
<line num="305" count="
|
|
3569
|
-
<line num="
|
|
3570
|
-
<line num="314" count="
|
|
3571
|
-
<line num="
|
|
3572
|
-
<line num="322" count="
|
|
3573
|
-
<line num="
|
|
3574
|
-
<line num="331" count="
|
|
3575
|
-
<line num="332" count="
|
|
3576
|
-
<line num="
|
|
3577
|
-
<line num="
|
|
3578
|
-
<line num="
|
|
3579
|
-
<line num="
|
|
3580
|
-
<line num="
|
|
3581
|
-
<line num="
|
|
3582
|
-
<line num="
|
|
3583
|
-
<line num="
|
|
3584
|
-
<line num="
|
|
3585
|
-
<line num="
|
|
3586
|
-
<line num="
|
|
3587
|
-
<line num="
|
|
3588
|
-
<line num="
|
|
3589
|
-
<line num="
|
|
3630
|
+
<line num="224" count="9" type="stmt"/>
|
|
3631
|
+
<line num="230" count="49" type="cond" truecount="0" falsecount="1"/>
|
|
3632
|
+
<line num="231" count="0" type="stmt"/>
|
|
3633
|
+
<line num="238" count="49" type="cond" truecount="0" falsecount="1"/>
|
|
3634
|
+
<line num="239" count="185" type="stmt"/>
|
|
3635
|
+
<line num="240" count="185" type="cond" truecount="1" falsecount="1"/>
|
|
3636
|
+
<line num="241" count="0" type="stmt"/>
|
|
3637
|
+
<line num="243" count="185" type="stmt"/>
|
|
3638
|
+
<line num="250" count="49" type="stmt"/>
|
|
3639
|
+
<line num="251" count="185" type="stmt"/>
|
|
3640
|
+
<line num="252" count="185" type="stmt"/>
|
|
3641
|
+
<line num="253" count="185" type="stmt"/>
|
|
3642
|
+
<line num="260" count="49" type="stmt"/>
|
|
3643
|
+
<line num="261" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3644
|
+
<line num="267" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3645
|
+
<line num="268" count="195" type="stmt"/>
|
|
3646
|
+
<line num="275" count="49" type="stmt"/>
|
|
3647
|
+
<line num="276" count="19" type="stmt"/>
|
|
3648
|
+
<line num="282" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3649
|
+
<line num="283" count="197" type="stmt"/>
|
|
3650
|
+
<line num="290" count="49" type="stmt"/>
|
|
3651
|
+
<line num="291" count="10" type="stmt"/>
|
|
3652
|
+
<line num="297" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3653
|
+
<line num="298" count="2" type="stmt"/>
|
|
3654
|
+
<line num="305" count="49" type="cond" truecount="1" falsecount="1"/>
|
|
3655
|
+
<line num="306" count="35" type="stmt"/>
|
|
3656
|
+
<line num="314" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3657
|
+
<line num="315" count="3" type="stmt"/>
|
|
3658
|
+
<line num="322" count="49" type="stmt"/>
|
|
3659
|
+
<line num="323" count="81" type="stmt"/>
|
|
3660
|
+
<line num="331" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3661
|
+
<line num="332" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
3662
|
+
<line num="333" count="2" type="stmt"/>
|
|
3663
|
+
<line num="336" count="1" type="stmt"/>
|
|
3664
|
+
<line num="347" count="49" type="stmt"/>
|
|
3665
|
+
<line num="348" count="0" type="stmt"/>
|
|
3666
|
+
<line num="351" count="49" type="stmt"/>
|
|
3667
|
+
<line num="352" count="10" type="stmt"/>
|
|
3668
|
+
<line num="355" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3669
|
+
<line num="356" count="0" type="stmt"/>
|
|
3670
|
+
<line num="357" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3671
|
+
<line num="358" count="0" type="stmt"/>
|
|
3672
|
+
<line num="360" count="0" type="stmt"/>
|
|
3673
|
+
<line num="363" count="49" type="stmt"/>
|
|
3674
|
+
<line num="364" count="1" type="stmt"/>
|
|
3675
|
+
<line num="367" count="49" type="cond" truecount="0" falsecount="1"/>
|
|
3676
|
+
<line num="368" count="0" type="stmt"/>
|
|
3677
|
+
<line num="374" count="49" type="stmt"/>
|
|
3678
|
+
<line num="375" count="60" type="stmt"/>
|
|
3590
3679
|
</file>
|
|
3591
3680
|
</package>
|
|
3592
3681
|
<package name="db.linkedRows">
|
|
@@ -3980,17 +4069,17 @@
|
|
|
3980
4069
|
<line num="11" count="24" type="stmt"/>
|
|
3981
4070
|
<line num="14" count="7" type="stmt"/>
|
|
3982
4071
|
<line num="17" count="24" type="stmt"/>
|
|
3983
|
-
<line num="19" count="
|
|
3984
|
-
<line num="22" count="
|
|
4072
|
+
<line num="19" count="2338" type="stmt"/>
|
|
4073
|
+
<line num="22" count="160" type="cond" truecount="4" falsecount="0"/>
|
|
3985
4074
|
<line num="23" count="1" type="stmt"/>
|
|
3986
|
-
<line num="26" count="
|
|
4075
|
+
<line num="26" count="159" type="cond" truecount="2" falsecount="0"/>
|
|
3987
4076
|
<line num="27" count="1" type="stmt"/>
|
|
3988
|
-
<line num="32" count="
|
|
3989
|
-
<line num="34" count="
|
|
3990
|
-
<line num="36" count="
|
|
3991
|
-
<line num="37" count="
|
|
3992
|
-
<line num="38" count="
|
|
3993
|
-
<line num="39" count="
|
|
4077
|
+
<line num="32" count="158" type="stmt"/>
|
|
4078
|
+
<line num="34" count="158" type="stmt"/>
|
|
4079
|
+
<line num="36" count="158" type="cond" truecount="3" falsecount="0"/>
|
|
4080
|
+
<line num="37" count="158" type="stmt"/>
|
|
4081
|
+
<line num="38" count="158" type="cond" truecount="2" falsecount="0"/>
|
|
4082
|
+
<line num="39" count="122" type="stmt"/>
|
|
3994
4083
|
<line num="40" count="36" type="cond" truecount="4" falsecount="0"/>
|
|
3995
4084
|
<line num="41" count="29" type="stmt"/>
|
|
3996
4085
|
<line num="45" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -4037,14 +4126,14 @@
|
|
|
4037
4126
|
<line num="56" count="1" type="stmt"/>
|
|
4038
4127
|
<line num="58" count="1" type="stmt"/>
|
|
4039
4128
|
<line num="61" count="24" type="stmt"/>
|
|
4040
|
-
<line num="62" count="
|
|
4041
|
-
<line num="64" count="
|
|
4129
|
+
<line num="62" count="158" type="stmt"/>
|
|
4130
|
+
<line num="64" count="158" type="cond" truecount="2" falsecount="0"/>
|
|
4042
4131
|
<line num="65" count="5" type="stmt"/>
|
|
4043
|
-
<line num="67" count="
|
|
4044
|
-
<line num="68" count="
|
|
4045
|
-
<line num="69" count="
|
|
4046
|
-
<line num="71" count="
|
|
4047
|
-
<line num="72" count="
|
|
4132
|
+
<line num="67" count="153" type="stmt"/>
|
|
4133
|
+
<line num="68" count="153" type="stmt"/>
|
|
4134
|
+
<line num="69" count="153" type="cond" truecount="2" falsecount="0"/>
|
|
4135
|
+
<line num="71" count="153" type="cond" truecount="4" falsecount="0"/>
|
|
4136
|
+
<line num="72" count="152" type="stmt"/>
|
|
4048
4137
|
<line num="75" count="1" type="stmt"/>
|
|
4049
4138
|
<line num="77" count="1" type="stmt"/>
|
|
4050
4139
|
</file>
|
|
@@ -4062,93 +4151,93 @@
|
|
|
4062
4151
|
<line num="11" count="28" type="stmt"/>
|
|
4063
4152
|
<line num="12" count="28" type="stmt"/>
|
|
4064
4153
|
<line num="14" count="28" type="stmt"/>
|
|
4065
|
-
<line num="16" count="
|
|
4066
|
-
<line num="18" count="
|
|
4067
|
-
<line num="19" count="
|
|
4068
|
-
<line num="20" count="
|
|
4154
|
+
<line num="16" count="170" type="stmt"/>
|
|
4155
|
+
<line num="18" count="170" type="stmt"/>
|
|
4156
|
+
<line num="19" count="170" type="stmt"/>
|
|
4157
|
+
<line num="20" count="170" type="stmt"/>
|
|
4069
4158
|
<line num="22" count="0" type="stmt"/>
|
|
4070
|
-
<line num="24" count="
|
|
4159
|
+
<line num="24" count="170" type="cond" truecount="4" falsecount="0"/>
|
|
4071
4160
|
<line num="25" count="1" type="stmt"/>
|
|
4072
|
-
<line num="28" count="
|
|
4073
|
-
<line num="29" count="
|
|
4074
|
-
<line num="30" count="
|
|
4075
|
-
<line num="31" count="
|
|
4161
|
+
<line num="28" count="169" type="cond" truecount="2" falsecount="0"/>
|
|
4162
|
+
<line num="29" count="163" type="stmt"/>
|
|
4163
|
+
<line num="30" count="163" type="stmt"/>
|
|
4164
|
+
<line num="31" count="163" type="cond" truecount="1" falsecount="1"/>
|
|
4076
4165
|
<line num="32" count="0" type="stmt"/>
|
|
4077
4166
|
<line num="33" count="0" type="stmt"/>
|
|
4078
|
-
<line num="36" count="
|
|
4079
|
-
<line num="40" count="
|
|
4167
|
+
<line num="36" count="163" type="cond" truecount="1" falsecount="1"/>
|
|
4168
|
+
<line num="40" count="169" type="cond" truecount="2" falsecount="0"/>
|
|
4080
4169
|
<line num="45" count="2" type="stmt"/>
|
|
4081
4170
|
<line num="46" count="2" type="stmt"/>
|
|
4082
|
-
<line num="50" count="
|
|
4083
|
-
<line num="51" count="
|
|
4171
|
+
<line num="50" count="167" type="stmt"/>
|
|
4172
|
+
<line num="51" count="167" type="cond" truecount="2" falsecount="0"/>
|
|
4084
4173
|
<line num="53" count="33" type="stmt"/>
|
|
4085
|
-
<line num="54" count="
|
|
4086
|
-
<line num="56" count="
|
|
4087
|
-
<line num="57" count="
|
|
4088
|
-
<line num="59" count="
|
|
4089
|
-
<line num="63" count="
|
|
4174
|
+
<line num="54" count="134" type="cond" truecount="1" falsecount="1"/>
|
|
4175
|
+
<line num="56" count="134" type="stmt"/>
|
|
4176
|
+
<line num="57" count="134" type="stmt"/>
|
|
4177
|
+
<line num="59" count="134" type="cond" truecount="2" falsecount="0"/>
|
|
4178
|
+
<line num="63" count="167" type="cond" truecount="1" falsecount="1"/>
|
|
4090
4179
|
<line num="64" count="0" type="stmt"/>
|
|
4091
|
-
<line num="67" count="
|
|
4092
|
-
<line num="70" count="
|
|
4180
|
+
<line num="67" count="167" type="stmt"/>
|
|
4181
|
+
<line num="70" count="167" type="cond" truecount="1" falsecount="1"/>
|
|
4093
4182
|
<line num="77" count="0" type="stmt"/>
|
|
4094
4183
|
<line num="78" count="0" type="stmt"/>
|
|
4095
4184
|
<line num="79" count="0" type="stmt"/>
|
|
4096
4185
|
<line num="80" count="0" type="stmt"/>
|
|
4097
4186
|
<line num="81" count="0" type="stmt"/>
|
|
4098
|
-
<line num="84" count="
|
|
4099
|
-
<line num="85" count="
|
|
4100
|
-
<line num="86" count="
|
|
4101
|
-
<line num="87" count="
|
|
4102
|
-
<line num="88" count="
|
|
4103
|
-
<line num="97" count="
|
|
4187
|
+
<line num="84" count="167" type="stmt"/>
|
|
4188
|
+
<line num="85" count="167" type="cond" truecount="1" falsecount="1"/>
|
|
4189
|
+
<line num="86" count="167" type="stmt"/>
|
|
4190
|
+
<line num="87" count="167" type="cond" truecount="2" falsecount="0"/>
|
|
4191
|
+
<line num="88" count="167" type="stmt"/>
|
|
4192
|
+
<line num="97" count="167" type="cond" truecount="2" falsecount="0"/>
|
|
4104
4193
|
<line num="103" count="7" type="stmt"/>
|
|
4105
|
-
<line num="106" count="
|
|
4194
|
+
<line num="106" count="167" type="stmt"/>
|
|
4106
4195
|
</file>
|
|
4107
4196
|
<file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
|
|
4108
4197
|
<metrics statements="17" coveredstatements="14" conditionals="8" coveredconditionals="5" methods="4" coveredmethods="4"/>
|
|
4109
4198
|
<line num="3" count="276" type="stmt"/>
|
|
4110
|
-
<line num="4" count="
|
|
4199
|
+
<line num="4" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
4111
4200
|
<line num="5" count="0" type="stmt"/>
|
|
4112
|
-
<line num="7" count="
|
|
4113
|
-
<line num="8" count="
|
|
4201
|
+
<line num="7" count="24" type="stmt"/>
|
|
4202
|
+
<line num="8" count="24" type="cond" truecount="2" falsecount="0"/>
|
|
4114
4203
|
<line num="9" count="1" type="stmt"/>
|
|
4115
|
-
<line num="10" count="
|
|
4116
|
-
<line num="11" count="
|
|
4117
|
-
<line num="13" count="
|
|
4118
|
-
<line num="14" count="
|
|
4204
|
+
<line num="10" count="23" type="cond" truecount="1" falsecount="1"/>
|
|
4205
|
+
<line num="11" count="23" type="stmt"/>
|
|
4206
|
+
<line num="13" count="24" type="stmt"/>
|
|
4207
|
+
<line num="14" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
4119
4208
|
<line num="15" count="0" type="stmt"/>
|
|
4120
4209
|
<line num="16" count="0" type="stmt"/>
|
|
4121
|
-
<line num="18" count="
|
|
4122
|
-
<line num="22" count="
|
|
4210
|
+
<line num="18" count="24" type="stmt"/>
|
|
4211
|
+
<line num="22" count="35" type="stmt"/>
|
|
4123
4212
|
<line num="23" count="230" type="stmt"/>
|
|
4124
|
-
<line num="26" count="
|
|
4213
|
+
<line num="26" count="35" type="stmt"/>
|
|
4125
4214
|
<line num="27" count="46" type="stmt"/>
|
|
4126
4215
|
</file>
|
|
4127
4216
|
<file name="resourceId.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/resourceId.js">
|
|
4128
4217
|
<metrics statements="29" coveredstatements="29" conditionals="12" coveredconditionals="12" methods="9" coveredmethods="9"/>
|
|
4129
|
-
<line num="3" count="
|
|
4130
|
-
<line num="4" count="
|
|
4131
|
-
<line num="5" count="
|
|
4132
|
-
<line num="6" count="
|
|
4133
|
-
<line num="10" count="
|
|
4134
|
-
<line num="11" count="
|
|
4218
|
+
<line num="3" count="627" type="stmt"/>
|
|
4219
|
+
<line num="4" count="627" type="stmt"/>
|
|
4220
|
+
<line num="5" count="627" type="stmt"/>
|
|
4221
|
+
<line num="6" count="627" type="stmt"/>
|
|
4222
|
+
<line num="10" count="627" type="stmt"/>
|
|
4223
|
+
<line num="11" count="627" type="stmt"/>
|
|
4135
4224
|
<line num="15" count="72" type="stmt"/>
|
|
4136
4225
|
<line num="16" count="72" type="stmt"/>
|
|
4137
|
-
<line num="20" count="
|
|
4138
|
-
<line num="21" count="
|
|
4139
|
-
<line num="22" count="
|
|
4140
|
-
<line num="23" count="
|
|
4141
|
-
<line num="24" count="
|
|
4142
|
-
<line num="25" count="
|
|
4226
|
+
<line num="20" count="627" type="stmt"/>
|
|
4227
|
+
<line num="21" count="627" type="stmt"/>
|
|
4228
|
+
<line num="22" count="627" type="stmt"/>
|
|
4229
|
+
<line num="23" count="627" type="stmt"/>
|
|
4230
|
+
<line num="24" count="65" type="cond" truecount="2" falsecount="0"/>
|
|
4231
|
+
<line num="25" count="65" type="cond" truecount="2" falsecount="0"/>
|
|
4143
4232
|
<line num="26" count="1" type="stmt"/>
|
|
4144
|
-
<line num="28" count="
|
|
4145
|
-
<line num="29" count="
|
|
4146
|
-
<line num="31" count="
|
|
4233
|
+
<line num="28" count="64" type="cond" truecount="4" falsecount="0"/>
|
|
4234
|
+
<line num="29" count="60" type="stmt"/>
|
|
4235
|
+
<line num="31" count="64" type="cond" truecount="4" falsecount="0"/>
|
|
4147
4236
|
<line num="32" count="11" type="stmt"/>
|
|
4148
|
-
<line num="34" count="
|
|
4237
|
+
<line num="34" count="64" type="stmt"/>
|
|
4149
4238
|
<line num="39" count="24" type="stmt"/>
|
|
4150
4239
|
<line num="41" count="24" type="stmt"/>
|
|
4151
|
-
<line num="42" count="
|
|
4240
|
+
<line num="42" count="485" type="stmt"/>
|
|
4152
4241
|
<line num="45" count="24" type="stmt"/>
|
|
4153
4242
|
<line num="46" count="47" type="stmt"/>
|
|
4154
4243
|
<line num="52" count="24" type="stmt"/>
|
|
@@ -4208,11 +4297,11 @@
|
|
|
4208
4297
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
4209
4298
|
<line num="1" count="29" type="stmt"/>
|
|
4210
4299
|
<line num="5" count="29" type="stmt"/>
|
|
4211
|
-
<line num="6" count="
|
|
4300
|
+
<line num="6" count="289" type="stmt"/>
|
|
4212
4301
|
</file>
|
|
4213
4302
|
</package>
|
|
4214
4303
|
<package name="threads">
|
|
4215
|
-
<metrics statements="
|
|
4304
|
+
<metrics statements="251" coveredstatements="214" conditionals="111" coveredconditionals="71" methods="37" coveredmethods="34"/>
|
|
4216
4305
|
<file name="automation.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/automation.js">
|
|
4217
4306
|
<metrics statements="76" coveredstatements="64" conditionals="23" coveredconditionals="13" methods="10" coveredmethods="9"/>
|
|
4218
4307
|
<line num="1" count="4" type="stmt"/>
|
|
@@ -4297,14 +4386,14 @@
|
|
|
4297
4386
|
<line num="1" count="34" type="stmt"/>
|
|
4298
4387
|
<line num="2" count="34" type="stmt"/>
|
|
4299
4388
|
<line num="4" count="34" type="stmt"/>
|
|
4300
|
-
<line num="10" count="
|
|
4301
|
-
<line num="11" count="
|
|
4302
|
-
<line num="13" count="
|
|
4303
|
-
<line num="14" count="
|
|
4389
|
+
<line num="10" count="20" type="stmt"/>
|
|
4390
|
+
<line num="11" count="20" type="cond" truecount="2" falsecount="1"/>
|
|
4391
|
+
<line num="13" count="10" type="stmt"/>
|
|
4392
|
+
<line num="14" count="10" type="stmt"/>
|
|
4304
4393
|
<line num="16" count="10" type="stmt"/>
|
|
4305
4394
|
<line num="17" count="10" type="stmt"/>
|
|
4306
4395
|
<line num="19" count="0" type="stmt"/>
|
|
4307
|
-
<line num="21" count="
|
|
4396
|
+
<line num="21" count="20" type="stmt"/>
|
|
4308
4397
|
<line num="26" count="67" type="stmt"/>
|
|
4309
4398
|
<line num="27" count="67" type="cond" truecount="2" falsecount="0"/>
|
|
4310
4399
|
<line num="28" count="67" type="stmt"/>
|
|
@@ -4313,62 +4402,172 @@
|
|
|
4313
4402
|
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4314
4403
|
<line num="39" count="0" type="stmt"/>
|
|
4315
4404
|
<line num="41" count="0" type="stmt"/>
|
|
4316
|
-
<line num="46" count="
|
|
4317
|
-
<line num="49" count="
|
|
4318
|
-
<line num="50" count="
|
|
4405
|
+
<line num="46" count="20" type="stmt"/>
|
|
4406
|
+
<line num="49" count="20" type="cond" truecount="1" falsecount="1"/>
|
|
4407
|
+
<line num="50" count="20" type="stmt"/>
|
|
4319
4408
|
<line num="52" count="0" type="stmt"/>
|
|
4320
|
-
<line num="54" count="
|
|
4321
|
-
<line num="55" count="
|
|
4409
|
+
<line num="54" count="20" type="stmt"/>
|
|
4410
|
+
<line num="55" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
4322
4411
|
<line num="56" count="2" type="stmt"/>
|
|
4323
|
-
<line num="58" count="
|
|
4412
|
+
<line num="58" count="14" type="stmt"/>
|
|
4324
4413
|
<line num="65" count="34" type="stmt"/>
|
|
4325
4414
|
<line num="66" count="34" type="stmt"/>
|
|
4326
4415
|
</file>
|
|
4327
4416
|
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/query.js">
|
|
4328
|
-
<metrics statements="
|
|
4329
|
-
<line num="1" count="
|
|
4330
|
-
<line num="2" count="
|
|
4331
|
-
<line num="3" count="
|
|
4332
|
-
<line num="
|
|
4333
|
-
<line num="
|
|
4334
|
-
<line num="
|
|
4335
|
-
<line num="10" count="
|
|
4336
|
-
<line num="
|
|
4337
|
-
<line num="
|
|
4338
|
-
<line num="
|
|
4339
|
-
<line num="
|
|
4340
|
-
<line num="
|
|
4341
|
-
<line num="
|
|
4342
|
-
<line num="
|
|
4343
|
-
<line num="
|
|
4344
|
-
<line num="
|
|
4345
|
-
<line num="
|
|
4346
|
-
<line num="
|
|
4347
|
-
<line num="
|
|
4348
|
-
<line num="
|
|
4349
|
-
<line num="
|
|
4350
|
-
<line num="
|
|
4351
|
-
<line num="
|
|
4352
|
-
<line num="
|
|
4353
|
-
<line num="
|
|
4354
|
-
<line num="
|
|
4355
|
-
<line num="
|
|
4356
|
-
<line num="
|
|
4417
|
+
<metrics statements="88" coveredstatements="82" conditionals="37" coveredconditionals="30" methods="12" coveredmethods="11"/>
|
|
4418
|
+
<line num="1" count="2" type="stmt"/>
|
|
4419
|
+
<line num="2" count="2" type="stmt"/>
|
|
4420
|
+
<line num="3" count="2" type="stmt"/>
|
|
4421
|
+
<line num="4" count="2" type="stmt"/>
|
|
4422
|
+
<line num="5" count="2" type="stmt"/>
|
|
4423
|
+
<line num="6" count="2" type="stmt"/>
|
|
4424
|
+
<line num="10" count="15" type="stmt"/>
|
|
4425
|
+
<line num="11" count="15" type="stmt"/>
|
|
4426
|
+
<line num="12" count="15" type="stmt"/>
|
|
4427
|
+
<line num="13" count="15" type="stmt"/>
|
|
4428
|
+
<line num="14" count="15" type="stmt"/>
|
|
4429
|
+
<line num="15" count="15" type="stmt"/>
|
|
4430
|
+
<line num="16" count="15" type="stmt"/>
|
|
4431
|
+
<line num="17" count="15" type="stmt"/>
|
|
4432
|
+
<line num="18" count="15" type="stmt"/>
|
|
4433
|
+
<line num="22" count="15" type="stmt"/>
|
|
4434
|
+
<line num="23" count="15" type="stmt"/>
|
|
4435
|
+
<line num="27" count="16" type="stmt"/>
|
|
4436
|
+
<line num="29" count="16" type="stmt"/>
|
|
4437
|
+
<line num="30" count="16" type="stmt"/>
|
|
4438
|
+
<line num="31" count="16" type="stmt"/>
|
|
4439
|
+
<line num="32" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
4440
|
+
<line num="33" count="2" type="stmt"/>
|
|
4441
|
+
<line num="35" count="14" type="stmt"/>
|
|
4442
|
+
<line num="37" count="14" type="stmt"/>
|
|
4443
|
+
<line num="38" count="14" type="stmt"/>
|
|
4444
|
+
<line num="39" count="14" type="stmt"/>
|
|
4445
|
+
<line num="40" count="14" type="stmt"/>
|
|
4446
|
+
<line num="41" count="14" type="cond" truecount="2" falsecount="0"/>
|
|
4447
|
+
<line num="42" count="12" type="stmt"/>
|
|
4448
|
+
<line num="43" count="12" type="stmt"/>
|
|
4449
|
+
<line num="44" count="12" type="stmt"/>
|
|
4450
|
+
<line num="48" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
4451
|
+
<line num="49" count="0" type="stmt"/>
|
|
4452
|
+
<line num="53" count="0" type="stmt"/>
|
|
4453
|
+
<line num="57" count="14" type="cond" truecount="2" falsecount="0"/>
|
|
4454
|
+
<line num="63" count="1" type="stmt"/>
|
|
4455
|
+
<line num="65" count="1" type="stmt"/>
|
|
4456
|
+
<line num="66" count="1" type="stmt"/>
|
|
4457
|
+
<line num="70" count="13" type="cond" truecount="2" falsecount="0"/>
|
|
4458
|
+
<line num="71" count="11" type="stmt"/>
|
|
4459
|
+
<line num="75" count="13" type="cond" truecount="1" falsecount="1"/>
|
|
4460
|
+
<line num="76" count="0" type="stmt"/>
|
|
4461
|
+
<line num="80" count="13" type="stmt"/>
|
|
4462
|
+
<line num="82" count="13" type="cond" truecount="1" falsecount="1"/>
|
|
4463
|
+
<line num="83" count="0" type="stmt"/>
|
|
4464
|
+
<line num="86" count="13" type="stmt"/>
|
|
4465
|
+
<line num="90" count="5" type="stmt"/>
|
|
4466
|
+
<line num="91" count="5" type="stmt"/>
|
|
4467
|
+
<line num="92" count="5" type="stmt"/>
|
|
4468
|
+
<line num="93" count="5" type="stmt"/>
|
|
4469
|
+
<line num="107" count="6" type="stmt"/>
|
|
4470
|
+
<line num="108" count="6" type="stmt"/>
|
|
4471
|
+
<line num="109" count="6" type="stmt"/>
|
|
4472
|
+
<line num="110" count="6" type="stmt"/>
|
|
4473
|
+
<line num="111" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
4474
|
+
<line num="112" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4475
|
+
<line num="116" count="5" type="stmt"/>
|
|
4476
|
+
<line num="117" count="5" type="stmt"/>
|
|
4477
|
+
<line num="119" count="1" type="stmt"/>
|
|
4478
|
+
<line num="121" count="6" type="stmt"/>
|
|
4479
|
+
<line num="125" count="16" type="stmt"/>
|
|
4480
|
+
<line num="126" count="16" type="cond" truecount="3" falsecount="1"/>
|
|
4481
|
+
<line num="127" count="0" type="stmt"/>
|
|
4482
|
+
<line num="129" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
4483
|
+
<line num="130" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
4484
|
+
<line num="131" count="16" type="stmt"/>
|
|
4485
|
+
<line num="132" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4486
|
+
<line num="133" count="2" type="stmt"/>
|
|
4487
|
+
<line num="136" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
4488
|
+
<line num="138" count="11" type="stmt"/>
|
|
4489
|
+
<line num="139" count="11" type="stmt"/>
|
|
4490
|
+
<line num="141" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
4491
|
+
<line num="142" count="0" type="stmt"/>
|
|
4492
|
+
<line num="145" count="6" type="stmt"/>
|
|
4493
|
+
<line num="146" count="6" type="stmt"/>
|
|
4494
|
+
<line num="148" count="11" type="stmt"/>
|
|
4495
|
+
<line num="149" count="11" type="stmt"/>
|
|
4496
|
+
<line num="150" count="11" type="stmt"/>
|
|
4497
|
+
<line num="151" count="6" type="stmt"/>
|
|
4498
|
+
<line num="152" count="6" type="stmt"/>
|
|
4499
|
+
<line num="157" count="6" type="stmt"/>
|
|
4500
|
+
<line num="160" count="16" type="stmt"/>
|
|
4501
|
+
<line num="164" count="2" type="stmt"/>
|
|
4502
|
+
<line num="165" count="10" type="stmt"/>
|
|
4503
|
+
<line num="166" count="10" type="stmt"/>
|
|
4504
|
+
<line num="168" count="8" type="stmt"/>
|
|
4505
|
+
<line num="171" count="2" type="stmt"/>
|
|
4357
4506
|
</file>
|
|
4358
4507
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/utils.js">
|
|
4359
|
-
<metrics statements="
|
|
4360
|
-
<line num="1" count="
|
|
4361
|
-
<line num="2" count="
|
|
4362
|
-
<line num="3" count="
|
|
4363
|
-
<line num="
|
|
4364
|
-
<line num="
|
|
4365
|
-
<line num="
|
|
4366
|
-
<line num="
|
|
4367
|
-
<line num="
|
|
4508
|
+
<metrics statements="58" coveredstatements="45" conditionals="33" coveredconditionals="18" methods="10" coveredmethods="9"/>
|
|
4509
|
+
<line num="1" count="34" type="stmt"/>
|
|
4510
|
+
<line num="2" count="34" type="stmt"/>
|
|
4511
|
+
<line num="3" count="34" type="stmt"/>
|
|
4512
|
+
<line num="4" count="34" type="stmt"/>
|
|
4513
|
+
<line num="5" count="34" type="stmt"/>
|
|
4514
|
+
<line num="6" count="34" type="stmt"/>
|
|
4515
|
+
<line num="8" count="34" type="stmt"/>
|
|
4516
|
+
<line num="11" count="34" type="stmt"/>
|
|
4517
|
+
<line num="12" count="34" type="stmt"/>
|
|
4518
|
+
<line num="15" count="19" type="cond" truecount="2" falsecount="0"/>
|
|
4519
|
+
<line num="16" count="2" type="stmt"/>
|
|
4520
|
+
<line num="18" count="19" type="stmt"/>
|
|
4521
|
+
<line num="21" count="34" type="stmt"/>
|
|
4522
|
+
<line num="22" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4523
|
+
<line num="25" count="34" type="stmt"/>
|
|
4524
|
+
<line num="27" count="6" type="cond" truecount="2" falsecount="2"/>
|
|
4525
|
+
<line num="28" count="6" type="stmt"/>
|
|
4526
|
+
<line num="31" count="0" type="stmt"/>
|
|
4527
|
+
<line num="32" count="0" type="stmt"/>
|
|
4528
|
+
<line num="36" count="19" type="stmt"/>
|
|
4529
|
+
<line num="39" count="34" type="stmt"/>
|
|
4530
|
+
<line num="40" count="11" type="stmt"/>
|
|
4531
|
+
<line num="41" count="11" type="stmt"/>
|
|
4532
|
+
<line num="44" count="34" type="stmt"/>
|
|
4533
|
+
<line num="45" count="3" type="stmt"/>
|
|
4534
|
+
<line num="46" count="3" type="stmt"/>
|
|
4535
|
+
<line num="47" count="3" type="stmt"/>
|
|
4536
|
+
<line num="48" count="3" type="stmt"/>
|
|
4537
|
+
<line num="52" count="3" type="stmt"/>
|
|
4538
|
+
<line num="55" count="34" type="stmt"/>
|
|
4539
|
+
<line num="56" count="5" type="stmt"/>
|
|
4540
|
+
<line num="57" count="5" type="stmt"/>
|
|
4541
|
+
<line num="64" count="34" type="stmt"/>
|
|
4542
|
+
<line num="65" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
4543
|
+
<line num="66" count="0" type="stmt"/>
|
|
4544
|
+
<line num="67" count="0" type="stmt"/>
|
|
4545
|
+
<line num="69" count="0" type="stmt"/>
|
|
4546
|
+
<line num="72" count="14" type="stmt"/>
|
|
4547
|
+
<line num="75" count="34" type="stmt"/>
|
|
4548
|
+
<line num="76" count="14" type="stmt"/>
|
|
4549
|
+
<line num="84" count="34" type="cond" truecount="0" falsecount="1"/>
|
|
4550
|
+
<line num="85" count="16" type="stmt"/>
|
|
4551
|
+
<line num="88" count="16" type="stmt"/>
|
|
4552
|
+
<line num="89" count="19" type="cond" truecount="1" falsecount="1"/>
|
|
4553
|
+
<line num="90" count="0" type="stmt"/>
|
|
4554
|
+
<line num="92" count="19" type="cond" truecount="1" falsecount="1"/>
|
|
4555
|
+
<line num="94" count="0" type="stmt"/>
|
|
4556
|
+
<line num="95" count="19" type="cond" truecount="1" falsecount="1"/>
|
|
4557
|
+
<line num="97" count="19" type="stmt"/>
|
|
4558
|
+
<line num="99" count="19" type="cond" truecount="2" falsecount="2"/>
|
|
4559
|
+
<line num="100" count="0" type="stmt"/>
|
|
4560
|
+
<line num="102" count="19" type="stmt"/>
|
|
4561
|
+
<line num="106" count="0" type="stmt"/>
|
|
4562
|
+
<line num="110" count="16" type="cond" truecount="1" falsecount="1"/>
|
|
4563
|
+
<line num="115" count="0" type="stmt"/>
|
|
4564
|
+
<line num="116" count="0" type="stmt"/>
|
|
4565
|
+
<line num="124" count="0" type="stmt"/>
|
|
4566
|
+
<line num="127" count="16" type="stmt"/>
|
|
4368
4567
|
</file>
|
|
4369
4568
|
</package>
|
|
4370
4569
|
<package name="utilities">
|
|
4371
|
-
<metrics statements="
|
|
4570
|
+
<metrics statements="331" coveredstatements="240" conditionals="131" coveredconditionals="73" methods="63" coveredmethods="43"/>
|
|
4372
4571
|
<file name="bcrypt.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/bcrypt.js">
|
|
4373
4572
|
<metrics statements="9" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
4374
4573
|
<line num="3" count="0" type="stmt"/>
|
|
@@ -4484,26 +4683,26 @@
|
|
|
4484
4683
|
<line num="9" count="39" type="stmt"/>
|
|
4485
4684
|
<line num="10" count="39" type="stmt"/>
|
|
4486
4685
|
<line num="12" count="39" type="stmt"/>
|
|
4487
|
-
<line num="13" count="
|
|
4686
|
+
<line num="13" count="143" type="cond" truecount="4" falsecount="0"/>
|
|
4488
4687
|
<line num="14" count="3" type="stmt"/>
|
|
4489
|
-
<line num="17" count="
|
|
4688
|
+
<line num="17" count="140" type="cond" truecount="2" falsecount="2"/>
|
|
4490
4689
|
<line num="18" count="0" type="stmt"/>
|
|
4491
4690
|
<line num="19" count="0" type="stmt"/>
|
|
4492
4691
|
<line num="20" count="0" type="stmt"/>
|
|
4493
4692
|
<line num="21" count="0" type="stmt"/>
|
|
4494
|
-
<line num="24" count="
|
|
4495
|
-
<line num="26" count="
|
|
4496
|
-
<line num="27" count="
|
|
4693
|
+
<line num="24" count="140" type="stmt"/>
|
|
4694
|
+
<line num="26" count="140" type="cond" truecount="5" falsecount="0"/>
|
|
4695
|
+
<line num="27" count="135" type="stmt"/>
|
|
4497
4696
|
<line num="28" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4498
4697
|
<line num="29" count="0" type="stmt"/>
|
|
4499
|
-
<line num="31" count="
|
|
4500
|
-
<line num="32" count="
|
|
4501
|
-
<line num="36" count="
|
|
4502
|
-
<line num="37" count="
|
|
4503
|
-
<line num="39" count="
|
|
4698
|
+
<line num="31" count="140" type="stmt"/>
|
|
4699
|
+
<line num="32" count="140" type="stmt"/>
|
|
4700
|
+
<line num="36" count="136" type="cond" truecount="1" falsecount="1"/>
|
|
4701
|
+
<line num="37" count="136" type="stmt"/>
|
|
4702
|
+
<line num="39" count="136" type="stmt"/>
|
|
4504
4703
|
<line num="42" count="39" type="stmt"/>
|
|
4505
|
-
<line num="45" count="
|
|
4506
|
-
<line num="46" count="
|
|
4704
|
+
<line num="45" count="134" type="stmt"/>
|
|
4705
|
+
<line num="46" count="134" type="stmt"/>
|
|
4507
4706
|
<line num="49" count="39" type="stmt"/>
|
|
4508
4707
|
<line num="50" count="2" type="stmt"/>
|
|
4509
4708
|
<line num="51" count="2" type="stmt"/>
|
|
@@ -4534,37 +4733,37 @@
|
|
|
4534
4733
|
<line num="95" count="0" type="stmt"/>
|
|
4535
4734
|
</file>
|
|
4536
4735
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/index.js">
|
|
4537
|
-
<metrics statements="
|
|
4538
|
-
<line num="1" count="
|
|
4539
|
-
<line num="2" count="
|
|
4540
|
-
<line num="3" count="
|
|
4541
|
-
<line num="4" count="
|
|
4542
|
-
<line num="5" count="
|
|
4543
|
-
<line num="6" count="
|
|
4544
|
-
<line num="8" count="
|
|
4545
|
-
<line num="10" count="
|
|
4546
|
-
<line num="12" count="
|
|
4547
|
-
<line num="14" count="
|
|
4736
|
+
<metrics statements="76" coveredstatements="55" conditionals="26" coveredconditionals="13" methods="16" coveredmethods="12"/>
|
|
4737
|
+
<line num="1" count="37" type="stmt"/>
|
|
4738
|
+
<line num="2" count="37" type="stmt"/>
|
|
4739
|
+
<line num="3" count="37" type="stmt"/>
|
|
4740
|
+
<line num="4" count="37" type="stmt"/>
|
|
4741
|
+
<line num="5" count="37" type="stmt"/>
|
|
4742
|
+
<line num="6" count="37" type="stmt"/>
|
|
4743
|
+
<line num="8" count="37" type="stmt"/>
|
|
4744
|
+
<line num="10" count="37" type="stmt"/>
|
|
4745
|
+
<line num="12" count="37" type="stmt"/>
|
|
4746
|
+
<line num="14" count="37" type="stmt"/>
|
|
4548
4747
|
<line num="15" count="1" type="stmt"/>
|
|
4549
4748
|
<line num="16" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
4550
4749
|
<line num="17" count="1" type="stmt"/>
|
|
4551
4750
|
<line num="19" count="1" type="stmt"/>
|
|
4552
|
-
<line num="28" count="
|
|
4553
|
-
<line num="29" count="
|
|
4554
|
-
<line num="36" count="
|
|
4751
|
+
<line num="28" count="37" type="stmt"/>
|
|
4752
|
+
<line num="29" count="189" type="stmt"/>
|
|
4753
|
+
<line num="36" count="37" type="stmt"/>
|
|
4555
4754
|
<line num="37" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4556
4755
|
<line num="39" count="2" type="stmt"/>
|
|
4557
4756
|
<line num="41" count="0" type="stmt"/>
|
|
4558
|
-
<line num="55" count="
|
|
4559
|
-
<line num="56" count="
|
|
4757
|
+
<line num="55" count="37" type="stmt"/>
|
|
4758
|
+
<line num="56" count="194" type="cond" truecount="1" falsecount="1"/>
|
|
4560
4759
|
<line num="57" count="0" type="stmt"/>
|
|
4561
4760
|
<line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4562
4761
|
<line num="62" count="0" type="stmt"/>
|
|
4563
4762
|
<line num="64" count="0" type="stmt"/>
|
|
4564
|
-
<line num="66" count="
|
|
4565
|
-
<line num="70" count="
|
|
4763
|
+
<line num="66" count="194" type="stmt"/>
|
|
4764
|
+
<line num="70" count="37" type="stmt"/>
|
|
4566
4765
|
<line num="71" count="2" type="stmt"/>
|
|
4567
|
-
<line num="76" count="
|
|
4766
|
+
<line num="76" count="37" type="stmt"/>
|
|
4568
4767
|
<line num="77" count="3" type="stmt"/>
|
|
4569
4768
|
<line num="78" count="3" type="stmt"/>
|
|
4570
4769
|
<line num="81" count="3" type="stmt"/>
|
|
@@ -4579,10 +4778,10 @@
|
|
|
4579
4778
|
<line num="92" count="0" type="stmt"/>
|
|
4580
4779
|
<line num="94" count="3" type="stmt"/>
|
|
4581
4780
|
<line num="95" count="3" type="stmt"/>
|
|
4582
|
-
<line num="102" count="
|
|
4781
|
+
<line num="102" count="37" type="stmt"/>
|
|
4583
4782
|
<line num="103" count="1" type="stmt"/>
|
|
4584
4783
|
<line num="104" count="1" type="stmt"/>
|
|
4585
|
-
<line num="108" count="
|
|
4784
|
+
<line num="108" count="37" type="stmt"/>
|
|
4586
4785
|
<line num="109" count="4" type="stmt"/>
|
|
4587
4786
|
<line num="110" count="4" type="stmt"/>
|
|
4588
4787
|
<line num="112" count="4" type="stmt"/>
|
|
@@ -4591,18 +4790,26 @@
|
|
|
4591
4790
|
<line num="115" count="0" type="stmt"/>
|
|
4592
4791
|
<line num="120" count="4" type="cond" truecount="3" falsecount="1"/>
|
|
4593
4792
|
<line num="121" count="0" type="stmt"/>
|
|
4594
|
-
<line num="125" count="
|
|
4793
|
+
<line num="125" count="37" type="stmt"/>
|
|
4595
4794
|
<line num="126" count="0" type="stmt"/>
|
|
4596
|
-
<line num="135" count="
|
|
4795
|
+
<line num="135" count="37" type="stmt"/>
|
|
4597
4796
|
<line num="136" count="0" type="stmt"/>
|
|
4598
4797
|
<line num="138" count="0" type="stmt"/>
|
|
4599
4798
|
<line num="139" count="0" type="stmt"/>
|
|
4600
|
-
<line num="144" count="
|
|
4799
|
+
<line num="144" count="37" type="stmt"/>
|
|
4601
4800
|
<line num="145" count="0" type="stmt"/>
|
|
4602
4801
|
<line num="146" count="0" type="stmt"/>
|
|
4603
4802
|
<line num="147" count="0" type="stmt"/>
|
|
4604
4803
|
<line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4605
4804
|
<line num="150" count="0" type="stmt"/>
|
|
4805
|
+
<line num="154" count="37" type="stmt"/>
|
|
4806
|
+
<line num="155" count="21" type="stmt"/>
|
|
4807
|
+
<line num="156" count="21" type="stmt"/>
|
|
4808
|
+
<line num="157" count="21" type="stmt"/>
|
|
4809
|
+
<line num="158" count="21" type="cond" truecount="2" falsecount="0"/>
|
|
4810
|
+
<line num="159" count="21" type="cond" truecount="1" falsecount="1"/>
|
|
4811
|
+
<line num="160" count="0" type="stmt"/>
|
|
4812
|
+
<line num="162" count="21" type="cond" truecount="3" falsecount="1"/>
|
|
4606
4813
|
</file>
|
|
4607
4814
|
<file name="scriptRunner.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/scriptRunner.js">
|
|
4608
4815
|
<metrics statements="13" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
@@ -4628,7 +4835,7 @@
|
|
|
4628
4835
|
<line num="10" count="33" type="stmt"/>
|
|
4629
4836
|
<line num="15" count="33" type="stmt"/>
|
|
4630
4837
|
<line num="16" count="4" type="stmt"/>
|
|
4631
|
-
<line num="17" count="
|
|
4838
|
+
<line num="17" count="84" type="stmt"/>
|
|
4632
4839
|
<line num="19" count="4" type="cond" truecount="2" falsecount="5"/>
|
|
4633
4840
|
<line num="22" count="4" type="stmt"/>
|
|
4634
4841
|
<line num="24" count="0" type="stmt"/>
|
|
@@ -4678,19 +4885,19 @@
|
|
|
4678
4885
|
<line num="5" count="34" type="stmt"/>
|
|
4679
4886
|
<line num="6" count="34" type="stmt"/>
|
|
4680
4887
|
<line num="7" count="34" type="stmt"/>
|
|
4681
|
-
<line num="10" count="
|
|
4682
|
-
<line num="11" count="
|
|
4683
|
-
<line num="13" count="
|
|
4684
|
-
<line num="14" count="
|
|
4685
|
-
<line num="15" count="
|
|
4888
|
+
<line num="10" count="186" type="cond" truecount="1" falsecount="1"/>
|
|
4889
|
+
<line num="11" count="186" type="stmt"/>
|
|
4890
|
+
<line num="13" count="186" type="cond" truecount="2" falsecount="0"/>
|
|
4891
|
+
<line num="14" count="175" type="stmt"/>
|
|
4892
|
+
<line num="15" count="175" type="cond" truecount="2" falsecount="0"/>
|
|
4686
4893
|
<line num="16" count="6" type="stmt"/>
|
|
4687
|
-
<line num="19" count="
|
|
4894
|
+
<line num="19" count="186" type="cond" truecount="2" falsecount="2"/>
|
|
4688
4895
|
<line num="20" count="0" type="stmt"/>
|
|
4689
4896
|
<line num="21" count="0" type="stmt"/>
|
|
4690
|
-
<line num="26" count="
|
|
4691
|
-
<line num="28" count="
|
|
4897
|
+
<line num="26" count="186" type="stmt"/>
|
|
4898
|
+
<line num="28" count="186" type="cond" truecount="3" falsecount="1"/>
|
|
4692
4899
|
<line num="29" count="0" type="stmt"/>
|
|
4693
|
-
<line num="31" count="
|
|
4900
|
+
<line num="31" count="186" type="stmt"/>
|
|
4694
4901
|
<line num="34" count="34" type="stmt"/>
|
|
4695
4902
|
<line num="37" count="34" type="stmt"/>
|
|
4696
4903
|
<line num="39" count="0" type="stmt"/>
|
|
@@ -4699,15 +4906,15 @@
|
|
|
4699
4906
|
<line num="56" count="0" type="stmt"/>
|
|
4700
4907
|
<line num="58" count="0" type="stmt"/>
|
|
4701
4908
|
<line num="61" count="34" type="stmt"/>
|
|
4702
|
-
<line num="62" count="
|
|
4703
|
-
<line num="63" count="
|
|
4704
|
-
<line num="69" count="
|
|
4705
|
-
<line num="70" count="
|
|
4706
|
-
<line num="71" count="
|
|
4707
|
-
<line num="72" count="
|
|
4708
|
-
<line num="73" count="
|
|
4709
|
-
<line num="74" count="
|
|
4710
|
-
<line num="77" count="
|
|
4909
|
+
<line num="62" count="175" type="stmt"/>
|
|
4910
|
+
<line num="63" count="175" type="stmt"/>
|
|
4911
|
+
<line num="69" count="175" type="stmt"/>
|
|
4912
|
+
<line num="70" count="175" type="stmt"/>
|
|
4913
|
+
<line num="71" count="175" type="stmt"/>
|
|
4914
|
+
<line num="72" count="175" type="cond" truecount="1" falsecount="1"/>
|
|
4915
|
+
<line num="73" count="175" type="stmt"/>
|
|
4916
|
+
<line num="74" count="175" type="stmt"/>
|
|
4917
|
+
<line num="77" count="175" type="stmt"/>
|
|
4711
4918
|
<line num="80" count="0" type="stmt"/>
|
|
4712
4919
|
<line num="84" count="34" type="cond" truecount="0" falsecount="1"/>
|
|
4713
4920
|
<line num="85" count="0" type="stmt"/>
|
|
@@ -4748,7 +4955,7 @@
|
|
|
4748
4955
|
<line num="73" count="8" type="stmt"/>
|
|
4749
4956
|
<line num="74" count="8" type="stmt"/>
|
|
4750
4957
|
<line num="83" count="0" type="stmt"/>
|
|
4751
|
-
<line num="90" count="
|
|
4958
|
+
<line num="90" count="192" type="stmt"/>
|
|
4752
4959
|
<line num="97" count="0" type="stmt"/>
|
|
4753
4960
|
<line num="101" count="33" type="stmt"/>
|
|
4754
4961
|
</file>
|
|
@@ -4769,93 +4976,129 @@
|
|
|
4769
4976
|
</file>
|
|
4770
4977
|
</package>
|
|
4771
4978
|
<package name="utilities.rowProcessor">
|
|
4772
|
-
<metrics statements="
|
|
4979
|
+
<metrics statements="131" coveredstatements="84" conditionals="100" coveredconditionals="48" methods="21" coveredmethods="11"/>
|
|
4773
4980
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/index.js">
|
|
4774
|
-
<metrics statements="
|
|
4981
|
+
<metrics statements="120" coveredstatements="74" conditionals="94" coveredconditionals="43" methods="19" coveredmethods="10"/>
|
|
4775
4982
|
<line num="1" count="34" type="stmt"/>
|
|
4776
4983
|
<line num="2" count="34" type="stmt"/>
|
|
4777
4984
|
<line num="3" count="34" type="stmt"/>
|
|
4778
4985
|
<line num="4" count="34" type="stmt"/>
|
|
4779
4986
|
<line num="5" count="34" type="stmt"/>
|
|
4987
|
+
<line num="6" count="34" type="stmt"/>
|
|
4780
4988
|
<line num="7" count="34" type="stmt"/>
|
|
4781
|
-
<line num="
|
|
4782
|
-
<line num="
|
|
4783
|
-
<line num="
|
|
4784
|
-
<line num="
|
|
4785
|
-
<line num="22" count="
|
|
4786
|
-
<line num="
|
|
4787
|
-
<line num="
|
|
4788
|
-
<line num="
|
|
4789
|
-
<line num="
|
|
4790
|
-
<line num="
|
|
4791
|
-
<line num="
|
|
4792
|
-
<line num="
|
|
4793
|
-
<line num="
|
|
4794
|
-
<line num="
|
|
4795
|
-
<line num="
|
|
4796
|
-
<line num="
|
|
4797
|
-
<line num="
|
|
4798
|
-
<line num="
|
|
4989
|
+
<line num="8" count="34" type="stmt"/>
|
|
4990
|
+
<line num="9" count="34" type="stmt"/>
|
|
4991
|
+
<line num="11" count="34" type="stmt"/>
|
|
4992
|
+
<line num="16" count="34" type="stmt"/>
|
|
4993
|
+
<line num="22" count="11" type="cond" truecount="4" falsecount="0"/>
|
|
4994
|
+
<line num="23" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
4995
|
+
<line num="25" count="9" type="cond" truecount="1" falsecount="1"/>
|
|
4996
|
+
<line num="26" count="0" type="stmt"/>
|
|
4997
|
+
<line num="28" count="9" type="stmt"/>
|
|
4998
|
+
<line num="60" count="9" type="stmt"/>
|
|
4999
|
+
<line num="67" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
5000
|
+
<line num="68" count="1" type="stmt"/>
|
|
5001
|
+
<line num="70" count="1" type="stmt"/>
|
|
5002
|
+
<line num="86" count="0" type="stmt"/>
|
|
5003
|
+
<line num="90" count="0" type="stmt"/>
|
|
5004
|
+
<line num="91" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5005
|
+
<line num="92" count="0" type="stmt"/>
|
|
5006
|
+
<line num="94" count="0" type="stmt"/>
|
|
5007
|
+
<line num="96" count="0" type="stmt"/>
|
|
5008
|
+
<line num="107" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5009
|
+
<line num="108" count="0" type="stmt"/>
|
|
5010
|
+
<line num="110" count="0" type="stmt"/>
|
|
4799
5011
|
<line num="112" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4800
|
-
<line num="
|
|
4801
|
-
<line num="
|
|
4802
|
-
<line num="
|
|
4803
|
-
<line num="
|
|
4804
|
-
<line num="
|
|
4805
|
-
<line num="
|
|
4806
|
-
<line num="
|
|
4807
|
-
<line num="
|
|
4808
|
-
<line num="
|
|
4809
|
-
<line num="
|
|
4810
|
-
<line num="
|
|
4811
|
-
<line num="
|
|
4812
|
-
<line num="
|
|
4813
|
-
<line num="
|
|
4814
|
-
<line num="
|
|
4815
|
-
<line num="
|
|
4816
|
-
<line num="
|
|
4817
|
-
<line num="
|
|
4818
|
-
<line num="
|
|
4819
|
-
<line num="
|
|
4820
|
-
<line num="
|
|
4821
|
-
<line num="
|
|
4822
|
-
<line num="
|
|
4823
|
-
<line num="
|
|
4824
|
-
<line num="
|
|
4825
|
-
<line num="
|
|
4826
|
-
<line num="
|
|
4827
|
-
<line num="185" count="
|
|
4828
|
-
<line num="
|
|
4829
|
-
<line num="
|
|
4830
|
-
<line num="
|
|
4831
|
-
<line num="
|
|
4832
|
-
<line num="
|
|
4833
|
-
<line num="
|
|
4834
|
-
<line num="197" count="
|
|
4835
|
-
<line num="
|
|
4836
|
-
<line num="
|
|
4837
|
-
<line num="
|
|
4838
|
-
<line num="
|
|
4839
|
-
<line num="
|
|
4840
|
-
<line num="
|
|
4841
|
-
<line num="
|
|
4842
|
-
<line num="
|
|
4843
|
-
<line num="
|
|
4844
|
-
<line num="
|
|
4845
|
-
<line num="
|
|
4846
|
-
<line num="
|
|
4847
|
-
<line num="
|
|
4848
|
-
<line num="
|
|
4849
|
-
<line num="
|
|
4850
|
-
<line num="
|
|
4851
|
-
<line num="
|
|
4852
|
-
<line num="
|
|
4853
|
-
<line num="
|
|
4854
|
-
<line num="
|
|
4855
|
-
<line num="
|
|
4856
|
-
<line num="
|
|
4857
|
-
<line num="
|
|
4858
|
-
<line num="
|
|
5012
|
+
<line num="113" count="0" type="stmt"/>
|
|
5013
|
+
<line num="115" count="0" type="stmt"/>
|
|
5014
|
+
<line num="116" count="0" type="stmt"/>
|
|
5015
|
+
<line num="135" count="73" type="cond" truecount="2" falsecount="0"/>
|
|
5016
|
+
<line num="136" count="73" type="stmt"/>
|
|
5017
|
+
<line num="138" count="73" type="stmt"/>
|
|
5018
|
+
<line num="139" count="73" type="stmt"/>
|
|
5019
|
+
<line num="140" count="206" type="cond" truecount="1" falsecount="1"/>
|
|
5020
|
+
<line num="141" count="206" type="stmt"/>
|
|
5021
|
+
<line num="143" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
5022
|
+
<line num="145" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5023
|
+
<line num="151" count="0" type="stmt"/>
|
|
5024
|
+
<line num="153" count="0" type="stmt"/>
|
|
5025
|
+
<line num="155" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5026
|
+
<line num="156" count="0" type="stmt"/>
|
|
5027
|
+
<line num="158" count="0" type="stmt"/>
|
|
5028
|
+
<line num="160" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
5029
|
+
<line num="161" count="0" type="stmt"/>
|
|
5030
|
+
<line num="163" count="0" type="stmt"/>
|
|
5031
|
+
<line num="165" count="0" type="stmt"/>
|
|
5032
|
+
<line num="166" count="0" type="stmt"/>
|
|
5033
|
+
<line num="168" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5034
|
+
<line num="169" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5035
|
+
<line num="170" count="0" type="stmt"/>
|
|
5036
|
+
<line num="172" count="0" type="stmt"/>
|
|
5037
|
+
<line num="175" count="73" type="stmt"/>
|
|
5038
|
+
<line num="177" count="34" type="stmt"/>
|
|
5039
|
+
<line num="185" count="34" type="stmt"/>
|
|
5040
|
+
<line num="187" count="174" type="cond" truecount="1" falsecount="1"/>
|
|
5041
|
+
<line num="188" count="0" type="stmt"/>
|
|
5042
|
+
<line num="191" count="174" type="cond" truecount="2" falsecount="0"/>
|
|
5043
|
+
<line num="192" count="16" type="stmt"/>
|
|
5044
|
+
<line num="193" count="158" type="cond" truecount="2" falsecount="0"/>
|
|
5045
|
+
<line num="194" count="22" type="stmt"/>
|
|
5046
|
+
<line num="197" count="136" type="stmt"/>
|
|
5047
|
+
<line num="209" count="34" type="stmt"/>
|
|
5048
|
+
<line num="215" count="73" type="stmt"/>
|
|
5049
|
+
<line num="217" count="73" type="stmt"/>
|
|
5050
|
+
<line num="218" count="73" type="stmt"/>
|
|
5051
|
+
<line num="219" count="73" type="stmt"/>
|
|
5052
|
+
<line num="220" count="332" type="stmt"/>
|
|
5053
|
+
<line num="222" count="332" type="cond" truecount="2" falsecount="0"/>
|
|
5054
|
+
<line num="223" count="159" type="cond" truecount="2" falsecount="0"/>
|
|
5055
|
+
<line num="224" count="3" type="stmt"/>
|
|
5056
|
+
<line num="226" count="159" type="stmt"/>
|
|
5057
|
+
<line num="230" count="173" type="cond" truecount="1" falsecount="1"/>
|
|
5058
|
+
<line num="231" count="0" type="stmt"/>
|
|
5059
|
+
<line num="233" count="173" type="stmt"/>
|
|
5060
|
+
<line num="237" count="73" type="cond" truecount="4" falsecount="0"/>
|
|
5061
|
+
<line num="238" count="68" type="stmt"/>
|
|
5062
|
+
<line num="239" count="68" type="stmt"/>
|
|
5063
|
+
<line num="243" count="73" type="stmt"/>
|
|
5064
|
+
<line num="256" count="34" type="stmt"/>
|
|
5065
|
+
<line num="262" count="100" type="stmt"/>
|
|
5066
|
+
<line num="263" count="100" type="stmt"/>
|
|
5067
|
+
<line num="264" count="100" type="cond" truecount="2" falsecount="0"/>
|
|
5068
|
+
<line num="265" count="87" type="stmt"/>
|
|
5069
|
+
<line num="266" count="87" type="stmt"/>
|
|
5070
|
+
<line num="269" count="100" type="stmt"/>
|
|
5071
|
+
<line num="272" count="100" type="stmt"/>
|
|
5072
|
+
<line num="275" count="100" type="stmt"/>
|
|
5073
|
+
<line num="276" count="296" type="cond" truecount="2" falsecount="0"/>
|
|
5074
|
+
<line num="277" count="8" type="stmt"/>
|
|
5075
|
+
<line num="278" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
5076
|
+
<line num="279" count="6" type="stmt"/>
|
|
5077
|
+
<line num="281" count="2" type="stmt"/>
|
|
5078
|
+
<line num="282" count="2" type="stmt"/>
|
|
5079
|
+
<line num="287" count="100" type="cond" truecount="2" falsecount="0"/>
|
|
5080
|
+
<line num="288" count="26" type="stmt"/>
|
|
5081
|
+
<line num="294" count="100" type="cond" truecount="2" falsecount="0"/>
|
|
5082
|
+
<line num="306" count="34" type="stmt"/>
|
|
5083
|
+
<line num="307" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
5084
|
+
<line num="308" count="8" type="stmt"/>
|
|
5085
|
+
<line num="310" count="8" type="stmt"/>
|
|
5086
|
+
<line num="311" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
5087
|
+
<line num="312" count="8" type="stmt"/>
|
|
5088
|
+
<line num="315" count="0" type="stmt"/>
|
|
5089
|
+
<line num="317" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5090
|
+
<line num="318" count="0" type="stmt"/>
|
|
5091
|
+
<line num="321" count="0" type="stmt"/>
|
|
5092
|
+
<line num="322" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5093
|
+
<line num="323" count="0" type="stmt"/>
|
|
5094
|
+
<line num="326" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
5095
|
+
<line num="327" count="0" type="stmt"/>
|
|
5096
|
+
<line num="328" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5097
|
+
<line num="329" count="0" type="stmt"/>
|
|
5098
|
+
<line num="330" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5099
|
+
<line num="331" count="0" type="stmt"/>
|
|
5100
|
+
<line num="334" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
5101
|
+
<line num="335" count="0" type="stmt"/>
|
|
4859
5102
|
</file>
|
|
4860
5103
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/utils.js">
|
|
4861
5104
|
<metrics statements="11" coveredstatements="10" conditionals="6" coveredconditionals="5" methods="2" coveredmethods="1"/>
|