@budibase/server 0.9.188 → 0.9.190-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +7 -1
- package/__mocks__/mssql.ts +1 -1
- package/__mocks__/oracledb.ts +31 -0
- package/__mocks__/pg.ts +3 -0
- package/builder/assets/bb-space-man.5be51a45.svg +290 -0
- package/builder/assets/index.2bd3b345.js +1316 -0
- package/builder/assets/index.4fb3f887.css +1 -0
- package/builder/assets/oracle.66592424.png +0 -0
- package/builder/assets/vendor.470042a4.js +152 -0
- package/builder/assets/vendor.5e1fe644.css +1 -0
- package/builder/index.html +4 -4
- package/coverage/clover.xml +1608 -1191
- package/coverage/coverage-final.json +97 -93
- package/coverage/lcov-report/api/controllers/analytics.js.html +2 -2
- package/coverage/lcov-report/api/controllers/apikeys.js.html +2 -2
- package/coverage/lcov-report/api/controllers/application.js.html +113 -80
- package/coverage/lcov-report/api/controllers/auth.js.html +19 -10
- package/coverage/lcov-report/api/controllers/automation.js.html +3 -3
- package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +4 -4
- package/coverage/lcov-report/api/controllers/datasource.js.html +245 -41
- package/coverage/lcov-report/api/controllers/dev.js.html +16 -7
- package/coverage/lcov-report/api/controllers/hosting.js.html +10 -10
- package/coverage/lcov-report/api/controllers/index.html +98 -98
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +9 -9
- package/coverage/lcov-report/api/controllers/metadata.js.html +3 -3
- package/coverage/lcov-report/api/controllers/permission.js.html +3 -3
- package/coverage/lcov-report/api/controllers/query.js.html +79 -229
- package/coverage/lcov-report/api/controllers/role.js.html +9 -9
- package/coverage/lcov-report/api/controllers/routing.js.html +29 -29
- package/coverage/lcov-report/api/controllers/row/external.js.html +17 -8
- package/coverage/lcov-report/api/controllers/row/index.html +26 -26
- package/coverage/lcov-report/api/controllers/row/index.js.html +2 -2
- package/coverage/lcov-report/api/controllers/row/internal.js.html +9 -9
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +2 -2
- package/coverage/lcov-report/api/controllers/row/utils.js.html +21 -30
- package/coverage/lcov-report/api/controllers/screen.js.html +3 -3
- package/coverage/lcov-report/api/controllers/script.js.html +3 -3
- package/coverage/lcov-report/api/controllers/table/external.js.html +1001 -0
- package/coverage/lcov-report/api/controllers/table/index.html +56 -26
- package/coverage/lcov-report/api/controllers/table/index.js.html +80 -350
- package/coverage/lcov-report/api/controllers/table/internal.js.html +533 -0
- package/coverage/lcov-report/api/controllers/table/utils.js.html +175 -52
- package/coverage/lcov-report/api/controllers/templates.js.html +4 -4
- package/coverage/lcov-report/api/controllers/user.js.html +390 -33
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +19 -4
- package/coverage/lcov-report/api/controllers/view/index.html +22 -22
- package/coverage/lcov-report/api/controllers/view/index.js.html +52 -13
- package/coverage/lcov-report/api/controllers/view/utils.js.html +11 -11
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +3 -3
- package/coverage/lcov-report/api/controllers/webhook.js.html +4 -4
- package/coverage/lcov-report/api/index.html +1 -1
- package/coverage/lcov-report/api/index.js.html +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 +2 -2
- package/coverage/lcov-report/api/routes/hosting.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +4 -4
- package/coverage/lcov-report/api/routes/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/integration.js.html +1 -1
- package/coverage/lcov-report/api/routes/layout.js.html +1 -1
- package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
- package/coverage/lcov-report/api/routes/permission.js.html +1 -1
- package/coverage/lcov-report/api/routes/query.js.html +5 -2
- package/coverage/lcov-report/api/routes/role.js.html +1 -1
- package/coverage/lcov-report/api/routes/routing.js.html +1 -1
- package/coverage/lcov-report/api/routes/row.js.html +536 -2
- package/coverage/lcov-report/api/routes/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.js.html +1 -1
- package/coverage/lcov-report/api/routes/static.js.html +2 -2
- package/coverage/lcov-report/api/routes/table.js.html +464 -2
- package/coverage/lcov-report/api/routes/templates.js.html +1 -1
- package/coverage/lcov-report/api/routes/user.js.html +17 -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 +2 -2
- package/coverage/lcov-report/automations/automationUtils.js.html +4 -4
- package/coverage/lcov-report/automations/bullboard.js.html +71 -20
- package/coverage/lcov-report/automations/index.html +35 -50
- package/coverage/lcov-report/automations/index.js.html +2 -2
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/discord.js.html +3 -3
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeScript.js.html +3 -3
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +14 -14
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +3 -3
- package/coverage/lcov-report/automations/steps/queryRows.js.html +3 -3
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/utils.js.html +7 -7
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +2 -2
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +2 -2
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +8 -8
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +2 -2
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +2 -2
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +2 -2
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +2 -2
- package/coverage/lcov-report/automations/triggers.js.html +22 -10
- package/coverage/lcov-report/automations/utils.js.html +46 -16
- package/coverage/lcov-report/constants/index.html +5 -5
- package/coverage/lcov-report/constants/index.js.html +87 -21
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +2 -2
- package/coverage/lcov-report/db/client.js.html +2 -2
- package/coverage/lcov-report/db/inMemoryView.js.html +2 -2
- package/coverage/lcov-report/db/index.html +2 -2
- package/coverage/lcov-report/db/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +6 -6
- package/coverage/lcov-report/db/linkedRows/index.html +10 -10
- package/coverage/lcov-report/db/linkedRows/index.js.html +5 -5
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +6 -6
- package/coverage/lcov-report/db/newid.js.html +4 -4
- package/coverage/lcov-report/db/utils.js.html +75 -75
- package/coverage/lcov-report/events/AutomationEmitter.js.html +6 -6
- package/coverage/lcov-report/events/index.html +6 -6
- package/coverage/lcov-report/events/index.js.html +1 -1
- package/coverage/lcov-report/events/utils.js.html +5 -5
- package/coverage/lcov-report/index.html +106 -91
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +2 -2
- package/coverage/lcov-report/middleware/authorized.js.html +19 -16
- package/coverage/lcov-report/middleware/builder.js.html +22 -13
- package/coverage/lcov-report/middleware/currentapp.js.html +33 -33
- package/coverage/lcov-report/middleware/index.html +23 -23
- package/coverage/lcov-report/middleware/joi-validator.js.html +2 -2
- package/coverage/lcov-report/middleware/resourceId.js.html +18 -18
- package/coverage/lcov-report/middleware/selfhost.js.html +2 -2
- package/coverage/lcov-report/middleware/usageQuota.js.html +4 -4
- package/coverage/lcov-report/middleware/utils.js.html +2 -2
- package/coverage/lcov-report/{automations/thread.js.html → threads/automation.js.html} +90 -33
- package/coverage/lcov-report/threads/index.html +141 -0
- package/coverage/lcov-report/threads/index.js.html +278 -0
- package/coverage/lcov-report/threads/query.js.html +278 -0
- package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
- package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
- package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
- package/coverage/lcov-report/utilities/csvParser.js.html +144 -15
- package/coverage/lcov-report/utilities/global.js.html +38 -23
- package/coverage/lcov-report/utilities/index.html +48 -48
- package/coverage/lcov-report/utilities/index.js.html +49 -16
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +31 -10
- package/coverage/lcov-report/utilities/queue/index.html +14 -14
- package/coverage/lcov-report/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.js.html +2 -2
- package/coverage/lcov-report/utilities/rowProcessor/index.html +4 -4
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +2 -2
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +3 -3
- package/coverage/lcov-report/utilities/scriptRunner.js.html +16 -7
- package/coverage/lcov-report/utilities/security.js.html +3 -3
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +5 -5
- package/coverage/lcov.info +2687 -1942
- package/dist/api/controllers/application.js +16 -6
- package/dist/api/controllers/auth.js +3 -3
- package/dist/api/controllers/datasource.js +67 -16
- package/dist/api/controllers/deploy/index.js +2 -0
- package/dist/api/controllers/dev.js +4 -1
- package/dist/api/controllers/query.js +32 -62
- package/dist/api/controllers/row/ExternalRequest.js +83 -36
- package/dist/api/controllers/row/external.js +3 -1
- package/dist/api/controllers/row/utils.js +6 -12
- package/dist/api/controllers/table/external.js +249 -0
- package/dist/api/controllers/table/index.js +49 -123
- package/dist/api/controllers/table/internal.js +146 -0
- package/dist/api/controllers/table/utils.js +62 -28
- package/dist/api/controllers/user.js +123 -11
- package/dist/api/controllers/view/exporters.js +4 -0
- package/dist/api/controllers/view/index.js +14 -2
- package/dist/api/routes/query.js +1 -1
- package/dist/api/routes/row.js +178 -0
- package/dist/api/routes/table.js +150 -1
- package/dist/api/routes/user.js +2 -1
- package/dist/app.js +2 -11
- package/dist/automations/bullboard.js +37 -10
- package/dist/automations/triggers.js +7 -3
- package/dist/automations/utils.js +11 -2
- package/dist/constants/index.js +19 -0
- package/dist/definitions/datasource.js +17 -1
- package/dist/environment.js +13 -0
- package/dist/integrations/base/IntegrationBase.js +2 -0
- package/dist/integrations/base/datasourcePlus.js +2 -0
- package/dist/integrations/base/sql.js +350 -177
- package/dist/integrations/base/sqlTable.js +143 -0
- package/dist/integrations/base/utils.js +30 -0
- package/dist/integrations/index.js +6 -0
- package/dist/integrations/microsoftSqlServer.js +117 -9
- package/dist/integrations/mysql.js +16 -85
- package/dist/integrations/oracle.js +367 -0
- package/dist/integrations/postgres.js +35 -28
- package/dist/integrations/utils.js +71 -9
- package/dist/middleware/authorized.js +2 -1
- package/dist/middleware/builder.js +4 -1
- package/dist/package.json +18 -9
- package/dist/tests/utilities/TestConfiguration.js +2 -1
- package/dist/{automations/thread.js → threads/automation.js} +26 -8
- package/dist/threads/index.js +64 -0
- package/dist/threads/query.js +64 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utilities/csvParser.js +46 -5
- package/dist/utilities/global.js +6 -2
- package/dist/utilities/index.js +11 -0
- package/dist/utilities/queue/inMemoryQueue.js +8 -0
- package/dist/utilities/scriptRunner.js +4 -1
- package/package.json +19 -10
- package/scripts/dev/manage.js +1 -0
- package/scripts/docs/README.md +31 -0
- package/scripts/docs/generate.js +74 -0
- package/scripts/docs/toSwagger.js +320 -0
- package/scripts/integrations/mssql/data/Dockerfile +9 -0
- package/scripts/integrations/mssql/data/entrypoint.sh +24 -0
- package/scripts/integrations/mssql/data/setup.sql +54 -0
- package/scripts/integrations/mssql/docker-compose.yaml +12 -0
- package/scripts/integrations/mssql/reset.sh +3 -0
- package/scripts/integrations/oracle/docker-compose.yml +19 -0
- package/scripts/integrations/oracle/instantclient/linux/x86-64/basiclite-21.4.zip +0 -0
- package/scripts/integrations/oracle/instantclient/linux/x86-64/install.sh +23 -0
- package/scripts/integrations/oracle/oracle.md +90 -0
- package/scripts/integrations/postgres/docker-compose.yml +3 -3
- package/scripts/likeCypress.ts +33 -0
- package/src/api/controllers/application.js +18 -7
- package/src/api/controllers/auth.js +3 -0
- package/src/api/controllers/datasource.js +84 -16
- package/src/api/controllers/deploy/index.js +2 -0
- package/src/api/controllers/dev.js +4 -1
- package/src/api/controllers/query.js +35 -85
- package/src/api/controllers/row/ExternalRequest.ts +99 -38
- package/src/api/controllers/row/external.js +4 -1
- package/src/api/controllers/row/utils.js +8 -11
- package/src/api/controllers/table/external.js +307 -0
- package/src/api/controllers/table/index.js +47 -137
- package/src/api/controllers/table/internal.js +151 -0
- package/src/api/controllers/table/utils.js +74 -33
- package/src/api/controllers/user.js +132 -13
- package/src/api/controllers/view/exporters.js +5 -0
- package/src/api/controllers/view/index.js +15 -2
- package/src/api/routes/query.js +1 -0
- package/src/api/routes/row.js +178 -0
- package/src/api/routes/table.js +154 -0
- package/src/api/routes/tests/application.spec.js +0 -2
- package/src/api/routes/tests/datasource.spec.js +2 -2
- package/src/api/routes/tests/misc.spec.js +5 -1
- package/src/api/routes/tests/query.spec.js +38 -9
- package/src/api/routes/tests/screen.spec.js +1 -1
- package/src/api/routes/user.js +5 -0
- package/src/app.ts +2 -10
- package/src/automations/bullboard.js +28 -11
- package/src/automations/tests/automation.spec.js +3 -4
- package/src/automations/triggers.js +7 -3
- package/src/automations/utils.js +12 -2
- package/src/constants/index.js +22 -0
- package/src/definitions/common.ts +7 -1
- package/src/definitions/datasource.ts +21 -3
- package/src/environment.js +15 -0
- package/src/integrations/airtable.ts +2 -1
- package/src/integrations/arangodb.ts +2 -1
- package/src/integrations/base/IntegrationBase.ts +6 -0
- package/src/integrations/base/datasourcePlus.ts +9 -0
- package/src/integrations/base/sql.ts +375 -218
- package/src/integrations/base/sqlTable.ts +180 -0
- package/src/integrations/base/utils.ts +22 -0
- package/src/integrations/couchdb.ts +2 -1
- package/src/integrations/dynamodb.ts +2 -1
- package/src/integrations/elasticsearch.ts +2 -1
- package/src/integrations/index.ts +7 -0
- package/src/integrations/microsoftSqlServer.ts +145 -13
- package/src/integrations/mongodb.ts +2 -1
- package/src/integrations/mysql.ts +23 -95
- package/src/integrations/oracle.ts +464 -0
- package/src/integrations/postgres.ts +45 -35
- package/src/integrations/rest.ts +2 -1
- package/src/integrations/s3.ts +2 -1
- package/src/integrations/tests/microsoftSqlServer.spec.js +22 -15
- package/src/integrations/tests/oracle.spec.js +94 -0
- package/src/integrations/tests/postgres.spec.js +4 -0
- package/src/integrations/utils.ts +78 -8
- package/src/middleware/authorized.js +2 -1
- package/src/middleware/builder.js +4 -1
- package/src/tests/utilities/TestConfiguration.js +2 -1
- package/src/{automations/thread.js → threads/automation.js} +27 -8
- package/src/threads/index.js +66 -0
- package/src/threads/query.js +66 -0
- package/src/utilities/csvParser.js +48 -5
- package/src/utilities/global.js +7 -2
- package/src/utilities/index.js +11 -0
- package/src/utilities/queue/inMemoryQueue.js +7 -0
- package/src/utilities/scriptRunner.js +4 -1
- package/src/utilities/tests/__snapshots__/csvParser.spec.js.snap +0 -6
- package/src/utilities/tests/csvParser.spec.js +3 -0
- package/tsconfig.json +1 -1
- package/builder/assets/index.550fdba7.js +0 -201
- package/builder/assets/index.7469e1e4.css +0 -29
- package/builder/assets/vendor.278a305c.js +0 -9
- package/builder/assets/vendor.d75d5eb7.css +0 -1
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1637953183761" clover="3.2.0">
|
|
3
|
+
<project timestamp="1637953183761" name="All files">
|
|
4
|
+
<metrics statements="4376" coveredstatements="3233" conditionals="1744" coveredconditionals="948" methods="619" coveredmethods="440" elements="6739" coveredelements="4621" complexity="0" loc="4376" ncloc="4376" packages="20" files="138" classes="138"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="29" coveredstatements="27" conditionals="5" coveredconditionals="2" methods="5" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -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="158" type="stmt"/>
|
|
20
|
+
<line num="35" count="158" 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="154" type="stmt"/>
|
|
25
|
+
<line num="62" count="154" 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="1110" coveredstatements="797" conditionals="367" coveredconditionals="169" methods="153" coveredmethods="109"/>
|
|
42
42
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.js">
|
|
43
43
|
<metrics statements="13" coveredstatements="6" conditionals="13" coveredconditionals="4" methods="2" coveredmethods="1"/>
|
|
44
44
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -83,184 +83,190 @@
|
|
|
83
83
|
<line num="46" count="1" type="stmt"/>
|
|
84
84
|
</file>
|
|
85
85
|
<file name="application.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/application.js">
|
|
86
|
-
<metrics statements="
|
|
86
|
+
<metrics statements="180" coveredstatements="142" conditionals="72" coveredconditionals="41" methods="20" coveredmethods="17"/>
|
|
87
87
|
<line num="1" count="33" type="stmt"/>
|
|
88
88
|
<line num="2" count="33" type="stmt"/>
|
|
89
89
|
<line num="3" count="33" type="stmt"/>
|
|
90
90
|
<line num="8" count="33" type="stmt"/>
|
|
91
91
|
<line num="13" count="33" type="stmt"/>
|
|
92
|
+
<line num="21" count="33" type="stmt"/>
|
|
92
93
|
<line num="22" count="33" type="stmt"/>
|
|
93
94
|
<line num="23" count="33" type="stmt"/>
|
|
94
95
|
<line num="24" count="33" type="stmt"/>
|
|
95
96
|
<line num="25" count="33" type="stmt"/>
|
|
96
|
-
<line num="
|
|
97
|
-
<line num="
|
|
98
|
-
<line num="
|
|
99
|
-
<line num="
|
|
97
|
+
<line num="31" count="33" type="stmt"/>
|
|
98
|
+
<line num="32" count="33" type="stmt"/>
|
|
99
|
+
<line num="36" count="33" type="stmt"/>
|
|
100
|
+
<line num="37" count="33" type="stmt"/>
|
|
100
101
|
<line num="38" count="33" type="stmt"/>
|
|
101
|
-
<line num="
|
|
102
|
-
<line num="
|
|
102
|
+
<line num="43" count="33" type="stmt"/>
|
|
103
|
+
<line num="44" count="33" type="stmt"/>
|
|
103
104
|
<line num="45" count="33" type="stmt"/>
|
|
104
105
|
<line num="46" count="33" type="stmt"/>
|
|
105
|
-
<line num="
|
|
106
|
-
<line num="
|
|
107
|
-
<line num="
|
|
108
|
-
<line num="
|
|
109
|
-
<line num="
|
|
110
|
-
<line num="
|
|
111
|
-
<line num="
|
|
112
|
-
<line num="80" count="
|
|
113
|
-
<line num="81" count="
|
|
114
|
-
<line num="82" count="
|
|
115
|
-
<line num="
|
|
116
|
-
<line num="85" count="
|
|
117
|
-
<line num="
|
|
118
|
-
<line num="88" count="
|
|
119
|
-
<line num="
|
|
120
|
-
<line num="91" count="173" type="
|
|
121
|
-
<line num="
|
|
122
|
-
<line num="
|
|
123
|
-
<line num="
|
|
124
|
-
<line num="104" count="
|
|
125
|
-
<line num="105" count="
|
|
126
|
-
<line num="
|
|
127
|
-
<line num="108" count="
|
|
128
|
-
<line num="
|
|
129
|
-
<line num="118" count="
|
|
130
|
-
<line num="119" count="
|
|
131
|
-
<line num="
|
|
132
|
-
<line num="124" count="
|
|
133
|
-
<line num="125" count="0" type="
|
|
134
|
-
<line num="126" count="0" type="
|
|
135
|
-
<line num="
|
|
136
|
-
<line num="
|
|
137
|
-
<line num="132" count="0" type="
|
|
138
|
-
<line num="
|
|
139
|
-
<line num="
|
|
140
|
-
<line num="
|
|
141
|
-
<line num="143" count="
|
|
106
|
+
<line num="47" count="33" type="stmt"/>
|
|
107
|
+
<line num="49" count="33" type="stmt"/>
|
|
108
|
+
<line num="53" count="189" type="stmt"/>
|
|
109
|
+
<line num="59" count="378" type="stmt"/>
|
|
110
|
+
<line num="63" count="189" type="stmt"/>
|
|
111
|
+
<line num="69" count="12" type="stmt"/>
|
|
112
|
+
<line num="73" count="187" type="cond" truecount="4" falsecount="0"/>
|
|
113
|
+
<line num="80" count="184" type="cond" truecount="1" falsecount="1"/>
|
|
114
|
+
<line num="81" count="0" type="stmt"/>
|
|
115
|
+
<line num="82" count="184" type="cond" truecount="2" falsecount="0"/>
|
|
116
|
+
<line num="83" count="181" type="stmt"/>
|
|
117
|
+
<line num="85" count="184" type="cond" truecount="2" falsecount="0"/>
|
|
118
|
+
<line num="86" count="181" type="stmt"/>
|
|
119
|
+
<line num="88" count="184" type="cond" truecount="2" falsecount="0"/>
|
|
120
|
+
<line num="89" count="11" type="stmt"/>
|
|
121
|
+
<line num="91" count="173" type="stmt"/>
|
|
122
|
+
<line num="92" count="173" type="cond" truecount="1" falsecount="1"/>
|
|
123
|
+
<line num="98" count="0" type="stmt"/>
|
|
124
|
+
<line num="100" count="173" type="stmt"/>
|
|
125
|
+
<line num="104" count="179" type="cond" truecount="1" falsecount="1"/>
|
|
126
|
+
<line num="105" count="179" type="stmt"/>
|
|
127
|
+
<line num="106" count="179" type="stmt"/>
|
|
128
|
+
<line num="108" count="179" type="stmt"/>
|
|
129
|
+
<line num="109" count="179" type="stmt"/>
|
|
130
|
+
<line num="118" count="179" type="stmt"/>
|
|
131
|
+
<line num="119" count="179" type="stmt"/>
|
|
132
|
+
<line num="120" count="179" type="stmt"/>
|
|
133
|
+
<line num="124" count="179" type="cond" truecount="3" falsecount="1"/>
|
|
134
|
+
<line num="125" count="0" type="stmt"/>
|
|
135
|
+
<line num="126" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
136
|
+
<line num="127" count="0" type="stmt"/>
|
|
137
|
+
<line num="129" count="179" type="cond" truecount="3" falsecount="1"/>
|
|
138
|
+
<line num="132" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
139
|
+
<line num="133" count="0" type="stmt"/>
|
|
140
|
+
<line num="137" count="179" type="stmt"/>
|
|
141
|
+
<line num="140" count="179" type="stmt"/>
|
|
142
|
+
<line num="143" count="33" type="stmt"/>
|
|
142
143
|
<line num="144" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
143
|
-
<line num="145" count="10" type="
|
|
144
|
-
<line num="
|
|
145
|
-
<line num="149" count="10" type="
|
|
144
|
+
<line num="145" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
145
|
+
<line num="146" count="10" type="stmt"/>
|
|
146
|
+
<line num="149" count="10" type="cond" truecount="2" falsecount="2"/>
|
|
146
147
|
<line num="150" count="10" type="stmt"/>
|
|
147
|
-
<line num="151" count="
|
|
148
|
-
<line num="152" count="14" type="
|
|
149
|
-
<line num="
|
|
150
|
-
<line num="155" count="0" type="
|
|
151
|
-
<line num="156" count="0" type="
|
|
152
|
-
<line num="
|
|
153
|
-
<line num="
|
|
154
|
-
<line num="
|
|
155
|
-
<line num="168" count="
|
|
148
|
+
<line num="151" count="10" type="stmt"/>
|
|
149
|
+
<line num="152" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
150
|
+
<line num="153" count="14" type="stmt"/>
|
|
151
|
+
<line num="155" count="0" type="stmt"/>
|
|
152
|
+
<line num="156" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
153
|
+
<line num="157" count="0" type="stmt"/>
|
|
154
|
+
<line num="160" count="0" type="stmt"/>
|
|
155
|
+
<line num="165" count="10" type="stmt"/>
|
|
156
|
+
<line num="168" count="33" type="stmt"/>
|
|
156
157
|
<line num="169" count="1" type="stmt"/>
|
|
157
158
|
<line num="170" count="1" type="stmt"/>
|
|
158
159
|
<line num="171" count="1" type="stmt"/>
|
|
159
160
|
<line num="172" count="1" type="stmt"/>
|
|
160
|
-
<line num="
|
|
161
|
-
<line num="
|
|
162
|
-
<line num="184" count="
|
|
163
|
-
<line num="185" count="
|
|
164
|
-
<line num="186" count="
|
|
165
|
-
<line num="187" count="
|
|
166
|
-
<line num="
|
|
167
|
-
<line num="191" count="
|
|
168
|
-
<line num="192" count="
|
|
169
|
-
<line num="193" count="
|
|
170
|
-
<line num="
|
|
171
|
-
<line num="
|
|
172
|
-
<line num="205" count="
|
|
173
|
-
<line num="206" count="
|
|
174
|
-
<line num="
|
|
175
|
-
<line num="212" count="
|
|
176
|
-
<line num="
|
|
177
|
-
<line num="215" count="
|
|
178
|
-
<line num="
|
|
179
|
-
<line num="218" count="
|
|
180
|
-
<line num="
|
|
181
|
-
<line num="
|
|
182
|
-
<line num="223" count="
|
|
183
|
-
<line num="
|
|
184
|
-
<line num="
|
|
185
|
-
<line num="243" count="
|
|
186
|
-
<line num="
|
|
187
|
-
<line num="248" count="
|
|
188
|
-
<line num="
|
|
189
|
-
<line num="257" count="
|
|
190
|
-
<line num="
|
|
191
|
-
<line num="
|
|
192
|
-
<line num="262" count="
|
|
161
|
+
<line num="173" count="1" type="stmt"/>
|
|
162
|
+
<line num="177" count="1" type="stmt"/>
|
|
163
|
+
<line num="184" count="33" type="stmt"/>
|
|
164
|
+
<line num="185" count="188" type="stmt"/>
|
|
165
|
+
<line num="186" count="188" type="stmt"/>
|
|
166
|
+
<line num="187" count="188" type="stmt"/>
|
|
167
|
+
<line num="188" count="188" type="stmt"/>
|
|
168
|
+
<line num="191" count="188" type="cond" truecount="4" falsecount="0"/>
|
|
169
|
+
<line num="192" count="186" type="stmt"/>
|
|
170
|
+
<line num="193" count="186" type="stmt"/>
|
|
171
|
+
<line num="194" count="186" type="stmt"/>
|
|
172
|
+
<line num="197" count="188" type="stmt"/>
|
|
173
|
+
<line num="205" count="33" type="stmt"/>
|
|
174
|
+
<line num="206" count="179" type="stmt"/>
|
|
175
|
+
<line num="207" count="179" type="stmt"/>
|
|
176
|
+
<line num="212" count="179" type="cond" truecount="2" falsecount="2"/>
|
|
177
|
+
<line num="213" count="0" type="stmt"/>
|
|
178
|
+
<line num="215" count="179" type="stmt"/>
|
|
179
|
+
<line num="216" count="179" type="stmt"/>
|
|
180
|
+
<line num="218" count="179" type="stmt"/>
|
|
181
|
+
<line num="219" count="179" type="stmt"/>
|
|
182
|
+
<line num="221" count="179" type="stmt"/>
|
|
183
|
+
<line num="223" count="179" type="stmt"/>
|
|
184
|
+
<line num="224" count="0" type="stmt"/>
|
|
185
|
+
<line num="228" count="179" type="stmt"/>
|
|
186
|
+
<line num="243" count="179" type="stmt"/>
|
|
187
|
+
<line num="244" count="179" type="stmt"/>
|
|
188
|
+
<line num="248" count="179" type="cond" truecount="1" falsecount="1"/>
|
|
189
|
+
<line num="249" count="179" type="stmt"/>
|
|
190
|
+
<line num="257" count="179" type="stmt"/>
|
|
191
|
+
<line num="258" count="179" type="stmt"/>
|
|
192
|
+
<line num="259" count="179" type="stmt"/>
|
|
193
|
+
<line num="262" count="33" type="stmt"/>
|
|
193
194
|
<line num="263" count="2" type="stmt"/>
|
|
194
|
-
<line num="
|
|
195
|
-
<line num="
|
|
196
|
-
<line num="
|
|
195
|
+
<line num="264" count="2" type="stmt"/>
|
|
196
|
+
<line num="265" count="2" type="stmt"/>
|
|
197
|
+
<line num="268" count="33" type="stmt"/>
|
|
197
198
|
<line num="270" count="2" type="stmt"/>
|
|
198
|
-
<line num="
|
|
199
|
-
<line num="
|
|
200
|
-
<line num="275" count="
|
|
201
|
-
<line num="
|
|
202
|
-
<line num="
|
|
203
|
-
<line num="
|
|
199
|
+
<line num="271" count="2" type="stmt"/>
|
|
200
|
+
<line num="272" count="2" type="stmt"/>
|
|
201
|
+
<line num="275" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
202
|
+
<line num="276" count="0" type="stmt"/>
|
|
203
|
+
<line num="277" count="0" type="stmt"/>
|
|
204
|
+
<line num="281" count="2" type="stmt"/>
|
|
204
205
|
<line num="285" count="2" type="stmt"/>
|
|
205
|
-
<line num="
|
|
206
|
-
<line num="
|
|
207
|
-
<line num="
|
|
208
|
-
<line num="292" count="1" type="
|
|
209
|
-
<line num="293" count="
|
|
210
|
-
<line num="
|
|
211
|
-
<line num="
|
|
212
|
-
<line num="
|
|
213
|
-
<line num="
|
|
214
|
-
<line num="
|
|
206
|
+
<line num="286" count="2" type="stmt"/>
|
|
207
|
+
<line num="287" count="2" type="stmt"/>
|
|
208
|
+
<line num="290" count="33" type="stmt"/>
|
|
209
|
+
<line num="292" count="1" type="stmt"/>
|
|
210
|
+
<line num="293" count="1" type="stmt"/>
|
|
211
|
+
<line num="294" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
212
|
+
<line num="295" count="0" type="stmt"/>
|
|
213
|
+
<line num="299" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
214
|
+
<line num="300" count="0" type="stmt"/>
|
|
215
|
+
<line num="304" count="1" type="stmt"/>
|
|
215
216
|
<line num="308" count="1" type="stmt"/>
|
|
216
|
-
<line num="
|
|
217
|
-
<line num="
|
|
217
|
+
<line num="309" count="1" type="stmt"/>
|
|
218
|
+
<line num="310" count="1" type="stmt"/>
|
|
219
|
+
<line num="313" count="33" type="stmt"/>
|
|
218
220
|
<line num="314" count="11" type="stmt"/>
|
|
219
|
-
<line num="
|
|
220
|
-
<line num="
|
|
221
|
-
<line num="
|
|
222
|
-
<line num="
|
|
223
|
-
<line num="
|
|
224
|
-
<line num="328" count="
|
|
225
|
-
<line num="329" count="
|
|
226
|
-
<line num="
|
|
221
|
+
<line num="316" count="11" type="stmt"/>
|
|
222
|
+
<line num="321" count="11" type="cond" truecount="2" falsecount="2"/>
|
|
223
|
+
<line num="322" count="0" type="stmt"/>
|
|
224
|
+
<line num="325" count="11" type="stmt"/>
|
|
225
|
+
<line num="326" count="11" type="stmt"/>
|
|
226
|
+
<line num="328" count="11" type="stmt"/>
|
|
227
|
+
<line num="329" count="11" type="stmt"/>
|
|
228
|
+
<line num="332" count="33" type="stmt"/>
|
|
227
229
|
<line num="333" count="0" type="stmt"/>
|
|
228
|
-
<line num="334" count="0" type="
|
|
230
|
+
<line num="334" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
229
231
|
<line num="335" count="0" type="stmt"/>
|
|
230
|
-
<line num="336" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
231
232
|
<line num="339" count="0" type="stmt"/>
|
|
232
|
-
<line num="
|
|
233
|
+
<line num="341" count="0" type="stmt"/>
|
|
234
|
+
<line num="342" count="0" type="stmt"/>
|
|
233
235
|
<line num="343" count="0" type="stmt"/>
|
|
234
|
-
<line num="
|
|
236
|
+
<line num="344" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
237
|
+
<line num="347" count="0" type="stmt"/>
|
|
238
|
+
<line num="348" count="0" type="stmt"/>
|
|
235
239
|
<line num="351" count="0" type="stmt"/>
|
|
236
|
-
<line num="352" count="0" type="stmt"/>
|
|
237
240
|
<line num="354" count="0" type="stmt"/>
|
|
238
|
-
<line num="
|
|
239
|
-
<line num="360" count="0" type="
|
|
240
|
-
<line num="
|
|
241
|
-
<line num="
|
|
242
|
-
<line num="
|
|
243
|
-
<line num="
|
|
244
|
-
<line num="
|
|
245
|
-
<line num="
|
|
246
|
-
<line num="
|
|
247
|
-
<line num="
|
|
248
|
-
<line num="376" count="5" type="stmt"/>
|
|
249
|
-
<line num="381" count="5" type="stmt"/>
|
|
241
|
+
<line num="359" count="0" type="stmt"/>
|
|
242
|
+
<line num="360" count="0" type="stmt"/>
|
|
243
|
+
<line num="362" count="0" type="stmt"/>
|
|
244
|
+
<line num="366" count="0" type="stmt"/>
|
|
245
|
+
<line num="370" count="0" type="stmt"/>
|
|
246
|
+
<line num="372" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
247
|
+
<line num="373" count="0" type="stmt"/>
|
|
248
|
+
<line num="375" count="0" type="stmt"/>
|
|
249
|
+
<line num="381" count="33" type="stmt"/>
|
|
250
|
+
<line num="382" count="5" type="stmt"/>
|
|
250
251
|
<line num="383" count="5" type="stmt"/>
|
|
251
|
-
<line num="
|
|
252
|
-
<line num="
|
|
253
|
-
<line num="
|
|
254
|
-
<line num="
|
|
255
|
-
<line num="
|
|
256
|
-
<line num="
|
|
257
|
-
<line num="
|
|
258
|
-
<line num="
|
|
259
|
-
<line num="
|
|
260
|
-
<line num="
|
|
252
|
+
<line num="384" count="5" type="stmt"/>
|
|
253
|
+
<line num="386" count="5" type="stmt"/>
|
|
254
|
+
<line num="387" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
255
|
+
<line num="388" count="5" type="stmt"/>
|
|
256
|
+
<line num="393" count="5" type="stmt"/>
|
|
257
|
+
<line num="395" count="5" type="stmt"/>
|
|
258
|
+
<line num="397" count="5" type="stmt"/>
|
|
259
|
+
<line num="398" count="5" type="stmt"/>
|
|
260
|
+
<line num="401" count="33" type="stmt"/>
|
|
261
|
+
<line num="402" count="179" type="stmt"/>
|
|
262
|
+
<line num="404" count="179" type="stmt"/>
|
|
263
|
+
<line num="405" count="179" type="stmt"/>
|
|
264
|
+
<line num="406" count="358" type="stmt"/>
|
|
265
|
+
<line num="407" count="358" type="stmt"/>
|
|
266
|
+
<line num="410" count="179" type="stmt"/>
|
|
261
267
|
</file>
|
|
262
268
|
<file name="auth.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/auth.js">
|
|
263
|
-
<metrics statements="
|
|
269
|
+
<metrics statements="27" coveredstatements="23" conditionals="8" coveredconditionals="4" methods="1" coveredmethods="1"/>
|
|
264
270
|
<line num="1" count="23" type="stmt"/>
|
|
265
271
|
<line num="2" count="23" type="stmt"/>
|
|
266
272
|
<line num="3" count="23" type="stmt"/>
|
|
@@ -270,23 +276,24 @@
|
|
|
270
276
|
<line num="8" count="1" type="stmt"/>
|
|
271
277
|
<line num="9" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
272
278
|
<line num="16" count="1" type="stmt"/>
|
|
273
|
-
<line num="18" count="1" type="
|
|
274
|
-
<line num="
|
|
279
|
+
<line num="18" count="1" type="stmt"/>
|
|
280
|
+
<line num="20" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
275
281
|
<line num="21" count="1" type="stmt"/>
|
|
276
|
-
<line num="22" count="1" type="stmt"/>
|
|
277
282
|
<line num="23" count="1" type="stmt"/>
|
|
278
283
|
<line num="24" count="1" type="stmt"/>
|
|
279
|
-
<line num="
|
|
280
|
-
<line num="
|
|
281
|
-
<line num="
|
|
282
|
-
<line num="
|
|
283
|
-
<line num="
|
|
284
|
-
<line num="
|
|
285
|
-
<line num="
|
|
286
|
-
<line num="
|
|
287
|
-
<line num="45" count="
|
|
288
|
-
<line num="
|
|
289
|
-
<line num="
|
|
284
|
+
<line num="25" count="1" type="stmt"/>
|
|
285
|
+
<line num="26" count="1" type="stmt"/>
|
|
286
|
+
<line num="28" count="0" type="stmt"/>
|
|
287
|
+
<line num="35" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
288
|
+
<line num="36" count="0" type="stmt"/>
|
|
289
|
+
<line num="39" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
290
|
+
<line num="40" count="1" type="stmt"/>
|
|
291
|
+
<line num="44" count="1" type="stmt"/>
|
|
292
|
+
<line num="45" count="1" type="stmt"/>
|
|
293
|
+
<line num="46" count="1" type="stmt"/>
|
|
294
|
+
<line num="48" count="0" type="stmt"/>
|
|
295
|
+
<line num="50" count="1" type="stmt"/>
|
|
296
|
+
<line num="53" count="0" type="stmt"/>
|
|
290
297
|
</file>
|
|
291
298
|
<file name="automation.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/automation.js">
|
|
292
299
|
<metrics statements="94" coveredstatements="84" conditionals="32" coveredconditionals="23" methods="14" coveredmethods="13"/>
|
|
@@ -468,90 +475,124 @@
|
|
|
468
475
|
<line num="20" count="1" type="stmt"/>
|
|
469
476
|
<line num="21" count="1" type="stmt"/>
|
|
470
477
|
<line num="22" count="1" type="stmt"/>
|
|
471
|
-
<line num="23" count="
|
|
478
|
+
<line num="23" count="47" type="cond" truecount="2" falsecount="0"/>
|
|
472
479
|
<line num="24" count="1" type="stmt"/>
|
|
473
|
-
<line num="26" count="
|
|
474
|
-
<line num="27" count="
|
|
480
|
+
<line num="26" count="46" type="stmt"/>
|
|
481
|
+
<line num="27" count="46" type="stmt"/>
|
|
475
482
|
<line num="34" count="1" type="stmt"/>
|
|
476
483
|
</file>
|
|
477
484
|
<file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/datasource.js">
|
|
478
|
-
<metrics statements="
|
|
485
|
+
<metrics statements="107" coveredstatements="47" conditionals="36" coveredconditionals="7" methods="16" coveredmethods="8"/>
|
|
479
486
|
<line num="1" count="33" type="stmt"/>
|
|
480
487
|
<line num="9" count="33" type="stmt"/>
|
|
481
488
|
<line num="10" count="33" type="stmt"/>
|
|
482
489
|
<line num="11" count="33" type="stmt"/>
|
|
483
|
-
<line num="
|
|
484
|
-
<line num="14" count="
|
|
485
|
-
<line num="
|
|
490
|
+
<line num="12" count="33" type="stmt"/>
|
|
491
|
+
<line num="14" count="33" type="stmt"/>
|
|
492
|
+
<line num="15" count="2" type="stmt"/>
|
|
486
493
|
<line num="18" count="2" type="stmt"/>
|
|
487
|
-
<line num="
|
|
488
|
-
<line num="
|
|
489
|
-
<line num="
|
|
490
|
-
<line num="
|
|
491
|
-
<line num="
|
|
492
|
-
<line num="
|
|
493
|
-
<line num="43" count="
|
|
494
|
+
<line num="19" count="2" type="stmt"/>
|
|
495
|
+
<line num="24" count="2" type="stmt"/>
|
|
496
|
+
<line num="26" count="2" type="stmt"/>
|
|
497
|
+
<line num="32" count="2" type="stmt"/>
|
|
498
|
+
<line num="38" count="1" type="stmt"/>
|
|
499
|
+
<line num="40" count="2" type="stmt"/>
|
|
500
|
+
<line num="43" count="33" type="stmt"/>
|
|
494
501
|
<line num="44" count="0" type="stmt"/>
|
|
495
|
-
<line num="
|
|
502
|
+
<line num="45" count="0" type="stmt"/>
|
|
496
503
|
<line num="47" count="0" type="stmt"/>
|
|
497
|
-
<line num="
|
|
504
|
+
<line num="48" count="0" type="stmt"/>
|
|
498
505
|
<line num="50" count="0" type="stmt"/>
|
|
499
|
-
<line num="
|
|
500
|
-
<line num="
|
|
501
|
-
<line num="
|
|
506
|
+
<line num="51" count="0" type="stmt"/>
|
|
507
|
+
<line num="53" count="0" type="stmt"/>
|
|
508
|
+
<line num="54" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
509
|
+
<line num="55" count="0" type="stmt"/>
|
|
502
510
|
<line num="57" count="0" type="stmt"/>
|
|
503
|
-
<line num="
|
|
504
|
-
<line num="59" count="0" type="stmt"/>
|
|
511
|
+
<line num="60" count="33" type="stmt"/>
|
|
505
512
|
<line num="61" count="0" type="stmt"/>
|
|
506
513
|
<line num="62" count="0" type="stmt"/>
|
|
507
|
-
<line num="
|
|
514
|
+
<line num="63" count="0" type="stmt"/>
|
|
515
|
+
<line num="64" count="0" type="stmt"/>
|
|
508
516
|
<line num="66" count="0" type="stmt"/>
|
|
509
|
-
<line num="67" count="0" type="
|
|
510
|
-
<line num="
|
|
511
|
-
<line num="
|
|
517
|
+
<line num="67" count="0" type="stmt"/>
|
|
518
|
+
<line num="70" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
519
|
+
<line num="71" count="0" type="stmt"/>
|
|
520
|
+
<line num="72" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
512
521
|
<line num="73" count="0" type="stmt"/>
|
|
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="104" count="
|
|
529
|
-
<line num="105" count="
|
|
530
|
-
<line num="106" count="
|
|
531
|
-
<line num="
|
|
532
|
-
<line num="
|
|
533
|
-
<line num="
|
|
534
|
-
<line num="
|
|
535
|
-
<line num="
|
|
522
|
+
<line num="77" count="0" type="stmt"/>
|
|
523
|
+
<line num="78" count="0" type="stmt"/>
|
|
524
|
+
<line num="79" count="0" type="stmt"/>
|
|
525
|
+
<line num="82" count="33" type="stmt"/>
|
|
526
|
+
<line num="83" count="24" type="stmt"/>
|
|
527
|
+
<line num="84" count="24" type="stmt"/>
|
|
528
|
+
<line num="85" count="24" type="stmt"/>
|
|
529
|
+
<line num="87" count="24" type="stmt"/>
|
|
530
|
+
<line num="93" count="24" type="stmt"/>
|
|
531
|
+
<line num="94" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
532
|
+
<line num="95" count="0" type="stmt"/>
|
|
533
|
+
<line num="96" count="0" type="stmt"/>
|
|
534
|
+
<line num="97" count="0" type="stmt"/>
|
|
535
|
+
<line num="100" count="24" type="stmt"/>
|
|
536
|
+
<line num="101" count="24" type="stmt"/>
|
|
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"/>
|
|
540
|
+
<line num="107" count="0" type="stmt"/>
|
|
541
|
+
<line num="111" count="24" type="stmt"/>
|
|
542
|
+
<line num="112" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
543
|
+
<line num="113" count="0" type="stmt"/>
|
|
544
|
+
<line num="115" count="24" type="stmt"/>
|
|
545
|
+
<line num="118" count="33" type="stmt"/>
|
|
536
546
|
<line num="119" count="1" type="stmt"/>
|
|
537
|
-
<line num="
|
|
538
|
-
<line num="123" count="33" type="stmt"/>
|
|
539
|
-
<line num="124" count="1" type="stmt"/>
|
|
547
|
+
<line num="122" count="1" type="stmt"/>
|
|
540
548
|
<line num="125" count="1" type="stmt"/>
|
|
541
|
-
<line num="
|
|
542
|
-
<line num="
|
|
543
|
-
<line num="
|
|
544
|
-
<line num="
|
|
545
|
-
<line num="
|
|
546
|
-
<line num="
|
|
547
|
-
<line num="
|
|
548
|
-
<line num="
|
|
549
|
-
<line num="
|
|
550
|
-
<line num="
|
|
551
|
-
<line num="
|
|
549
|
+
<line num="126" count="1" type="stmt"/>
|
|
550
|
+
<line num="134" count="1" type="stmt"/>
|
|
551
|
+
<line num="136" count="1" type="stmt"/>
|
|
552
|
+
<line num="137" count="1" type="stmt"/>
|
|
553
|
+
<line num="140" count="33" type="stmt"/>
|
|
554
|
+
<line num="141" count="1" type="stmt"/>
|
|
555
|
+
<line num="142" count="1" type="stmt"/>
|
|
556
|
+
<line num="146" count="33" type="stmt"/>
|
|
557
|
+
<line num="147" count="1" type="stmt"/>
|
|
558
|
+
<line num="148" count="1" type="stmt"/>
|
|
559
|
+
<line num="149" count="1" type="stmt"/>
|
|
560
|
+
<line num="151" count="0" type="stmt"/>
|
|
561
|
+
<line num="156" count="0" type="stmt"/>
|
|
562
|
+
<line num="157" count="0" type="stmt"/>
|
|
563
|
+
<line num="158" count="0" type="stmt"/>
|
|
564
|
+
<line num="162" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
565
|
+
<line num="163" count="0" type="stmt"/>
|
|
566
|
+
<line num="165" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
567
|
+
<line num="166" count="0" type="stmt"/>
|
|
568
|
+
<line num="168" count="0" type="stmt"/>
|
|
569
|
+
<line num="169" count="0" type="stmt"/>
|
|
570
|
+
<line num="172" count="33" type="stmt"/>
|
|
571
|
+
<line num="173" count="0" type="stmt"/>
|
|
572
|
+
<line num="176" count="0" type="stmt"/>
|
|
573
|
+
<line num="177" count="0" type="stmt"/>
|
|
574
|
+
<line num="178" count="0" type="stmt"/>
|
|
575
|
+
<line num="181" count="0" type="stmt"/>
|
|
576
|
+
<line num="182" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
577
|
+
<line num="183" count="0" type="stmt"/>
|
|
578
|
+
<line num="185" count="0" type="stmt"/>
|
|
579
|
+
<line num="186" count="0" type="stmt"/>
|
|
580
|
+
<line num="188" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
581
|
+
<line num="189" count="0" type="stmt"/>
|
|
582
|
+
<line num="193" count="0" type="stmt"/>
|
|
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"/>
|
|
586
|
+
<line num="197" count="0" type="stmt"/>
|
|
587
|
+
<line num="198" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
588
|
+
<line num="199" count="0" type="stmt"/>
|
|
589
|
+
<line num="205" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
590
|
+
<line num="206" count="0" type="stmt"/>
|
|
591
|
+
<line num="207" count="0" type="stmt"/>
|
|
592
|
+
<line num="214" count="0" type="stmt"/>
|
|
552
593
|
</file>
|
|
553
594
|
<file name="dev.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/dev.js">
|
|
554
|
-
<metrics statements="
|
|
595
|
+
<metrics statements="63" coveredstatements="18" conditionals="15" coveredconditionals="0" methods="10" coveredmethods="3"/>
|
|
555
596
|
<line num="1" count="23" type="stmt"/>
|
|
556
597
|
<line num="2" count="23" type="stmt"/>
|
|
557
598
|
<line num="3" count="23" type="stmt"/>
|
|
@@ -560,61 +601,64 @@
|
|
|
560
601
|
<line num="6" count="23" type="stmt"/>
|
|
561
602
|
<line num="7" count="23" type="stmt"/>
|
|
562
603
|
<line num="8" count="23" type="stmt"/>
|
|
563
|
-
<line num="
|
|
564
|
-
<line num="12" count="0" type="
|
|
565
|
-
<line num="13" count="0" type="
|
|
566
|
-
<line num="
|
|
567
|
-
<line num="27" count="0" type="
|
|
604
|
+
<line num="9" count="23" type="stmt"/>
|
|
605
|
+
<line num="12" count="0" type="stmt"/>
|
|
606
|
+
<line num="13" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
607
|
+
<line num="14" count="0" type="stmt"/>
|
|
608
|
+
<line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
609
|
+
<line num="28" count="0" type="stmt"/>
|
|
568
610
|
<line num="29" count="0" type="stmt"/>
|
|
569
|
-
<line num="30" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
570
611
|
<line num="31" count="0" type="stmt"/>
|
|
571
|
-
<line num="
|
|
572
|
-
<line num="
|
|
573
|
-
<line num="
|
|
574
|
-
<line num="
|
|
612
|
+
<line num="32" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
613
|
+
<line num="33" count="0" type="stmt"/>
|
|
614
|
+
<line num="36" count="0" type="stmt"/>
|
|
615
|
+
<line num="37" count="0" type="stmt"/>
|
|
575
616
|
<line num="41" count="0" type="stmt"/>
|
|
617
|
+
<line num="42" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
576
618
|
<line num="43" count="0" type="stmt"/>
|
|
577
|
-
<line num="
|
|
578
|
-
<line num="
|
|
579
|
-
<line num="
|
|
580
|
-
<line num="
|
|
581
|
-
<line num="
|
|
582
|
-
<line num="
|
|
583
|
-
<line num="
|
|
584
|
-
<line num="
|
|
585
|
-
<line num="
|
|
586
|
-
<line num="
|
|
587
|
-
<line num="
|
|
588
|
-
<line num="66" count="0" type="stmt"/>
|
|
619
|
+
<line num="45" count="0" type="stmt"/>
|
|
620
|
+
<line num="48" count="23" type="stmt"/>
|
|
621
|
+
<line num="49" count="46" type="stmt"/>
|
|
622
|
+
<line num="50" count="0" type="stmt"/>
|
|
623
|
+
<line num="54" count="23" type="stmt"/>
|
|
624
|
+
<line num="55" count="46" type="stmt"/>
|
|
625
|
+
<line num="56" count="0" type="stmt"/>
|
|
626
|
+
<line num="60" count="23" type="stmt"/>
|
|
627
|
+
<line num="61" count="46" type="stmt"/>
|
|
628
|
+
<line num="62" count="0" type="stmt"/>
|
|
629
|
+
<line num="66" count="23" type="stmt"/>
|
|
589
630
|
<line num="67" count="0" type="stmt"/>
|
|
631
|
+
<line num="68" count="0" type="stmt"/>
|
|
590
632
|
<line num="69" count="0" type="stmt"/>
|
|
591
633
|
<line num="71" count="0" type="stmt"/>
|
|
592
|
-
<line num="
|
|
593
|
-
<line num="
|
|
594
|
-
<line num="
|
|
595
|
-
<line num="
|
|
596
|
-
<line num="82" count="0" type="stmt"/>
|
|
634
|
+
<line num="73" count="0" type="stmt"/>
|
|
635
|
+
<line num="78" count="23" type="stmt"/>
|
|
636
|
+
<line num="79" count="0" type="stmt"/>
|
|
637
|
+
<line num="80" count="0" type="stmt"/>
|
|
597
638
|
<line num="83" count="0" type="stmt"/>
|
|
598
|
-
<line num="84" count="0" type="
|
|
639
|
+
<line num="84" count="0" type="stmt"/>
|
|
599
640
|
<line num="85" count="0" type="stmt"/>
|
|
600
641
|
<line num="86" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
601
|
-
<line num="
|
|
602
|
-
<line num="
|
|
603
|
-
<line num="
|
|
604
|
-
<line num="
|
|
605
|
-
<line num="
|
|
642
|
+
<line num="87" count="0" type="stmt"/>
|
|
643
|
+
<line num="88" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
644
|
+
<line num="92" count="0" type="stmt"/>
|
|
645
|
+
<line num="95" count="0" type="stmt"/>
|
|
646
|
+
<line num="98" count="0" type="stmt"/>
|
|
647
|
+
<line num="99" count="0" type="stmt"/>
|
|
606
648
|
<line num="104" count="0" type="stmt"/>
|
|
607
|
-
<line num="105" count="0" type="stmt"/>
|
|
608
649
|
<line num="106" count="0" type="stmt"/>
|
|
609
650
|
<line num="107" count="0" type="stmt"/>
|
|
610
651
|
<line num="108" count="0" type="stmt"/>
|
|
611
652
|
<line num="109" count="0" type="stmt"/>
|
|
612
|
-
<line num="
|
|
613
|
-
<line num="
|
|
614
|
-
<line num="
|
|
653
|
+
<line num="110" count="0" type="stmt"/>
|
|
654
|
+
<line num="111" count="0" type="stmt"/>
|
|
655
|
+
<line num="112" count="0" type="stmt"/>
|
|
656
|
+
<line num="116" count="0" type="stmt"/>
|
|
657
|
+
<line num="120" count="23" type="stmt"/>
|
|
658
|
+
<line num="121" count="0" type="stmt"/>
|
|
615
659
|
</file>
|
|
616
660
|
<file name="hosting.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/hosting.js">
|
|
617
|
-
<metrics statements="15" coveredstatements="
|
|
661
|
+
<metrics statements="15" coveredstatements="14" conditionals="4" coveredconditionals="3" methods="2" coveredmethods="1"/>
|
|
618
662
|
<line num="1" count="23" type="stmt"/>
|
|
619
663
|
<line num="2" count="23" type="stmt"/>
|
|
620
664
|
<line num="3" count="23" type="stmt"/>
|
|
@@ -625,8 +669,8 @@
|
|
|
625
669
|
<line num="9" count="1" type="stmt"/>
|
|
626
670
|
<line num="10" count="1" type="stmt"/>
|
|
627
671
|
<line num="11" count="1" type="stmt"/>
|
|
628
|
-
<line num="12" count="1" type="cond" truecount="
|
|
629
|
-
<line num="13" count="
|
|
672
|
+
<line num="12" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
673
|
+
<line num="13" count="1" type="stmt"/>
|
|
630
674
|
<line num="15" count="1" type="stmt"/>
|
|
631
675
|
<line num="20" count="23" type="stmt"/>
|
|
632
676
|
<line num="21" count="0" type="stmt"/>
|
|
@@ -642,7 +686,7 @@
|
|
|
642
686
|
<line num="11" count="1" type="stmt"/>
|
|
643
687
|
</file>
|
|
644
688
|
<file name="layout.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/layout.js">
|
|
645
|
-
<metrics statements="27" coveredstatements="
|
|
689
|
+
<metrics statements="27" coveredstatements="22" conditionals="8" coveredconditionals="5" methods="3" coveredmethods="2"/>
|
|
646
690
|
<line num="4" count="33" type="stmt"/>
|
|
647
691
|
<line num="5" count="33" type="stmt"/>
|
|
648
692
|
<line num="6" count="33" type="stmt"/>
|
|
@@ -664,7 +708,7 @@
|
|
|
664
708
|
<line num="33" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
665
709
|
<line num="34" count="0" type="stmt"/>
|
|
666
710
|
<line num="36" count="1" type="stmt"/>
|
|
667
|
-
<line num="42" count="
|
|
711
|
+
<line num="42" count="0" type="stmt"/>
|
|
668
712
|
<line num="43" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
669
713
|
<line num="44" count="0" type="stmt"/>
|
|
670
714
|
<line num="48" count="1" type="stmt"/>
|
|
@@ -780,102 +824,77 @@
|
|
|
780
824
|
<line num="170" count="1" type="stmt"/>
|
|
781
825
|
</file>
|
|
782
826
|
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query.js">
|
|
783
|
-
<metrics statements="
|
|
827
|
+
<metrics statements="70" coveredstatements="59" conditionals="25" coveredconditionals="12" methods="9" coveredmethods="9"/>
|
|
784
828
|
<line num="1" count="34" type="stmt"/>
|
|
785
829
|
<line num="2" count="34" type="stmt"/>
|
|
786
|
-
<line num="3" count="34" type="stmt"/>
|
|
787
|
-
<line num="4" count="34" type="stmt"/>
|
|
788
|
-
<line num="5" count="34" type="stmt"/>
|
|
789
|
-
<line num="6" count="34" type="stmt"/>
|
|
790
830
|
<line num="7" count="34" type="stmt"/>
|
|
791
|
-
<line num="
|
|
792
|
-
<line num="
|
|
793
|
-
<line num="
|
|
794
|
-
<line num="
|
|
795
|
-
<line num="
|
|
796
|
-
<line num="
|
|
797
|
-
<line num="
|
|
798
|
-
<line num="
|
|
799
|
-
<line num="
|
|
800
|
-
<line num="
|
|
801
|
-
<line num="
|
|
802
|
-
<line num="
|
|
803
|
-
<line num="
|
|
804
|
-
<line num="
|
|
805
|
-
<line num="
|
|
806
|
-
<line num="
|
|
807
|
-
<line num="
|
|
808
|
-
<line num="
|
|
809
|
-
<line num="
|
|
810
|
-
<line num="
|
|
811
|
-
<line num="
|
|
812
|
-
<line num="
|
|
813
|
-
<line num="
|
|
814
|
-
<line num="
|
|
815
|
-
<line num="
|
|
816
|
-
<line num="
|
|
817
|
-
<line num="
|
|
818
|
-
<line num="
|
|
819
|
-
<line num="
|
|
820
|
-
<line num="
|
|
821
|
-
<line num="
|
|
822
|
-
<line num="
|
|
823
|
-
<line num="
|
|
824
|
-
<line num="
|
|
825
|
-
<line num="
|
|
826
|
-
<line num="
|
|
827
|
-
<line num="
|
|
828
|
-
<line num="
|
|
829
|
-
<line num="
|
|
830
|
-
<line num="
|
|
831
|
-
<line num="
|
|
832
|
-
<line num="
|
|
833
|
-
<line num="
|
|
834
|
-
<line num="
|
|
835
|
-
<line num="
|
|
836
|
-
<line num="
|
|
837
|
-
<line num="
|
|
838
|
-
<line num="
|
|
839
|
-
<line num="
|
|
840
|
-
<line num="
|
|
841
|
-
<line num="
|
|
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"/>
|
|
842
885
|
<line num="129" count="2" type="stmt"/>
|
|
843
|
-
<line num="131" count="2" type="
|
|
844
|
-
<line num="132" count="
|
|
845
|
-
<line num="
|
|
846
|
-
<line num="134" count="1" type="stmt"/>
|
|
847
|
-
<line num="136" count="2" type="stmt"/>
|
|
848
|
-
<line num="139" count="34" 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"/>
|
|
849
889
|
<line num="140" count="2" type="stmt"/>
|
|
850
|
-
<line num="
|
|
851
|
-
<line num="144" count="2" type="stmt"/>
|
|
852
|
-
<line num="146" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
890
|
+
<line num="141" count="2" type="stmt"/>
|
|
853
891
|
<line num="147" count="1" type="stmt"/>
|
|
854
|
-
<line num="
|
|
855
|
-
<line num="
|
|
856
|
-
<line num="152" count="1" type="stmt"/>
|
|
892
|
+
<line num="149" count="1" type="stmt"/>
|
|
893
|
+
<line num="153" count="34" type="stmt"/>
|
|
857
894
|
<line num="154" count="1" type="stmt"/>
|
|
858
|
-
<line num="
|
|
859
|
-
<line num="
|
|
860
|
-
<line num="
|
|
861
|
-
<line num="171" count="34" type="stmt"/>
|
|
862
|
-
<line num="172" count="2" type="stmt"/>
|
|
863
|
-
<line num="174" count="2" type="stmt"/>
|
|
864
|
-
<line num="175" count="2" type="stmt"/>
|
|
865
|
-
<line num="177" count="2" type="stmt"/>
|
|
866
|
-
<line num="179" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
867
|
-
<line num="180" count="1" type="stmt"/>
|
|
868
|
-
<line num="183" count="1" type="stmt"/>
|
|
869
|
-
<line num="187" count="1" type="stmt"/>
|
|
870
|
-
<line num="190" count="1" type="stmt"/>
|
|
871
|
-
<line num="196" count="1" type="stmt"/>
|
|
872
|
-
<line num="198" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
873
|
-
<line num="199" count="0" type="stmt"/>
|
|
874
|
-
<line num="203" count="34" type="stmt"/>
|
|
875
|
-
<line num="204" count="1" type="stmt"/>
|
|
876
|
-
<line num="205" count="1" type="stmt"/>
|
|
877
|
-
<line num="206" count="1" type="stmt"/>
|
|
878
|
-
<line num="207" 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"/>
|
|
879
898
|
</file>
|
|
880
899
|
<file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/role.js">
|
|
881
900
|
<metrics statements="53" coveredstatements="47" conditionals="22" coveredconditionals="14" methods="7" coveredmethods="5"/>
|
|
@@ -934,30 +953,30 @@
|
|
|
934
953
|
<line num="97" count="1" type="stmt"/>
|
|
935
954
|
</file>
|
|
936
955
|
<file name="routing.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/routing.js">
|
|
937
|
-
<metrics statements="49" coveredstatements="44" conditionals="14" coveredconditionals="
|
|
956
|
+
<metrics statements="49" coveredstatements="44" conditionals="14" coveredconditionals="9" methods="7" coveredmethods="7"/>
|
|
938
957
|
<line num="1" count="23" type="stmt"/>
|
|
939
958
|
<line num="5" count="23" type="stmt"/>
|
|
940
959
|
<line num="7" count="23" type="stmt"/>
|
|
941
960
|
<line num="10" count="3" type="stmt"/>
|
|
942
961
|
<line num="13" count="23" type="stmt"/>
|
|
943
|
-
<line num="14" count="
|
|
962
|
+
<line num="14" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
944
963
|
<line num="15" count="0" type="stmt"/>
|
|
945
|
-
<line num="18" count="
|
|
964
|
+
<line num="18" count="6" type="stmt"/>
|
|
946
965
|
<line num="21" count="23" type="stmt"/>
|
|
947
|
-
<line num="22" count="
|
|
948
|
-
<line num="23" count="
|
|
949
|
-
<line num="24" count="
|
|
950
|
-
<line num="28" count="
|
|
951
|
-
<line num="29" count="
|
|
952
|
-
<line num="33" count="
|
|
966
|
+
<line num="22" count="6" type="stmt"/>
|
|
967
|
+
<line num="23" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
968
|
+
<line num="24" count="3" type="stmt"/>
|
|
969
|
+
<line num="28" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
970
|
+
<line num="29" count="3" type="stmt"/>
|
|
971
|
+
<line num="33" count="6" type="stmt"/>
|
|
953
972
|
<line num="36" count="23" type="stmt"/>
|
|
954
|
-
<line num="37" count="
|
|
973
|
+
<line num="37" count="6" type="stmt"/>
|
|
955
974
|
<line num="47" count="3" type="stmt"/>
|
|
956
975
|
<line num="48" count="3" type="stmt"/>
|
|
957
976
|
<line num="50" count="3" type="stmt"/>
|
|
958
|
-
<line num="51" count="
|
|
959
|
-
<line num="52" count="
|
|
960
|
-
<line num="53" count="
|
|
977
|
+
<line num="51" count="6" type="stmt"/>
|
|
978
|
+
<line num="52" count="6" type="stmt"/>
|
|
979
|
+
<line num="53" count="6" type="stmt"/>
|
|
961
980
|
<line num="56" count="3" type="stmt"/>
|
|
962
981
|
<line num="59" count="23" type="stmt"/>
|
|
963
982
|
<line num="60" count="1" type="stmt"/>
|
|
@@ -966,22 +985,22 @@
|
|
|
966
985
|
<line num="65" count="2" type="stmt"/>
|
|
967
986
|
<line num="66" count="2" type="stmt"/>
|
|
968
987
|
<line num="67" count="2" type="stmt"/>
|
|
969
|
-
<line num="68" count="
|
|
970
|
-
<line num="69" count="
|
|
971
|
-
<line num="70" count="
|
|
972
|
-
<line num="71" count="
|
|
973
|
-
<line num="72" count="
|
|
988
|
+
<line num="68" count="2" type="stmt"/>
|
|
989
|
+
<line num="69" count="2" type="stmt"/>
|
|
990
|
+
<line num="70" count="2" type="stmt"/>
|
|
991
|
+
<line num="71" count="2" type="stmt"/>
|
|
992
|
+
<line num="72" count="2" type="cond" truecount="2" falsecount="2"/>
|
|
974
993
|
<line num="73" count="0" type="stmt"/>
|
|
975
994
|
<line num="74" count="0" type="stmt"/>
|
|
976
995
|
<line num="75" count="0" type="stmt"/>
|
|
977
|
-
<line num="77" count="
|
|
978
|
-
<line num="78" count="
|
|
979
|
-
<line num="79" count="
|
|
980
|
-
<line num="80" count="
|
|
981
|
-
<line num="81" count="
|
|
982
|
-
<line num="82" count="
|
|
983
|
-
<line num="86" count="
|
|
984
|
-
<line num="87" count="
|
|
996
|
+
<line num="77" count="2" type="stmt"/>
|
|
997
|
+
<line num="78" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
998
|
+
<line num="79" count="2" type="stmt"/>
|
|
999
|
+
<line num="80" count="2" type="stmt"/>
|
|
1000
|
+
<line num="81" count="2" type="stmt"/>
|
|
1001
|
+
<line num="82" count="2" type="stmt"/>
|
|
1002
|
+
<line num="86" count="2" type="stmt"/>
|
|
1003
|
+
<line num="87" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
985
1004
|
<line num="88" count="0" type="stmt"/>
|
|
986
1005
|
<line num="92" count="2" type="stmt"/>
|
|
987
1006
|
</file>
|
|
@@ -994,7 +1013,7 @@
|
|
|
994
1013
|
<line num="6" count="1" type="stmt"/>
|
|
995
1014
|
<line num="7" count="1" type="stmt"/>
|
|
996
1015
|
<line num="9" count="1" type="stmt"/>
|
|
997
|
-
<line num="15" count="
|
|
1016
|
+
<line num="15" count="1" type="stmt"/>
|
|
998
1017
|
<line num="17" count="1" type="stmt"/>
|
|
999
1018
|
<line num="23" count="33" type="stmt"/>
|
|
1000
1019
|
<line num="24" count="19" type="stmt"/>
|
|
@@ -1040,44 +1059,105 @@
|
|
|
1040
1059
|
<line num="25" count="0" type="stmt"/>
|
|
1041
1060
|
</file>
|
|
1042
1061
|
<file name="user.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/user.js">
|
|
1043
|
-
<metrics statements="
|
|
1062
|
+
<metrics statements="98" coveredstatements="37" conditionals="31" coveredconditionals="0" methods="14" coveredmethods="5"/>
|
|
1044
1063
|
<line num="1" count="34" type="stmt"/>
|
|
1045
1064
|
<line num="5" count="34" type="stmt"/>
|
|
1046
1065
|
<line num="6" count="34" type="stmt"/>
|
|
1047
1066
|
<line num="7" count="34" type="stmt"/>
|
|
1048
1067
|
<line num="8" count="34" type="stmt"/>
|
|
1049
|
-
<line num="
|
|
1050
|
-
<line num="
|
|
1051
|
-
<line num="
|
|
1052
|
-
<line num="
|
|
1053
|
-
<line num="
|
|
1054
|
-
<line num="
|
|
1055
|
-
<line num="
|
|
1056
|
-
<line num="
|
|
1057
|
-
<line num="
|
|
1058
|
-
<line num="
|
|
1059
|
-
<line num="
|
|
1060
|
-
<line num="
|
|
1061
|
-
<line num="
|
|
1062
|
-
<line num="
|
|
1063
|
-
<line num="
|
|
1064
|
-
<line num="
|
|
1065
|
-
<line num="
|
|
1066
|
-
<line num="
|
|
1067
|
-
<line num="
|
|
1068
|
-
<line num="53" count="
|
|
1069
|
-
<line num="
|
|
1070
|
-
<line num="
|
|
1071
|
-
<line num="
|
|
1072
|
-
<line num="
|
|
1073
|
-
<line num="
|
|
1074
|
-
<line num="
|
|
1075
|
-
<line num="
|
|
1076
|
-
<line num="66" count="1" type="stmt"/>
|
|
1068
|
+
<line num="9" count="34" type="stmt"/>
|
|
1069
|
+
<line num="10" count="34" type="stmt"/>
|
|
1070
|
+
<line num="11" count="34" type="stmt"/>
|
|
1071
|
+
<line num="12" count="34" type="stmt"/>
|
|
1072
|
+
<line num="13" count="34" type="stmt"/>
|
|
1073
|
+
<line num="16" count="2" type="stmt"/>
|
|
1074
|
+
<line num="22" count="0" type="stmt"/>
|
|
1075
|
+
<line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1076
|
+
<line num="28" count="0" type="stmt"/>
|
|
1077
|
+
<line num="30" count="0" type="stmt"/>
|
|
1078
|
+
<line num="31" count="0" type="stmt"/>
|
|
1079
|
+
<line num="32" count="0" type="stmt"/>
|
|
1080
|
+
<line num="37" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1081
|
+
<line num="38" count="0" type="stmt"/>
|
|
1082
|
+
<line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1083
|
+
<line num="42" count="0" type="stmt"/>
|
|
1084
|
+
<line num="44" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1085
|
+
<line num="45" count="0" type="stmt"/>
|
|
1086
|
+
<line num="50" count="0" type="stmt"/>
|
|
1087
|
+
<line num="53" count="34" type="stmt"/>
|
|
1088
|
+
<line num="55" count="0" type="stmt"/>
|
|
1089
|
+
<line num="56" count="0" type="stmt"/>
|
|
1090
|
+
<line num="60" count="0" type="stmt"/>
|
|
1091
|
+
<line num="61" count="0" type="stmt"/>
|
|
1092
|
+
<line num="62" count="0" type="stmt"/>
|
|
1093
|
+
<line num="63" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1094
|
+
<line num="64" count="0" type="stmt"/>
|
|
1077
1095
|
<line num="67" count="0" type="stmt"/>
|
|
1078
|
-
<line num="
|
|
1079
|
-
<line num="
|
|
1080
|
-
<line num="
|
|
1096
|
+
<line num="70" count="34" type="stmt"/>
|
|
1097
|
+
<line num="71" count="0" type="stmt"/>
|
|
1098
|
+
<line num="73" count="0" type="stmt"/>
|
|
1099
|
+
<line num="74" count="0" type="stmt"/>
|
|
1100
|
+
<line num="75" count="0" type="stmt"/>
|
|
1101
|
+
<line num="77" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1102
|
+
<line num="78" count="0" type="stmt"/>
|
|
1103
|
+
<line num="79" count="0" type="stmt"/>
|
|
1104
|
+
<line num="81" count="0" type="stmt"/>
|
|
1105
|
+
<line num="84" count="0" type="stmt"/>
|
|
1106
|
+
<line num="86" count="0" type="stmt"/>
|
|
1107
|
+
<line num="87" count="0" type="stmt"/>
|
|
1108
|
+
<line num="88" count="0" type="stmt"/>
|
|
1109
|
+
<line num="92" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
1110
|
+
<line num="93" count="0" type="stmt"/>
|
|
1111
|
+
<line num="95" count="0" type="stmt"/>
|
|
1112
|
+
<line num="96" count="0" type="stmt"/>
|
|
1113
|
+
<line num="97" count="0" type="stmt"/>
|
|
1114
|
+
<line num="99" count="0" type="stmt"/>
|
|
1115
|
+
<line num="100" count="0" type="stmt"/>
|
|
1116
|
+
<line num="101" count="0" type="stmt"/>
|
|
1117
|
+
<line num="102" count="0" type="stmt"/>
|
|
1118
|
+
<line num="103" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1119
|
+
<line num="104" count="0" type="stmt"/>
|
|
1120
|
+
<line num="106" count="0" type="stmt"/>
|
|
1121
|
+
<line num="107" count="0" type="stmt"/>
|
|
1122
|
+
<line num="109" count="0" type="stmt"/>
|
|
1123
|
+
<line num="110" count="0" type="stmt"/>
|
|
1124
|
+
<line num="112" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1125
|
+
<line num="113" count="0" type="stmt"/>
|
|
1126
|
+
<line num="115" count="0" type="stmt"/>
|
|
1127
|
+
<line num="120" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1128
|
+
<line num="121" count="0" type="stmt"/>
|
|
1129
|
+
<line num="123" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1130
|
+
<line num="131" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1131
|
+
<line num="132" count="0" type="stmt"/>
|
|
1132
|
+
<line num="136" count="0" type="stmt"/>
|
|
1133
|
+
<line num="141" count="34" type="stmt"/>
|
|
1134
|
+
<line num="142" count="2" type="stmt"/>
|
|
1135
|
+
<line num="143" count="2" type="stmt"/>
|
|
1136
|
+
<line num="144" count="2" type="stmt"/>
|
|
1137
|
+
<line num="145" count="2" type="stmt"/>
|
|
1138
|
+
<line num="146" count="2" type="stmt"/>
|
|
1139
|
+
<line num="148" count="7" type="stmt"/>
|
|
1140
|
+
<line num="150" count="7" type="stmt"/>
|
|
1141
|
+
<line num="158" count="2" type="stmt"/>
|
|
1142
|
+
<line num="161" count="34" type="stmt"/>
|
|
1143
|
+
<line num="163" count="0" type="stmt"/>
|
|
1144
|
+
<line num="165" count="0" type="stmt"/>
|
|
1145
|
+
<line num="166" count="0" type="stmt"/>
|
|
1146
|
+
<line num="169" count="34" type="stmt"/>
|
|
1147
|
+
<line num="170" count="1" type="stmt"/>
|
|
1148
|
+
<line num="171" count="1" type="stmt"/>
|
|
1149
|
+
<line num="172" count="1" type="stmt"/>
|
|
1150
|
+
<line num="174" count="1" type="stmt"/>
|
|
1151
|
+
<line num="175" count="1" type="stmt"/>
|
|
1152
|
+
<line num="179" count="1" type="stmt"/>
|
|
1153
|
+
<line num="182" count="34" type="stmt"/>
|
|
1154
|
+
<line num="183" count="1" type="stmt"/>
|
|
1155
|
+
<line num="184" count="1" type="stmt"/>
|
|
1156
|
+
<line num="185" count="1" type="stmt"/>
|
|
1157
|
+
<line num="186" count="0" type="stmt"/>
|
|
1158
|
+
<line num="190" count="1" type="stmt"/>
|
|
1159
|
+
<line num="195" count="34" type="stmt"/>
|
|
1160
|
+
<line num="196" count="1" type="stmt"/>
|
|
1081
1161
|
</file>
|
|
1082
1162
|
<file name="webhook.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/webhook.js">
|
|
1083
1163
|
<metrics statements="56" coveredstatements="51" conditionals="10" coveredconditionals="4" methods="7" coveredmethods="7"/>
|
|
@@ -1140,9 +1220,9 @@
|
|
|
1140
1220
|
</file>
|
|
1141
1221
|
</package>
|
|
1142
1222
|
<package name="api.controllers.row">
|
|
1143
|
-
<metrics statements="
|
|
1223
|
+
<metrics statements="583" coveredstatements="307" conditionals="248" coveredconditionals="83" methods="88" coveredmethods="38"/>
|
|
1144
1224
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
|
|
1145
|
-
<metrics statements="
|
|
1225
|
+
<metrics statements="99" coveredstatements="15" conditionals="42" coveredconditionals="0" methods="13" coveredmethods="0"/>
|
|
1146
1226
|
<line num="6" count="34" type="stmt"/>
|
|
1147
1227
|
<line num="10" count="34" type="stmt"/>
|
|
1148
1228
|
<line num="11" count="34" type="stmt"/>
|
|
@@ -1156,90 +1236,92 @@
|
|
|
1156
1236
|
<line num="23" count="0" type="stmt"/>
|
|
1157
1237
|
<line num="28" count="0" type="stmt"/>
|
|
1158
1238
|
<line num="33" count="34" type="stmt"/>
|
|
1159
|
-
<line num="
|
|
1160
|
-
<line num="35" count="0" type="stmt"/>
|
|
1239
|
+
<line num="35" count="34" type="stmt"/>
|
|
1161
1240
|
<line num="36" count="0" type="stmt"/>
|
|
1162
1241
|
<line num="37" count="0" type="stmt"/>
|
|
1242
|
+
<line num="38" count="0" type="stmt"/>
|
|
1163
1243
|
<line num="39" count="0" type="stmt"/>
|
|
1164
|
-
<line num="
|
|
1165
|
-
<line num="
|
|
1166
|
-
<line num="
|
|
1167
|
-
<line num="48" count="0" type="stmt"/>
|
|
1244
|
+
<line num="41" count="0" type="stmt"/>
|
|
1245
|
+
<line num="42" count="0" type="stmt"/>
|
|
1246
|
+
<line num="48" count="34" type="stmt"/>
|
|
1168
1247
|
<line num="49" count="0" type="stmt"/>
|
|
1169
1248
|
<line num="50" count="0" type="stmt"/>
|
|
1170
|
-
<line num="
|
|
1171
|
-
<line num="
|
|
1172
|
-
<line num="
|
|
1173
|
-
<line num="
|
|
1174
|
-
<line num="
|
|
1175
|
-
<line num="
|
|
1176
|
-
<line num="65" count="
|
|
1177
|
-
<line num="
|
|
1178
|
-
<line num="
|
|
1179
|
-
<line num="
|
|
1180
|
-
<line num="71" count="
|
|
1249
|
+
<line num="51" count="0" type="stmt"/>
|
|
1250
|
+
<line num="52" count="0" type="stmt"/>
|
|
1251
|
+
<line num="57" count="34" type="stmt"/>
|
|
1252
|
+
<line num="60" count="0" type="stmt"/>
|
|
1253
|
+
<line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1254
|
+
<line num="62" count="0" type="stmt"/>
|
|
1255
|
+
<line num="65" count="34" type="stmt"/>
|
|
1256
|
+
<line num="66" count="0" type="stmt"/>
|
|
1257
|
+
<line num="67" count="0" type="stmt"/>
|
|
1258
|
+
<line num="68" count="0" type="stmt"/>
|
|
1259
|
+
<line num="71" count="34" type="stmt"/>
|
|
1181
1260
|
<line num="72" count="0" type="stmt"/>
|
|
1182
|
-
<line num="
|
|
1183
|
-
<line num="
|
|
1184
|
-
<line num="
|
|
1185
|
-
<line num="
|
|
1186
|
-
<line num="86" count="
|
|
1261
|
+
<line num="73" count="0" type="stmt"/>
|
|
1262
|
+
<line num="74" count="0" type="stmt"/>
|
|
1263
|
+
<line num="75" count="0" type="stmt"/>
|
|
1264
|
+
<line num="83" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1265
|
+
<line num="86" count="34" type="stmt"/>
|
|
1187
1266
|
<line num="87" count="0" type="stmt"/>
|
|
1188
|
-
<line num="
|
|
1189
|
-
<line num="
|
|
1190
|
-
<line num="
|
|
1191
|
-
<line num="
|
|
1192
|
-
<line num="101" count="
|
|
1267
|
+
<line num="88" count="0" type="stmt"/>
|
|
1268
|
+
<line num="89" count="0" type="stmt"/>
|
|
1269
|
+
<line num="90" count="0" type="stmt"/>
|
|
1270
|
+
<line num="98" count="0" type="stmt"/>
|
|
1271
|
+
<line num="101" count="34" type="stmt"/>
|
|
1193
1272
|
<line num="102" count="0" type="stmt"/>
|
|
1194
1273
|
<line num="103" count="0" type="stmt"/>
|
|
1195
1274
|
<line num="104" count="0" type="stmt"/>
|
|
1196
|
-
<line num="
|
|
1197
|
-
<line num="
|
|
1198
|
-
<line num="
|
|
1199
|
-
<line num="
|
|
1200
|
-
<line num="
|
|
1201
|
-
<line num="117" count="
|
|
1275
|
+
<line num="105" count="0" type="stmt"/>
|
|
1276
|
+
<line num="106" count="0" type="stmt"/>
|
|
1277
|
+
<line num="107" count="0" type="stmt"/>
|
|
1278
|
+
<line num="113" count="0" type="stmt"/>
|
|
1279
|
+
<line num="114" count="0" type="stmt"/>
|
|
1280
|
+
<line num="117" count="34" type="stmt"/>
|
|
1202
1281
|
<line num="118" count="0" type="stmt"/>
|
|
1203
|
-
<line num="119" count="0" type="
|
|
1282
|
+
<line num="119" count="0" type="stmt"/>
|
|
1204
1283
|
<line num="120" count="0" type="stmt"/>
|
|
1205
|
-
<line num="
|
|
1206
|
-
<line num="
|
|
1284
|
+
<line num="121" count="0" type="stmt"/>
|
|
1285
|
+
<line num="122" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1286
|
+
<line num="123" count="0" type="stmt"/>
|
|
1207
1287
|
<line num="125" count="0" type="stmt"/>
|
|
1208
|
-
<line num="
|
|
1209
|
-
<line num="
|
|
1210
|
-
<line num="
|
|
1211
|
-
<line num="
|
|
1212
|
-
<line num="
|
|
1213
|
-
<line num="
|
|
1214
|
-
<line num="
|
|
1215
|
-
<line num="
|
|
1216
|
-
<line num="
|
|
1217
|
-
<line num="
|
|
1288
|
+
<line num="127" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1289
|
+
<line num="128" count="0" type="stmt"/>
|
|
1290
|
+
<line num="133" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1291
|
+
<line num="134" count="0" type="stmt"/>
|
|
1292
|
+
<line num="139" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1293
|
+
<line num="141" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1294
|
+
<line num="144" count="0" type="stmt"/>
|
|
1295
|
+
<line num="148" count="0" type="stmt"/>
|
|
1296
|
+
<line num="153" count="0" type="stmt"/>
|
|
1297
|
+
<line num="154" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1298
|
+
<line num="155" count="0" type="stmt"/>
|
|
1218
1299
|
<line num="168" count="0" type="stmt"/>
|
|
1219
|
-
<line num="171" count="
|
|
1220
|
-
<line num="
|
|
1221
|
-
<line num="176" count="
|
|
1222
|
-
<line num="
|
|
1223
|
-
<line num="178" count="0" type="stmt"/>
|
|
1224
|
-
<line num="179" count="0" type="stmt"/>
|
|
1300
|
+
<line num="171" count="0" type="stmt"/>
|
|
1301
|
+
<line num="174" count="34" type="stmt"/>
|
|
1302
|
+
<line num="176" count="0" type="stmt"/>
|
|
1303
|
+
<line num="179" count="34" type="stmt"/>
|
|
1225
1304
|
<line num="180" count="0" type="stmt"/>
|
|
1226
1305
|
<line num="181" count="0" type="stmt"/>
|
|
1227
1306
|
<line num="182" count="0" type="stmt"/>
|
|
1228
|
-
<line num="183" count="0" type="
|
|
1307
|
+
<line num="183" count="0" type="stmt"/>
|
|
1229
1308
|
<line num="184" count="0" type="stmt"/>
|
|
1230
|
-
<line num="
|
|
1309
|
+
<line num="185" count="0" type="stmt"/>
|
|
1310
|
+
<line num="186" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1231
1311
|
<line num="187" count="0" type="stmt"/>
|
|
1232
|
-
<line num="
|
|
1233
|
-
<line num="
|
|
1312
|
+
<line num="189" count="0" type="stmt"/>
|
|
1313
|
+
<line num="190" count="0" type="stmt"/>
|
|
1314
|
+
<line num="199" count="0" type="stmt"/>
|
|
1234
1315
|
<line num="200" count="0" type="stmt"/>
|
|
1235
|
-
<line num="
|
|
1236
|
-
<line num="
|
|
1237
|
-
<line num="208" count="0" type="stmt"/>
|
|
1316
|
+
<line num="203" count="0" type="stmt"/>
|
|
1317
|
+
<line num="204" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1238
1318
|
<line num="209" count="0" type="stmt"/>
|
|
1239
|
-
<line num="
|
|
1319
|
+
<line num="211" count="0" type="stmt"/>
|
|
1240
1320
|
<line num="212" count="0" type="stmt"/>
|
|
1241
1321
|
<line num="213" count="0" type="stmt"/>
|
|
1242
|
-
<line num="
|
|
1322
|
+
<line num="215" count="0" type="stmt"/>
|
|
1323
|
+
<line num="216" count="0" type="stmt"/>
|
|
1324
|
+
<line num="230" count="0" type="stmt"/>
|
|
1243
1325
|
</file>
|
|
1244
1326
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/index.js">
|
|
1245
1327
|
<metrics statements="85" coveredstatements="79" conditionals="34" coveredconditionals="32" methods="11" coveredmethods="11"/>
|
|
@@ -1692,7 +1774,7 @@
|
|
|
1692
1774
|
<line num="387" count="0" type="stmt"/>
|
|
1693
1775
|
</file>
|
|
1694
1776
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/utils.js">
|
|
1695
|
-
<metrics statements="
|
|
1777
|
+
<metrics statements="43" coveredstatements="33" conditionals="23" coveredconditionals="12" methods="6" coveredmethods="4"/>
|
|
1696
1778
|
<line num="1" count="34" type="stmt"/>
|
|
1697
1779
|
<line num="2" count="34" type="stmt"/>
|
|
1698
1780
|
<line num="3" count="34" type="stmt"/>
|
|
@@ -1709,122 +1791,298 @@
|
|
|
1709
1791
|
<line num="22" count="1" type="stmt"/>
|
|
1710
1792
|
<line num="23" count="1" type="stmt"/>
|
|
1711
1793
|
<line num="24" count="1" type="stmt"/>
|
|
1712
|
-
<line num="
|
|
1713
|
-
<line num="
|
|
1714
|
-
<line num="
|
|
1794
|
+
<line num="27" count="34" type="stmt"/>
|
|
1795
|
+
<line num="30" count="19" type="cond" truecount="1" falsecount="1"/>
|
|
1796
|
+
<line num="31" count="0" type="stmt"/>
|
|
1797
|
+
<line num="34" count="0" type="stmt"/>
|
|
1798
|
+
<line num="35" count="0" type="stmt"/>
|
|
1799
|
+
<line num="37" count="19" type="stmt"/>
|
|
1800
|
+
<line num="39" count="16" type="cond" truecount="1" falsecount="1"/>
|
|
1801
|
+
<line num="40" count="0" type="stmt"/>
|
|
1802
|
+
<line num="42" count="16" type="stmt"/>
|
|
1803
|
+
<line num="45" count="34" type="stmt"/>
|
|
1804
|
+
<line num="46" count="74" type="cond" truecount="2" falsecount="0"/>
|
|
1805
|
+
<line num="47" count="2" type="stmt"/>
|
|
1806
|
+
<line num="48" count="2" type="stmt"/>
|
|
1807
|
+
<line num="50" count="74" type="stmt"/>
|
|
1808
|
+
<line num="51" count="74" type="stmt"/>
|
|
1809
|
+
<line num="52" count="206" type="stmt"/>
|
|
1810
|
+
<line num="54" count="206" type="cond" truecount="1" falsecount="1"/>
|
|
1811
|
+
<line num="59" count="0" type="stmt"/>
|
|
1812
|
+
<line num="64" count="206" type="cond" truecount="1" falsecount="1"/>
|
|
1813
|
+
<line num="69" count="0" type="stmt"/>
|
|
1814
|
+
<line num="70" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1815
|
+
<line num="71" count="0" type="stmt"/>
|
|
1816
|
+
<line num="74" count="206" type="cond" truecount="1" falsecount="1"/>
|
|
1817
|
+
<line num="75" count="0" type="stmt"/>
|
|
1818
|
+
<line num="80" count="206" type="stmt"/>
|
|
1819
|
+
<line num="82" count="206" type="cond" truecount="2" falsecount="0"/>
|
|
1820
|
+
<line num="84" count="74" type="stmt"/>
|
|
1821
|
+
</file>
|
|
1822
|
+
</package>
|
|
1823
|
+
<package name="api.controllers.table">
|
|
1824
|
+
<metrics statements="422" coveredstatements="218" conditionals="221" coveredconditionals="81" methods="56" coveredmethods="27"/>
|
|
1825
|
+
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/external.js">
|
|
1826
|
+
<metrics statements="137" coveredstatements="11" conditionals="76" coveredconditionals="0" methods="14" coveredmethods="0"/>
|
|
1827
|
+
<line num="1" count="34" type="stmt"/>
|
|
1828
|
+
<line num="5" count="34" type="stmt"/>
|
|
1829
|
+
<line num="12" count="34" type="stmt"/>
|
|
1830
|
+
<line num="17" count="34" type="stmt"/>
|
|
1831
|
+
<line num="18" count="34" type="stmt"/>
|
|
1832
|
+
<line num="19" count="34" type="stmt"/>
|
|
1833
|
+
<line num="20" count="34" type="stmt"/>
|
|
1834
|
+
<line num="21" count="34" type="stmt"/>
|
|
1715
1835
|
<line num="30" count="0" type="stmt"/>
|
|
1716
|
-
<line num="
|
|
1717
|
-
<line num="37" count="19" type="cond" truecount="1" falsecount="1"/>
|
|
1718
|
-
<line num="38" count="0" type="stmt"/>
|
|
1719
|
-
<line num="41" count="0" type="stmt"/>
|
|
1836
|
+
<line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1720
1837
|
<line num="42" count="0" type="stmt"/>
|
|
1721
|
-
<line num="44" count="
|
|
1722
|
-
<line num="
|
|
1723
|
-
<line num="
|
|
1724
|
-
<line num="
|
|
1725
|
-
<line num="
|
|
1726
|
-
<line num="
|
|
1727
|
-
<line num="
|
|
1728
|
-
<line num="
|
|
1729
|
-
<line num="
|
|
1730
|
-
<line num="
|
|
1731
|
-
<line num="
|
|
1732
|
-
<line num="
|
|
1733
|
-
<line num="
|
|
1734
|
-
<line num="71" count="206" type="cond" truecount="1" falsecount="1"/>
|
|
1735
|
-
<line num="72" count="0" type="stmt"/>
|
|
1736
|
-
<line num="73" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1737
|
-
<line num="74" count="0" type="stmt"/>
|
|
1738
|
-
<line num="77" count="206" type="cond" truecount="1" falsecount="1"/>
|
|
1838
|
+
<line num="44" count="0" type="stmt"/>
|
|
1839
|
+
<line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1840
|
+
<line num="50" count="0" type="stmt"/>
|
|
1841
|
+
<line num="51" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1842
|
+
<line num="55" count="0" type="stmt"/>
|
|
1843
|
+
<line num="56" count="0" type="stmt"/>
|
|
1844
|
+
<line num="58" count="0" type="stmt"/>
|
|
1845
|
+
<line num="59" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1846
|
+
<line num="60" count="0" type="stmt"/>
|
|
1847
|
+
<line num="62" count="0" type="stmt"/>
|
|
1848
|
+
<line num="65" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1849
|
+
<line num="69" count="0" type="stmt"/>
|
|
1850
|
+
<line num="77" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1739
1851
|
<line num="78" count="0" type="stmt"/>
|
|
1740
|
-
<line num="
|
|
1741
|
-
<line num="
|
|
1742
|
-
<line num="
|
|
1852
|
+
<line num="80" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1853
|
+
<line num="81" count="0" type="stmt"/>
|
|
1854
|
+
<line num="83" count="0" type="stmt"/>
|
|
1855
|
+
<line num="87" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1856
|
+
<line num="88" count="0" type="stmt"/>
|
|
1857
|
+
<line num="90" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1858
|
+
<line num="96" count="0" type="stmt"/>
|
|
1859
|
+
<line num="97" count="0" type="stmt"/>
|
|
1860
|
+
<line num="98" count="0" type="stmt"/>
|
|
1861
|
+
<line num="100" count="0" type="stmt"/>
|
|
1862
|
+
<line num="116" count="0" type="stmt"/>
|
|
1863
|
+
<line num="117" count="0" type="stmt"/>
|
|
1864
|
+
<line num="118" count="0" type="stmt"/>
|
|
1865
|
+
<line num="119" count="0" type="stmt"/>
|
|
1866
|
+
<line num="120" count="0" type="stmt"/>
|
|
1867
|
+
<line num="124" count="0" type="stmt"/>
|
|
1868
|
+
<line num="125" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1869
|
+
<line num="127" count="0" type="stmt"/>
|
|
1870
|
+
<line num="128" count="0" type="stmt"/>
|
|
1871
|
+
<line num="129" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1872
|
+
<line num="130" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1873
|
+
<line num="131" count="0" type="stmt"/>
|
|
1874
|
+
<line num="136" count="0" type="stmt"/>
|
|
1875
|
+
<line num="138" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1876
|
+
<line num="139" count="0" type="stmt"/>
|
|
1877
|
+
<line num="140" count="0" type="stmt"/>
|
|
1878
|
+
<line num="145" count="0" type="stmt"/>
|
|
1879
|
+
<line num="146" count="0" type="stmt"/>
|
|
1880
|
+
<line num="147" count="0" type="stmt"/>
|
|
1881
|
+
<line num="149" count="0" type="stmt"/>
|
|
1882
|
+
<line num="152" count="0" type="stmt"/>
|
|
1883
|
+
<line num="153" count="0" type="stmt"/>
|
|
1884
|
+
<line num="154" count="0" type="stmt"/>
|
|
1885
|
+
<line num="158" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1886
|
+
<line num="161" count="34" type="stmt"/>
|
|
1887
|
+
<line num="162" count="0" type="stmt"/>
|
|
1888
|
+
<line num="163" count="0" type="stmt"/>
|
|
1889
|
+
<line num="165" count="0" type="stmt"/>
|
|
1890
|
+
<line num="166" count="0" type="stmt"/>
|
|
1891
|
+
<line num="168" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1892
|
+
<line num="169" count="0" type="stmt"/>
|
|
1893
|
+
<line num="171" count="0" type="stmt"/>
|
|
1894
|
+
<line num="178" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1895
|
+
<line num="179" count="0" type="stmt"/>
|
|
1896
|
+
<line num="182" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1897
|
+
<line num="183" count="0" type="stmt"/>
|
|
1898
|
+
<line num="186" count="0" type="stmt"/>
|
|
1899
|
+
<line num="187" count="0" type="stmt"/>
|
|
1900
|
+
<line num="188" count="0" type="stmt"/>
|
|
1901
|
+
<line num="189" count="0" type="stmt"/>
|
|
1902
|
+
<line num="191" count="0" type="stmt"/>
|
|
1903
|
+
<line num="194" count="0" type="stmt"/>
|
|
1904
|
+
<line num="195" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1905
|
+
<line num="196" count="0" type="stmt"/>
|
|
1906
|
+
<line num="198" count="0" type="stmt"/>
|
|
1907
|
+
<line num="199" count="0" type="stmt"/>
|
|
1908
|
+
<line num="201" count="0" type="stmt"/>
|
|
1909
|
+
<line num="202" count="0" type="stmt"/>
|
|
1910
|
+
<line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1911
|
+
<line num="204" count="0" type="stmt"/>
|
|
1912
|
+
<line num="210" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1913
|
+
<line num="211" count="0" type="stmt"/>
|
|
1914
|
+
<line num="213" count="0" type="stmt"/>
|
|
1915
|
+
<line num="214" count="0" type="stmt"/>
|
|
1916
|
+
<line num="217" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1917
|
+
<line num="218" count="0" type="stmt"/>
|
|
1918
|
+
<line num="224" count="0" type="stmt"/>
|
|
1919
|
+
<line num="225" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1920
|
+
<line num="226" count="0" type="stmt"/>
|
|
1921
|
+
<line num="228" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1922
|
+
<line num="229" count="0" type="stmt"/>
|
|
1923
|
+
<line num="232" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1924
|
+
<line num="233" count="0" type="stmt"/>
|
|
1925
|
+
<line num="236" count="0" type="stmt"/>
|
|
1926
|
+
<line num="237" count="0" type="stmt"/>
|
|
1927
|
+
<line num="240" count="0" type="stmt"/>
|
|
1928
|
+
<line num="242" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1929
|
+
<line num="245" count="0" type="stmt"/>
|
|
1930
|
+
<line num="247" count="0" type="stmt"/>
|
|
1931
|
+
<line num="248" count="0" type="stmt"/>
|
|
1932
|
+
<line num="249" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1933
|
+
<line num="252" count="0" type="stmt"/>
|
|
1934
|
+
<line num="256" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1935
|
+
<line num="257" count="0" type="stmt"/>
|
|
1936
|
+
<line num="258" count="0" type="stmt"/>
|
|
1937
|
+
<line num="263" count="0" type="stmt"/>
|
|
1938
|
+
<line num="264" count="0" type="stmt"/>
|
|
1939
|
+
<line num="266" count="0" type="stmt"/>
|
|
1940
|
+
<line num="269" count="34" type="stmt"/>
|
|
1941
|
+
<line num="270" count="0" type="stmt"/>
|
|
1942
|
+
<line num="271" count="0" type="stmt"/>
|
|
1943
|
+
<line num="272" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1944
|
+
<line num="273" count="0" type="stmt"/>
|
|
1945
|
+
<line num="275" count="0" type="stmt"/>
|
|
1946
|
+
<line num="277" count="0" type="stmt"/>
|
|
1947
|
+
<line num="278" count="0" type="stmt"/>
|
|
1948
|
+
<line num="279" count="0" type="stmt"/>
|
|
1949
|
+
<line num="281" count="0" type="stmt"/>
|
|
1950
|
+
<line num="282" count="0" type="stmt"/>
|
|
1951
|
+
<line num="284" count="0" type="stmt"/>
|
|
1952
|
+
<line num="286" count="0" type="stmt"/>
|
|
1953
|
+
<line num="287" count="0" type="stmt"/>
|
|
1954
|
+
<line num="289" count="0" type="stmt"/>
|
|
1955
|
+
<line num="292" count="34" type="stmt"/>
|
|
1956
|
+
<line num="293" count="0" type="stmt"/>
|
|
1957
|
+
<line num="294" count="0" type="stmt"/>
|
|
1958
|
+
<line num="295" count="0" type="stmt"/>
|
|
1959
|
+
<line num="296" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
1960
|
+
<line num="297" count="0" type="stmt"/>
|
|
1961
|
+
<line num="299" count="0" type="stmt"/>
|
|
1962
|
+
<line num="303" count="0" type="stmt"/>
|
|
1963
|
+
<line num="306" count="0" type="stmt"/>
|
|
1964
|
+
</file>
|
|
1965
|
+
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/index.js">
|
|
1966
|
+
<metrics statements="53" coveredstatements="44" conditionals="23" coveredconditionals="17" methods="10" coveredmethods="7"/>
|
|
1967
|
+
<line num="1" count="34" type="stmt"/>
|
|
1968
|
+
<line num="2" count="34" type="stmt"/>
|
|
1969
|
+
<line num="3" count="34" type="stmt"/>
|
|
1970
|
+
<line num="4" count="34" type="stmt"/>
|
|
1971
|
+
<line num="5" count="34" type="stmt"/>
|
|
1972
|
+
<line num="10" count="34" type="stmt"/>
|
|
1973
|
+
<line num="11" count="34" type="stmt"/>
|
|
1974
|
+
<line num="14" count="101" type="cond" truecount="4" falsecount="0"/>
|
|
1975
|
+
<line num="15" count="99" type="stmt"/>
|
|
1976
|
+
<line num="17" count="101" type="cond" truecount="3" falsecount="1"/>
|
|
1977
|
+
<line num="18" count="0" type="stmt"/>
|
|
1978
|
+
<line num="19" count="101" type="cond" truecount="3" falsecount="1"/>
|
|
1979
|
+
<line num="20" count="0" type="stmt"/>
|
|
1980
|
+
<line num="22" count="101" type="stmt"/>
|
|
1981
|
+
<line num="26" count="34" type="stmt"/>
|
|
1982
|
+
<line num="27" count="1" type="stmt"/>
|
|
1983
|
+
<line num="29" count="1" type="stmt"/>
|
|
1984
|
+
<line num="35" count="2" type="stmt"/>
|
|
1985
|
+
<line num="41" count="1" type="stmt"/>
|
|
1986
|
+
<line num="47" count="1" type="stmt"/>
|
|
1987
|
+
<line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1988
|
+
<line num="55" count="1" type="stmt"/>
|
|
1989
|
+
<line num="58" count="34" type="stmt"/>
|
|
1990
|
+
<line num="59" count="19" type="stmt"/>
|
|
1991
|
+
<line num="60" count="19" type="stmt"/>
|
|
1992
|
+
<line num="63" count="34" type="stmt"/>
|
|
1993
|
+
<line num="64" count="99" type="stmt"/>
|
|
1994
|
+
<line num="65" count="99" type="stmt"/>
|
|
1995
|
+
<line num="66" count="99" type="stmt"/>
|
|
1996
|
+
<line num="67" count="99" type="stmt"/>
|
|
1997
|
+
<line num="68" count="99" type="stmt"/>
|
|
1998
|
+
<line num="69" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
1999
|
+
<line num="71" count="99" type="stmt"/>
|
|
2000
|
+
<line num="74" count="34" type="stmt"/>
|
|
2001
|
+
<line num="75" count="2" type="stmt"/>
|
|
2002
|
+
<line num="76" count="2" type="stmt"/>
|
|
2003
|
+
<line num="77" count="2" type="stmt"/>
|
|
2004
|
+
<line num="78" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2005
|
+
<line num="80" count="2" type="stmt"/>
|
|
2006
|
+
<line num="81" count="2" type="stmt"/>
|
|
2007
|
+
<line num="84" count="34" type="stmt"/>
|
|
2008
|
+
<line num="85" count="0" type="stmt"/>
|
|
2009
|
+
<line num="86" count="0" type="stmt"/>
|
|
2010
|
+
<line num="90" count="0" type="stmt"/>
|
|
2011
|
+
<line num="91" count="0" type="stmt"/>
|
|
2012
|
+
<line num="94" count="34" type="stmt"/>
|
|
2013
|
+
<line num="96" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
2014
|
+
<line num="98" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2015
|
+
<line num="99" count="0" type="stmt"/>
|
|
2016
|
+
<line num="101" count="1" type="stmt"/>
|
|
2017
|
+
<line num="102" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2018
|
+
<line num="103" count="0" type="stmt"/>
|
|
2019
|
+
<line num="105" count="1" type="stmt"/>
|
|
1743
2020
|
</file>
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
<metrics statements="227" coveredstatements="169" conditionals="120" coveredconditionals="65" methods="33" coveredmethods="23"/>
|
|
1747
|
-
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/index.js">
|
|
1748
|
-
<metrics statements="76" coveredstatements="67" conditionals="41" coveredconditionals="30" methods="10" coveredmethods="7"/>
|
|
2021
|
+
<file name="internal.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/internal.js">
|
|
2022
|
+
<metrics statements="60" coveredstatements="47" conditionals="32" coveredconditionals="23" methods="5" coveredmethods="3"/>
|
|
1749
2023
|
<line num="1" count="34" type="stmt"/>
|
|
1750
2024
|
<line num="2" count="34" type="stmt"/>
|
|
1751
2025
|
<line num="3" count="34" type="stmt"/>
|
|
2026
|
+
<line num="4" count="34" type="stmt"/>
|
|
1752
2027
|
<line num="10" count="34" type="stmt"/>
|
|
1753
|
-
<line num="11" count="34" type="stmt"/>
|
|
1754
2028
|
<line num="12" count="34" type="stmt"/>
|
|
1755
|
-
<line num="
|
|
1756
|
-
<line num="
|
|
1757
|
-
<line num="
|
|
1758
|
-
<line num="
|
|
1759
|
-
<line num="
|
|
1760
|
-
<line num="
|
|
1761
|
-
<line num="
|
|
1762
|
-
<line num="
|
|
1763
|
-
<line num="
|
|
1764
|
-
<line num="
|
|
1765
|
-
<line num="
|
|
1766
|
-
<line num="
|
|
1767
|
-
<line num="
|
|
1768
|
-
<line num="
|
|
1769
|
-
<line num="
|
|
2029
|
+
<line num="13" count="99" type="stmt"/>
|
|
2030
|
+
<line num="14" count="99" type="stmt"/>
|
|
2031
|
+
<line num="15" count="99" type="stmt"/>
|
|
2032
|
+
<line num="16" count="99" type="stmt"/>
|
|
2033
|
+
<line num="25" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
2034
|
+
<line num="26" count="4" type="stmt"/>
|
|
2035
|
+
<line num="29" count="99" type="cond" truecount="1" falsecount="1"/>
|
|
2036
|
+
<line num="30" count="0" type="stmt"/>
|
|
2037
|
+
<line num="35" count="99" type="stmt"/>
|
|
2038
|
+
<line num="41" count="99" type="stmt"/>
|
|
2039
|
+
<line num="45" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
2040
|
+
<line num="46" count="4" type="stmt"/>
|
|
2041
|
+
<line num="47" count="13" type="stmt"/>
|
|
2042
|
+
<line num="48" count="13" type="cond" truecount="3" falsecount="1"/>
|
|
2043
|
+
<line num="49" count="0" type="stmt"/>
|
|
1770
2044
|
<line num="55" count="99" type="stmt"/>
|
|
1771
|
-
<line num="
|
|
1772
|
-
<line num="
|
|
1773
|
-
<line num="
|
|
1774
|
-
<line num="
|
|
1775
|
-
<line num="
|
|
1776
|
-
<line num="
|
|
1777
|
-
<line num="
|
|
1778
|
-
<line num="
|
|
1779
|
-
<line num="
|
|
1780
|
-
<line num="
|
|
1781
|
-
<line num="
|
|
1782
|
-
<line num="
|
|
1783
|
-
<line num="
|
|
2045
|
+
<line num="68" count="99" type="stmt"/>
|
|
2046
|
+
<line num="71" count="99" type="stmt"/>
|
|
2047
|
+
<line num="72" count="0" type="stmt"/>
|
|
2048
|
+
<line num="73" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2049
|
+
<line num="75" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2050
|
+
<line num="76" count="0" type="stmt"/>
|
|
2051
|
+
<line num="80" count="99" type="stmt"/>
|
|
2052
|
+
<line num="81" count="99" type="stmt"/>
|
|
2053
|
+
<line num="89" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
2054
|
+
<line num="90" count="4" type="stmt"/>
|
|
2055
|
+
<line num="93" count="0" type="stmt"/>
|
|
2056
|
+
<line num="98" count="99" type="stmt"/>
|
|
2057
|
+
<line num="99" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
2058
|
+
<line num="100" count="1" type="stmt"/>
|
|
2059
|
+
<line num="102" count="99" type="stmt"/>
|
|
2060
|
+
<line num="103" count="99" type="stmt"/>
|
|
2061
|
+
<line num="105" count="99" type="stmt"/>
|
|
1784
2062
|
<line num="107" count="99" type="stmt"/>
|
|
1785
|
-
<line num="110" count="
|
|
1786
|
-
<line num="111" count="
|
|
1787
|
-
<line num="112" count="
|
|
1788
|
-
<line num="
|
|
1789
|
-
<line num="
|
|
1790
|
-
<line num="
|
|
1791
|
-
<line num="
|
|
1792
|
-
<line num="
|
|
1793
|
-
<line num="
|
|
1794
|
-
<line num="
|
|
1795
|
-
<line num="
|
|
1796
|
-
<line num="138" count="
|
|
1797
|
-
<line num="139" count="
|
|
1798
|
-
<line num="
|
|
1799
|
-
<line num="
|
|
1800
|
-
<line num="
|
|
1801
|
-
<line num="
|
|
1802
|
-
<line num="
|
|
1803
|
-
<line num="
|
|
1804
|
-
<line num="
|
|
1805
|
-
<line num="154" count="34" type="stmt"/>
|
|
1806
|
-
<line num="155" count="2" type="stmt"/>
|
|
1807
|
-
<line num="156" count="2" type="stmt"/>
|
|
1808
|
-
<line num="157" count="2" type="stmt"/>
|
|
1809
|
-
<line num="160" count="2" type="stmt"/>
|
|
1810
|
-
<line num="165" count="2" type="stmt"/>
|
|
1811
|
-
<line num="168" count="2" type="stmt"/>
|
|
1812
|
-
<line num="175" count="2" type="stmt"/>
|
|
1813
|
-
<line num="178" count="2" type="stmt"/>
|
|
1814
|
-
<line num="179" count="2" type="stmt"/>
|
|
1815
|
-
<line num="180" count="2" type="stmt"/>
|
|
1816
|
-
<line num="182" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1817
|
-
<line num="183" count="0" type="stmt"/>
|
|
1818
|
-
<line num="186" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1819
|
-
<line num="188" count="2" type="stmt"/>
|
|
1820
|
-
<line num="189" count="2" type="stmt"/>
|
|
1821
|
-
<line num="192" count="34" type="stmt"/>
|
|
1822
|
-
<line num="193" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
1823
|
-
<line num="194" count="1" type="stmt"/>
|
|
1824
|
-
<line num="195" count="1" type="stmt"/>
|
|
2063
|
+
<line num="110" count="34" type="stmt"/>
|
|
2064
|
+
<line num="111" count="2" type="stmt"/>
|
|
2065
|
+
<line num="112" count="2" type="stmt"/>
|
|
2066
|
+
<line num="113" count="2" type="stmt"/>
|
|
2067
|
+
<line num="116" count="2" type="stmt"/>
|
|
2068
|
+
<line num="121" count="2" type="stmt"/>
|
|
2069
|
+
<line num="124" count="2" type="stmt"/>
|
|
2070
|
+
<line num="131" count="2" type="stmt"/>
|
|
2071
|
+
<line num="134" count="2" type="stmt"/>
|
|
2072
|
+
<line num="135" count="2" type="stmt"/>
|
|
2073
|
+
<line num="136" count="2" type="stmt"/>
|
|
2074
|
+
<line num="138" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2075
|
+
<line num="139" count="0" type="stmt"/>
|
|
2076
|
+
<line num="142" count="2" type="stmt"/>
|
|
2077
|
+
<line num="145" count="34" type="stmt"/>
|
|
2078
|
+
<line num="146" count="0" type="stmt"/>
|
|
2079
|
+
<line num="147" count="0" type="stmt"/>
|
|
2080
|
+
<line num="148" count="0" type="stmt"/>
|
|
2081
|
+
<line num="149" count="0" type="stmt"/>
|
|
2082
|
+
<line num="150" count="0" type="stmt"/>
|
|
1825
2083
|
</file>
|
|
1826
2084
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/utils.js">
|
|
1827
|
-
<metrics statements="
|
|
2085
|
+
<metrics statements="172" coveredstatements="116" conditionals="90" coveredconditionals="41" methods="27" coveredmethods="17"/>
|
|
1828
2086
|
<line num="1" count="34" type="stmt"/>
|
|
1829
2087
|
<line num="2" count="34" type="stmt"/>
|
|
1830
2088
|
<line num="7" count="34" type="stmt"/>
|
|
@@ -1863,125 +2121,146 @@
|
|
|
1863
2121
|
<line num="68" count="0" type="stmt"/>
|
|
1864
2122
|
<line num="71" count="4" type="stmt"/>
|
|
1865
2123
|
<line num="74" count="34" type="stmt"/>
|
|
1866
|
-
<line num="75" count="100" type="
|
|
1867
|
-
<line num="76" count="
|
|
2124
|
+
<line num="75" count="100" type="cond" truecount="4" falsecount="0"/>
|
|
2125
|
+
<line num="76" count="99" type="stmt"/>
|
|
1868
2126
|
<line num="78" count="1" type="stmt"/>
|
|
1869
2127
|
<line num="80" count="1" type="stmt"/>
|
|
1870
|
-
<line num="81" count="1" type="stmt"/>
|
|
1871
|
-
<line num="82" count="1" type="stmt"/>
|
|
1872
|
-
<line num="83" count="1" type="stmt"/>
|
|
1873
|
-
<line num="84" count="1" type="stmt"/>
|
|
1874
2128
|
<line num="85" count="1" type="stmt"/>
|
|
2129
|
+
<line num="86" count="1" type="stmt"/>
|
|
2130
|
+
<line num="87" count="1" type="stmt"/>
|
|
1875
2131
|
<line num="88" count="1" type="stmt"/>
|
|
1876
2132
|
<line num="89" count="1" type="stmt"/>
|
|
1877
|
-
<line num="
|
|
1878
|
-
<line num="93" count="
|
|
1879
|
-
<line num="
|
|
1880
|
-
<line num="
|
|
1881
|
-
<line num="
|
|
1882
|
-
<line num="
|
|
2133
|
+
<line num="90" count="1" type="stmt"/>
|
|
2134
|
+
<line num="93" count="1" type="stmt"/>
|
|
2135
|
+
<line num="94" count="1" type="stmt"/>
|
|
2136
|
+
<line num="96" count="1" type="stmt"/>
|
|
2137
|
+
<line num="98" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2138
|
+
<line num="103" count="0" type="stmt"/>
|
|
1883
2139
|
<line num="110" count="1" type="stmt"/>
|
|
1884
|
-
<line num="
|
|
1885
|
-
<line num="
|
|
1886
|
-
<line num="
|
|
1887
|
-
<line num="
|
|
1888
|
-
<line num="119" count="
|
|
1889
|
-
<line num="120" count="
|
|
1890
|
-
<line num="122" count="
|
|
1891
|
-
<line num="123" count="
|
|
1892
|
-
<line num="
|
|
1893
|
-
<line num="
|
|
1894
|
-
<line num="
|
|
1895
|
-
<line num="
|
|
1896
|
-
<line num="
|
|
1897
|
-
<line num="
|
|
1898
|
-
<line num="
|
|
1899
|
-
<line num="
|
|
1900
|
-
<line num="
|
|
1901
|
-
<line num="
|
|
1902
|
-
<line num="
|
|
1903
|
-
<line num="
|
|
1904
|
-
<line num="165" count="
|
|
1905
|
-
<line num="
|
|
1906
|
-
<line num="
|
|
1907
|
-
<line num="
|
|
1908
|
-
<line num="
|
|
1909
|
-
<line num="
|
|
2140
|
+
<line num="113" count="1" type="stmt"/>
|
|
2141
|
+
<line num="114" count="1" type="stmt"/>
|
|
2142
|
+
<line num="115" count="1" type="stmt"/>
|
|
2143
|
+
<line num="116" count="1" type="stmt"/>
|
|
2144
|
+
<line num="119" count="34" type="stmt"/>
|
|
2145
|
+
<line num="120" count="99" type="stmt"/>
|
|
2146
|
+
<line num="122" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
2147
|
+
<line num="123" count="2" type="stmt"/>
|
|
2148
|
+
<line num="124" count="2" type="stmt"/>
|
|
2149
|
+
<line num="126" count="2" type="stmt"/>
|
|
2150
|
+
<line num="127" count="3" type="stmt"/>
|
|
2151
|
+
<line num="130" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2152
|
+
<line num="131" count="1" type="stmt"/>
|
|
2153
|
+
<line num="132" count="1" type="stmt"/>
|
|
2154
|
+
<line num="136" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2155
|
+
<line num="137" count="1" type="stmt"/>
|
|
2156
|
+
<line num="139" count="1" type="stmt"/>
|
|
2157
|
+
<line num="150" count="1" type="stmt"/>
|
|
2158
|
+
<line num="160" count="99" type="stmt"/>
|
|
2159
|
+
<line num="163" count="34" type="stmt"/>
|
|
2160
|
+
<line num="165" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
2161
|
+
<line num="166" count="1" type="stmt"/>
|
|
2162
|
+
<line num="168" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2163
|
+
<line num="169" count="5" type="stmt"/>
|
|
2164
|
+
<line num="173" count="99" type="stmt"/>
|
|
2165
|
+
<line num="178" count="99" type="stmt"/>
|
|
1910
2166
|
<line num="179" count="99" type="stmt"/>
|
|
1911
|
-
<line num="180" count="99" type="
|
|
1912
|
-
<line num="
|
|
1913
|
-
<line num="
|
|
1914
|
-
<line num="
|
|
1915
|
-
<line num="
|
|
1916
|
-
<line num="191" count="99" type="
|
|
1917
|
-
<line num="
|
|
1918
|
-
<line num="
|
|
1919
|
-
<line num="
|
|
1920
|
-
<line num="
|
|
1921
|
-
<line num="
|
|
1922
|
-
<line num="
|
|
2167
|
+
<line num="180" count="99" type="cond" truecount="3" falsecount="1"/>
|
|
2168
|
+
<line num="181" count="99" type="stmt"/>
|
|
2169
|
+
<line num="183" count="99" type="stmt"/>
|
|
2170
|
+
<line num="184" count="99" type="stmt"/>
|
|
2171
|
+
<line num="186" count="99" type="stmt"/>
|
|
2172
|
+
<line num="191" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
2173
|
+
<line num="192" count="4" type="stmt"/>
|
|
2174
|
+
<line num="194" count="99" type="stmt"/>
|
|
2175
|
+
<line num="195" count="99" type="stmt"/>
|
|
2176
|
+
<line num="200" count="99" type="stmt"/>
|
|
2177
|
+
<line num="205" count="99" type="stmt"/>
|
|
2178
|
+
<line num="206" count="99" type="stmt"/>
|
|
2179
|
+
<line num="211" count="99" type="stmt"/>
|
|
2180
|
+
<line num="212" count="99" type="stmt"/>
|
|
1923
2181
|
<line num="218" count="99" type="stmt"/>
|
|
1924
|
-
<line num="222" count="
|
|
1925
|
-
<line num="
|
|
1926
|
-
<line num="
|
|
1927
|
-
<line num="225" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1928
|
-
<line num="226" count="0" type="stmt"/>
|
|
2182
|
+
<line num="222" count="99" type="stmt"/>
|
|
2183
|
+
<line num="226" count="34" type="stmt"/>
|
|
2184
|
+
<line num="227" count="0" type="stmt"/>
|
|
1929
2185
|
<line num="228" count="0" type="stmt"/>
|
|
1930
|
-
<line num="
|
|
2186
|
+
<line num="229" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2187
|
+
<line num="230" count="0" type="stmt"/>
|
|
1931
2188
|
<line num="232" count="0" type="stmt"/>
|
|
1932
|
-
<line num="
|
|
1933
|
-
<line num="236" count="
|
|
1934
|
-
<line num="237" count="
|
|
1935
|
-
<line num="
|
|
1936
|
-
<line num="
|
|
1937
|
-
<line num="
|
|
1938
|
-
<line num="
|
|
1939
|
-
<line num="
|
|
1940
|
-
<line num="
|
|
1941
|
-
<line num="
|
|
2189
|
+
<line num="235" count="34" type="stmt"/>
|
|
2190
|
+
<line num="236" count="0" type="stmt"/>
|
|
2191
|
+
<line num="237" count="0" type="stmt"/>
|
|
2192
|
+
<line num="240" count="34" type="stmt"/>
|
|
2193
|
+
<line num="241" count="30" type="stmt"/>
|
|
2194
|
+
<line num="242" count="30" type="cond" truecount="1" falsecount="1"/>
|
|
2195
|
+
<line num="243" count="0" type="stmt"/>
|
|
2196
|
+
<line num="244" count="0" type="stmt"/>
|
|
2197
|
+
<line num="246" count="30" type="stmt"/>
|
|
2198
|
+
<line num="250" count="34" type="stmt"/>
|
|
1942
2199
|
<line num="251" count="1" type="stmt"/>
|
|
1943
|
-
<line num="252" count="
|
|
1944
|
-
<line num="255" count="
|
|
1945
|
-
<line num="
|
|
1946
|
-
<line num="
|
|
1947
|
-
<line num="
|
|
1948
|
-
<line num="
|
|
1949
|
-
<line num="
|
|
1950
|
-
<line num="
|
|
1951
|
-
<line num="
|
|
1952
|
-
<line num="
|
|
1953
|
-
<line num="
|
|
1954
|
-
<line num="
|
|
1955
|
-
<line num="
|
|
1956
|
-
<line num="
|
|
1957
|
-
<line num="
|
|
1958
|
-
<line num="
|
|
1959
|
-
<line num="281" count="0" type="stmt"/>
|
|
2200
|
+
<line num="252" count="1" type="stmt"/>
|
|
2201
|
+
<line num="255" count="1" type="stmt"/>
|
|
2202
|
+
<line num="256" count="0" type="stmt"/>
|
|
2203
|
+
<line num="259" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2204
|
+
<line num="261" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2205
|
+
<line num="262" count="0" type="stmt"/>
|
|
2206
|
+
<line num="263" count="0" type="stmt"/>
|
|
2207
|
+
<line num="267" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2208
|
+
<line num="268" count="0" type="stmt"/>
|
|
2209
|
+
<line num="269" count="0" type="stmt"/>
|
|
2210
|
+
<line num="273" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2211
|
+
<line num="274" count="0" type="stmt"/>
|
|
2212
|
+
<line num="275" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2213
|
+
<line num="276" count="0" type="stmt"/>
|
|
2214
|
+
<line num="277" count="0" type="stmt"/>
|
|
2215
|
+
<line num="281" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1960
2216
|
<line num="282" count="0" type="stmt"/>
|
|
1961
|
-
<line num="
|
|
1962
|
-
<line num="
|
|
1963
|
-
<line num="
|
|
1964
|
-
<line num="
|
|
1965
|
-
<line num="
|
|
1966
|
-
<line num="
|
|
1967
|
-
<line num="
|
|
1968
|
-
<line num="
|
|
1969
|
-
<line num="
|
|
1970
|
-
<line num="299" count="0" type="
|
|
2217
|
+
<line num="284" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2218
|
+
<line num="285" count="0" type="stmt"/>
|
|
2219
|
+
<line num="286" count="0" type="stmt"/>
|
|
2220
|
+
<line num="287" count="0" type="stmt"/>
|
|
2221
|
+
<line num="288" count="0" type="stmt"/>
|
|
2222
|
+
<line num="292" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2223
|
+
<line num="293" count="0" type="stmt"/>
|
|
2224
|
+
<line num="294" count="0" type="stmt"/>
|
|
2225
|
+
<line num="298" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2226
|
+
<line num="299" count="0" type="stmt"/>
|
|
1971
2227
|
<line num="300" count="0" type="stmt"/>
|
|
1972
|
-
<line num="
|
|
1973
|
-
<line num="
|
|
1974
|
-
<line num="
|
|
1975
|
-
<line num="
|
|
1976
|
-
<line num="
|
|
2228
|
+
<line num="301" count="0" type="stmt"/>
|
|
2229
|
+
<line num="303" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2230
|
+
<line num="304" count="0" type="stmt"/>
|
|
2231
|
+
<line num="311" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2232
|
+
<line num="312" count="0" type="stmt"/>
|
|
1977
2233
|
<line num="313" count="0" type="stmt"/>
|
|
1978
|
-
<line num="
|
|
2234
|
+
<line num="314" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2235
|
+
<line num="315" count="0" type="stmt"/>
|
|
2236
|
+
<line num="317" count="0" type="stmt"/>
|
|
2237
|
+
<line num="322" count="34" type="stmt"/>
|
|
2238
|
+
<line num="323" count="0" type="stmt"/>
|
|
2239
|
+
<line num="326" count="34" type="stmt"/>
|
|
2240
|
+
<line num="327" count="0" type="stmt"/>
|
|
2241
|
+
<line num="330" count="34" type="cond" truecount="0" falsecount="1"/>
|
|
2242
|
+
<line num="331" count="0" type="stmt"/>
|
|
2243
|
+
<line num="336" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2244
|
+
<line num="337" count="0" type="stmt"/>
|
|
2245
|
+
<line num="339" count="0" type="stmt"/>
|
|
2246
|
+
<line num="342" count="34" type="stmt"/>
|
|
2247
|
+
<line num="343" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
2248
|
+
<line num="344" count="95" type="stmt"/>
|
|
2249
|
+
<line num="346" count="4" type="stmt"/>
|
|
2250
|
+
<line num="347" count="11" type="stmt"/>
|
|
2251
|
+
<line num="348" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
2252
|
+
<line num="349" count="7" type="stmt"/>
|
|
2253
|
+
<line num="351" count="4" type="stmt"/>
|
|
2254
|
+
<line num="352" count="4" type="cond" truecount="2" falsecount="2"/>
|
|
2255
|
+
<line num="353" count="0" type="stmt"/>
|
|
2256
|
+
<line num="356" count="4" type="stmt"/>
|
|
2257
|
+
<line num="359" count="34" type="stmt"/>
|
|
1979
2258
|
</file>
|
|
1980
2259
|
</package>
|
|
1981
2260
|
<package name="api.controllers.view">
|
|
1982
|
-
<metrics statements="
|
|
2261
|
+
<metrics statements="181" coveredstatements="135" conditionals="83" coveredconditionals="53" methods="21" coveredmethods="17"/>
|
|
1983
2262
|
<file name="exporters.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/exporters.js">
|
|
1984
|
-
<metrics statements="
|
|
2263
|
+
<metrics statements="11" coveredstatements="11" conditionals="2" coveredconditionals="1" methods="4" coveredmethods="4"/>
|
|
1985
2264
|
<line num="1" count="33" type="stmt"/>
|
|
1986
2265
|
<line num="2" count="2" type="stmt"/>
|
|
1987
2266
|
<line num="4" count="1" type="stmt"/>
|
|
@@ -1992,63 +2271,71 @@
|
|
|
1992
2271
|
<line num="13" count="1" type="stmt"/>
|
|
1993
2272
|
<line num="16" count="33" type="stmt"/>
|
|
1994
2273
|
<line num="17" count="1" type="stmt"/>
|
|
2274
|
+
<line num="20" count="33" type="stmt"/>
|
|
1995
2275
|
</file>
|
|
1996
2276
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/index.js">
|
|
1997
|
-
<metrics statements="
|
|
2277
|
+
<metrics statements="61" coveredstatements="58" conditionals="25" coveredconditionals="18" methods="4" coveredmethods="4"/>
|
|
1998
2278
|
<line num="1" count="33" type="stmt"/>
|
|
1999
2279
|
<line num="2" count="33" type="stmt"/>
|
|
2000
2280
|
<line num="3" count="33" type="stmt"/>
|
|
2001
2281
|
<line num="4" count="33" type="stmt"/>
|
|
2002
2282
|
<line num="5" count="33" type="stmt"/>
|
|
2003
2283
|
<line num="6" count="33" type="stmt"/>
|
|
2004
|
-
<line num="
|
|
2005
|
-
<line num="9" count="
|
|
2284
|
+
<line num="7" count="33" type="stmt"/>
|
|
2285
|
+
<line num="9" count="33" type="stmt"/>
|
|
2006
2286
|
<line num="10" count="1" type="stmt"/>
|
|
2007
|
-
<line num="
|
|
2008
|
-
<line num="14" count="
|
|
2287
|
+
<line num="11" count="1" type="stmt"/>
|
|
2288
|
+
<line num="14" count="33" type="stmt"/>
|
|
2009
2289
|
<line num="15" count="8" type="stmt"/>
|
|
2010
2290
|
<line num="16" count="8" type="stmt"/>
|
|
2011
|
-
<line num="
|
|
2012
|
-
<line num="19" count="
|
|
2013
|
-
<line num="
|
|
2014
|
-
<line num="
|
|
2015
|
-
<line num="26" count="8" type="
|
|
2016
|
-
<line num="27" count="8" type="cond" truecount="
|
|
2017
|
-
<line num="28" count="
|
|
2018
|
-
<line num="
|
|
2019
|
-
<line num="31" count="8" type="
|
|
2020
|
-
<line num="32" count="
|
|
2021
|
-
<line num="
|
|
2022
|
-
<line num="
|
|
2023
|
-
<line num="
|
|
2024
|
-
<line num="43" count="
|
|
2291
|
+
<line num="17" count="8" type="stmt"/>
|
|
2292
|
+
<line num="19" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
2293
|
+
<line num="20" count="0" type="stmt"/>
|
|
2294
|
+
<line num="23" count="8" type="stmt"/>
|
|
2295
|
+
<line num="26" count="8" type="stmt"/>
|
|
2296
|
+
<line num="27" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
2297
|
+
<line num="28" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
2298
|
+
<line num="29" count="3" type="stmt"/>
|
|
2299
|
+
<line num="31" count="8" type="stmt"/>
|
|
2300
|
+
<line num="32" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
2301
|
+
<line num="33" count="0" type="stmt"/>
|
|
2302
|
+
<line num="35" count="8" type="stmt"/>
|
|
2303
|
+
<line num="37" count="8" type="stmt"/>
|
|
2304
|
+
<line num="43" count="33" type="stmt"/>
|
|
2025
2305
|
<line num="44" count="1" type="stmt"/>
|
|
2026
2306
|
<line num="45" count="1" type="stmt"/>
|
|
2027
2307
|
<line num="46" count="1" type="stmt"/>
|
|
2028
2308
|
<line num="47" count="1" type="stmt"/>
|
|
2029
2309
|
<line num="48" count="1" type="stmt"/>
|
|
2030
|
-
<line num="
|
|
2031
|
-
<line num="
|
|
2032
|
-
<line num="54" count="
|
|
2310
|
+
<line num="49" count="1" type="stmt"/>
|
|
2311
|
+
<line num="51" count="1" type="stmt"/>
|
|
2312
|
+
<line num="54" count="33" type="stmt"/>
|
|
2033
2313
|
<line num="55" count="2" type="stmt"/>
|
|
2034
2314
|
<line num="56" count="2" type="stmt"/>
|
|
2035
|
-
<line num="
|
|
2036
|
-
<line num="59" count="2" type="
|
|
2037
|
-
<line num="60" count="
|
|
2038
|
-
<line num="
|
|
2039
|
-
<line num="64" count="2" type="
|
|
2040
|
-
<line num="
|
|
2041
|
-
<line num="
|
|
2042
|
-
<line num="
|
|
2043
|
-
<line num="81" count="2" type="cond" truecount="
|
|
2044
|
-
<line num="82" count="2" type="cond" truecount="
|
|
2045
|
-
<line num="83" count="2" type="
|
|
2315
|
+
<line num="57" count="2" type="stmt"/>
|
|
2316
|
+
<line num="59" count="2" type="stmt"/>
|
|
2317
|
+
<line num="60" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
2318
|
+
<line num="61" count="0" type="stmt"/>
|
|
2319
|
+
<line num="64" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2320
|
+
<line num="65" count="2" type="stmt"/>
|
|
2321
|
+
<line num="67" count="2" type="stmt"/>
|
|
2322
|
+
<line num="79" count="2" type="stmt"/>
|
|
2323
|
+
<line num="81" count="2" type="cond" truecount="3" falsecount="0"/>
|
|
2324
|
+
<line num="82" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2325
|
+
<line num="83" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2046
2326
|
<line num="84" count="2" type="stmt"/>
|
|
2047
|
-
<line num="
|
|
2048
|
-
<line num="89" count="2" type="
|
|
2049
|
-
<line num="90" count="
|
|
2327
|
+
<line num="85" count="2" type="stmt"/>
|
|
2328
|
+
<line num="89" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2329
|
+
<line num="90" count="1" type="stmt"/>
|
|
2330
|
+
<line num="91" count="1" type="stmt"/>
|
|
2050
2331
|
<line num="92" count="2" type="stmt"/>
|
|
2051
|
-
<line num="93" count="2" type="
|
|
2332
|
+
<line num="93" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2333
|
+
<line num="94" count="2" type="stmt"/>
|
|
2334
|
+
<line num="101" count="2" type="stmt"/>
|
|
2335
|
+
<line num="102" count="2" type="stmt"/>
|
|
2336
|
+
<line num="103" count="2" type="stmt"/>
|
|
2337
|
+
<line num="105" count="2" type="stmt"/>
|
|
2338
|
+
<line num="106" count="2" type="stmt"/>
|
|
2052
2339
|
</file>
|
|
2053
2340
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/utils.js">
|
|
2054
2341
|
<metrics statements="76" coveredstatements="38" conditionals="26" coveredconditionals="9" methods="9" coveredmethods="6"/>
|
|
@@ -2391,7 +2678,7 @@
|
|
|
2391
2678
|
<line num="21" count="23" type="stmt"/>
|
|
2392
2679
|
<line num="41" count="23" type="stmt"/>
|
|
2393
2680
|
<line num="51" count="23" type="stmt"/>
|
|
2394
|
-
<line num="
|
|
2681
|
+
<line num="86" count="23" type="stmt"/>
|
|
2395
2682
|
</file>
|
|
2396
2683
|
<file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/role.js">
|
|
2397
2684
|
<metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
@@ -2427,7 +2714,7 @@
|
|
|
2427
2714
|
<line num="12" count="23" type="stmt"/>
|
|
2428
2715
|
<line num="14" count="23" type="stmt"/>
|
|
2429
2716
|
<line num="16" count="23" type="stmt"/>
|
|
2430
|
-
<line num="
|
|
2717
|
+
<line num="254" count="23" type="stmt"/>
|
|
2431
2718
|
</file>
|
|
2432
2719
|
<file name="screen.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/screen.js">
|
|
2433
2720
|
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
@@ -2479,7 +2766,7 @@
|
|
|
2479
2766
|
<line num="13" count="23" type="stmt"/>
|
|
2480
2767
|
<line num="17" count="23" type="stmt"/>
|
|
2481
2768
|
<line num="29" count="23" type="stmt"/>
|
|
2482
|
-
<line num="
|
|
2769
|
+
<line num="211" count="23" type="stmt"/>
|
|
2483
2770
|
</file>
|
|
2484
2771
|
<file name="templates.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/templates.js">
|
|
2485
2772
|
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -2499,7 +2786,7 @@
|
|
|
2499
2786
|
<line num="7" count="23" type="stmt"/>
|
|
2500
2787
|
<line num="9" count="23" type="stmt"/>
|
|
2501
2788
|
<line num="11" count="23" type="stmt"/>
|
|
2502
|
-
<line num="
|
|
2789
|
+
<line num="43" count="23" type="stmt"/>
|
|
2503
2790
|
</file>
|
|
2504
2791
|
<file name="view.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/view.js">
|
|
2505
2792
|
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -2528,7 +2815,7 @@
|
|
|
2528
2815
|
</file>
|
|
2529
2816
|
</package>
|
|
2530
2817
|
<package name="automations">
|
|
2531
|
-
<metrics statements="
|
|
2818
|
+
<metrics statements="202" coveredstatements="170" conditionals="94" coveredconditionals="75" methods="25" coveredmethods="20"/>
|
|
2532
2819
|
<file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
|
|
2533
2820
|
<metrics statements="23" coveredstatements="23" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
|
|
2534
2821
|
<line num="1" count="34" type="stmt"/>
|
|
@@ -2590,7 +2877,7 @@
|
|
|
2590
2877
|
<line num="76" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
2591
2878
|
</file>
|
|
2592
2879
|
<file name="bullboard.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/bullboard.js">
|
|
2593
|
-
<metrics statements="
|
|
2880
|
+
<metrics statements="28" coveredstatements="15" conditionals="6" coveredconditionals="3" methods="3" coveredmethods="0"/>
|
|
2594
2881
|
<line num="1" count="33" type="stmt"/>
|
|
2595
2882
|
<line num="2" count="33" type="stmt"/>
|
|
2596
2883
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -2599,19 +2886,26 @@
|
|
|
2599
2886
|
<line num="8" count="33" type="stmt"/>
|
|
2600
2887
|
<line num="9" count="33" type="stmt"/>
|
|
2601
2888
|
<line num="10" count="33" type="stmt"/>
|
|
2602
|
-
<line num="12" count="33" type="
|
|
2603
|
-
<line num="13" count="33" type="
|
|
2604
|
-
<line num="
|
|
2605
|
-
<line num="
|
|
2606
|
-
<line num="
|
|
2607
|
-
<line num="
|
|
2608
|
-
<line num="
|
|
2609
|
-
<line num="
|
|
2610
|
-
<line num="23" count="0" type="stmt"/>
|
|
2611
|
-
<line num="25" count="0" type="stmt"/>
|
|
2889
|
+
<line num="12" count="33" type="stmt"/>
|
|
2890
|
+
<line num="13" count="33" type="cond" truecount="2" falsecount="0"/>
|
|
2891
|
+
<line num="14" count="33" type="stmt"/>
|
|
2892
|
+
<line num="16" count="33" type="stmt"/>
|
|
2893
|
+
<line num="19" count="0" type="stmt"/>
|
|
2894
|
+
<line num="22" count="33" type="stmt"/>
|
|
2895
|
+
<line num="24" count="33" type="stmt"/>
|
|
2896
|
+
<line num="26" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2612
2897
|
<line num="27" count="0" type="stmt"/>
|
|
2613
|
-
<line num="
|
|
2614
|
-
<line num="
|
|
2898
|
+
<line num="29" count="0" type="stmt"/>
|
|
2899
|
+
<line num="30" count="0" type="stmt"/>
|
|
2900
|
+
<line num="34" count="0" type="stmt"/>
|
|
2901
|
+
<line num="35" count="0" type="stmt"/>
|
|
2902
|
+
<line num="36" count="0" type="stmt"/>
|
|
2903
|
+
<line num="37" count="0" type="stmt"/>
|
|
2904
|
+
<line num="38" count="0" type="stmt"/>
|
|
2905
|
+
<line num="40" count="0" type="stmt"/>
|
|
2906
|
+
<line num="44" count="0" type="stmt"/>
|
|
2907
|
+
<line num="45" count="0" type="stmt"/>
|
|
2908
|
+
<line num="48" count="33" type="stmt"/>
|
|
2615
2909
|
</file>
|
|
2616
2910
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/index.js">
|
|
2617
2911
|
<metrics statements="8" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="2"/>
|
|
@@ -2624,78 +2918,8 @@
|
|
|
2624
2918
|
<line num="15" count="0" type="stmt"/>
|
|
2625
2919
|
<line num="17" count="24" type="stmt"/>
|
|
2626
2920
|
</file>
|
|
2627
|
-
<file name="thread.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/thread.js">
|
|
2628
|
-
<metrics statements="67" coveredstatements="57" conditionals="21" coveredconditionals="12" methods="7" coveredmethods="7"/>
|
|
2629
|
-
<line num="1" count="33" type="stmt"/>
|
|
2630
|
-
<line num="2" count="33" type="stmt"/>
|
|
2631
|
-
<line num="3" count="33" type="stmt"/>
|
|
2632
|
-
<line num="4" count="33" type="stmt"/>
|
|
2633
|
-
<line num="5" count="33" type="stmt"/>
|
|
2634
|
-
<line num="6" count="33" type="stmt"/>
|
|
2635
|
-
<line num="7" count="33" type="stmt"/>
|
|
2636
|
-
<line num="8" count="33" type="stmt"/>
|
|
2637
|
-
<line num="9" count="33" type="stmt"/>
|
|
2638
|
-
<line num="10" count="33" type="stmt"/>
|
|
2639
|
-
<line num="12" count="33" type="stmt"/>
|
|
2640
|
-
<line num="13" count="33" type="stmt"/>
|
|
2641
|
-
<line num="22" count="7" type="stmt"/>
|
|
2642
|
-
<line num="23" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
2643
|
-
<line num="24" count="7" type="stmt"/>
|
|
2644
|
-
<line num="25" count="7" type="stmt"/>
|
|
2645
|
-
<line num="27" count="7" type="stmt"/>
|
|
2646
|
-
<line num="28" count="7" type="stmt"/>
|
|
2647
|
-
<line num="30" count="7" type="stmt"/>
|
|
2648
|
-
<line num="31" count="7" type="stmt"/>
|
|
2649
|
-
<line num="34" count="7" type="stmt"/>
|
|
2650
|
-
<line num="35" count="7" type="stmt"/>
|
|
2651
|
-
<line num="37" count="7" type="stmt"/>
|
|
2652
|
-
<line num="38" count="7" type="stmt"/>
|
|
2653
|
-
<line num="39" count="7" type="stmt"/>
|
|
2654
|
-
<line num="43" count="5" type="stmt"/>
|
|
2655
|
-
<line num="44" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2656
|
-
<line num="45" count="0" type="stmt"/>
|
|
2657
|
-
<line num="47" count="5" type="stmt"/>
|
|
2658
|
-
<line num="51" count="7" type="stmt"/>
|
|
2659
|
-
<line num="52" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
2660
|
-
<line num="53" count="0" type="stmt"/>
|
|
2661
|
-
<line num="55" count="7" type="stmt"/>
|
|
2662
|
-
<line num="56" count="7" type="stmt"/>
|
|
2663
|
-
<line num="57" count="6" type="stmt"/>
|
|
2664
|
-
<line num="61" count="12" type="stmt"/>
|
|
2665
|
-
<line num="63" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
2666
|
-
<line num="64" count="7" type="stmt"/>
|
|
2667
|
-
<line num="66" count="12" type="stmt"/>
|
|
2668
|
-
<line num="70" count="7" type="stmt"/>
|
|
2669
|
-
<line num="71" count="7" type="stmt"/>
|
|
2670
|
-
<line num="72" count="6" type="stmt"/>
|
|
2671
|
-
<line num="73" count="6" type="stmt"/>
|
|
2672
|
-
<line num="75" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2673
|
-
<line num="76" count="0" type="stmt"/>
|
|
2674
|
-
<line num="77" count="0" type="stmt"/>
|
|
2675
|
-
<line num="79" count="5" type="stmt"/>
|
|
2676
|
-
<line num="80" count="5" type="stmt"/>
|
|
2677
|
-
<line num="81" count="5" type="stmt"/>
|
|
2678
|
-
<line num="86" count="5" type="stmt"/>
|
|
2679
|
-
<line num="87" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2680
|
-
<line num="88" count="5" type="stmt"/>
|
|
2681
|
-
<line num="89" count="5" type="stmt"/>
|
|
2682
|
-
<line num="96" count="5" type="stmt"/>
|
|
2683
|
-
<line num="99" count="5" type="cond" truecount="2" falsecount="2"/>
|
|
2684
|
-
<line num="100" count="0" type="stmt"/>
|
|
2685
|
-
<line num="101" count="0" type="stmt"/>
|
|
2686
|
-
<line num="105" count="0" type="stmt"/>
|
|
2687
|
-
<line num="107" count="5" type="stmt"/>
|
|
2688
|
-
<line num="109" count="0" type="stmt"/>
|
|
2689
|
-
<line num="110" count="0" type="stmt"/>
|
|
2690
|
-
<line num="115" count="6" type="cond" truecount="2" falsecount="2"/>
|
|
2691
|
-
<line num="116" count="0" type="stmt"/>
|
|
2692
|
-
<line num="118" count="6" type="stmt"/>
|
|
2693
|
-
<line num="122" count="33" type="stmt"/>
|
|
2694
|
-
<line num="123" count="7" type="stmt"/>
|
|
2695
|
-
<line num="127" count="7" type="stmt"/>
|
|
2696
|
-
</file>
|
|
2697
2921
|
<file name="triggers.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggers.js">
|
|
2698
|
-
<metrics statements="
|
|
2922
|
+
<metrics statements="45" coveredstatements="43" conditionals="25" coveredconditionals="21" methods="7" coveredmethods="7"/>
|
|
2699
2923
|
<line num="1" count="33" type="stmt"/>
|
|
2700
2924
|
<line num="2" count="33" type="stmt"/>
|
|
2701
2925
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -2707,42 +2931,43 @@
|
|
|
2707
2931
|
<line num="10" count="33" type="stmt"/>
|
|
2708
2932
|
<line num="11" count="33" type="stmt"/>
|
|
2709
2933
|
<line num="13" count="33" type="stmt"/>
|
|
2710
|
-
<line num="
|
|
2711
|
-
<line num="
|
|
2712
|
-
<line num="
|
|
2713
|
-
<line num="
|
|
2714
|
-
<line num="
|
|
2715
|
-
<line num="
|
|
2716
|
-
<line num="
|
|
2717
|
-
<line num="
|
|
2718
|
-
<line num="
|
|
2719
|
-
<line num="
|
|
2720
|
-
<line num="
|
|
2934
|
+
<line num="14" count="33" type="stmt"/>
|
|
2935
|
+
<line num="20" count="16" type="cond" truecount="1" falsecount="1"/>
|
|
2936
|
+
<line num="21" count="0" type="stmt"/>
|
|
2937
|
+
<line num="24" count="16" type="stmt"/>
|
|
2938
|
+
<line num="25" count="16" type="stmt"/>
|
|
2939
|
+
<line num="30" count="16" type="stmt"/>
|
|
2940
|
+
<line num="31" count="4" type="stmt"/>
|
|
2941
|
+
<line num="33" count="4" type="stmt"/>
|
|
2942
|
+
<line num="34" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
2943
|
+
<line num="37" count="16" type="stmt"/>
|
|
2944
|
+
<line num="38" count="4" type="stmt"/>
|
|
2721
2945
|
<line num="39" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2722
|
-
<line num="
|
|
2723
|
-
<line num="
|
|
2724
|
-
<line num="50" count="4" type="
|
|
2725
|
-
<line num="
|
|
2726
|
-
<line num="
|
|
2727
|
-
<line num="
|
|
2728
|
-
<line num="
|
|
2729
|
-
<line num="
|
|
2730
|
-
<line num="
|
|
2731
|
-
<line num="
|
|
2732
|
-
<line num="
|
|
2733
|
-
<line num="
|
|
2734
|
-
<line num="
|
|
2735
|
-
<line num="94" count="1" type="stmt"/>
|
|
2736
|
-
<line num="95" count="1" type="stmt"/>
|
|
2946
|
+
<line num="43" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2947
|
+
<line num="48" count="0" type="stmt"/>
|
|
2948
|
+
<line num="50" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2949
|
+
<line num="54" count="4" type="stmt"/>
|
|
2950
|
+
<line num="59" count="33" type="stmt"/>
|
|
2951
|
+
<line num="64" count="8" type="stmt"/>
|
|
2952
|
+
<line num="67" count="33" type="stmt"/>
|
|
2953
|
+
<line num="72" count="3" type="stmt"/>
|
|
2954
|
+
<line num="75" count="33" type="stmt"/>
|
|
2955
|
+
<line num="80" count="5" type="stmt"/>
|
|
2956
|
+
<line num="83" count="33" type="stmt"/>
|
|
2957
|
+
<line num="88" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
2958
|
+
<line num="96" count="1" type="stmt"/>
|
|
2737
2959
|
<line num="97" count="1" type="stmt"/>
|
|
2738
|
-
<line num="
|
|
2739
|
-
<line num="
|
|
2740
|
-
<line num="101" count="
|
|
2741
|
-
<line num="103" count="
|
|
2742
|
-
<line num="
|
|
2960
|
+
<line num="98" count="1" type="stmt"/>
|
|
2961
|
+
<line num="99" count="1" type="stmt"/>
|
|
2962
|
+
<line num="101" count="1" type="stmt"/>
|
|
2963
|
+
<line num="103" count="6" type="stmt"/>
|
|
2964
|
+
<line num="104" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
2965
|
+
<line num="105" count="2" type="stmt"/>
|
|
2966
|
+
<line num="107" count="4" type="stmt"/>
|
|
2967
|
+
<line num="111" count="33" type="stmt"/>
|
|
2743
2968
|
</file>
|
|
2744
2969
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/utils.js">
|
|
2745
|
-
<metrics statements="
|
|
2970
|
+
<metrics statements="67" coveredstatements="53" conditionals="36" coveredconditionals="29" methods="9" coveredmethods="8"/>
|
|
2746
2971
|
<line num="1" count="33" type="stmt"/>
|
|
2747
2972
|
<line num="2" count="33" type="stmt"/>
|
|
2748
2973
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -2754,59 +2979,62 @@
|
|
|
2754
2979
|
<line num="9" count="33" type="stmt"/>
|
|
2755
2980
|
<line num="11" count="33" type="stmt"/>
|
|
2756
2981
|
<line num="12" count="33" type="stmt"/>
|
|
2757
|
-
<line num="
|
|
2758
|
-
<line num="15" count="
|
|
2759
|
-
<line num="
|
|
2760
|
-
<line num="
|
|
2761
|
-
<line num="
|
|
2762
|
-
<line num="
|
|
2763
|
-
<line num="27" count="
|
|
2764
|
-
<line num="
|
|
2765
|
-
<line num="33" count="
|
|
2766
|
-
<line num="
|
|
2767
|
-
<line num="
|
|
2768
|
-
<line num="
|
|
2769
|
-
<line num="46" count="
|
|
2770
|
-
<line num="47" count="
|
|
2771
|
-
<line num="48" count="
|
|
2772
|
-
<line num="49" count="
|
|
2773
|
-
<line num="50" count="0" type="
|
|
2982
|
+
<line num="13" count="33" type="stmt"/>
|
|
2983
|
+
<line num="15" count="33" type="stmt"/>
|
|
2984
|
+
<line num="16" count="10" type="stmt"/>
|
|
2985
|
+
<line num="18" count="10" type="stmt"/>
|
|
2986
|
+
<line num="20" count="0" type="stmt"/>
|
|
2987
|
+
<line num="23" count="0" type="stmt"/>
|
|
2988
|
+
<line num="27" count="33" type="stmt"/>
|
|
2989
|
+
<line num="28" count="2" type="stmt"/>
|
|
2990
|
+
<line num="33" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
2991
|
+
<line num="34" count="0" type="stmt"/>
|
|
2992
|
+
<line num="36" count="2" type="stmt"/>
|
|
2993
|
+
<line num="40" count="2" type="stmt"/>
|
|
2994
|
+
<line num="46" count="33" type="stmt"/>
|
|
2995
|
+
<line num="47" count="186" type="stmt"/>
|
|
2996
|
+
<line num="48" count="186" type="stmt"/>
|
|
2997
|
+
<line num="49" count="186" type="stmt"/>
|
|
2998
|
+
<line num="50" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2774
2999
|
<line num="51" count="0" type="stmt"/>
|
|
2775
|
-
<line num="
|
|
2776
|
-
<line num="
|
|
2777
|
-
<line num="63" count="
|
|
2778
|
-
<line num="
|
|
2779
|
-
<line num="
|
|
2780
|
-
<line num="
|
|
3000
|
+
<line num="52" count="0" type="stmt"/>
|
|
3001
|
+
<line num="55" count="186" type="stmt"/>
|
|
3002
|
+
<line num="63" count="33" type="stmt"/>
|
|
3003
|
+
<line num="64" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
3004
|
+
<line num="66" count="1" type="stmt"/>
|
|
3005
|
+
<line num="73" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2781
3006
|
<line num="75" count="0" type="stmt"/>
|
|
2782
|
-
<line num="
|
|
3007
|
+
<line num="76" count="0" type="stmt"/>
|
|
2783
3008
|
<line num="84" count="0" type="stmt"/>
|
|
2784
3009
|
<line num="85" count="0" type="stmt"/>
|
|
2785
3010
|
<line num="86" count="0" type="stmt"/>
|
|
2786
3011
|
<line num="87" count="0" type="stmt"/>
|
|
2787
|
-
<line num="
|
|
2788
|
-
<line num="
|
|
2789
|
-
<line num="101" count="
|
|
3012
|
+
<line num="88" count="0" type="stmt"/>
|
|
3013
|
+
<line num="90" count="1" type="stmt"/>
|
|
3014
|
+
<line num="101" count="33" type="stmt"/>
|
|
2790
3015
|
<line num="102" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
2791
|
-
<line num="
|
|
2792
|
-
<line num="
|
|
2793
|
-
<line num="
|
|
2794
|
-
<line num="
|
|
3016
|
+
<line num="103" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
3017
|
+
<line num="105" count="23" type="cond" truecount="3" falsecount="0"/>
|
|
3018
|
+
<line num="107" count="70" type="stmt"/>
|
|
3019
|
+
<line num="114" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
2795
3020
|
<line num="119" count="1" type="stmt"/>
|
|
2796
|
-
<line num="
|
|
3021
|
+
<line num="120" count="1" type="stmt"/>
|
|
2797
3022
|
<line num="122" count="1" type="stmt"/>
|
|
2798
|
-
<line num="
|
|
2799
|
-
<line num="128" count="1" type="
|
|
3023
|
+
<line num="123" count="1" type="stmt"/>
|
|
3024
|
+
<line num="128" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2800
3025
|
<line num="129" count="1" type="stmt"/>
|
|
2801
|
-
<line num="
|
|
2802
|
-
<line num="
|
|
2803
|
-
<line num="
|
|
2804
|
-
<line num="
|
|
3026
|
+
<line num="130" count="1" type="stmt"/>
|
|
3027
|
+
<line num="132" count="1" type="stmt"/>
|
|
3028
|
+
<line num="138" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
3029
|
+
<line num="142" count="1" type="stmt"/>
|
|
2805
3030
|
<line num="152" count="1" type="stmt"/>
|
|
2806
3031
|
<line num="153" count="1" type="stmt"/>
|
|
2807
|
-
<line num="
|
|
3032
|
+
<line num="154" count="1" type="stmt"/>
|
|
2808
3033
|
<line num="158" count="1" type="stmt"/>
|
|
2809
|
-
<line num="
|
|
3034
|
+
<line num="159" count="1" type="stmt"/>
|
|
3035
|
+
<line num="164" count="23" type="stmt"/>
|
|
3036
|
+
<line num="172" count="33" type="stmt"/>
|
|
3037
|
+
<line num="173" count="0" type="stmt"/>
|
|
2810
3038
|
</file>
|
|
2811
3039
|
</package>
|
|
2812
3040
|
<package name="automations.steps">
|
|
@@ -3108,61 +3336,64 @@
|
|
|
3108
3336
|
<metrics statements="13" coveredstatements="13" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3109
3337
|
<file name="app.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggerInfo/app.js">
|
|
3110
3338
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3111
|
-
<line num="1" count="
|
|
3339
|
+
<line num="1" count="34" type="stmt"/>
|
|
3112
3340
|
</file>
|
|
3113
3341
|
<file name="cron.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggerInfo/cron.js">
|
|
3114
3342
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3115
|
-
<line num="1" count="
|
|
3343
|
+
<line num="1" count="34" type="stmt"/>
|
|
3116
3344
|
</file>
|
|
3117
3345
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggerInfo/index.js">
|
|
3118
3346
|
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3119
|
-
<line num="1" count="
|
|
3120
|
-
<line num="2" count="
|
|
3121
|
-
<line num="3" count="
|
|
3122
|
-
<line num="4" count="
|
|
3123
|
-
<line num="5" count="
|
|
3124
|
-
<line num="6" count="
|
|
3125
|
-
<line num="8" count="
|
|
3347
|
+
<line num="1" count="34" type="stmt"/>
|
|
3348
|
+
<line num="2" count="34" type="stmt"/>
|
|
3349
|
+
<line num="3" count="34" type="stmt"/>
|
|
3350
|
+
<line num="4" count="34" type="stmt"/>
|
|
3351
|
+
<line num="5" count="34" type="stmt"/>
|
|
3352
|
+
<line num="6" count="34" type="stmt"/>
|
|
3353
|
+
<line num="8" count="34" type="stmt"/>
|
|
3126
3354
|
</file>
|
|
3127
3355
|
<file name="rowDeleted.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggerInfo/rowDeleted.js">
|
|
3128
3356
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3129
|
-
<line num="1" count="
|
|
3357
|
+
<line num="1" count="34" type="stmt"/>
|
|
3130
3358
|
</file>
|
|
3131
3359
|
<file name="rowSaved.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggerInfo/rowSaved.js">
|
|
3132
3360
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3133
|
-
<line num="1" count="
|
|
3361
|
+
<line num="1" count="34" type="stmt"/>
|
|
3134
3362
|
</file>
|
|
3135
3363
|
<file name="rowUpdated.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggerInfo/rowUpdated.js">
|
|
3136
3364
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3137
|
-
<line num="1" count="
|
|
3365
|
+
<line num="1" count="34" type="stmt"/>
|
|
3138
3366
|
</file>
|
|
3139
3367
|
<file name="webhook.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggerInfo/webhook.js">
|
|
3140
3368
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3141
|
-
<line num="1" count="
|
|
3369
|
+
<line num="1" count="34" type="stmt"/>
|
|
3142
3370
|
</file>
|
|
3143
3371
|
</package>
|
|
3144
3372
|
<package name="constants">
|
|
3145
|
-
<metrics statements="
|
|
3373
|
+
<metrics statements="28" coveredstatements="28" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3146
3374
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/index.js">
|
|
3147
|
-
<metrics statements="
|
|
3148
|
-
<line num="1" count="
|
|
3149
|
-
<line num="2" count="
|
|
3150
|
-
<line num="3" count="
|
|
3151
|
-
<line num="5" count="
|
|
3152
|
-
<line num="9" count="
|
|
3153
|
-
<line num="22" count="
|
|
3154
|
-
<line num="23" count="
|
|
3155
|
-
<line num="32" count="
|
|
3156
|
-
<line num="48" count="
|
|
3157
|
-
<line num="
|
|
3158
|
-
<line num="
|
|
3159
|
-
<line num="67" count="
|
|
3160
|
-
<line num="
|
|
3161
|
-
<line num="
|
|
3162
|
-
<line num="
|
|
3163
|
-
<line num="
|
|
3164
|
-
<line num="
|
|
3165
|
-
<line num="
|
|
3375
|
+
<metrics statements="21" coveredstatements="21" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3376
|
+
<line num="1" count="41" type="stmt"/>
|
|
3377
|
+
<line num="2" count="41" type="stmt"/>
|
|
3378
|
+
<line num="3" count="41" type="stmt"/>
|
|
3379
|
+
<line num="5" count="41" type="stmt"/>
|
|
3380
|
+
<line num="9" count="41" type="stmt"/>
|
|
3381
|
+
<line num="22" count="41" type="stmt"/>
|
|
3382
|
+
<line num="23" count="41" type="stmt"/>
|
|
3383
|
+
<line num="32" count="41" type="stmt"/>
|
|
3384
|
+
<line num="48" count="41" type="stmt"/>
|
|
3385
|
+
<line num="55" count="41" type="stmt"/>
|
|
3386
|
+
<line num="61" count="41" type="stmt"/>
|
|
3387
|
+
<line num="67" count="41" type="stmt"/>
|
|
3388
|
+
<line num="78" count="41" type="stmt"/>
|
|
3389
|
+
<line num="83" count="41" type="stmt"/>
|
|
3390
|
+
<line num="145" count="41" type="stmt"/>
|
|
3391
|
+
<line num="153" count="41" type="stmt"/>
|
|
3392
|
+
<line num="154" count="41" type="stmt"/>
|
|
3393
|
+
<line num="161" count="41" type="stmt"/>
|
|
3394
|
+
<line num="166" count="41" type="stmt"/>
|
|
3395
|
+
<line num="172" count="41" type="stmt"/>
|
|
3396
|
+
<line num="178" count="41" type="stmt"/>
|
|
3166
3397
|
</file>
|
|
3167
3398
|
<file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
|
|
3168
3399
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -3175,7 +3406,7 @@
|
|
|
3175
3406
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3176
3407
|
<line num="1" count="33" type="stmt"/>
|
|
3177
3408
|
<line num="2" count="33" type="stmt"/>
|
|
3178
|
-
<line num="4" count="
|
|
3409
|
+
<line num="4" count="33" type="stmt"/>
|
|
3179
3410
|
</file>
|
|
3180
3411
|
</package>
|
|
3181
3412
|
<package name="db">
|
|
@@ -3233,119 +3464,119 @@
|
|
|
3233
3464
|
</file>
|
|
3234
3465
|
<file name="newid.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/newid.js">
|
|
3235
3466
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3236
|
-
<line num="1" count="
|
|
3237
|
-
<line num="3" count="
|
|
3238
|
-
<line num="4" count="
|
|
3467
|
+
<line num="1" count="47" type="stmt"/>
|
|
3468
|
+
<line num="3" count="47" type="stmt"/>
|
|
3469
|
+
<line num="4" count="630" type="stmt"/>
|
|
3239
3470
|
</file>
|
|
3240
3471
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3241
3472
|
<metrics statements="108" coveredstatements="100" conditionals="51" coveredconditionals="18" methods="30" coveredmethods="27"/>
|
|
3242
|
-
<line num="1" count="
|
|
3243
|
-
<line num="12" count="
|
|
3244
|
-
<line num="14" count="
|
|
3245
|
-
<line num="16" count="
|
|
3246
|
-
<line num="22" count="
|
|
3247
|
-
<line num="45" count="
|
|
3248
|
-
<line num="50" count="
|
|
3249
|
-
<line num="54" count="
|
|
3250
|
-
<line num="58" count="
|
|
3251
|
-
<line num="60" count="
|
|
3252
|
-
<line num="68" count="
|
|
3253
|
-
<line num="69" count="
|
|
3254
|
-
<line num="70" count="
|
|
3255
|
-
<line num="71" count="
|
|
3256
|
-
<line num="72" count="
|
|
3257
|
-
<line num="73" count="
|
|
3258
|
-
<line num="74" count="
|
|
3259
|
-
<line num="75" count="
|
|
3260
|
-
<line num="76" count="
|
|
3261
|
-
<line num="77" count="
|
|
3262
|
-
<line num="78" count="
|
|
3263
|
-
<line num="79" count="
|
|
3264
|
-
<line num="80" count="
|
|
3265
|
-
<line num="81" count="
|
|
3266
|
-
<line num="83" count="
|
|
3267
|
-
<line num="84" count="
|
|
3268
|
-
<line num="86" count="
|
|
3473
|
+
<line num="1" count="47" type="stmt"/>
|
|
3474
|
+
<line num="12" count="47" type="stmt"/>
|
|
3475
|
+
<line num="14" count="47" type="stmt"/>
|
|
3476
|
+
<line num="16" count="47" type="stmt"/>
|
|
3477
|
+
<line num="22" count="47" type="stmt"/>
|
|
3478
|
+
<line num="45" count="47" type="stmt"/>
|
|
3479
|
+
<line num="50" count="47" type="stmt"/>
|
|
3480
|
+
<line num="54" count="47" type="stmt"/>
|
|
3481
|
+
<line num="58" count="47" type="stmt"/>
|
|
3482
|
+
<line num="60" count="47" type="stmt"/>
|
|
3483
|
+
<line num="68" count="47" type="stmt"/>
|
|
3484
|
+
<line num="69" count="47" type="stmt"/>
|
|
3485
|
+
<line num="70" count="47" type="stmt"/>
|
|
3486
|
+
<line num="71" count="47" type="stmt"/>
|
|
3487
|
+
<line num="72" count="47" type="stmt"/>
|
|
3488
|
+
<line num="73" count="47" type="stmt"/>
|
|
3489
|
+
<line num="74" count="47" type="stmt"/>
|
|
3490
|
+
<line num="75" count="47" type="stmt"/>
|
|
3491
|
+
<line num="76" count="47" type="stmt"/>
|
|
3492
|
+
<line num="77" count="47" type="stmt"/>
|
|
3493
|
+
<line num="78" count="47" type="stmt"/>
|
|
3494
|
+
<line num="79" count="47" type="stmt"/>
|
|
3495
|
+
<line num="80" count="47" type="stmt"/>
|
|
3496
|
+
<line num="81" count="47" type="stmt"/>
|
|
3497
|
+
<line num="83" count="47" type="stmt"/>
|
|
3498
|
+
<line num="84" count="47" type="stmt"/>
|
|
3499
|
+
<line num="86" count="47" type="stmt"/>
|
|
3269
3500
|
<line num="87" count="74" type="stmt"/>
|
|
3270
|
-
<line num="103" count="
|
|
3271
|
-
<line num="104" count="
|
|
3272
|
-
<line num="106" count="
|
|
3273
|
-
<line num="113" count="
|
|
3274
|
-
<line num="118" count="
|
|
3501
|
+
<line num="103" count="606" type="cond" truecount="2" falsecount="0"/>
|
|
3502
|
+
<line num="104" count="593" type="stmt"/>
|
|
3503
|
+
<line num="106" count="606" type="stmt"/>
|
|
3504
|
+
<line num="113" count="47" type="stmt"/>
|
|
3505
|
+
<line num="118" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3275
3506
|
<line num="119" count="3" type="stmt"/>
|
|
3276
|
-
<line num="126" count="
|
|
3507
|
+
<line num="126" count="47" type="stmt"/>
|
|
3277
3508
|
<line num="127" count="99" type="stmt"/>
|
|
3278
|
-
<line num="138" count="
|
|
3509
|
+
<line num="138" count="47" type="cond" truecount="0" falsecount="3"/>
|
|
3279
3510
|
<line num="139" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
3280
3511
|
<line num="140" count="0" type="stmt"/>
|
|
3281
3512
|
<line num="143" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
3282
3513
|
<line num="145" count="11" type="stmt"/>
|
|
3283
|
-
<line num="154" count="
|
|
3284
|
-
<line num="155" count="
|
|
3285
|
-
<line num="156" count="
|
|
3286
|
-
<line num="162" count="
|
|
3514
|
+
<line num="154" count="47" type="cond" truecount="1" falsecount="0"/>
|
|
3515
|
+
<line num="155" count="201" type="cond" truecount="2" falsecount="0"/>
|
|
3516
|
+
<line num="156" count="201" type="stmt"/>
|
|
3517
|
+
<line num="162" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3287
3518
|
<line num="163" count="3" type="stmt"/>
|
|
3288
|
-
<line num="171" count="
|
|
3289
|
-
<line num="172" count="
|
|
3290
|
-
<line num="178" count="
|
|
3519
|
+
<line num="171" count="47" type="stmt"/>
|
|
3520
|
+
<line num="172" count="133" type="stmt"/>
|
|
3521
|
+
<line num="178" count="47" type="stmt"/>
|
|
3291
3522
|
<line num="179" count="2" type="stmt"/>
|
|
3292
3523
|
<line num="180" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
3293
3524
|
<line num="181" count="1" type="stmt"/>
|
|
3294
3525
|
<line num="183" count="1" type="stmt"/>
|
|
3295
|
-
<line num="189" count="
|
|
3296
|
-
<line num="190" count="
|
|
3297
|
-
<line num="197" count="
|
|
3526
|
+
<line num="189" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3527
|
+
<line num="190" count="204" type="stmt"/>
|
|
3528
|
+
<line num="197" count="47" type="stmt"/>
|
|
3298
3529
|
<line num="198" count="20" type="stmt"/>
|
|
3299
|
-
<line num="212" count="
|
|
3530
|
+
<line num="212" count="47" type="stmt"/>
|
|
3300
3531
|
<line num="220" count="9" type="stmt"/>
|
|
3301
3532
|
<line num="221" count="9" type="stmt"/>
|
|
3302
3533
|
<line num="222" count="9" type="stmt"/>
|
|
3303
3534
|
<line num="223" count="9" type="stmt"/>
|
|
3304
|
-
<line num="229" count="
|
|
3535
|
+
<line num="229" count="47" type="cond" truecount="0" falsecount="1"/>
|
|
3305
3536
|
<line num="230" count="0" type="stmt"/>
|
|
3306
|
-
<line num="237" count="
|
|
3307
|
-
<line num="238" count="
|
|
3308
|
-
<line num="239" count="
|
|
3537
|
+
<line num="237" count="47" type="cond" truecount="0" falsecount="1"/>
|
|
3538
|
+
<line num="238" count="179" type="stmt"/>
|
|
3539
|
+
<line num="239" count="179" type="cond" truecount="1" falsecount="1"/>
|
|
3309
3540
|
<line num="240" count="0" type="stmt"/>
|
|
3310
|
-
<line num="242" count="
|
|
3311
|
-
<line num="249" count="
|
|
3312
|
-
<line num="250" count="
|
|
3313
|
-
<line num="251" count="
|
|
3314
|
-
<line num="252" count="
|
|
3315
|
-
<line num="259" count="
|
|
3541
|
+
<line num="242" count="179" type="stmt"/>
|
|
3542
|
+
<line num="249" count="47" type="stmt"/>
|
|
3543
|
+
<line num="250" count="179" type="stmt"/>
|
|
3544
|
+
<line num="251" count="179" type="stmt"/>
|
|
3545
|
+
<line num="252" count="179" type="stmt"/>
|
|
3546
|
+
<line num="259" count="47" type="stmt"/>
|
|
3316
3547
|
<line num="260" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3317
|
-
<line num="266" count="
|
|
3318
|
-
<line num="267" count="
|
|
3319
|
-
<line num="274" count="
|
|
3320
|
-
<line num="275" count="
|
|
3321
|
-
<line num="281" count="
|
|
3322
|
-
<line num="282" count="
|
|
3323
|
-
<line num="289" count="
|
|
3548
|
+
<line num="266" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3549
|
+
<line num="267" count="189" type="stmt"/>
|
|
3550
|
+
<line num="274" count="47" type="stmt"/>
|
|
3551
|
+
<line num="275" count="19" type="stmt"/>
|
|
3552
|
+
<line num="281" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3553
|
+
<line num="282" count="191" type="stmt"/>
|
|
3554
|
+
<line num="289" count="47" type="stmt"/>
|
|
3324
3555
|
<line num="290" count="10" type="stmt"/>
|
|
3325
|
-
<line num="296" count="
|
|
3556
|
+
<line num="296" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3326
3557
|
<line num="297" count="2" type="stmt"/>
|
|
3327
|
-
<line num="304" count="
|
|
3328
|
-
<line num="305" count="
|
|
3329
|
-
<line num="313" count="
|
|
3558
|
+
<line num="304" count="47" type="cond" truecount="1" falsecount="1"/>
|
|
3559
|
+
<line num="305" count="24" type="stmt"/>
|
|
3560
|
+
<line num="313" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3330
3561
|
<line num="314" count="3" type="stmt"/>
|
|
3331
|
-
<line num="321" count="
|
|
3332
|
-
<line num="322" count="
|
|
3333
|
-
<line num="330" count="
|
|
3562
|
+
<line num="321" count="47" type="stmt"/>
|
|
3563
|
+
<line num="322" count="20" type="stmt"/>
|
|
3564
|
+
<line num="330" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3334
3565
|
<line num="331" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
3335
3566
|
<line num="332" count="2" type="stmt"/>
|
|
3336
3567
|
<line num="335" count="1" type="stmt"/>
|
|
3337
|
-
<line num="342" count="
|
|
3568
|
+
<line num="342" count="47" type="stmt"/>
|
|
3338
3569
|
<line num="343" count="10" type="stmt"/>
|
|
3339
|
-
<line num="346" count="
|
|
3570
|
+
<line num="346" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3340
3571
|
<line num="347" count="0" type="stmt"/>
|
|
3341
3572
|
<line num="348" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3342
3573
|
<line num="349" count="0" type="stmt"/>
|
|
3343
3574
|
<line num="351" count="0" type="stmt"/>
|
|
3344
|
-
<line num="354" count="
|
|
3575
|
+
<line num="354" count="47" type="stmt"/>
|
|
3345
3576
|
<line num="355" count="1" type="stmt"/>
|
|
3346
|
-
<line num="358" count="
|
|
3577
|
+
<line num="358" count="47" type="cond" truecount="0" falsecount="1"/>
|
|
3347
3578
|
<line num="359" count="0" type="stmt"/>
|
|
3348
|
-
<line num="365" count="
|
|
3579
|
+
<line num="365" count="47" type="stmt"/>
|
|
3349
3580
|
<line num="366" count="60" type="stmt"/>
|
|
3350
3581
|
</file>
|
|
3351
3582
|
</package>
|
|
@@ -3665,9 +3896,9 @@
|
|
|
3665
3896
|
<metrics statements="38" coveredstatements="34" conditionals="18" coveredconditionals="10" methods="8" coveredmethods="7"/>
|
|
3666
3897
|
<file name="AutomationEmitter.js" path="/home/runner/work/budibase/budibase/packages/server/src/events/AutomationEmitter.js">
|
|
3667
3898
|
<metrics statements="12" coveredstatements="9" conditionals="6" coveredconditionals="2" methods="3" coveredmethods="2"/>
|
|
3668
|
-
<line num="1" count="
|
|
3669
|
-
<line num="2" count="
|
|
3670
|
-
<line num="5" count="
|
|
3899
|
+
<line num="1" count="4" type="stmt"/>
|
|
3900
|
+
<line num="2" count="4" type="stmt"/>
|
|
3901
|
+
<line num="5" count="4" type="stmt"/>
|
|
3671
3902
|
<line num="15" count="7" type="stmt"/>
|
|
3672
3903
|
<line num="16" count="7" type="stmt"/>
|
|
3673
3904
|
<line num="23" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -3676,7 +3907,7 @@
|
|
|
3676
3907
|
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3677
3908
|
<line num="39" count="0" type="stmt"/>
|
|
3678
3909
|
<line num="41" count="0" type="stmt"/>
|
|
3679
|
-
<line num="51" count="
|
|
3910
|
+
<line num="51" count="4" type="stmt"/>
|
|
3680
3911
|
</file>
|
|
3681
3912
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/events/index.js">
|
|
3682
3913
|
<metrics statements="7" coveredstatements="7" conditionals="2" coveredconditionals="1" methods="3" coveredmethods="3"/>
|
|
@@ -3718,7 +3949,7 @@
|
|
|
3718
3949
|
</file>
|
|
3719
3950
|
</package>
|
|
3720
3951
|
<package name="middleware">
|
|
3721
|
-
<metrics statements="
|
|
3952
|
+
<metrics statements="224" coveredstatements="202" conditionals="152" coveredconditionals="121" methods="29" coveredmethods="29"/>
|
|
3722
3953
|
<file name="appInfo.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/appInfo.js">
|
|
3723
3954
|
<metrics statements="10" coveredstatements="8" conditionals="11" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
3724
3955
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -3733,77 +3964,80 @@
|
|
|
3733
3964
|
<line num="18" count="7" type="stmt"/>
|
|
3734
3965
|
</file>
|
|
3735
3966
|
<file name="authorized.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/authorized.js">
|
|
3736
|
-
<metrics statements="34" coveredstatements="34" conditionals="
|
|
3967
|
+
<metrics statements="34" coveredstatements="34" conditionals="28" coveredconditionals="25" methods="4" coveredmethods="4"/>
|
|
3737
3968
|
<line num="5" count="24" type="stmt"/>
|
|
3738
3969
|
<line num="9" count="24" type="stmt"/>
|
|
3739
3970
|
<line num="10" count="24" type="stmt"/>
|
|
3740
3971
|
<line num="11" count="24" type="stmt"/>
|
|
3741
3972
|
<line num="14" count="7" type="stmt"/>
|
|
3742
3973
|
<line num="17" count="24" type="stmt"/>
|
|
3743
|
-
<line num="19" count="
|
|
3744
|
-
<line num="
|
|
3745
|
-
<line num="
|
|
3746
|
-
<line num="
|
|
3747
|
-
<line num="
|
|
3748
|
-
<line num="
|
|
3749
|
-
<line num="
|
|
3750
|
-
<line num="
|
|
3751
|
-
<line num="
|
|
3752
|
-
<line num="
|
|
3753
|
-
<line num="
|
|
3754
|
-
<line num="
|
|
3755
|
-
<line num="
|
|
3756
|
-
<line num="
|
|
3757
|
-
<line num="
|
|
3758
|
-
<line num="48" count="7" type="stmt"/>
|
|
3974
|
+
<line num="19" count="2246" type="stmt"/>
|
|
3975
|
+
<line num="22" count="151" type="cond" truecount="4" falsecount="0"/>
|
|
3976
|
+
<line num="23" count="1" type="stmt"/>
|
|
3977
|
+
<line num="26" count="150" type="cond" truecount="2" falsecount="0"/>
|
|
3978
|
+
<line num="27" count="1" type="stmt"/>
|
|
3979
|
+
<line num="32" count="149" type="stmt"/>
|
|
3980
|
+
<line num="34" count="149" type="stmt"/>
|
|
3981
|
+
<line num="36" count="149" type="cond" truecount="3" falsecount="0"/>
|
|
3982
|
+
<line num="37" count="149" type="stmt"/>
|
|
3983
|
+
<line num="38" count="149" type="cond" truecount="2" falsecount="0"/>
|
|
3984
|
+
<line num="39" count="113" type="stmt"/>
|
|
3985
|
+
<line num="40" count="36" type="cond" truecount="4" falsecount="0"/>
|
|
3986
|
+
<line num="41" count="29" type="stmt"/>
|
|
3987
|
+
<line num="45" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
3988
|
+
<line num="46" count="7" type="stmt"/>
|
|
3759
3989
|
<line num="49" count="7" type="stmt"/>
|
|
3760
|
-
<line num="50" count="7" type="
|
|
3761
|
-
<line num="51" count="
|
|
3762
|
-
<line num="
|
|
3763
|
-
<line num="55" count="
|
|
3990
|
+
<line num="50" count="7" type="stmt"/>
|
|
3991
|
+
<line num="51" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
3992
|
+
<line num="52" count="3" type="stmt"/>
|
|
3993
|
+
<line num="55" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
3764
3994
|
<line num="56" count="1" type="stmt"/>
|
|
3765
|
-
<line num="
|
|
3766
|
-
<line num="59" count="
|
|
3767
|
-
<line num="60" count="6" type="
|
|
3768
|
-
<line num="
|
|
3769
|
-
<line num="65" count="4" type="
|
|
3770
|
-
<line num="
|
|
3995
|
+
<line num="57" count="1" type="stmt"/>
|
|
3996
|
+
<line num="59" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
3997
|
+
<line num="60" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
3998
|
+
<line num="61" count="6" type="stmt"/>
|
|
3999
|
+
<line num="65" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
4000
|
+
<line num="66" count="4" type="stmt"/>
|
|
4001
|
+
<line num="69" count="4" type="stmt"/>
|
|
3771
4002
|
</file>
|
|
3772
4003
|
<file name="builder.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/builder.js">
|
|
3773
|
-
<metrics statements="
|
|
4004
|
+
<metrics statements="36" coveredstatements="32" conditionals="22" coveredconditionals="17" methods="3" coveredmethods="3"/>
|
|
3774
4005
|
<line num="1" count="24" type="stmt"/>
|
|
3775
4006
|
<line num="7" count="24" type="stmt"/>
|
|
3776
4007
|
<line num="8" count="24" type="stmt"/>
|
|
3777
4008
|
<line num="9" count="24" type="stmt"/>
|
|
3778
4009
|
<line num="10" count="24" type="stmt"/>
|
|
3779
|
-
<line num="
|
|
3780
|
-
<line num="
|
|
3781
|
-
<line num="
|
|
3782
|
-
<line num="28" count="
|
|
3783
|
-
<line num="
|
|
3784
|
-
<line num="33" count="
|
|
3785
|
-
<line num="
|
|
3786
|
-
<line num="36" count="
|
|
3787
|
-
<line num="
|
|
3788
|
-
<line num="
|
|
3789
|
-
<line num="
|
|
3790
|
-
<line num="48" count="
|
|
3791
|
-
<line num="
|
|
4010
|
+
<line num="11" count="24" type="stmt"/>
|
|
4011
|
+
<line num="13" count="24" type="stmt"/>
|
|
4012
|
+
<line num="25" count="1" type="stmt"/>
|
|
4013
|
+
<line num="28" count="1" type="cond" truecount="2" falsecount="2"/>
|
|
4014
|
+
<line num="29" count="0" type="stmt"/>
|
|
4015
|
+
<line num="33" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
4016
|
+
<line num="34" count="0" type="stmt"/>
|
|
4017
|
+
<line num="36" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
4018
|
+
<line num="37" count="0" type="stmt"/>
|
|
4019
|
+
<line num="41" count="1" type="stmt"/>
|
|
4020
|
+
<line num="45" count="1" type="stmt"/>
|
|
4021
|
+
<line num="48" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
4022
|
+
<line num="49" count="0" type="stmt"/>
|
|
3792
4023
|
<line num="51" count="1" type="stmt"/>
|
|
3793
4024
|
<line num="52" count="1" type="stmt"/>
|
|
3794
4025
|
<line num="53" count="1" type="stmt"/>
|
|
4026
|
+
<line num="54" count="1" type="stmt"/>
|
|
3795
4027
|
<line num="55" count="1" type="stmt"/>
|
|
3796
|
-
<line num="
|
|
3797
|
-
<line num="
|
|
3798
|
-
<line num="61" count="
|
|
3799
|
-
<line num="62" count="
|
|
3800
|
-
<line num="64" count="
|
|
3801
|
-
<line num="65" count="
|
|
3802
|
-
<line num="
|
|
3803
|
-
<line num="68" count="
|
|
3804
|
-
<line num="69" count="
|
|
3805
|
-
<line num="
|
|
3806
|
-
<line num="
|
|
4028
|
+
<line num="56" count="1" type="stmt"/>
|
|
4029
|
+
<line num="58" count="1" type="stmt"/>
|
|
4030
|
+
<line num="61" count="24" type="stmt"/>
|
|
4031
|
+
<line num="62" count="149" type="stmt"/>
|
|
4032
|
+
<line num="64" count="149" type="cond" truecount="2" falsecount="0"/>
|
|
4033
|
+
<line num="65" count="5" type="stmt"/>
|
|
4034
|
+
<line num="67" count="144" type="stmt"/>
|
|
4035
|
+
<line num="68" count="144" type="stmt"/>
|
|
4036
|
+
<line num="69" count="144" type="cond" truecount="2" falsecount="0"/>
|
|
4037
|
+
<line num="71" count="144" type="cond" truecount="4" falsecount="0"/>
|
|
4038
|
+
<line num="72" count="143" type="stmt"/>
|
|
4039
|
+
<line num="75" count="1" type="stmt"/>
|
|
4040
|
+
<line num="77" count="1" type="stmt"/>
|
|
3807
4041
|
</file>
|
|
3808
4042
|
<file name="currentapp.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/currentapp.js">
|
|
3809
4043
|
<metrics statements="53" coveredstatements="44" conditionals="41" coveredconditionals="32" methods="1" coveredmethods="1"/>
|
|
@@ -3819,47 +4053,47 @@
|
|
|
3819
4053
|
<line num="11" count="28" type="stmt"/>
|
|
3820
4054
|
<line num="12" count="28" type="stmt"/>
|
|
3821
4055
|
<line num="14" count="28" type="stmt"/>
|
|
3822
|
-
<line num="16" count="
|
|
3823
|
-
<line num="18" count="
|
|
3824
|
-
<line num="19" count="
|
|
3825
|
-
<line num="20" count="
|
|
4056
|
+
<line num="16" count="161" type="stmt"/>
|
|
4057
|
+
<line num="18" count="161" type="stmt"/>
|
|
4058
|
+
<line num="19" count="161" type="stmt"/>
|
|
4059
|
+
<line num="20" count="161" type="stmt"/>
|
|
3826
4060
|
<line num="22" count="0" type="stmt"/>
|
|
3827
|
-
<line num="24" count="
|
|
4061
|
+
<line num="24" count="161" type="cond" truecount="4" falsecount="0"/>
|
|
3828
4062
|
<line num="25" count="1" type="stmt"/>
|
|
3829
|
-
<line num="28" count="
|
|
3830
|
-
<line num="29" count="
|
|
3831
|
-
<line num="30" count="
|
|
3832
|
-
<line num="31" count="
|
|
4063
|
+
<line num="28" count="160" type="cond" truecount="2" falsecount="0"/>
|
|
4064
|
+
<line num="29" count="154" type="stmt"/>
|
|
4065
|
+
<line num="30" count="154" type="stmt"/>
|
|
4066
|
+
<line num="31" count="154" type="cond" truecount="1" falsecount="1"/>
|
|
3833
4067
|
<line num="32" count="0" type="stmt"/>
|
|
3834
4068
|
<line num="33" count="0" type="stmt"/>
|
|
3835
|
-
<line num="36" count="
|
|
3836
|
-
<line num="40" count="
|
|
4069
|
+
<line num="36" count="154" type="cond" truecount="1" falsecount="1"/>
|
|
4070
|
+
<line num="40" count="160" type="cond" truecount="2" falsecount="0"/>
|
|
3837
4071
|
<line num="45" count="2" type="stmt"/>
|
|
3838
4072
|
<line num="46" count="2" type="stmt"/>
|
|
3839
|
-
<line num="50" count="
|
|
3840
|
-
<line num="51" count="
|
|
4073
|
+
<line num="50" count="158" type="stmt"/>
|
|
4074
|
+
<line num="51" count="158" type="cond" truecount="2" falsecount="0"/>
|
|
3841
4075
|
<line num="53" count="33" type="stmt"/>
|
|
3842
|
-
<line num="54" count="
|
|
3843
|
-
<line num="56" count="
|
|
3844
|
-
<line num="57" count="
|
|
3845
|
-
<line num="59" count="
|
|
3846
|
-
<line num="63" count="
|
|
4076
|
+
<line num="54" count="125" type="cond" truecount="1" falsecount="1"/>
|
|
4077
|
+
<line num="56" count="125" type="stmt"/>
|
|
4078
|
+
<line num="57" count="125" type="stmt"/>
|
|
4079
|
+
<line num="59" count="125" type="cond" truecount="2" falsecount="0"/>
|
|
4080
|
+
<line num="63" count="158" type="cond" truecount="1" falsecount="1"/>
|
|
3847
4081
|
<line num="64" count="0" type="stmt"/>
|
|
3848
|
-
<line num="67" count="
|
|
3849
|
-
<line num="70" count="
|
|
4082
|
+
<line num="67" count="158" type="stmt"/>
|
|
4083
|
+
<line num="70" count="158" type="cond" truecount="1" falsecount="1"/>
|
|
3850
4084
|
<line num="77" count="0" type="stmt"/>
|
|
3851
4085
|
<line num="78" count="0" type="stmt"/>
|
|
3852
4086
|
<line num="79" count="0" type="stmt"/>
|
|
3853
4087
|
<line num="80" count="0" type="stmt"/>
|
|
3854
4088
|
<line num="81" count="0" type="stmt"/>
|
|
3855
|
-
<line num="84" count="
|
|
3856
|
-
<line num="85" count="
|
|
3857
|
-
<line num="86" count="
|
|
3858
|
-
<line num="87" count="
|
|
3859
|
-
<line num="88" count="
|
|
3860
|
-
<line num="97" count="
|
|
4089
|
+
<line num="84" count="158" type="stmt"/>
|
|
4090
|
+
<line num="85" count="158" type="cond" truecount="1" falsecount="1"/>
|
|
4091
|
+
<line num="86" count="158" type="stmt"/>
|
|
4092
|
+
<line num="87" count="158" type="cond" truecount="2" falsecount="0"/>
|
|
4093
|
+
<line num="88" count="158" type="stmt"/>
|
|
4094
|
+
<line num="97" count="158" type="cond" truecount="2" falsecount="0"/>
|
|
3861
4095
|
<line num="103" count="7" type="stmt"/>
|
|
3862
|
-
<line num="106" count="
|
|
4096
|
+
<line num="106" count="158" type="stmt"/>
|
|
3863
4097
|
</file>
|
|
3864
4098
|
<file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
|
|
3865
4099
|
<metrics statements="17" coveredstatements="14" conditionals="8" coveredconditionals="5" methods="4" coveredmethods="4"/>
|
|
@@ -3883,29 +4117,29 @@
|
|
|
3883
4117
|
</file>
|
|
3884
4118
|
<file name="resourceId.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/resourceId.js">
|
|
3885
4119
|
<metrics statements="29" coveredstatements="29" conditionals="12" coveredconditionals="12" methods="9" coveredmethods="9"/>
|
|
3886
|
-
<line num="3" count="
|
|
3887
|
-
<line num="4" count="
|
|
3888
|
-
<line num="5" count="
|
|
3889
|
-
<line num="6" count="
|
|
3890
|
-
<line num="10" count="
|
|
3891
|
-
<line num="11" count="
|
|
4120
|
+
<line num="3" count="604" type="stmt"/>
|
|
4121
|
+
<line num="4" count="604" type="stmt"/>
|
|
4122
|
+
<line num="5" count="604" type="stmt"/>
|
|
4123
|
+
<line num="6" count="604" type="stmt"/>
|
|
4124
|
+
<line num="10" count="604" type="stmt"/>
|
|
4125
|
+
<line num="11" count="604" type="stmt"/>
|
|
3892
4126
|
<line num="15" count="72" type="stmt"/>
|
|
3893
4127
|
<line num="16" count="72" type="stmt"/>
|
|
3894
|
-
<line num="20" count="
|
|
3895
|
-
<line num="21" count="
|
|
3896
|
-
<line num="22" count="
|
|
3897
|
-
<line num="23" count="
|
|
3898
|
-
<line num="24" count="
|
|
3899
|
-
<line num="25" count="
|
|
4128
|
+
<line num="20" count="604" type="stmt"/>
|
|
4129
|
+
<line num="21" count="604" type="stmt"/>
|
|
4130
|
+
<line num="22" count="604" type="stmt"/>
|
|
4131
|
+
<line num="23" count="604" type="stmt"/>
|
|
4132
|
+
<line num="24" count="58" type="cond" truecount="2" falsecount="0"/>
|
|
4133
|
+
<line num="25" count="58" type="cond" truecount="2" falsecount="0"/>
|
|
3900
4134
|
<line num="26" count="1" type="stmt"/>
|
|
3901
|
-
<line num="28" count="
|
|
3902
|
-
<line num="29" count="
|
|
3903
|
-
<line num="31" count="
|
|
4135
|
+
<line num="28" count="57" type="cond" truecount="4" falsecount="0"/>
|
|
4136
|
+
<line num="29" count="53" type="stmt"/>
|
|
4137
|
+
<line num="31" count="57" type="cond" truecount="4" falsecount="0"/>
|
|
3904
4138
|
<line num="32" count="11" type="stmt"/>
|
|
3905
|
-
<line num="34" count="
|
|
4139
|
+
<line num="34" count="57" type="stmt"/>
|
|
3906
4140
|
<line num="39" count="24" type="stmt"/>
|
|
3907
4141
|
<line num="41" count="24" type="stmt"/>
|
|
3908
|
-
<line num="42" count="
|
|
4142
|
+
<line num="42" count="462" type="stmt"/>
|
|
3909
4143
|
<line num="45" count="24" type="stmt"/>
|
|
3910
4144
|
<line num="46" count="47" type="stmt"/>
|
|
3911
4145
|
<line num="52" count="24" type="stmt"/>
|
|
@@ -3965,11 +4199,157 @@
|
|
|
3965
4199
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3966
4200
|
<line num="1" count="29" type="stmt"/>
|
|
3967
4201
|
<line num="5" count="29" type="stmt"/>
|
|
3968
|
-
<line num="6" count="
|
|
4202
|
+
<line num="6" count="271" type="stmt"/>
|
|
4203
|
+
</file>
|
|
4204
|
+
</package>
|
|
4205
|
+
<package name="threads">
|
|
4206
|
+
<metrics statements="134" coveredstatements="108" conditionals="53" coveredconditionals="30" methods="22" coveredmethods="20"/>
|
|
4207
|
+
<file name="automation.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/automation.js">
|
|
4208
|
+
<metrics statements="76" coveredstatements="64" conditionals="23" coveredconditionals="13" methods="10" coveredmethods="9"/>
|
|
4209
|
+
<line num="2" count="4" type="stmt"/>
|
|
4210
|
+
<line num="3" count="4" type="stmt"/>
|
|
4211
|
+
<line num="4" count="4" type="stmt"/>
|
|
4212
|
+
<line num="5" count="4" type="stmt"/>
|
|
4213
|
+
<line num="6" count="4" type="stmt"/>
|
|
4214
|
+
<line num="7" count="4" type="stmt"/>
|
|
4215
|
+
<line num="8" count="4" type="stmt"/>
|
|
4216
|
+
<line num="9" count="4" type="stmt"/>
|
|
4217
|
+
<line num="10" count="4" type="stmt"/>
|
|
4218
|
+
<line num="11" count="4" type="stmt"/>
|
|
4219
|
+
<line num="12" count="4" type="stmt"/>
|
|
4220
|
+
<line num="13" count="4" type="stmt"/>
|
|
4221
|
+
<line num="15" count="4" type="stmt"/>
|
|
4222
|
+
<line num="16" count="4" type="stmt"/>
|
|
4223
|
+
<line num="17" count="4" type="stmt"/>
|
|
4224
|
+
<line num="26" count="7" type="stmt"/>
|
|
4225
|
+
<line num="27" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
4226
|
+
<line num="28" count="7" type="stmt"/>
|
|
4227
|
+
<line num="29" count="7" type="stmt"/>
|
|
4228
|
+
<line num="30" count="7" type="stmt"/>
|
|
4229
|
+
<line num="31" count="7" type="stmt"/>
|
|
4230
|
+
<line num="33" count="7" type="stmt"/>
|
|
4231
|
+
<line num="34" count="7" type="stmt"/>
|
|
4232
|
+
<line num="36" count="7" type="stmt"/>
|
|
4233
|
+
<line num="37" count="7" type="stmt"/>
|
|
4234
|
+
<line num="40" count="7" type="stmt"/>
|
|
4235
|
+
<line num="41" count="7" type="stmt"/>
|
|
4236
|
+
<line num="43" count="7" type="stmt"/>
|
|
4237
|
+
<line num="44" count="7" type="stmt"/>
|
|
4238
|
+
<line num="48" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
4239
|
+
<line num="49" count="0" type="stmt"/>
|
|
4240
|
+
<line num="51" count="7" type="stmt"/>
|
|
4241
|
+
<line num="55" count="5" type="stmt"/>
|
|
4242
|
+
<line num="56" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4243
|
+
<line num="57" count="0" type="stmt"/>
|
|
4244
|
+
<line num="59" count="5" type="stmt"/>
|
|
4245
|
+
<line num="63" count="7" type="stmt"/>
|
|
4246
|
+
<line num="64" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
4247
|
+
<line num="65" count="0" type="stmt"/>
|
|
4248
|
+
<line num="67" count="7" type="stmt"/>
|
|
4249
|
+
<line num="68" count="7" type="stmt"/>
|
|
4250
|
+
<line num="69" count="6" type="stmt"/>
|
|
4251
|
+
<line num="73" count="12" type="stmt"/>
|
|
4252
|
+
<line num="75" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
4253
|
+
<line num="76" count="7" type="stmt"/>
|
|
4254
|
+
<line num="78" count="12" type="stmt"/>
|
|
4255
|
+
<line num="82" count="7" type="stmt"/>
|
|
4256
|
+
<line num="83" count="7" type="stmt"/>
|
|
4257
|
+
<line num="84" count="6" type="stmt"/>
|
|
4258
|
+
<line num="85" count="6" type="stmt"/>
|
|
4259
|
+
<line num="87" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4260
|
+
<line num="88" count="0" type="stmt"/>
|
|
4261
|
+
<line num="89" count="0" type="stmt"/>
|
|
4262
|
+
<line num="91" count="5" type="stmt"/>
|
|
4263
|
+
<line num="92" count="5" type="stmt"/>
|
|
4264
|
+
<line num="93" count="5" type="stmt"/>
|
|
4265
|
+
<line num="98" count="5" type="stmt"/>
|
|
4266
|
+
<line num="99" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4267
|
+
<line num="100" count="5" type="stmt"/>
|
|
4268
|
+
<line num="101" count="5" type="stmt"/>
|
|
4269
|
+
<line num="108" count="5" type="stmt"/>
|
|
4270
|
+
<line num="111" count="5" type="cond" truecount="2" falsecount="2"/>
|
|
4271
|
+
<line num="112" count="0" type="stmt"/>
|
|
4272
|
+
<line num="113" count="0" type="stmt"/>
|
|
4273
|
+
<line num="117" count="0" type="stmt"/>
|
|
4274
|
+
<line num="119" count="5" type="stmt"/>
|
|
4275
|
+
<line num="121" count="0" type="stmt"/>
|
|
4276
|
+
<line num="122" count="0" type="stmt"/>
|
|
4277
|
+
<line num="127" count="6" type="cond" truecount="2" falsecount="2"/>
|
|
4278
|
+
<line num="128" count="0" type="stmt"/>
|
|
4279
|
+
<line num="130" count="6" type="stmt"/>
|
|
4280
|
+
<line num="134" count="4" type="stmt"/>
|
|
4281
|
+
<line num="135" count="7" type="stmt"/>
|
|
4282
|
+
<line num="139" count="7" type="stmt"/>
|
|
4283
|
+
<line num="142" count="6" type="stmt"/>
|
|
4284
|
+
<line num="145" count="0" type="stmt"/>
|
|
4285
|
+
</file>
|
|
4286
|
+
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/index.js">
|
|
4287
|
+
<metrics statements="29" coveredstatements="23" conditionals="18" coveredconditionals="10" methods="5" coveredmethods="5"/>
|
|
4288
|
+
<line num="1" count="34" type="stmt"/>
|
|
4289
|
+
<line num="2" count="34" type="stmt"/>
|
|
4290
|
+
<line num="4" count="34" type="stmt"/>
|
|
4291
|
+
<line num="10" count="14" type="stmt"/>
|
|
4292
|
+
<line num="11" count="14" type="cond" truecount="2" falsecount="1"/>
|
|
4293
|
+
<line num="13" count="4" type="stmt"/>
|
|
4294
|
+
<line num="14" count="4" type="stmt"/>
|
|
4295
|
+
<line num="16" count="10" type="stmt"/>
|
|
4296
|
+
<line num="17" count="10" type="stmt"/>
|
|
4297
|
+
<line num="19" count="0" type="stmt"/>
|
|
4298
|
+
<line num="21" count="14" type="stmt"/>
|
|
4299
|
+
<line num="26" count="67" type="stmt"/>
|
|
4300
|
+
<line num="27" count="67" type="cond" truecount="2" falsecount="0"/>
|
|
4301
|
+
<line num="28" count="67" type="stmt"/>
|
|
4302
|
+
<line num="33" count="67" type="cond" truecount="1" falsecount="1"/>
|
|
4303
|
+
<line num="34" count="0" type="stmt"/>
|
|
4304
|
+
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4305
|
+
<line num="39" count="0" type="stmt"/>
|
|
4306
|
+
<line num="41" count="0" type="stmt"/>
|
|
4307
|
+
<line num="46" count="14" type="stmt"/>
|
|
4308
|
+
<line num="49" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
4309
|
+
<line num="50" count="14" type="stmt"/>
|
|
4310
|
+
<line num="52" count="0" type="stmt"/>
|
|
4311
|
+
<line num="54" count="14" type="stmt"/>
|
|
4312
|
+
<line num="55" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
4313
|
+
<line num="56" count="2" type="stmt"/>
|
|
4314
|
+
<line num="58" count="8" type="stmt"/>
|
|
4315
|
+
<line num="65" count="34" type="stmt"/>
|
|
4316
|
+
<line num="66" count="34" type="stmt"/>
|
|
4317
|
+
</file>
|
|
4318
|
+
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/query.js">
|
|
4319
|
+
<metrics statements="29" coveredstatements="21" conditionals="12" coveredconditionals="7" methods="7" coveredmethods="6"/>
|
|
4320
|
+
<line num="2" count="1" type="stmt"/>
|
|
4321
|
+
<line num="3" count="1" type="stmt"/>
|
|
4322
|
+
<line num="4" count="1" type="stmt"/>
|
|
4323
|
+
<line num="5" count="1" type="stmt"/>
|
|
4324
|
+
<line num="8" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4325
|
+
<line num="9" count="0" type="stmt"/>
|
|
4326
|
+
<line num="10" count="0" type="stmt"/>
|
|
4327
|
+
<line num="12" count="0" type="stmt"/>
|
|
4328
|
+
<line num="15" count="2" type="stmt"/>
|
|
4329
|
+
<line num="19" count="4" type="stmt"/>
|
|
4330
|
+
<line num="20" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
4331
|
+
<line num="21" count="2" type="stmt"/>
|
|
4332
|
+
<line num="23" count="2" type="stmt"/>
|
|
4333
|
+
<line num="25" count="2" type="stmt"/>
|
|
4334
|
+
<line num="28" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4335
|
+
<line num="29" count="0" type="stmt"/>
|
|
4336
|
+
<line num="30" count="0" type="stmt"/>
|
|
4337
|
+
<line num="34" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4338
|
+
<line num="35" count="0" type="stmt"/>
|
|
4339
|
+
<line num="39" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4340
|
+
<line num="40" count="0" type="stmt"/>
|
|
4341
|
+
<line num="44" count="2" type="stmt"/>
|
|
4342
|
+
<line num="46" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4343
|
+
<line num="47" count="0" type="stmt"/>
|
|
4344
|
+
<line num="50" count="2" type="stmt"/>
|
|
4345
|
+
<line num="53" count="1" type="stmt"/>
|
|
4346
|
+
<line num="54" count="4" type="stmt"/>
|
|
4347
|
+
<line num="61" count="2" type="stmt"/>
|
|
4348
|
+
<line num="64" count="2" type="stmt"/>
|
|
3969
4349
|
</file>
|
|
3970
4350
|
</package>
|
|
3971
4351
|
<package name="utilities">
|
|
3972
|
-
<metrics statements="
|
|
4352
|
+
<metrics statements="322" coveredstatements="232" conditionals="121" coveredconditionals="66" methods="62" coveredmethods="42"/>
|
|
3973
4353
|
<file name="bcrypt.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/bcrypt.js">
|
|
3974
4354
|
<metrics statements="9" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
3975
4355
|
<line num="3" count="0" type="stmt"/>
|
|
@@ -4001,7 +4381,7 @@
|
|
|
4001
4381
|
<line num="21" count="0" type="stmt"/>
|
|
4002
4382
|
</file>
|
|
4003
4383
|
<file name="csvParser.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/csvParser.js">
|
|
4004
|
-
<metrics statements="
|
|
4384
|
+
<metrics statements="71" coveredstatements="56" conditionals="32" coveredconditionals="22" methods="15" coveredmethods="12"/>
|
|
4005
4385
|
<line num="1" count="35" type="stmt"/>
|
|
4006
4386
|
<line num="2" count="35" type="stmt"/>
|
|
4007
4387
|
<line num="4" count="35" type="stmt"/>
|
|
@@ -4038,18 +4418,44 @@
|
|
|
4038
4418
|
<line num="70" count="0" type="stmt"/>
|
|
4039
4419
|
<line num="71" count="0" type="stmt"/>
|
|
4040
4420
|
<line num="74" count="3" type="stmt"/>
|
|
4041
|
-
<line num="80" count="
|
|
4042
|
-
<line num="
|
|
4043
|
-
<line num="83" count="
|
|
4044
|
-
<line num="
|
|
4421
|
+
<line num="80" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
4422
|
+
<line num="81" count="0" type="stmt"/>
|
|
4423
|
+
<line num="83" count="1" type="stmt"/>
|
|
4424
|
+
<line num="84" count="1" type="stmt"/>
|
|
4425
|
+
<line num="85" count="4" type="stmt"/>
|
|
4426
|
+
<line num="86" count="1" type="stmt"/>
|
|
4045
4427
|
<line num="87" count="4" type="stmt"/>
|
|
4046
|
-
<line num="88" count="
|
|
4047
|
-
<line num="
|
|
4048
|
-
<line num="
|
|
4049
|
-
<line num="
|
|
4428
|
+
<line num="88" count="4" type="stmt"/>
|
|
4429
|
+
<line num="89" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
4430
|
+
<line num="90" count="4" type="stmt"/>
|
|
4431
|
+
<line num="91" count="4" type="stmt"/>
|
|
4432
|
+
<line num="94" count="1" type="stmt"/>
|
|
4433
|
+
<line num="98" count="4" type="stmt"/>
|
|
4434
|
+
<line num="101" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
4435
|
+
<line num="102" count="1" type="stmt"/>
|
|
4436
|
+
<line num="105" count="4" type="stmt"/>
|
|
4437
|
+
<line num="106" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
4438
|
+
<line num="109" count="4" type="stmt"/>
|
|
4439
|
+
<line num="110" count="4" type="stmt"/>
|
|
4440
|
+
<line num="111" count="3" type="stmt"/>
|
|
4441
|
+
<line num="112" count="8" type="stmt"/>
|
|
4442
|
+
<line num="113" count="3" type="stmt"/>
|
|
4443
|
+
<line num="114" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
4444
|
+
<line num="115" count="0" type="stmt"/>
|
|
4445
|
+
<line num="117" count="7" type="stmt"/>
|
|
4446
|
+
<line num="118" count="16" type="stmt"/>
|
|
4447
|
+
<line num="120" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
4448
|
+
<line num="121" count="6" type="stmt"/>
|
|
4449
|
+
<line num="124" count="10" type="cond" truecount="1" falsecount="1"/>
|
|
4450
|
+
<line num="125" count="0" type="stmt"/>
|
|
4451
|
+
<line num="126" count="0" type="stmt"/>
|
|
4452
|
+
<line num="130" count="3" type="stmt"/>
|
|
4453
|
+
<line num="132" count="1" type="stmt"/>
|
|
4454
|
+
<line num="133" count="1" type="stmt"/>
|
|
4455
|
+
<line num="137" count="35" type="stmt"/>
|
|
4050
4456
|
</file>
|
|
4051
4457
|
<file name="global.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/global.js">
|
|
4052
|
-
<metrics statements="
|
|
4458
|
+
<metrics statements="56" coveredstatements="46" conditionals="25" coveredconditionals="17" methods="15" coveredmethods="11"/>
|
|
4053
4459
|
<line num="4" count="39" type="stmt"/>
|
|
4054
4460
|
<line num="5" count="39" type="stmt"/>
|
|
4055
4461
|
<line num="6" count="39" type="stmt"/>
|
|
@@ -4058,54 +4464,57 @@
|
|
|
4058
4464
|
<line num="9" count="39" type="stmt"/>
|
|
4059
4465
|
<line num="10" count="39" type="stmt"/>
|
|
4060
4466
|
<line num="12" count="39" type="stmt"/>
|
|
4061
|
-
<line num="13" count="
|
|
4467
|
+
<line num="13" count="134" type="cond" truecount="4" falsecount="0"/>
|
|
4062
4468
|
<line num="14" count="3" type="stmt"/>
|
|
4063
|
-
<line num="17" count="
|
|
4469
|
+
<line num="17" count="131" type="cond" truecount="2" falsecount="2"/>
|
|
4064
4470
|
<line num="18" count="0" type="stmt"/>
|
|
4065
4471
|
<line num="19" count="0" type="stmt"/>
|
|
4066
4472
|
<line num="20" count="0" type="stmt"/>
|
|
4067
4473
|
<line num="21" count="0" type="stmt"/>
|
|
4068
|
-
<line num="24" count="
|
|
4069
|
-
<line num="26" count="
|
|
4070
|
-
<line num="27" count="
|
|
4474
|
+
<line num="24" count="131" type="stmt"/>
|
|
4475
|
+
<line num="26" count="131" type="cond" truecount="5" falsecount="0"/>
|
|
4476
|
+
<line num="27" count="126" type="stmt"/>
|
|
4071
4477
|
<line num="28" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4072
4478
|
<line num="29" count="0" type="stmt"/>
|
|
4073
|
-
<line num="31" count="
|
|
4074
|
-
<line num="32" count="
|
|
4075
|
-
<line num="36" count="
|
|
4076
|
-
<line num="37" count="
|
|
4077
|
-
<line num="39" count="
|
|
4479
|
+
<line num="31" count="131" type="stmt"/>
|
|
4480
|
+
<line num="32" count="131" type="stmt"/>
|
|
4481
|
+
<line num="36" count="127" type="cond" truecount="1" falsecount="1"/>
|
|
4482
|
+
<line num="37" count="127" type="stmt"/>
|
|
4483
|
+
<line num="39" count="127" type="stmt"/>
|
|
4078
4484
|
<line num="42" count="39" type="stmt"/>
|
|
4079
|
-
<line num="45" count="
|
|
4080
|
-
<line num="46" count="
|
|
4485
|
+
<line num="45" count="125" type="stmt"/>
|
|
4486
|
+
<line num="46" count="125" type="stmt"/>
|
|
4081
4487
|
<line num="49" count="39" type="stmt"/>
|
|
4082
4488
|
<line num="50" count="2" type="stmt"/>
|
|
4083
4489
|
<line num="51" count="2" type="stmt"/>
|
|
4084
|
-
<line num="
|
|
4085
|
-
<line num="55" count="
|
|
4086
|
-
<line num="56" count="
|
|
4087
|
-
<line num="
|
|
4088
|
-
<line num="
|
|
4089
|
-
<line num="
|
|
4090
|
-
<line num="
|
|
4091
|
-
<line num="64" count="
|
|
4092
|
-
<line num="
|
|
4093
|
-
<line num="
|
|
4094
|
-
<line num="
|
|
4095
|
-
<line num="
|
|
4096
|
-
<line num="
|
|
4097
|
-
<line num="
|
|
4098
|
-
<line num="
|
|
4099
|
-
<line num="81" count="
|
|
4100
|
-
<line num="
|
|
4101
|
-
<line num="
|
|
4102
|
-
<line num="86" count="
|
|
4103
|
-
<line num="
|
|
4104
|
-
<line num="
|
|
4105
|
-
<line num="
|
|
4490
|
+
<line num="54" count="39" type="stmt"/>
|
|
4491
|
+
<line num="55" count="2" type="stmt"/>
|
|
4492
|
+
<line num="56" count="2" type="stmt"/>
|
|
4493
|
+
<line num="59" count="39" type="cond" truecount="1" falsecount="1"/>
|
|
4494
|
+
<line num="60" count="32" type="stmt"/>
|
|
4495
|
+
<line num="62" count="32" type="cond" truecount="2" falsecount="0"/>
|
|
4496
|
+
<line num="63" count="30" type="stmt"/>
|
|
4497
|
+
<line num="64" count="30" type="stmt"/>
|
|
4498
|
+
<line num="65" count="0" type="stmt"/>
|
|
4499
|
+
<line num="68" count="2" type="stmt"/>
|
|
4500
|
+
<line num="74" count="7" type="stmt"/>
|
|
4501
|
+
<line num="76" count="32" type="stmt"/>
|
|
4502
|
+
<line num="77" count="7" type="stmt"/>
|
|
4503
|
+
<line num="79" count="7" type="stmt"/>
|
|
4504
|
+
<line num="80" count="7" type="stmt"/>
|
|
4505
|
+
<line num="81" count="7" type="stmt"/>
|
|
4506
|
+
<line num="83" count="32" type="cond" truecount="1" falsecount="1"/>
|
|
4507
|
+
<line num="84" count="0" type="stmt"/>
|
|
4508
|
+
<line num="86" count="32" type="stmt"/>
|
|
4509
|
+
<line num="89" count="39" type="stmt"/>
|
|
4510
|
+
<line num="90" count="30" type="stmt"/>
|
|
4511
|
+
<line num="91" count="30" type="stmt"/>
|
|
4512
|
+
<line num="92" count="0" type="stmt"/>
|
|
4513
|
+
<line num="93" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4514
|
+
<line num="95" count="0" type="stmt"/>
|
|
4106
4515
|
</file>
|
|
4107
4516
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/index.js">
|
|
4108
|
-
<metrics statements="
|
|
4517
|
+
<metrics statements="68" coveredstatements="48" conditionals="18" coveredconditionals="7" methods="15" coveredmethods="11"/>
|
|
4109
4518
|
<line num="1" count="36" type="stmt"/>
|
|
4110
4519
|
<line num="2" count="36" type="stmt"/>
|
|
4111
4520
|
<line num="3" count="36" type="stmt"/>
|
|
@@ -4121,68 +4530,75 @@
|
|
|
4121
4530
|
<line num="17" count="1" type="stmt"/>
|
|
4122
4531
|
<line num="19" count="1" type="stmt"/>
|
|
4123
4532
|
<line num="28" count="36" type="stmt"/>
|
|
4124
|
-
<line num="29" count="
|
|
4533
|
+
<line num="29" count="187" type="stmt"/>
|
|
4125
4534
|
<line num="36" count="36" type="stmt"/>
|
|
4126
4535
|
<line num="37" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
4127
4536
|
<line num="39" count="2" type="stmt"/>
|
|
4128
4537
|
<line num="41" count="0" type="stmt"/>
|
|
4129
|
-
<line num="
|
|
4130
|
-
<line num="
|
|
4131
|
-
<line num="
|
|
4132
|
-
<line num="
|
|
4133
|
-
<line num="
|
|
4134
|
-
<line num="
|
|
4135
|
-
<line num="
|
|
4136
|
-
<line num="
|
|
4137
|
-
<line num="
|
|
4138
|
-
<line num="
|
|
4139
|
-
<line num="76" count="3" type="stmt"/>
|
|
4538
|
+
<line num="55" count="36" type="stmt"/>
|
|
4539
|
+
<line num="56" count="188" type="cond" truecount="1" falsecount="1"/>
|
|
4540
|
+
<line num="57" count="0" type="stmt"/>
|
|
4541
|
+
<line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4542
|
+
<line num="62" count="0" type="stmt"/>
|
|
4543
|
+
<line num="64" count="0" type="stmt"/>
|
|
4544
|
+
<line num="66" count="188" type="stmt"/>
|
|
4545
|
+
<line num="70" count="36" type="stmt"/>
|
|
4546
|
+
<line num="71" count="2" type="stmt"/>
|
|
4547
|
+
<line num="76" count="36" type="stmt"/>
|
|
4140
4548
|
<line num="77" count="3" type="stmt"/>
|
|
4141
|
-
<line num="
|
|
4549
|
+
<line num="78" count="3" type="stmt"/>
|
|
4142
4550
|
<line num="81" count="3" type="stmt"/>
|
|
4143
4551
|
<line num="82" count="3" type="stmt"/>
|
|
4144
|
-
<line num="83" count="
|
|
4552
|
+
<line num="83" count="3" type="stmt"/>
|
|
4145
4553
|
<line num="84" count="0" type="stmt"/>
|
|
4146
|
-
<line num="
|
|
4554
|
+
<line num="85" count="0" type="stmt"/>
|
|
4147
4555
|
<line num="87" count="3" type="stmt"/>
|
|
4148
|
-
<line num="
|
|
4149
|
-
<line num="90" count="3" type="
|
|
4150
|
-
<line num="91" count="
|
|
4151
|
-
<line num="
|
|
4556
|
+
<line num="88" count="3" type="stmt"/>
|
|
4557
|
+
<line num="90" count="3" type="stmt"/>
|
|
4558
|
+
<line num="91" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
4559
|
+
<line num="92" count="0" type="stmt"/>
|
|
4152
4560
|
<line num="94" count="3" type="stmt"/>
|
|
4153
|
-
<line num="
|
|
4154
|
-
<line num="102" count="
|
|
4561
|
+
<line num="95" count="3" type="stmt"/>
|
|
4562
|
+
<line num="102" count="36" type="stmt"/>
|
|
4155
4563
|
<line num="103" count="1" type="stmt"/>
|
|
4156
|
-
<line num="
|
|
4157
|
-
<line num="108" count="
|
|
4564
|
+
<line num="104" count="1" type="stmt"/>
|
|
4565
|
+
<line num="108" count="36" type="stmt"/>
|
|
4158
4566
|
<line num="109" count="4" type="stmt"/>
|
|
4159
|
-
<line num="
|
|
4567
|
+
<line num="110" count="4" type="stmt"/>
|
|
4160
4568
|
<line num="112" count="4" type="stmt"/>
|
|
4161
|
-
<line num="113" count="
|
|
4162
|
-
<line num="114" count="0" type="
|
|
4163
|
-
<line num="
|
|
4164
|
-
<line num="120" count="
|
|
4165
|
-
<line num="
|
|
4166
|
-
<line num="125" count="
|
|
4167
|
-
<line num="
|
|
4168
|
-
<line num="135" count="
|
|
4169
|
-
<line num="
|
|
4569
|
+
<line num="113" count="4" type="stmt"/>
|
|
4570
|
+
<line num="114" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4571
|
+
<line num="115" count="0" type="stmt"/>
|
|
4572
|
+
<line num="120" count="4" type="cond" truecount="3" falsecount="1"/>
|
|
4573
|
+
<line num="121" count="0" type="stmt"/>
|
|
4574
|
+
<line num="125" count="36" type="stmt"/>
|
|
4575
|
+
<line num="126" count="0" type="stmt"/>
|
|
4576
|
+
<line num="135" count="36" type="stmt"/>
|
|
4577
|
+
<line num="136" count="0" type="stmt"/>
|
|
4170
4578
|
<line num="138" count="0" type="stmt"/>
|
|
4579
|
+
<line num="139" count="0" type="stmt"/>
|
|
4580
|
+
<line num="144" count="36" type="stmt"/>
|
|
4581
|
+
<line num="145" count="0" type="stmt"/>
|
|
4582
|
+
<line num="146" count="0" type="stmt"/>
|
|
4583
|
+
<line num="147" count="0" type="stmt"/>
|
|
4584
|
+
<line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4585
|
+
<line num="150" count="0" type="stmt"/>
|
|
4171
4586
|
</file>
|
|
4172
4587
|
<file name="scriptRunner.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/scriptRunner.js">
|
|
4173
|
-
<metrics statements="
|
|
4588
|
+
<metrics statements="13" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
4174
4589
|
<line num="1" count="34" type="stmt"/>
|
|
4175
4590
|
<line num="2" count="34" type="stmt"/>
|
|
4176
|
-
<line num="
|
|
4591
|
+
<line num="3" count="34" type="stmt"/>
|
|
4177
4592
|
<line num="7" count="0" type="stmt"/>
|
|
4178
4593
|
<line num="8" count="0" type="stmt"/>
|
|
4179
|
-
<line num="9" count="0" type="stmt"/>
|
|
4180
|
-
<line num="10" count="0" type="stmt"/>
|
|
4181
4594
|
<line num="11" count="0" type="stmt"/>
|
|
4182
4595
|
<line num="12" count="0" type="stmt"/>
|
|
4183
|
-
<line num="
|
|
4184
|
-
<line num="
|
|
4185
|
-
<line num="
|
|
4596
|
+
<line num="13" count="0" type="stmt"/>
|
|
4597
|
+
<line num="14" count="0" type="stmt"/>
|
|
4598
|
+
<line num="15" count="0" type="stmt"/>
|
|
4599
|
+
<line num="19" count="0" type="stmt"/>
|
|
4600
|
+
<line num="20" count="0" type="stmt"/>
|
|
4601
|
+
<line num="24" count="34" type="stmt"/>
|
|
4186
4602
|
</file>
|
|
4187
4603
|
<file name="security.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/security.js">
|
|
4188
4604
|
<metrics statements="28" coveredstatements="23" conditionals="15" coveredconditionals="8" methods="4" coveredmethods="4"/>
|
|
@@ -4291,9 +4707,9 @@
|
|
|
4291
4707
|
</file>
|
|
4292
4708
|
</package>
|
|
4293
4709
|
<package name="utilities.queue">
|
|
4294
|
-
<metrics statements="
|
|
4710
|
+
<metrics statements="21" coveredstatements="18" conditionals="7" coveredconditionals="4" methods="8" coveredmethods="6"/>
|
|
4295
4711
|
<file name="inMemoryQueue.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/queue/inMemoryQueue.js">
|
|
4296
|
-
<metrics statements="
|
|
4712
|
+
<metrics statements="21" coveredstatements="18" conditionals="7" coveredconditionals="4" methods="8" coveredmethods="6"/>
|
|
4297
4713
|
<line num="1" count="33" type="stmt"/>
|
|
4298
4714
|
<line num="13" count="8" type="stmt"/>
|
|
4299
4715
|
<line num="33" count="33" type="stmt"/>
|
|
@@ -4312,8 +4728,9 @@
|
|
|
4312
4728
|
<line num="73" count="8" type="stmt"/>
|
|
4313
4729
|
<line num="74" count="8" type="stmt"/>
|
|
4314
4730
|
<line num="83" count="0" type="stmt"/>
|
|
4315
|
-
<line num="90" count="
|
|
4316
|
-
<line num="
|
|
4731
|
+
<line num="90" count="186" type="stmt"/>
|
|
4732
|
+
<line num="97" count="0" type="stmt"/>
|
|
4733
|
+
<line num="101" count="33" type="stmt"/>
|
|
4317
4734
|
</file>
|
|
4318
4735
|
</package>
|
|
4319
4736
|
<package name="utilities.routing">
|
|
@@ -4327,7 +4744,7 @@
|
|
|
4327
4744
|
<line num="6" count="3" type="stmt"/>
|
|
4328
4745
|
<line num="7" count="3" type="stmt"/>
|
|
4329
4746
|
<line num="8" count="3" type="stmt"/>
|
|
4330
|
-
<line num="12" count="
|
|
4747
|
+
<line num="12" count="6" type="stmt"/>
|
|
4331
4748
|
<line num="25" count="23" type="stmt"/>
|
|
4332
4749
|
</file>
|
|
4333
4750
|
</package>
|