@budibase/server 1.0.19-alpha.0 → 1.0.19-alpha.1
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 +3 -0
- package/builder/assets/bb-spaceship.8f6e81e1.svg +227 -0
- package/builder/assets/{index.9337c392.css → index.2fc6da87.css} +1 -1
- package/builder/assets/{index.f0651cb7.js → index.b0718f41.js} +190 -186
- package/builder/index.html +2 -2
- package/coverage/clover.xml +313 -275
- package/coverage/coverage-final.json +13 -13
- 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 +1 -1
- package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +1 -1
- package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/api/controllers/hosting.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +18 -18
- 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 +11 -11
- package/coverage/lcov-report/api/controllers/query/index.js.html +15 -9
- package/coverage/lcov-report/api/controllers/query/validation.js.html +5 -2
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
- 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 +1 -1
- package/coverage/lcov-report/api/index.html +1 -1
- package/coverage/lcov-report/api/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
- package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/routes/application.js.html +1 -1
- package/coverage/lcov-report/api/routes/auth.js.html +1 -1
- package/coverage/lcov-report/api/routes/automation.js.html +1 -1
- package/coverage/lcov-report/api/routes/backup.js.html +1 -1
- package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
- package/coverage/lcov-report/api/routes/component.js.html +1 -1
- package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
- package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
- package/coverage/lcov-report/api/routes/dev.js.html +1 -1
- package/coverage/lcov-report/api/routes/hosting.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +1 -1
- 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 +1 -1
- package/coverage/lcov-report/api/routes/role.js.html +1 -1
- package/coverage/lcov-report/api/routes/routing.js.html +1 -1
- package/coverage/lcov-report/api/routes/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 +1 -1
- 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 +1 -1
- package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +1 -1
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
- package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/triggers.js.html +1 -1
- package/coverage/lcov-report/automations/utils.js.html +1 -1
- 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 +3 -3
- package/coverage/lcov-report/db/utils.js.html +90 -63
- 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 +51 -51
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
- package/coverage/lcov-report/middleware/authorized.js.html +2 -2
- package/coverage/lcov-report/middleware/builder.js.html +1 -1
- package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
- package/coverage/lcov-report/middleware/index.html +1 -1
- package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
- package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
- package/coverage/lcov-report/middleware/utils.js.html +1 -1
- package/coverage/lcov-report/threads/automation.js.html +1 -1
- package/coverage/lcov-report/threads/index.html +20 -20
- package/coverage/lcov-report/threads/index.js.html +1 -1
- package/coverage/lcov-report/threads/query.js.html +63 -12
- 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 +1 -1
- package/coverage/lcov-report/utilities/index.html +19 -19
- package/coverage/lcov-report/utilities/index.js.html +66 -33
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
- 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 +1 -1
- package/coverage/lcov.info +490 -424
- package/dist/api/controllers/query/index.js +4 -2
- package/dist/api/controllers/query/validation.js +1 -0
- package/dist/api/controllers/user.js +37 -1
- package/dist/api/routes/user.js +3 -1
- package/dist/db/utils.js +8 -0
- package/dist/integrations/rest.js +110 -113
- package/dist/package.json +4 -4
- package/dist/threads/query.js +14 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utilities/index.js +10 -0
- package/package.json +5 -5
- package/src/api/controllers/query/import/sources/base/index.ts +1 -2
- package/src/api/controllers/query/import/sources/openapi2.ts +1 -1
- package/src/api/controllers/query/index.js +4 -2
- package/src/api/controllers/query/validation.js +1 -0
- package/src/api/controllers/user.js +33 -0
- package/src/api/routes/user.js +10 -0
- package/src/db/utils.js +9 -0
- package/src/definitions/common.ts +2 -38
- package/src/definitions/datasource.ts +50 -1
- package/src/integrations/base/IntegrationBase.ts +4 -4
- package/src/integrations/rest.ts +111 -137
- package/src/integrations/tests/rest.spec.js +16 -7
- package/src/threads/query.js +19 -2
- package/src/utilities/index.js +11 -0
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1639417400115" clover="3.2.0">
|
|
3
|
+
<project timestamp="1639417400115" name="All files">
|
|
4
|
+
<metrics statements="4448" coveredstatements="3263" conditionals="1768" coveredconditionals="958" methods="630" coveredmethods="444" elements="6846" coveredelements="4665" complexity="0" loc="4448" ncloc="4448" packages="21" files="139" classes="139"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="29" coveredstatements="27" conditionals="5" coveredconditionals="2" methods="5" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</file>
|
|
39
39
|
</package>
|
|
40
40
|
<package name="api.controllers">
|
|
41
|
-
<metrics statements="
|
|
41
|
+
<metrics statements="1062" coveredstatements="741" conditionals="348" coveredconditionals="157" methods="146" coveredmethods="100"/>
|
|
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"/>
|
|
@@ -986,9 +986,8 @@
|
|
|
986
986
|
<line num="25" count="0" type="stmt"/>
|
|
987
987
|
</file>
|
|
988
988
|
<file name="user.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/user.js">
|
|
989
|
-
<metrics statements="
|
|
989
|
+
<metrics statements="119" coveredstatements="39" conditionals="37" coveredconditionals="0" methods="16" coveredmethods="5"/>
|
|
990
990
|
<line num="1" count="34" type="stmt"/>
|
|
991
|
-
<line num="5" count="34" type="stmt"/>
|
|
992
991
|
<line num="6" count="34" type="stmt"/>
|
|
993
992
|
<line num="7" count="34" type="stmt"/>
|
|
994
993
|
<line num="8" count="34" type="stmt"/>
|
|
@@ -997,94 +996,116 @@
|
|
|
997
996
|
<line num="11" count="34" type="stmt"/>
|
|
998
997
|
<line num="12" count="34" type="stmt"/>
|
|
999
998
|
<line num="13" count="34" type="stmt"/>
|
|
1000
|
-
<line num="
|
|
1001
|
-
<line num="
|
|
1002
|
-
<line num="
|
|
1003
|
-
<line num="28" count="0" type="
|
|
1004
|
-
<line num="
|
|
999
|
+
<line num="14" count="34" type="stmt"/>
|
|
1000
|
+
<line num="17" count="2" type="stmt"/>
|
|
1001
|
+
<line num="23" count="0" type="stmt"/>
|
|
1002
|
+
<line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1003
|
+
<line num="29" count="0" type="stmt"/>
|
|
1005
1004
|
<line num="31" count="0" type="stmt"/>
|
|
1006
1005
|
<line num="32" count="0" type="stmt"/>
|
|
1007
|
-
<line num="
|
|
1008
|
-
<line num="38" count="0" type="
|
|
1009
|
-
<line num="
|
|
1010
|
-
<line num="42" count="0" type="
|
|
1011
|
-
<line num="
|
|
1012
|
-
<line num="45" count="0" type="
|
|
1013
|
-
<line num="
|
|
1014
|
-
<line num="
|
|
1015
|
-
<line num="
|
|
1006
|
+
<line num="33" count="0" type="stmt"/>
|
|
1007
|
+
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1008
|
+
<line num="39" count="0" type="stmt"/>
|
|
1009
|
+
<line num="42" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1010
|
+
<line num="43" count="0" type="stmt"/>
|
|
1011
|
+
<line num="45" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1012
|
+
<line num="46" count="0" type="stmt"/>
|
|
1013
|
+
<line num="51" count="0" type="stmt"/>
|
|
1014
|
+
<line num="54" count="34" type="stmt"/>
|
|
1016
1015
|
<line num="56" count="0" type="stmt"/>
|
|
1017
|
-
<line num="
|
|
1016
|
+
<line num="57" count="0" type="stmt"/>
|
|
1018
1017
|
<line num="61" count="0" type="stmt"/>
|
|
1019
1018
|
<line num="62" count="0" type="stmt"/>
|
|
1020
|
-
<line num="63" count="0" type="
|
|
1021
|
-
<line num="64" count="0" type="
|
|
1022
|
-
<line num="
|
|
1023
|
-
<line num="
|
|
1024
|
-
<line num="71" count="
|
|
1025
|
-
<line num="
|
|
1019
|
+
<line num="63" count="0" type="stmt"/>
|
|
1020
|
+
<line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1021
|
+
<line num="65" count="0" type="stmt"/>
|
|
1022
|
+
<line num="68" count="0" type="stmt"/>
|
|
1023
|
+
<line num="71" count="34" type="stmt"/>
|
|
1024
|
+
<line num="72" count="0" type="stmt"/>
|
|
1026
1025
|
<line num="74" count="0" type="stmt"/>
|
|
1027
1026
|
<line num="75" count="0" type="stmt"/>
|
|
1028
|
-
<line num="
|
|
1029
|
-
<line num="78" count="0" type="
|
|
1027
|
+
<line num="76" count="0" type="stmt"/>
|
|
1028
|
+
<line num="78" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1030
1029
|
<line num="79" count="0" type="stmt"/>
|
|
1031
|
-
<line num="
|
|
1032
|
-
<line num="
|
|
1033
|
-
<line num="
|
|
1030
|
+
<line num="80" count="0" type="stmt"/>
|
|
1031
|
+
<line num="82" count="0" type="stmt"/>
|
|
1032
|
+
<line num="85" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1034
1033
|
<line num="87" count="0" type="stmt"/>
|
|
1035
1034
|
<line num="88" count="0" type="stmt"/>
|
|
1036
|
-
<line num="
|
|
1037
|
-
<line num="93" count="0" type="
|
|
1038
|
-
<line num="
|
|
1035
|
+
<line num="89" count="0" type="stmt"/>
|
|
1036
|
+
<line num="93" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
1037
|
+
<line num="94" count="0" type="stmt"/>
|
|
1039
1038
|
<line num="96" count="0" type="stmt"/>
|
|
1040
1039
|
<line num="97" count="0" type="stmt"/>
|
|
1041
|
-
<line num="
|
|
1040
|
+
<line num="98" count="0" type="stmt"/>
|
|
1042
1041
|
<line num="100" count="0" type="stmt"/>
|
|
1043
1042
|
<line num="101" count="0" type="stmt"/>
|
|
1044
1043
|
<line num="102" count="0" type="stmt"/>
|
|
1045
|
-
<line num="103" count="0" type="
|
|
1046
|
-
<line num="104" count="0" type="
|
|
1047
|
-
<line num="
|
|
1044
|
+
<line num="103" count="0" type="stmt"/>
|
|
1045
|
+
<line num="104" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1046
|
+
<line num="105" count="0" type="stmt"/>
|
|
1048
1047
|
<line num="107" count="0" type="stmt"/>
|
|
1049
|
-
<line num="
|
|
1048
|
+
<line num="108" count="0" type="stmt"/>
|
|
1050
1049
|
<line num="110" count="0" type="stmt"/>
|
|
1051
|
-
<line num="
|
|
1052
|
-
<line num="113" count="0" type="
|
|
1053
|
-
<line num="
|
|
1054
|
-
<line num="
|
|
1055
|
-
<line num="121" count="0" type="
|
|
1056
|
-
<line num="
|
|
1057
|
-
<line num="
|
|
1058
|
-
<line num="132" count="0" type="
|
|
1059
|
-
<line num="
|
|
1060
|
-
<line num="
|
|
1061
|
-
<line num="142" count="
|
|
1050
|
+
<line num="111" count="0" type="stmt"/>
|
|
1051
|
+
<line num="113" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1052
|
+
<line num="114" count="0" type="stmt"/>
|
|
1053
|
+
<line num="116" count="0" type="stmt"/>
|
|
1054
|
+
<line num="121" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1055
|
+
<line num="122" count="0" type="stmt"/>
|
|
1056
|
+
<line num="124" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1057
|
+
<line num="132" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1058
|
+
<line num="133" count="0" type="stmt"/>
|
|
1059
|
+
<line num="137" count="0" type="stmt"/>
|
|
1060
|
+
<line num="142" count="34" type="stmt"/>
|
|
1062
1061
|
<line num="143" count="2" type="stmt"/>
|
|
1063
1062
|
<line num="144" count="2" type="stmt"/>
|
|
1064
1063
|
<line num="145" count="2" type="stmt"/>
|
|
1065
1064
|
<line num="146" count="2" type="stmt"/>
|
|
1066
|
-
<line num="
|
|
1067
|
-
<line num="
|
|
1068
|
-
<line num="
|
|
1069
|
-
<line num="
|
|
1070
|
-
<line num="
|
|
1071
|
-
<line num="
|
|
1065
|
+
<line num="147" count="2" type="stmt"/>
|
|
1066
|
+
<line num="149" count="7" type="stmt"/>
|
|
1067
|
+
<line num="151" count="7" type="stmt"/>
|
|
1068
|
+
<line num="159" count="2" type="stmt"/>
|
|
1069
|
+
<line num="162" count="34" type="stmt"/>
|
|
1070
|
+
<line num="164" count="0" type="stmt"/>
|
|
1072
1071
|
<line num="166" count="0" type="stmt"/>
|
|
1073
|
-
<line num="
|
|
1074
|
-
<line num="170" count="
|
|
1072
|
+
<line num="167" count="0" type="stmt"/>
|
|
1073
|
+
<line num="170" count="34" type="stmt"/>
|
|
1075
1074
|
<line num="171" count="1" type="stmt"/>
|
|
1076
1075
|
<line num="172" count="1" type="stmt"/>
|
|
1077
|
-
<line num="
|
|
1076
|
+
<line num="173" count="1" type="stmt"/>
|
|
1078
1077
|
<line num="175" count="1" type="stmt"/>
|
|
1079
|
-
<line num="
|
|
1080
|
-
<line num="
|
|
1081
|
-
<line num="183" count="
|
|
1078
|
+
<line num="176" count="1" type="stmt"/>
|
|
1079
|
+
<line num="180" count="1" type="stmt"/>
|
|
1080
|
+
<line num="183" count="34" type="stmt"/>
|
|
1082
1081
|
<line num="184" count="1" type="stmt"/>
|
|
1083
1082
|
<line num="185" count="1" type="stmt"/>
|
|
1084
|
-
<line num="186" count="
|
|
1085
|
-
<line num="
|
|
1086
|
-
<line num="
|
|
1087
|
-
<line num="196" count="
|
|
1083
|
+
<line num="186" count="1" type="stmt"/>
|
|
1084
|
+
<line num="187" count="0" type="stmt"/>
|
|
1085
|
+
<line num="191" count="1" type="stmt"/>
|
|
1086
|
+
<line num="196" count="34" type="stmt"/>
|
|
1087
|
+
<line num="197" count="1" type="stmt"/>
|
|
1088
|
+
<line num="200" count="34" type="stmt"/>
|
|
1089
|
+
<line num="201" count="0" type="stmt"/>
|
|
1090
|
+
<line num="202" count="0" type="stmt"/>
|
|
1091
|
+
<line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1092
|
+
<line num="204" count="0" type="stmt"/>
|
|
1093
|
+
<line num="206" count="0" type="stmt"/>
|
|
1094
|
+
<line num="207" count="0" type="stmt"/>
|
|
1095
|
+
<line num="209" count="0" type="stmt"/>
|
|
1096
|
+
<line num="210" count="0" type="stmt"/>
|
|
1097
|
+
<line num="212" count="0" type="stmt"/>
|
|
1098
|
+
<line num="214" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1099
|
+
<line num="215" count="0" type="stmt"/>
|
|
1100
|
+
<line num="216" count="0" type="stmt"/>
|
|
1101
|
+
<line num="219" count="34" type="stmt"/>
|
|
1102
|
+
<line num="220" count="0" type="stmt"/>
|
|
1103
|
+
<line num="221" count="0" type="stmt"/>
|
|
1104
|
+
<line num="222" count="0" type="stmt"/>
|
|
1105
|
+
<line num="224" count="0" type="stmt"/>
|
|
1106
|
+
<line num="225" count="0" type="stmt"/>
|
|
1107
|
+
<line num="227" count="0" type="stmt"/>
|
|
1108
|
+
<line num="229" count="0" type="stmt"/>
|
|
1088
1109
|
</file>
|
|
1089
1110
|
<file name="webhook.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/webhook.js">
|
|
1090
1111
|
<metrics statements="57" coveredstatements="52" conditionals="10" coveredconditionals="4" methods="7" coveredmethods="7"/>
|
|
@@ -1148,9 +1169,9 @@
|
|
|
1148
1169
|
</file>
|
|
1149
1170
|
</package>
|
|
1150
1171
|
<package name="api.controllers.query">
|
|
1151
|
-
<metrics statements="
|
|
1172
|
+
<metrics statements="95" coveredstatements="70" conditionals="27" coveredconditionals="12" methods="13" coveredmethods="12"/>
|
|
1152
1173
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query/index.js">
|
|
1153
|
-
<metrics statements="
|
|
1174
|
+
<metrics statements="87" coveredstatements="62" conditionals="27" coveredconditionals="12" methods="10" coveredmethods="9"/>
|
|
1154
1175
|
<line num="1" count="34" type="stmt"/>
|
|
1155
1176
|
<line num="2" count="34" type="stmt"/>
|
|
1156
1177
|
<line num="7" count="34" type="stmt"/>
|
|
@@ -1206,7 +1227,6 @@
|
|
|
1206
1227
|
<line num="114" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1207
1228
|
<line num="119" count="0" type="stmt"/>
|
|
1208
1229
|
<line num="120" count="0" type="stmt"/>
|
|
1209
|
-
<line num="126" count="0" type="stmt"/>
|
|
1210
1230
|
<line num="128" count="0" type="stmt"/>
|
|
1211
1231
|
<line num="131" count="4" type="stmt"/>
|
|
1212
1232
|
<line num="134" count="34" type="stmt"/>
|
|
@@ -1224,21 +1244,21 @@
|
|
|
1224
1244
|
<line num="153" count="2" type="stmt"/>
|
|
1225
1245
|
<line num="154" count="2" type="stmt"/>
|
|
1226
1246
|
<line num="161" count="1" type="stmt"/>
|
|
1227
|
-
<line num="
|
|
1228
|
-
<line num="
|
|
1229
|
-
<line num="171" count="2" type="stmt"/>
|
|
1247
|
+
<line num="168" count="1" type="stmt"/>
|
|
1248
|
+
<line num="172" count="34" type="stmt"/>
|
|
1230
1249
|
<line num="173" count="2" type="stmt"/>
|
|
1231
|
-
<line num="
|
|
1250
|
+
<line num="175" count="2" type="stmt"/>
|
|
1232
1251
|
<line num="176" count="2" type="stmt"/>
|
|
1233
|
-
<line num="
|
|
1234
|
-
<line num="
|
|
1235
|
-
<line num="
|
|
1252
|
+
<line num="178" count="2" type="stmt"/>
|
|
1253
|
+
<line num="184" count="2" type="stmt"/>
|
|
1254
|
+
<line num="185" count="2" type="stmt"/>
|
|
1236
1255
|
<line num="191" count="1" type="stmt"/>
|
|
1237
|
-
<line num="
|
|
1238
|
-
<line num="
|
|
1239
|
-
<line num="197" count="1" type="stmt"/>
|
|
1256
|
+
<line num="193" count="1" type="stmt"/>
|
|
1257
|
+
<line num="197" count="34" type="stmt"/>
|
|
1240
1258
|
<line num="198" count="1" type="stmt"/>
|
|
1241
1259
|
<line num="199" count="1" type="stmt"/>
|
|
1260
|
+
<line num="200" count="1" type="stmt"/>
|
|
1261
|
+
<line num="201" count="1" type="stmt"/>
|
|
1242
1262
|
</file>
|
|
1243
1263
|
<file name="validation.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query/validation.js">
|
|
1244
1264
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
@@ -1246,10 +1266,10 @@
|
|
|
1246
1266
|
<line num="2" count="35" type="stmt"/>
|
|
1247
1267
|
<line num="4" count="35" type="stmt"/>
|
|
1248
1268
|
<line num="5" count="28" type="stmt"/>
|
|
1249
|
-
<line num="
|
|
1250
|
-
<line num="
|
|
1251
|
-
<line num="
|
|
1252
|
-
<line num="
|
|
1269
|
+
<line num="26" count="35" type="stmt"/>
|
|
1270
|
+
<line num="28" count="23" type="stmt"/>
|
|
1271
|
+
<line num="31" count="35" type="stmt"/>
|
|
1272
|
+
<line num="33" count="23" type="stmt"/>
|
|
1253
1273
|
</file>
|
|
1254
1274
|
</package>
|
|
1255
1275
|
<package name="api.controllers.row">
|
|
@@ -2825,7 +2845,7 @@
|
|
|
2825
2845
|
<line num="7" count="23" type="stmt"/>
|
|
2826
2846
|
<line num="9" count="23" type="stmt"/>
|
|
2827
2847
|
<line num="11" count="23" type="stmt"/>
|
|
2828
|
-
<line num="
|
|
2848
|
+
<line num="53" count="23" type="stmt"/>
|
|
2829
2849
|
</file>
|
|
2830
2850
|
<file name="view.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/view.js">
|
|
2831
2851
|
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -3412,27 +3432,27 @@
|
|
|
3412
3432
|
<metrics statements="28" coveredstatements="28" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3413
3433
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/index.js">
|
|
3414
3434
|
<metrics statements="21" coveredstatements="21" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3415
|
-
<line num="1" count="
|
|
3416
|
-
<line num="2" count="
|
|
3417
|
-
<line num="3" count="
|
|
3418
|
-
<line num="5" count="
|
|
3419
|
-
<line num="9" count="
|
|
3420
|
-
<line num="22" count="
|
|
3421
|
-
<line num="23" count="
|
|
3422
|
-
<line num="32" count="
|
|
3423
|
-
<line num="48" count="
|
|
3424
|
-
<line num="55" count="
|
|
3425
|
-
<line num="61" count="
|
|
3426
|
-
<line num="67" count="
|
|
3427
|
-
<line num="78" count="
|
|
3428
|
-
<line num="83" count="
|
|
3429
|
-
<line num="145" count="
|
|
3430
|
-
<line num="153" count="
|
|
3431
|
-
<line num="154" count="
|
|
3432
|
-
<line num="161" count="
|
|
3433
|
-
<line num="166" count="
|
|
3434
|
-
<line num="172" count="
|
|
3435
|
-
<line num="178" count="
|
|
3435
|
+
<line num="1" count="42" type="stmt"/>
|
|
3436
|
+
<line num="2" count="42" type="stmt"/>
|
|
3437
|
+
<line num="3" count="42" type="stmt"/>
|
|
3438
|
+
<line num="5" count="42" type="stmt"/>
|
|
3439
|
+
<line num="9" count="42" type="stmt"/>
|
|
3440
|
+
<line num="22" count="42" type="stmt"/>
|
|
3441
|
+
<line num="23" count="42" type="stmt"/>
|
|
3442
|
+
<line num="32" count="42" type="stmt"/>
|
|
3443
|
+
<line num="48" count="42" type="stmt"/>
|
|
3444
|
+
<line num="55" count="42" type="stmt"/>
|
|
3445
|
+
<line num="61" count="42" type="stmt"/>
|
|
3446
|
+
<line num="67" count="42" type="stmt"/>
|
|
3447
|
+
<line num="78" count="42" type="stmt"/>
|
|
3448
|
+
<line num="83" count="42" type="stmt"/>
|
|
3449
|
+
<line num="145" count="42" type="stmt"/>
|
|
3450
|
+
<line num="153" count="42" type="stmt"/>
|
|
3451
|
+
<line num="154" count="42" type="stmt"/>
|
|
3452
|
+
<line num="161" count="42" type="stmt"/>
|
|
3453
|
+
<line num="166" count="42" type="stmt"/>
|
|
3454
|
+
<line num="172" count="42" type="stmt"/>
|
|
3455
|
+
<line num="178" count="42" type="stmt"/>
|
|
3436
3456
|
</file>
|
|
3437
3457
|
<file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
|
|
3438
3458
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -3449,26 +3469,26 @@
|
|
|
3449
3469
|
</file>
|
|
3450
3470
|
</package>
|
|
3451
3471
|
<package name="db">
|
|
3452
|
-
<metrics statements="
|
|
3472
|
+
<metrics statements="155" coveredstatements="129" conditionals="63" coveredconditionals="21" methods="36" coveredmethods="28"/>
|
|
3453
3473
|
<file name="client.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/client.js">
|
|
3454
3474
|
<metrics statements="17" coveredstatements="17" conditionals="4" coveredconditionals="3" methods="0" coveredmethods="0"/>
|
|
3455
|
-
<line num="1" count="
|
|
3456
|
-
<line num="2" count="
|
|
3457
|
-
<line num="3" count="
|
|
3458
|
-
<line num="4" count="
|
|
3459
|
-
<line num="5" count="
|
|
3460
|
-
<line num="6" count="
|
|
3461
|
-
<line num="8" count="
|
|
3462
|
-
<line num="10" count="
|
|
3463
|
-
<line num="11" count="
|
|
3464
|
-
<line num="12" count="
|
|
3465
|
-
<line num="14" count="
|
|
3466
|
-
<line num="18" count="
|
|
3467
|
-
<line num="19" count="
|
|
3468
|
-
<line num="20" count="
|
|
3469
|
-
<line num="26" count="
|
|
3470
|
-
<line num="29" count="
|
|
3471
|
-
<line num="31" count="
|
|
3475
|
+
<line num="1" count="44" type="stmt"/>
|
|
3476
|
+
<line num="2" count="44" type="stmt"/>
|
|
3477
|
+
<line num="3" count="44" type="stmt"/>
|
|
3478
|
+
<line num="4" count="44" type="stmt"/>
|
|
3479
|
+
<line num="5" count="44" type="stmt"/>
|
|
3480
|
+
<line num="6" count="44" type="stmt"/>
|
|
3481
|
+
<line num="8" count="44" type="cond" truecount="2" falsecount="0"/>
|
|
3482
|
+
<line num="10" count="44" type="stmt"/>
|
|
3483
|
+
<line num="11" count="44" type="stmt"/>
|
|
3484
|
+
<line num="12" count="44" type="stmt"/>
|
|
3485
|
+
<line num="14" count="44" type="stmt"/>
|
|
3486
|
+
<line num="18" count="44" type="cond" truecount="1" falsecount="1"/>
|
|
3487
|
+
<line num="19" count="44" type="stmt"/>
|
|
3488
|
+
<line num="20" count="44" type="stmt"/>
|
|
3489
|
+
<line num="26" count="44" type="stmt"/>
|
|
3490
|
+
<line num="29" count="44" type="stmt"/>
|
|
3491
|
+
<line num="31" count="44" type="stmt"/>
|
|
3472
3492
|
</file>
|
|
3473
3493
|
<file name="inMemoryView.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/inMemoryView.js">
|
|
3474
3494
|
<metrics statements="23" coveredstatements="6" conditionals="8" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
@@ -3498,125 +3518,127 @@
|
|
|
3498
3518
|
</file>
|
|
3499
3519
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/index.js">
|
|
3500
3520
|
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3501
|
-
<line num="1" count="
|
|
3502
|
-
<line num="3" count="
|
|
3521
|
+
<line num="1" count="44" type="stmt"/>
|
|
3522
|
+
<line num="3" count="44" type="stmt"/>
|
|
3503
3523
|
</file>
|
|
3504
3524
|
<file name="newid.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/newid.js">
|
|
3505
3525
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3506
|
-
<line num="1" count="
|
|
3507
|
-
<line num="3" count="
|
|
3526
|
+
<line num="1" count="49" type="stmt"/>
|
|
3527
|
+
<line num="3" count="49" type="stmt"/>
|
|
3508
3528
|
<line num="4" count="683" type="stmt"/>
|
|
3509
3529
|
</file>
|
|
3510
3530
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3511
|
-
<metrics statements="
|
|
3512
|
-
<line num="1" count="
|
|
3513
|
-
<line num="12" count="
|
|
3514
|
-
<line num="14" count="
|
|
3515
|
-
<line num="16" count="
|
|
3516
|
-
<line num="22" count="
|
|
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="
|
|
3541
|
-
<line num="
|
|
3542
|
-
<line num="
|
|
3543
|
-
<line num="
|
|
3544
|
-
<line num="
|
|
3545
|
-
<line num="
|
|
3546
|
-
<line num="
|
|
3547
|
-
<line num="
|
|
3548
|
-
<line num="
|
|
3549
|
-
<line num="
|
|
3550
|
-
<line num="
|
|
3551
|
-
<line num="
|
|
3552
|
-
<line num="
|
|
3553
|
-
<line num="
|
|
3554
|
-
<line num="
|
|
3555
|
-
<line num="
|
|
3556
|
-
<line num="
|
|
3557
|
-
<line num="
|
|
3558
|
-
<line num="
|
|
3559
|
-
<line num="
|
|
3560
|
-
<line num="
|
|
3561
|
-
<line num="
|
|
3562
|
-
<line num="
|
|
3563
|
-
<line num="
|
|
3564
|
-
<line num="
|
|
3565
|
-
<line num="
|
|
3566
|
-
<line num="
|
|
3567
|
-
<line num="
|
|
3568
|
-
<line num="
|
|
3569
|
-
<line num="
|
|
3570
|
-
<line num="220" count="9" type="stmt"/>
|
|
3531
|
+
<metrics statements="110" coveredstatements="101" conditionals="51" coveredconditionals="18" methods="31" coveredmethods="27"/>
|
|
3532
|
+
<line num="1" count="49" type="stmt"/>
|
|
3533
|
+
<line num="12" count="49" type="stmt"/>
|
|
3534
|
+
<line num="14" count="49" type="stmt"/>
|
|
3535
|
+
<line num="16" count="49" type="stmt"/>
|
|
3536
|
+
<line num="22" count="49" type="stmt"/>
|
|
3537
|
+
<line num="46" count="49" type="stmt"/>
|
|
3538
|
+
<line num="51" count="49" type="stmt"/>
|
|
3539
|
+
<line num="55" count="49" type="stmt"/>
|
|
3540
|
+
<line num="59" count="49" type="stmt"/>
|
|
3541
|
+
<line num="61" count="49" type="stmt"/>
|
|
3542
|
+
<line num="69" count="49" type="stmt"/>
|
|
3543
|
+
<line num="70" count="49" type="stmt"/>
|
|
3544
|
+
<line num="71" count="49" type="stmt"/>
|
|
3545
|
+
<line num="72" count="49" type="stmt"/>
|
|
3546
|
+
<line num="73" count="49" type="stmt"/>
|
|
3547
|
+
<line num="74" count="49" type="stmt"/>
|
|
3548
|
+
<line num="75" count="49" type="stmt"/>
|
|
3549
|
+
<line num="76" count="49" type="stmt"/>
|
|
3550
|
+
<line num="77" count="49" type="stmt"/>
|
|
3551
|
+
<line num="78" count="49" type="stmt"/>
|
|
3552
|
+
<line num="79" count="49" type="stmt"/>
|
|
3553
|
+
<line num="80" count="49" type="stmt"/>
|
|
3554
|
+
<line num="81" count="49" type="stmt"/>
|
|
3555
|
+
<line num="82" count="49" type="stmt"/>
|
|
3556
|
+
<line num="84" count="49" type="stmt"/>
|
|
3557
|
+
<line num="85" count="49" type="stmt"/>
|
|
3558
|
+
<line num="87" count="49" type="stmt"/>
|
|
3559
|
+
<line num="88" count="74" type="stmt"/>
|
|
3560
|
+
<line num="104" count="606" type="cond" truecount="2" falsecount="0"/>
|
|
3561
|
+
<line num="105" count="593" type="stmt"/>
|
|
3562
|
+
<line num="107" count="606" type="stmt"/>
|
|
3563
|
+
<line num="114" count="49" type="stmt"/>
|
|
3564
|
+
<line num="119" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3565
|
+
<line num="120" count="3" type="stmt"/>
|
|
3566
|
+
<line num="127" count="49" type="stmt"/>
|
|
3567
|
+
<line num="128" count="99" type="stmt"/>
|
|
3568
|
+
<line num="139" count="49" type="cond" truecount="0" falsecount="3"/>
|
|
3569
|
+
<line num="140" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
3570
|
+
<line num="141" count="0" type="stmt"/>
|
|
3571
|
+
<line num="144" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
3572
|
+
<line num="146" count="11" type="stmt"/>
|
|
3573
|
+
<line num="155" count="49" type="cond" truecount="1" falsecount="0"/>
|
|
3574
|
+
<line num="156" count="201" type="cond" truecount="2" falsecount="0"/>
|
|
3575
|
+
<line num="157" count="201" type="stmt"/>
|
|
3576
|
+
<line num="163" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3577
|
+
<line num="164" count="3" type="stmt"/>
|
|
3578
|
+
<line num="172" count="49" type="stmt"/>
|
|
3579
|
+
<line num="173" count="133" type="stmt"/>
|
|
3580
|
+
<line num="179" count="49" type="stmt"/>
|
|
3581
|
+
<line num="180" count="2" type="stmt"/>
|
|
3582
|
+
<line num="181" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
3583
|
+
<line num="182" count="1" type="stmt"/>
|
|
3584
|
+
<line num="184" count="1" type="stmt"/>
|
|
3585
|
+
<line num="190" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3586
|
+
<line num="191" count="204" type="stmt"/>
|
|
3587
|
+
<line num="198" count="49" type="stmt"/>
|
|
3588
|
+
<line num="199" count="20" type="stmt"/>
|
|
3589
|
+
<line num="213" count="49" type="stmt"/>
|
|
3571
3590
|
<line num="221" count="9" type="stmt"/>
|
|
3572
3591
|
<line num="222" count="9" type="stmt"/>
|
|
3573
3592
|
<line num="223" count="9" type="stmt"/>
|
|
3574
|
-
<line num="
|
|
3575
|
-
<line num="230" count="
|
|
3576
|
-
<line num="
|
|
3577
|
-
<line num="238" count="
|
|
3578
|
-
<line num="239" count="179" type="
|
|
3579
|
-
<line num="240" count="
|
|
3580
|
-
<line num="
|
|
3581
|
-
<line num="
|
|
3582
|
-
<line num="250" count="
|
|
3593
|
+
<line num="224" count="9" type="stmt"/>
|
|
3594
|
+
<line num="230" count="49" type="cond" truecount="0" falsecount="1"/>
|
|
3595
|
+
<line num="231" count="0" type="stmt"/>
|
|
3596
|
+
<line num="238" count="49" type="cond" truecount="0" falsecount="1"/>
|
|
3597
|
+
<line num="239" count="179" type="stmt"/>
|
|
3598
|
+
<line num="240" count="179" type="cond" truecount="1" falsecount="1"/>
|
|
3599
|
+
<line num="241" count="0" type="stmt"/>
|
|
3600
|
+
<line num="243" count="179" type="stmt"/>
|
|
3601
|
+
<line num="250" count="49" type="stmt"/>
|
|
3583
3602
|
<line num="251" count="179" type="stmt"/>
|
|
3584
3603
|
<line num="252" count="179" type="stmt"/>
|
|
3585
|
-
<line num="
|
|
3586
|
-
<line num="260" count="
|
|
3587
|
-
<line num="
|
|
3588
|
-
<line num="267" count="
|
|
3589
|
-
<line num="
|
|
3590
|
-
<line num="275" count="
|
|
3591
|
-
<line num="
|
|
3592
|
-
<line num="282" count="
|
|
3593
|
-
<line num="
|
|
3594
|
-
<line num="290" count="
|
|
3595
|
-
<line num="
|
|
3596
|
-
<line num="297" count="
|
|
3597
|
-
<line num="
|
|
3598
|
-
<line num="305" count="
|
|
3599
|
-
<line num="
|
|
3600
|
-
<line num="314" count="
|
|
3601
|
-
<line num="
|
|
3602
|
-
<line num="322" count="
|
|
3603
|
-
<line num="
|
|
3604
|
-
<line num="331" count="
|
|
3605
|
-
<line num="332" count="
|
|
3606
|
-
<line num="
|
|
3607
|
-
<line num="
|
|
3608
|
-
<line num="
|
|
3609
|
-
<line num="
|
|
3610
|
-
<line num="
|
|
3611
|
-
<line num="
|
|
3612
|
-
<line num="
|
|
3613
|
-
<line num="
|
|
3614
|
-
<line num="
|
|
3615
|
-
<line num="
|
|
3616
|
-
<line num="
|
|
3617
|
-
<line num="
|
|
3618
|
-
<line num="
|
|
3619
|
-
<line num="
|
|
3604
|
+
<line num="253" count="179" type="stmt"/>
|
|
3605
|
+
<line num="260" count="49" type="stmt"/>
|
|
3606
|
+
<line num="261" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3607
|
+
<line num="267" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3608
|
+
<line num="268" count="189" type="stmt"/>
|
|
3609
|
+
<line num="275" count="49" type="stmt"/>
|
|
3610
|
+
<line num="276" count="19" type="stmt"/>
|
|
3611
|
+
<line num="282" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3612
|
+
<line num="283" count="191" type="stmt"/>
|
|
3613
|
+
<line num="290" count="49" type="stmt"/>
|
|
3614
|
+
<line num="291" count="10" type="stmt"/>
|
|
3615
|
+
<line num="297" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3616
|
+
<line num="298" count="2" type="stmt"/>
|
|
3617
|
+
<line num="305" count="49" type="cond" truecount="1" falsecount="1"/>
|
|
3618
|
+
<line num="306" count="24" type="stmt"/>
|
|
3619
|
+
<line num="314" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3620
|
+
<line num="315" count="3" type="stmt"/>
|
|
3621
|
+
<line num="322" count="49" type="stmt"/>
|
|
3622
|
+
<line num="323" count="73" type="stmt"/>
|
|
3623
|
+
<line num="331" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3624
|
+
<line num="332" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
3625
|
+
<line num="333" count="2" type="stmt"/>
|
|
3626
|
+
<line num="336" count="1" type="stmt"/>
|
|
3627
|
+
<line num="347" count="49" type="stmt"/>
|
|
3628
|
+
<line num="348" count="0" type="stmt"/>
|
|
3629
|
+
<line num="351" count="49" type="stmt"/>
|
|
3630
|
+
<line num="352" count="10" type="stmt"/>
|
|
3631
|
+
<line num="355" count="49" type="cond" truecount="0" falsecount="2"/>
|
|
3632
|
+
<line num="356" count="0" type="stmt"/>
|
|
3633
|
+
<line num="357" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3634
|
+
<line num="358" count="0" type="stmt"/>
|
|
3635
|
+
<line num="360" count="0" type="stmt"/>
|
|
3636
|
+
<line num="363" count="49" type="stmt"/>
|
|
3637
|
+
<line num="364" count="1" type="stmt"/>
|
|
3638
|
+
<line num="367" count="49" type="cond" truecount="0" falsecount="1"/>
|
|
3639
|
+
<line num="368" count="0" type="stmt"/>
|
|
3640
|
+
<line num="374" count="49" type="stmt"/>
|
|
3641
|
+
<line num="375" count="60" type="stmt"/>
|
|
3620
3642
|
</file>
|
|
3621
3643
|
</package>
|
|
3622
3644
|
<package name="db.linkedRows">
|
|
@@ -4010,7 +4032,7 @@
|
|
|
4010
4032
|
<line num="11" count="24" type="stmt"/>
|
|
4011
4033
|
<line num="14" count="7" type="stmt"/>
|
|
4012
4034
|
<line num="17" count="24" type="stmt"/>
|
|
4013
|
-
<line num="19" count="
|
|
4035
|
+
<line num="19" count="2315" type="stmt"/>
|
|
4014
4036
|
<line num="22" count="151" type="cond" truecount="4" falsecount="0"/>
|
|
4015
4037
|
<line num="23" count="1" type="stmt"/>
|
|
4016
4038
|
<line num="26" count="150" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -4242,7 +4264,7 @@
|
|
|
4242
4264
|
</file>
|
|
4243
4265
|
</package>
|
|
4244
4266
|
<package name="threads">
|
|
4245
|
-
<metrics statements="
|
|
4267
|
+
<metrics statements="142" coveredstatements="113" conditionals="59" coveredconditionals="33" methods="23" coveredmethods="21"/>
|
|
4246
4268
|
<file name="automation.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/automation.js">
|
|
4247
4269
|
<metrics statements="76" coveredstatements="64" conditionals="23" coveredconditionals="13" methods="10" coveredmethods="9"/>
|
|
4248
4270
|
<line num="2" count="4" type="stmt"/>
|
|
@@ -4355,7 +4377,7 @@
|
|
|
4355
4377
|
<line num="66" count="34" type="stmt"/>
|
|
4356
4378
|
</file>
|
|
4357
4379
|
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/query.js">
|
|
4358
|
-
<metrics statements="
|
|
4380
|
+
<metrics statements="37" coveredstatements="26" conditionals="18" coveredconditionals="10" methods="8" coveredmethods="7"/>
|
|
4359
4381
|
<line num="2" count="1" type="stmt"/>
|
|
4360
4382
|
<line num="3" count="1" type="stmt"/>
|
|
4361
4383
|
<line num="4" count="1" type="stmt"/>
|
|
@@ -4365,30 +4387,38 @@
|
|
|
4365
4387
|
<line num="10" count="0" type="stmt"/>
|
|
4366
4388
|
<line num="12" count="0" type="stmt"/>
|
|
4367
4389
|
<line num="15" count="2" type="stmt"/>
|
|
4368
|
-
<line num="19" count="
|
|
4369
|
-
<line num="
|
|
4370
|
-
<line num="
|
|
4371
|
-
<line num="
|
|
4372
|
-
<line num="
|
|
4373
|
-
<line num="
|
|
4374
|
-
<line num="
|
|
4375
|
-
<line num="
|
|
4376
|
-
<line num="
|
|
4377
|
-
<line num="
|
|
4378
|
-
<line num="39" count="
|
|
4390
|
+
<line num="19" count="2" type="stmt"/>
|
|
4391
|
+
<line num="28" count="4" type="stmt"/>
|
|
4392
|
+
<line num="29" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
4393
|
+
<line num="30" count="2" type="stmt"/>
|
|
4394
|
+
<line num="32" count="2" type="stmt"/>
|
|
4395
|
+
<line num="34" count="2" type="stmt"/>
|
|
4396
|
+
<line num="35" count="2" type="stmt"/>
|
|
4397
|
+
<line num="36" count="2" type="stmt"/>
|
|
4398
|
+
<line num="37" count="2" type="stmt"/>
|
|
4399
|
+
<line num="38" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4400
|
+
<line num="39" count="0" type="stmt"/>
|
|
4379
4401
|
<line num="40" count="0" type="stmt"/>
|
|
4380
|
-
<line num="
|
|
4381
|
-
<line num="
|
|
4402
|
+
<line num="41" count="0" type="stmt"/>
|
|
4403
|
+
<line num="45" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4404
|
+
<line num="46" count="0" type="stmt"/>
|
|
4382
4405
|
<line num="47" count="0" type="stmt"/>
|
|
4383
|
-
<line num="
|
|
4384
|
-
<line num="
|
|
4385
|
-
<line num="
|
|
4406
|
+
<line num="51" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4407
|
+
<line num="52" count="0" type="stmt"/>
|
|
4408
|
+
<line num="56" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4409
|
+
<line num="57" count="0" type="stmt"/>
|
|
4386
4410
|
<line num="61" count="2" type="stmt"/>
|
|
4387
|
-
<line num="
|
|
4411
|
+
<line num="63" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4412
|
+
<line num="64" count="0" type="stmt"/>
|
|
4413
|
+
<line num="67" count="2" type="stmt"/>
|
|
4414
|
+
<line num="70" count="1" type="stmt"/>
|
|
4415
|
+
<line num="71" count="4" type="stmt"/>
|
|
4416
|
+
<line num="78" count="2" type="stmt"/>
|
|
4417
|
+
<line num="81" count="2" type="stmt"/>
|
|
4388
4418
|
</file>
|
|
4389
4419
|
</package>
|
|
4390
4420
|
<package name="utilities">
|
|
4391
|
-
<metrics statements="
|
|
4421
|
+
<metrics statements="331" coveredstatements="240" conditionals="131" coveredconditionals="73" methods="63" coveredmethods="43"/>
|
|
4392
4422
|
<file name="bcrypt.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/bcrypt.js">
|
|
4393
4423
|
<metrics statements="9" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
4394
4424
|
<line num="3" count="0" type="stmt"/>
|
|
@@ -4554,37 +4584,37 @@
|
|
|
4554
4584
|
<line num="95" count="0" type="stmt"/>
|
|
4555
4585
|
</file>
|
|
4556
4586
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/index.js">
|
|
4557
|
-
<metrics statements="
|
|
4558
|
-
<line num="1" count="
|
|
4559
|
-
<line num="2" count="
|
|
4560
|
-
<line num="3" count="
|
|
4561
|
-
<line num="4" count="
|
|
4562
|
-
<line num="5" count="
|
|
4563
|
-
<line num="6" count="
|
|
4564
|
-
<line num="8" count="
|
|
4565
|
-
<line num="10" count="
|
|
4566
|
-
<line num="12" count="
|
|
4567
|
-
<line num="14" count="
|
|
4587
|
+
<metrics statements="76" coveredstatements="55" conditionals="26" coveredconditionals="13" methods="16" coveredmethods="12"/>
|
|
4588
|
+
<line num="1" count="37" type="stmt"/>
|
|
4589
|
+
<line num="2" count="37" type="stmt"/>
|
|
4590
|
+
<line num="3" count="37" type="stmt"/>
|
|
4591
|
+
<line num="4" count="37" type="stmt"/>
|
|
4592
|
+
<line num="5" count="37" type="stmt"/>
|
|
4593
|
+
<line num="6" count="37" type="stmt"/>
|
|
4594
|
+
<line num="8" count="37" type="stmt"/>
|
|
4595
|
+
<line num="10" count="37" type="stmt"/>
|
|
4596
|
+
<line num="12" count="37" type="stmt"/>
|
|
4597
|
+
<line num="14" count="37" type="stmt"/>
|
|
4568
4598
|
<line num="15" count="1" type="stmt"/>
|
|
4569
4599
|
<line num="16" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
4570
4600
|
<line num="17" count="1" type="stmt"/>
|
|
4571
4601
|
<line num="19" count="1" type="stmt"/>
|
|
4572
|
-
<line num="28" count="
|
|
4602
|
+
<line num="28" count="37" type="stmt"/>
|
|
4573
4603
|
<line num="29" count="187" type="stmt"/>
|
|
4574
|
-
<line num="36" count="
|
|
4604
|
+
<line num="36" count="37" type="stmt"/>
|
|
4575
4605
|
<line num="37" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4576
4606
|
<line num="39" count="2" type="stmt"/>
|
|
4577
4607
|
<line num="41" count="0" type="stmt"/>
|
|
4578
|
-
<line num="55" count="
|
|
4608
|
+
<line num="55" count="37" type="stmt"/>
|
|
4579
4609
|
<line num="56" count="188" type="cond" truecount="1" falsecount="1"/>
|
|
4580
4610
|
<line num="57" count="0" type="stmt"/>
|
|
4581
4611
|
<line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4582
4612
|
<line num="62" count="0" type="stmt"/>
|
|
4583
4613
|
<line num="64" count="0" type="stmt"/>
|
|
4584
4614
|
<line num="66" count="188" type="stmt"/>
|
|
4585
|
-
<line num="70" count="
|
|
4615
|
+
<line num="70" count="37" type="stmt"/>
|
|
4586
4616
|
<line num="71" count="2" type="stmt"/>
|
|
4587
|
-
<line num="76" count="
|
|
4617
|
+
<line num="76" count="37" type="stmt"/>
|
|
4588
4618
|
<line num="77" count="3" type="stmt"/>
|
|
4589
4619
|
<line num="78" count="3" type="stmt"/>
|
|
4590
4620
|
<line num="81" count="3" type="stmt"/>
|
|
@@ -4599,10 +4629,10 @@
|
|
|
4599
4629
|
<line num="92" count="0" type="stmt"/>
|
|
4600
4630
|
<line num="94" count="3" type="stmt"/>
|
|
4601
4631
|
<line num="95" count="3" type="stmt"/>
|
|
4602
|
-
<line num="102" count="
|
|
4632
|
+
<line num="102" count="37" type="stmt"/>
|
|
4603
4633
|
<line num="103" count="1" type="stmt"/>
|
|
4604
4634
|
<line num="104" count="1" type="stmt"/>
|
|
4605
|
-
<line num="108" count="
|
|
4635
|
+
<line num="108" count="37" type="stmt"/>
|
|
4606
4636
|
<line num="109" count="4" type="stmt"/>
|
|
4607
4637
|
<line num="110" count="4" type="stmt"/>
|
|
4608
4638
|
<line num="112" count="4" type="stmt"/>
|
|
@@ -4611,18 +4641,26 @@
|
|
|
4611
4641
|
<line num="115" count="0" type="stmt"/>
|
|
4612
4642
|
<line num="120" count="4" type="cond" truecount="3" falsecount="1"/>
|
|
4613
4643
|
<line num="121" count="0" type="stmt"/>
|
|
4614
|
-
<line num="125" count="
|
|
4644
|
+
<line num="125" count="37" type="stmt"/>
|
|
4615
4645
|
<line num="126" count="0" type="stmt"/>
|
|
4616
|
-
<line num="135" count="
|
|
4646
|
+
<line num="135" count="37" type="stmt"/>
|
|
4617
4647
|
<line num="136" count="0" type="stmt"/>
|
|
4618
4648
|
<line num="138" count="0" type="stmt"/>
|
|
4619
4649
|
<line num="139" count="0" type="stmt"/>
|
|
4620
|
-
<line num="144" count="
|
|
4650
|
+
<line num="144" count="37" type="stmt"/>
|
|
4621
4651
|
<line num="145" count="0" type="stmt"/>
|
|
4622
4652
|
<line num="146" count="0" type="stmt"/>
|
|
4623
4653
|
<line num="147" count="0" type="stmt"/>
|
|
4624
4654
|
<line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4625
4655
|
<line num="150" count="0" type="stmt"/>
|
|
4656
|
+
<line num="154" count="37" type="stmt"/>
|
|
4657
|
+
<line num="155" count="4" type="stmt"/>
|
|
4658
|
+
<line num="156" count="4" type="stmt"/>
|
|
4659
|
+
<line num="157" count="4" type="stmt"/>
|
|
4660
|
+
<line num="158" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
4661
|
+
<line num="159" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
4662
|
+
<line num="160" count="0" type="stmt"/>
|
|
4663
|
+
<line num="162" count="4" type="cond" truecount="3" falsecount="1"/>
|
|
4626
4664
|
</file>
|
|
4627
4665
|
<file name="scriptRunner.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/scriptRunner.js">
|
|
4628
4666
|
<metrics statements="13" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
@@ -4648,7 +4686,7 @@
|
|
|
4648
4686
|
<line num="10" count="33" type="stmt"/>
|
|
4649
4687
|
<line num="15" count="33" type="stmt"/>
|
|
4650
4688
|
<line num="16" count="4" type="stmt"/>
|
|
4651
|
-
<line num="17" count="
|
|
4689
|
+
<line num="17" count="84" type="stmt"/>
|
|
4652
4690
|
<line num="19" count="4" type="cond" truecount="2" falsecount="5"/>
|
|
4653
4691
|
<line num="22" count="4" type="stmt"/>
|
|
4654
4692
|
<line num="24" count="0" type="stmt"/>
|