@budibase/server 1.0.6 → 1.0.8-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/builder/assets/{index.4fb3f887.css → index.9337c392.css} +1 -1
- package/builder/assets/{index.8b07ec4f.js → index.db2ce927.js} +160 -160
- package/builder/assets/{vendor.470042a4.js → vendor.a9288856.js} +1 -1
- package/builder/index.html +3 -3
- package/coverage/clover.xml +369 -330
- package/coverage/coverage-final.json +11 -10
- package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
- package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/controllers/application.js.html +1 -1
- package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +1 -1
- package/coverage/lcov-report/api/controllers/datasource.js.html +14 -14
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/api/controllers/hosting.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +9 -24
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query/index.html +126 -0
- package/coverage/lcov-report/api/controllers/{query.js.html → query/index.js.html} +150 -24
- package/coverage/lcov-report/api/controllers/query/validation.js.html +200 -0
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/utils.js.html +5 -2
- package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
- package/coverage/lcov-report/api/controllers/user.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.html +15 -15
- package/coverage/lcov-report/api/controllers/view/index.js.html +52 -10
- package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
- package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
- package/coverage/lcov-report/api/index.html +1 -1
- package/coverage/lcov-report/api/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
- package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/routes/application.js.html +1 -1
- package/coverage/lcov-report/api/routes/auth.js.html +1 -1
- package/coverage/lcov-report/api/routes/automation.js.html +1 -1
- package/coverage/lcov-report/api/routes/backup.js.html +1 -1
- package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
- package/coverage/lcov-report/api/routes/component.js.html +1 -1
- package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
- package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
- package/coverage/lcov-report/api/routes/dev.js.html +1 -1
- package/coverage/lcov-report/api/routes/hosting.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +9 -9
- package/coverage/lcov-report/api/routes/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/integration.js.html +1 -1
- package/coverage/lcov-report/api/routes/layout.js.html +1 -1
- package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
- package/coverage/lcov-report/api/routes/permission.js.html +1 -1
- package/coverage/lcov-report/api/routes/query.js.html +11 -98
- package/coverage/lcov-report/api/routes/role.js.html +1 -1
- package/coverage/lcov-report/api/routes/routing.js.html +1 -1
- package/coverage/lcov-report/api/routes/row.js.html +1 -1
- package/coverage/lcov-report/api/routes/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.js.html +1 -1
- package/coverage/lcov-report/api/routes/static.js.html +1 -1
- package/coverage/lcov-report/api/routes/table.js.html +1 -1
- package/coverage/lcov-report/api/routes/templates.js.html +1 -1
- package/coverage/lcov-report/api/routes/user.js.html +1 -1
- package/coverage/lcov-report/api/routes/view.js.html +1 -1
- package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/actions.js.html +1 -1
- package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
- package/coverage/lcov-report/automations/bullboard.js.html +1 -1
- package/coverage/lcov-report/automations/index.html +1 -1
- package/coverage/lcov-report/automations/index.js.html +1 -1
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +1 -1
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
- package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/triggers.js.html +1 -1
- package/coverage/lcov-report/automations/utils.js.html +1 -1
- package/coverage/lcov-report/constants/index.html +1 -1
- package/coverage/lcov-report/constants/index.js.html +1 -1
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +1 -1
- package/coverage/lcov-report/db/client.js.html +1 -1
- package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
- package/coverage/lcov-report/db/index.html +1 -1
- package/coverage/lcov-report/db/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
- package/coverage/lcov-report/db/newid.js.html +4 -4
- package/coverage/lcov-report/db/utils.js.html +58 -58
- package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
- package/coverage/lcov-report/events/index.html +1 -1
- package/coverage/lcov-report/events/index.js.html +1 -1
- package/coverage/lcov-report/events/utils.js.html +1 -1
- package/coverage/lcov-report/index.html +55 -40
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
- package/coverage/lcov-report/middleware/authorized.js.html +2 -2
- package/coverage/lcov-report/middleware/builder.js.html +1 -1
- package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
- package/coverage/lcov-report/middleware/index.html +1 -1
- package/coverage/lcov-report/middleware/joi-validator.js.html +3 -3
- package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
- package/coverage/lcov-report/middleware/utils.js.html +1 -1
- package/coverage/lcov-report/threads/automation.js.html +1 -1
- package/coverage/lcov-report/threads/index.html +1 -1
- package/coverage/lcov-report/threads/index.js.html +1 -1
- package/coverage/lcov-report/threads/query.js.html +1 -1
- package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
- package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
- package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
- package/coverage/lcov-report/utilities/csvParser.js.html +19 -10
- package/coverage/lcov-report/utilities/global.js.html +1 -1
- package/coverage/lcov-report/utilities/index.html +14 -14
- package/coverage/lcov-report/utilities/index.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
- package/coverage/lcov-report/utilities/security.js.html +1 -1
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
- package/coverage/lcov.info +538 -480
- package/dist/api/controllers/query/import/index.js +79 -0
- package/dist/api/controllers/query/import/sources/base/index.js +63 -0
- package/dist/api/controllers/query/import/sources/base/openapi.js +42 -0
- package/dist/api/controllers/query/import/sources/curl.js +90 -0
- package/dist/api/controllers/query/import/sources/openapi2.js +139 -0
- package/dist/api/controllers/query/import/sources/tests/openapi2/data/crud/crud.json +253 -0
- package/dist/api/controllers/query/import/sources/tests/openapi2/data/petstore/petstore.json +1054 -0
- package/dist/api/controllers/{query.js → query/index.js} +38 -4
- package/dist/api/controllers/query/validation.js +36 -0
- package/dist/api/controllers/view/index.js +15 -2
- package/dist/api/routes/query.js +2 -32
- package/dist/package.json +8 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utilities/csvParser.js +5 -2
- package/package.json +9 -5
- package/src/api/controllers/query/import/index.ts +85 -0
- package/src/api/controllers/query/import/sources/base/index.ts +86 -0
- package/src/api/controllers/query/import/sources/base/openapi.ts +24 -0
- package/src/api/controllers/query/import/sources/curl.ts +94 -0
- package/src/api/controllers/query/import/sources/openapi2.ts +159 -0
- package/src/api/controllers/query/import/sources/tests/curl/curl.spec.js +104 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/delete.txt +1 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/empty-body.txt +2 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/get.txt +1 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/headers.txt +3 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/patch.txt +2 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/path.txt +1 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/post.txt +2 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/put.txt +2 -0
- package/src/api/controllers/query/import/sources/tests/curl/data/query.txt +1 -0
- package/src/api/controllers/query/import/sources/tests/openapi2/data/crud/crud.json +253 -0
- package/src/api/controllers/query/import/sources/tests/openapi2/data/crud/crud.yaml +160 -0
- package/src/api/controllers/query/import/sources/tests/openapi2/data/petstore/petstore.json +1054 -0
- package/src/api/controllers/query/import/sources/tests/openapi2/data/petstore/petstore.yaml +711 -0
- package/src/api/controllers/query/import/sources/tests/openapi2/openapi2.spec.js +239 -0
- package/src/api/controllers/query/import/tests/index.spec.js +115 -0
- package/src/api/controllers/{query.js → query/index.js} +46 -4
- package/src/api/controllers/query/validation.js +40 -0
- package/src/api/controllers/table/utils.js +1 -0
- package/src/api/controllers/view/index.js +16 -2
- package/src/api/routes/query.js +5 -34
- package/src/definitions/common.ts +22 -0
- package/src/integrations/oracle.ts +1 -1
- package/src/utilities/csvParser.js +5 -2
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="1638964806716" clover="3.2.0">
|
|
3
|
+
<project timestamp="1638964806716" name="All files">
|
|
4
|
+
<metrics statements="4409" coveredstatements="3247" conditionals="1750" coveredconditionals="949" methods="625" coveredmethods="442" elements="6784" coveredelements="4638" complexity="0" loc="4409" ncloc="4409" packages="21" files="139" classes="139"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="29" coveredstatements="27" conditionals="5" coveredconditionals="2" methods="5" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</file>
|
|
39
39
|
</package>
|
|
40
40
|
<package name="api.controllers">
|
|
41
|
-
<metrics statements="
|
|
41
|
+
<metrics statements="1040" coveredstatements="738" conditionals="344" coveredconditionals="157" methods="144" coveredmethods="100"/>
|
|
42
42
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.js">
|
|
43
43
|
<metrics statements="13" coveredstatements="6" conditionals="13" coveredconditionals="4" methods="2" coveredmethods="1"/>
|
|
44
44
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -483,12 +483,12 @@
|
|
|
483
483
|
</file>
|
|
484
484
|
<file name="datasource.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/datasource.js">
|
|
485
485
|
<metrics statements="107" coveredstatements="47" conditionals="36" coveredconditionals="7" methods="16" coveredmethods="8"/>
|
|
486
|
-
<line num="1" count="
|
|
487
|
-
<line num="9" count="
|
|
488
|
-
<line num="10" count="
|
|
489
|
-
<line num="11" count="
|
|
490
|
-
<line num="12" count="
|
|
491
|
-
<line num="14" count="
|
|
486
|
+
<line num="1" count="34" type="stmt"/>
|
|
487
|
+
<line num="9" count="34" type="stmt"/>
|
|
488
|
+
<line num="10" count="34" type="stmt"/>
|
|
489
|
+
<line num="11" count="34" type="stmt"/>
|
|
490
|
+
<line num="12" count="34" type="stmt"/>
|
|
491
|
+
<line num="14" count="34" type="stmt"/>
|
|
492
492
|
<line num="15" count="2" type="stmt"/>
|
|
493
493
|
<line num="18" count="2" type="stmt"/>
|
|
494
494
|
<line num="19" count="2" type="stmt"/>
|
|
@@ -497,7 +497,7 @@
|
|
|
497
497
|
<line num="32" count="2" type="stmt"/>
|
|
498
498
|
<line num="38" count="1" type="stmt"/>
|
|
499
499
|
<line num="40" count="2" type="stmt"/>
|
|
500
|
-
<line num="43" count="
|
|
500
|
+
<line num="43" count="34" type="stmt"/>
|
|
501
501
|
<line num="44" count="0" type="stmt"/>
|
|
502
502
|
<line num="45" count="0" type="stmt"/>
|
|
503
503
|
<line num="47" count="0" type="stmt"/>
|
|
@@ -508,7 +508,7 @@
|
|
|
508
508
|
<line num="54" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
509
509
|
<line num="55" count="0" type="stmt"/>
|
|
510
510
|
<line num="57" count="0" type="stmt"/>
|
|
511
|
-
<line num="60" count="
|
|
511
|
+
<line num="60" count="34" type="stmt"/>
|
|
512
512
|
<line num="61" count="0" type="stmt"/>
|
|
513
513
|
<line num="62" count="0" type="stmt"/>
|
|
514
514
|
<line num="63" count="0" type="stmt"/>
|
|
@@ -522,7 +522,7 @@
|
|
|
522
522
|
<line num="77" count="0" type="stmt"/>
|
|
523
523
|
<line num="78" count="0" type="stmt"/>
|
|
524
524
|
<line num="79" count="0" type="stmt"/>
|
|
525
|
-
<line num="82" count="
|
|
525
|
+
<line num="82" count="34" type="stmt"/>
|
|
526
526
|
<line num="83" count="24" type="stmt"/>
|
|
527
527
|
<line num="84" count="24" type="stmt"/>
|
|
528
528
|
<line num="85" count="24" type="stmt"/>
|
|
@@ -542,7 +542,7 @@
|
|
|
542
542
|
<line num="112" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
543
543
|
<line num="113" count="0" type="stmt"/>
|
|
544
544
|
<line num="115" count="24" type="stmt"/>
|
|
545
|
-
<line num="118" count="
|
|
545
|
+
<line num="118" count="34" type="stmt"/>
|
|
546
546
|
<line num="119" count="1" type="stmt"/>
|
|
547
547
|
<line num="122" count="1" type="stmt"/>
|
|
548
548
|
<line num="125" count="1" type="stmt"/>
|
|
@@ -550,10 +550,10 @@
|
|
|
550
550
|
<line num="134" count="1" type="stmt"/>
|
|
551
551
|
<line num="136" count="1" type="stmt"/>
|
|
552
552
|
<line num="137" count="1" type="stmt"/>
|
|
553
|
-
<line num="140" count="
|
|
553
|
+
<line num="140" count="34" type="stmt"/>
|
|
554
554
|
<line num="141" count="1" type="stmt"/>
|
|
555
555
|
<line num="142" count="1" type="stmt"/>
|
|
556
|
-
<line num="146" count="
|
|
556
|
+
<line num="146" count="34" type="stmt"/>
|
|
557
557
|
<line num="147" count="1" type="stmt"/>
|
|
558
558
|
<line num="148" count="1" type="stmt"/>
|
|
559
559
|
<line num="149" count="1" type="stmt"/>
|
|
@@ -567,7 +567,7 @@
|
|
|
567
567
|
<line num="166" count="0" type="stmt"/>
|
|
568
568
|
<line num="168" count="0" type="stmt"/>
|
|
569
569
|
<line num="169" count="0" type="stmt"/>
|
|
570
|
-
<line num="172" count="
|
|
570
|
+
<line num="172" count="34" type="stmt"/>
|
|
571
571
|
<line num="173" count="0" type="stmt"/>
|
|
572
572
|
<line num="176" count="0" type="stmt"/>
|
|
573
573
|
<line num="177" count="0" type="stmt"/>
|
|
@@ -823,79 +823,6 @@
|
|
|
823
823
|
<line num="169" count="33" type="stmt"/>
|
|
824
824
|
<line num="170" count="1" type="stmt"/>
|
|
825
825
|
</file>
|
|
826
|
-
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query.js">
|
|
827
|
-
<metrics statements="70" coveredstatements="59" conditionals="25" coveredconditionals="12" methods="9" coveredmethods="9"/>
|
|
828
|
-
<line num="1" count="34" type="stmt"/>
|
|
829
|
-
<line num="2" count="34" type="stmt"/>
|
|
830
|
-
<line num="7" count="34" type="stmt"/>
|
|
831
|
-
<line num="8" count="34" type="stmt"/>
|
|
832
|
-
<line num="9" count="34" type="stmt"/>
|
|
833
|
-
<line num="11" count="34" type="stmt"/>
|
|
834
|
-
<line num="15" count="5" type="stmt"/>
|
|
835
|
-
<line num="16" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
836
|
-
<line num="17" count="5" type="stmt"/>
|
|
837
|
-
<line num="18" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
838
|
-
<line num="19" count="4" type="stmt"/>
|
|
839
|
-
<line num="22" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
840
|
-
<line num="25" count="34" type="stmt"/>
|
|
841
|
-
<line num="26" count="2" type="stmt"/>
|
|
842
|
-
<line num="28" count="2" type="stmt"/>
|
|
843
|
-
<line num="33" count="2" type="stmt"/>
|
|
844
|
-
<line num="36" count="34" type="stmt"/>
|
|
845
|
-
<line num="37" count="20" type="stmt"/>
|
|
846
|
-
<line num="38" count="20" type="stmt"/>
|
|
847
|
-
<line num="40" count="20" type="cond" truecount="1" falsecount="1"/>
|
|
848
|
-
<line num="41" count="20" type="stmt"/>
|
|
849
|
-
<line num="44" count="20" type="stmt"/>
|
|
850
|
-
<line num="45" count="20" type="stmt"/>
|
|
851
|
-
<line num="47" count="20" type="stmt"/>
|
|
852
|
-
<line num="48" count="20" type="stmt"/>
|
|
853
|
-
<line num="52" count="4" type="stmt"/>
|
|
854
|
-
<line num="55" count="4" type="stmt"/>
|
|
855
|
-
<line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
856
|
-
<line num="57" count="0" type="stmt"/>
|
|
857
|
-
<line num="59" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
858
|
-
<line num="61" count="0" type="stmt"/>
|
|
859
|
-
<line num="62" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
860
|
-
<line num="64" count="0" type="stmt"/>
|
|
861
|
-
<line num="68" count="0" type="stmt"/>
|
|
862
|
-
<line num="72" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
863
|
-
<line num="77" count="0" type="stmt"/>
|
|
864
|
-
<line num="78" count="0" type="stmt"/>
|
|
865
|
-
<line num="84" count="0" type="stmt"/>
|
|
866
|
-
<line num="86" count="0" type="stmt"/>
|
|
867
|
-
<line num="89" count="4" type="stmt"/>
|
|
868
|
-
<line num="92" count="34" type="stmt"/>
|
|
869
|
-
<line num="93" count="3" type="stmt"/>
|
|
870
|
-
<line num="94" count="3" type="stmt"/>
|
|
871
|
-
<line num="96" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
872
|
-
<line num="97" count="1" type="stmt"/>
|
|
873
|
-
<line num="98" count="1" type="stmt"/>
|
|
874
|
-
<line num="100" count="3" type="stmt"/>
|
|
875
|
-
<line num="103" count="34" type="stmt"/>
|
|
876
|
-
<line num="104" count="2" type="stmt"/>
|
|
877
|
-
<line num="106" count="2" type="stmt"/>
|
|
878
|
-
<line num="108" count="2" type="stmt"/>
|
|
879
|
-
<line num="109" count="2" type="stmt"/>
|
|
880
|
-
<line num="111" count="2" type="stmt"/>
|
|
881
|
-
<line num="112" count="2" type="stmt"/>
|
|
882
|
-
<line num="119" count="1" type="stmt"/>
|
|
883
|
-
<line num="124" count="1" type="stmt"/>
|
|
884
|
-
<line num="128" count="34" type="stmt"/>
|
|
885
|
-
<line num="129" count="2" type="stmt"/>
|
|
886
|
-
<line num="131" count="2" type="stmt"/>
|
|
887
|
-
<line num="132" count="2" type="stmt"/>
|
|
888
|
-
<line num="134" count="2" type="stmt"/>
|
|
889
|
-
<line num="140" count="2" type="stmt"/>
|
|
890
|
-
<line num="141" count="2" type="stmt"/>
|
|
891
|
-
<line num="147" count="1" type="stmt"/>
|
|
892
|
-
<line num="149" count="1" type="stmt"/>
|
|
893
|
-
<line num="153" count="34" type="stmt"/>
|
|
894
|
-
<line num="154" count="1" type="stmt"/>
|
|
895
|
-
<line num="155" count="1" type="stmt"/>
|
|
896
|
-
<line num="156" count="1" type="stmt"/>
|
|
897
|
-
<line num="157" count="1" type="stmt"/>
|
|
898
|
-
</file>
|
|
899
826
|
<file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/role.js">
|
|
900
827
|
<metrics statements="53" coveredstatements="47" conditionals="22" coveredconditionals="14" methods="7" coveredmethods="5"/>
|
|
901
828
|
<line num="1" count="33" type="stmt"/>
|
|
@@ -1219,6 +1146,111 @@
|
|
|
1219
1146
|
<line num="105" count="0" type="stmt"/>
|
|
1220
1147
|
</file>
|
|
1221
1148
|
</package>
|
|
1149
|
+
<package name="api.controllers.query">
|
|
1150
|
+
<metrics statements="96" coveredstatements="70" conditionals="27" coveredconditionals="12" methods="13" coveredmethods="12"/>
|
|
1151
|
+
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query/index.js">
|
|
1152
|
+
<metrics statements="88" coveredstatements="62" conditionals="27" coveredconditionals="12" methods="10" coveredmethods="9"/>
|
|
1153
|
+
<line num="1" count="34" type="stmt"/>
|
|
1154
|
+
<line num="2" count="34" type="stmt"/>
|
|
1155
|
+
<line num="7" count="34" type="stmt"/>
|
|
1156
|
+
<line num="8" count="34" type="stmt"/>
|
|
1157
|
+
<line num="9" count="34" type="stmt"/>
|
|
1158
|
+
<line num="10" count="34" type="stmt"/>
|
|
1159
|
+
<line num="11" count="34" type="stmt"/>
|
|
1160
|
+
<line num="13" count="34" type="stmt"/>
|
|
1161
|
+
<line num="17" count="5" type="stmt"/>
|
|
1162
|
+
<line num="18" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1163
|
+
<line num="19" count="5" type="stmt"/>
|
|
1164
|
+
<line num="20" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1165
|
+
<line num="21" count="4" type="stmt"/>
|
|
1166
|
+
<line num="24" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1167
|
+
<line num="27" count="34" type="stmt"/>
|
|
1168
|
+
<line num="28" count="2" type="stmt"/>
|
|
1169
|
+
<line num="30" count="2" type="stmt"/>
|
|
1170
|
+
<line num="36" count="2" type="stmt"/>
|
|
1171
|
+
<line num="39" count="34" type="stmt"/>
|
|
1172
|
+
<line num="40" count="0" type="stmt"/>
|
|
1173
|
+
<line num="41" count="0" type="stmt"/>
|
|
1174
|
+
<line num="43" count="0" type="stmt"/>
|
|
1175
|
+
<line num="44" count="0" type="stmt"/>
|
|
1176
|
+
<line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1177
|
+
<line num="49" count="0" type="stmt"/>
|
|
1178
|
+
<line num="50" count="0" type="stmt"/>
|
|
1179
|
+
<line num="60" count="0" type="stmt"/>
|
|
1180
|
+
<line num="61" count="0" type="stmt"/>
|
|
1181
|
+
<line num="62" count="0" type="stmt"/>
|
|
1182
|
+
<line num="63" count="0" type="stmt"/>
|
|
1183
|
+
<line num="66" count="0" type="stmt"/>
|
|
1184
|
+
<line num="69" count="0" type="stmt"/>
|
|
1185
|
+
<line num="71" count="0" type="stmt"/>
|
|
1186
|
+
<line num="75" count="0" type="stmt"/>
|
|
1187
|
+
<line num="78" count="34" type="stmt"/>
|
|
1188
|
+
<line num="79" count="20" type="stmt"/>
|
|
1189
|
+
<line num="80" count="20" type="stmt"/>
|
|
1190
|
+
<line num="82" count="20" type="cond" truecount="1" falsecount="1"/>
|
|
1191
|
+
<line num="83" count="20" type="stmt"/>
|
|
1192
|
+
<line num="86" count="20" type="stmt"/>
|
|
1193
|
+
<line num="87" count="20" type="stmt"/>
|
|
1194
|
+
<line num="89" count="20" type="stmt"/>
|
|
1195
|
+
<line num="90" count="20" type="stmt"/>
|
|
1196
|
+
<line num="94" count="4" type="stmt"/>
|
|
1197
|
+
<line num="97" count="4" type="stmt"/>
|
|
1198
|
+
<line num="98" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1199
|
+
<line num="99" count="0" type="stmt"/>
|
|
1200
|
+
<line num="101" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1201
|
+
<line num="103" count="0" type="stmt"/>
|
|
1202
|
+
<line num="104" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1203
|
+
<line num="106" count="0" type="stmt"/>
|
|
1204
|
+
<line num="110" count="0" type="stmt"/>
|
|
1205
|
+
<line num="114" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1206
|
+
<line num="119" count="0" type="stmt"/>
|
|
1207
|
+
<line num="120" count="0" type="stmt"/>
|
|
1208
|
+
<line num="126" count="0" type="stmt"/>
|
|
1209
|
+
<line num="128" count="0" type="stmt"/>
|
|
1210
|
+
<line num="131" count="4" type="stmt"/>
|
|
1211
|
+
<line num="134" count="34" type="stmt"/>
|
|
1212
|
+
<line num="135" count="3" type="stmt"/>
|
|
1213
|
+
<line num="136" count="3" type="stmt"/>
|
|
1214
|
+
<line num="138" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
1215
|
+
<line num="139" count="1" type="stmt"/>
|
|
1216
|
+
<line num="140" count="1" type="stmt"/>
|
|
1217
|
+
<line num="142" count="3" type="stmt"/>
|
|
1218
|
+
<line num="145" count="34" type="stmt"/>
|
|
1219
|
+
<line num="146" count="2" type="stmt"/>
|
|
1220
|
+
<line num="148" count="2" type="stmt"/>
|
|
1221
|
+
<line num="150" count="2" type="stmt"/>
|
|
1222
|
+
<line num="151" count="2" type="stmt"/>
|
|
1223
|
+
<line num="153" count="2" type="stmt"/>
|
|
1224
|
+
<line num="154" count="2" type="stmt"/>
|
|
1225
|
+
<line num="161" count="1" type="stmt"/>
|
|
1226
|
+
<line num="166" count="1" type="stmt"/>
|
|
1227
|
+
<line num="170" count="34" type="stmt"/>
|
|
1228
|
+
<line num="171" count="2" type="stmt"/>
|
|
1229
|
+
<line num="173" count="2" type="stmt"/>
|
|
1230
|
+
<line num="174" count="2" type="stmt"/>
|
|
1231
|
+
<line num="176" count="2" type="stmt"/>
|
|
1232
|
+
<line num="182" count="2" type="stmt"/>
|
|
1233
|
+
<line num="183" count="2" type="stmt"/>
|
|
1234
|
+
<line num="189" count="1" type="stmt"/>
|
|
1235
|
+
<line num="191" count="1" type="stmt"/>
|
|
1236
|
+
<line num="195" count="34" type="stmt"/>
|
|
1237
|
+
<line num="196" count="1" type="stmt"/>
|
|
1238
|
+
<line num="197" count="1" type="stmt"/>
|
|
1239
|
+
<line num="198" count="1" type="stmt"/>
|
|
1240
|
+
<line num="199" count="1" type="stmt"/>
|
|
1241
|
+
</file>
|
|
1242
|
+
<file name="validation.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query/validation.js">
|
|
1243
|
+
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
1244
|
+
<line num="1" count="35" type="stmt"/>
|
|
1245
|
+
<line num="2" count="35" type="stmt"/>
|
|
1246
|
+
<line num="4" count="35" type="stmt"/>
|
|
1247
|
+
<line num="5" count="28" type="stmt"/>
|
|
1248
|
+
<line num="25" count="35" type="stmt"/>
|
|
1249
|
+
<line num="27" count="23" type="stmt"/>
|
|
1250
|
+
<line num="30" count="35" type="stmt"/>
|
|
1251
|
+
<line num="32" count="23" type="stmt"/>
|
|
1252
|
+
</file>
|
|
1253
|
+
</package>
|
|
1222
1254
|
<package name="api.controllers.row">
|
|
1223
1255
|
<metrics statements="583" coveredstatements="307" conditionals="248" coveredconditionals="83" methods="88" coveredmethods="38"/>
|
|
1224
1256
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
|
|
@@ -2123,142 +2155,142 @@
|
|
|
2123
2155
|
<line num="74" count="34" type="stmt"/>
|
|
2124
2156
|
<line num="75" count="100" type="cond" truecount="4" falsecount="0"/>
|
|
2125
2157
|
<line num="76" count="99" type="stmt"/>
|
|
2126
|
-
<line num="
|
|
2127
|
-
<line num="
|
|
2128
|
-
<line num="85" count="1" type="stmt"/>
|
|
2158
|
+
<line num="79" count="1" type="stmt"/>
|
|
2159
|
+
<line num="81" count="1" type="stmt"/>
|
|
2129
2160
|
<line num="86" count="1" type="stmt"/>
|
|
2130
2161
|
<line num="87" count="1" type="stmt"/>
|
|
2131
2162
|
<line num="88" count="1" type="stmt"/>
|
|
2132
2163
|
<line num="89" count="1" type="stmt"/>
|
|
2133
2164
|
<line num="90" count="1" type="stmt"/>
|
|
2134
|
-
<line num="
|
|
2165
|
+
<line num="91" count="1" type="stmt"/>
|
|
2135
2166
|
<line num="94" count="1" type="stmt"/>
|
|
2136
|
-
<line num="
|
|
2137
|
-
<line num="
|
|
2138
|
-
<line num="
|
|
2139
|
-
<line num="
|
|
2140
|
-
<line num="
|
|
2167
|
+
<line num="95" count="1" type="stmt"/>
|
|
2168
|
+
<line num="97" count="1" type="stmt"/>
|
|
2169
|
+
<line num="99" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2170
|
+
<line num="104" count="0" type="stmt"/>
|
|
2171
|
+
<line num="111" count="1" type="stmt"/>
|
|
2141
2172
|
<line num="114" count="1" type="stmt"/>
|
|
2142
2173
|
<line num="115" count="1" type="stmt"/>
|
|
2143
2174
|
<line num="116" count="1" type="stmt"/>
|
|
2144
|
-
<line num="
|
|
2145
|
-
<line num="120" count="
|
|
2146
|
-
<line num="
|
|
2147
|
-
<line num="123" count="
|
|
2175
|
+
<line num="117" count="1" type="stmt"/>
|
|
2176
|
+
<line num="120" count="34" type="stmt"/>
|
|
2177
|
+
<line num="121" count="99" type="stmt"/>
|
|
2178
|
+
<line num="123" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
2148
2179
|
<line num="124" count="2" type="stmt"/>
|
|
2149
|
-
<line num="
|
|
2150
|
-
<line num="127" count="
|
|
2151
|
-
<line num="
|
|
2152
|
-
<line num="131" count="
|
|
2180
|
+
<line num="125" count="2" type="stmt"/>
|
|
2181
|
+
<line num="127" count="2" type="stmt"/>
|
|
2182
|
+
<line num="128" count="3" type="stmt"/>
|
|
2183
|
+
<line num="131" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2153
2184
|
<line num="132" count="1" type="stmt"/>
|
|
2154
|
-
<line num="
|
|
2155
|
-
<line num="137" count="1" type="
|
|
2156
|
-
<line num="
|
|
2157
|
-
<line num="
|
|
2158
|
-
<line num="
|
|
2159
|
-
<line num="
|
|
2160
|
-
<line num="
|
|
2161
|
-
<line num="166" count="
|
|
2162
|
-
<line num="
|
|
2163
|
-
<line num="169" count="5" type="
|
|
2164
|
-
<line num="
|
|
2165
|
-
<line num="
|
|
2185
|
+
<line num="133" count="1" type="stmt"/>
|
|
2186
|
+
<line num="137" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2187
|
+
<line num="138" count="1" type="stmt"/>
|
|
2188
|
+
<line num="140" count="1" type="stmt"/>
|
|
2189
|
+
<line num="151" count="1" type="stmt"/>
|
|
2190
|
+
<line num="161" count="99" type="stmt"/>
|
|
2191
|
+
<line num="164" count="34" type="stmt"/>
|
|
2192
|
+
<line num="166" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
2193
|
+
<line num="167" count="1" type="stmt"/>
|
|
2194
|
+
<line num="169" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2195
|
+
<line num="170" count="5" type="stmt"/>
|
|
2196
|
+
<line num="174" count="99" type="stmt"/>
|
|
2166
2197
|
<line num="179" count="99" type="stmt"/>
|
|
2167
|
-
<line num="180" count="99" type="
|
|
2168
|
-
<line num="181" count="99" type="
|
|
2169
|
-
<line num="
|
|
2198
|
+
<line num="180" count="99" type="stmt"/>
|
|
2199
|
+
<line num="181" count="99" type="cond" truecount="3" falsecount="1"/>
|
|
2200
|
+
<line num="182" count="99" type="stmt"/>
|
|
2170
2201
|
<line num="184" count="99" type="stmt"/>
|
|
2171
|
-
<line num="
|
|
2172
|
-
<line num="
|
|
2173
|
-
<line num="192" count="
|
|
2174
|
-
<line num="
|
|
2202
|
+
<line num="185" count="99" type="stmt"/>
|
|
2203
|
+
<line num="187" count="99" type="stmt"/>
|
|
2204
|
+
<line num="192" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
2205
|
+
<line num="193" count="4" type="stmt"/>
|
|
2175
2206
|
<line num="195" count="99" type="stmt"/>
|
|
2176
|
-
<line num="
|
|
2177
|
-
<line num="
|
|
2207
|
+
<line num="196" count="99" type="stmt"/>
|
|
2208
|
+
<line num="201" count="99" type="stmt"/>
|
|
2178
2209
|
<line num="206" count="99" type="stmt"/>
|
|
2179
|
-
<line num="
|
|
2210
|
+
<line num="207" count="99" type="stmt"/>
|
|
2180
2211
|
<line num="212" count="99" type="stmt"/>
|
|
2181
|
-
<line num="
|
|
2182
|
-
<line num="
|
|
2183
|
-
<line num="
|
|
2184
|
-
<line num="227" count="
|
|
2212
|
+
<line num="213" count="99" type="stmt"/>
|
|
2213
|
+
<line num="219" count="99" type="stmt"/>
|
|
2214
|
+
<line num="223" count="99" type="stmt"/>
|
|
2215
|
+
<line num="227" count="34" type="stmt"/>
|
|
2185
2216
|
<line num="228" count="0" type="stmt"/>
|
|
2186
|
-
<line num="229" count="0" type="
|
|
2187
|
-
<line num="230" count="0" type="
|
|
2188
|
-
<line num="
|
|
2189
|
-
<line num="
|
|
2190
|
-
<line num="236" count="
|
|
2217
|
+
<line num="229" count="0" type="stmt"/>
|
|
2218
|
+
<line num="230" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2219
|
+
<line num="231" count="0" type="stmt"/>
|
|
2220
|
+
<line num="233" count="0" type="stmt"/>
|
|
2221
|
+
<line num="236" count="34" type="stmt"/>
|
|
2191
2222
|
<line num="237" count="0" type="stmt"/>
|
|
2192
|
-
<line num="
|
|
2193
|
-
<line num="241" count="
|
|
2194
|
-
<line num="242" count="30" type="
|
|
2195
|
-
<line num="243" count="
|
|
2223
|
+
<line num="238" count="0" type="stmt"/>
|
|
2224
|
+
<line num="241" count="34" type="stmt"/>
|
|
2225
|
+
<line num="242" count="30" type="stmt"/>
|
|
2226
|
+
<line num="243" count="30" type="cond" truecount="1" falsecount="1"/>
|
|
2196
2227
|
<line num="244" count="0" type="stmt"/>
|
|
2197
|
-
<line num="
|
|
2198
|
-
<line num="
|
|
2199
|
-
<line num="251" count="
|
|
2228
|
+
<line num="245" count="0" type="stmt"/>
|
|
2229
|
+
<line num="247" count="30" type="stmt"/>
|
|
2230
|
+
<line num="251" count="34" type="stmt"/>
|
|
2200
2231
|
<line num="252" count="1" type="stmt"/>
|
|
2201
|
-
<line num="
|
|
2202
|
-
<line num="256" count="
|
|
2203
|
-
<line num="
|
|
2204
|
-
<line num="
|
|
2205
|
-
<line num="262" count="0" type="
|
|
2232
|
+
<line num="253" count="1" type="stmt"/>
|
|
2233
|
+
<line num="256" count="1" type="stmt"/>
|
|
2234
|
+
<line num="257" count="0" type="stmt"/>
|
|
2235
|
+
<line num="260" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2236
|
+
<line num="262" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2206
2237
|
<line num="263" count="0" type="stmt"/>
|
|
2207
|
-
<line num="
|
|
2208
|
-
<line num="268" count="0" type="
|
|
2238
|
+
<line num="264" count="0" type="stmt"/>
|
|
2239
|
+
<line num="268" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2209
2240
|
<line num="269" count="0" type="stmt"/>
|
|
2210
|
-
<line num="
|
|
2211
|
-
<line num="274" count="0" type="
|
|
2212
|
-
<line num="275" count="0" type="
|
|
2213
|
-
<line num="276" count="0" type="
|
|
2241
|
+
<line num="270" count="0" type="stmt"/>
|
|
2242
|
+
<line num="274" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2243
|
+
<line num="275" count="0" type="stmt"/>
|
|
2244
|
+
<line num="276" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2214
2245
|
<line num="277" count="0" type="stmt"/>
|
|
2215
|
-
<line num="
|
|
2216
|
-
<line num="282" count="0" type="
|
|
2217
|
-
<line num="
|
|
2218
|
-
<line num="285" count="0" type="
|
|
2246
|
+
<line num="278" count="0" type="stmt"/>
|
|
2247
|
+
<line num="282" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2248
|
+
<line num="283" count="0" type="stmt"/>
|
|
2249
|
+
<line num="285" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2219
2250
|
<line num="286" count="0" type="stmt"/>
|
|
2220
2251
|
<line num="287" count="0" type="stmt"/>
|
|
2221
2252
|
<line num="288" count="0" type="stmt"/>
|
|
2222
|
-
<line num="
|
|
2223
|
-
<line num="293" count="0" type="
|
|
2253
|
+
<line num="289" count="0" type="stmt"/>
|
|
2254
|
+
<line num="293" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2224
2255
|
<line num="294" count="0" type="stmt"/>
|
|
2225
|
-
<line num="
|
|
2226
|
-
<line num="299" count="0" type="
|
|
2256
|
+
<line num="295" count="0" type="stmt"/>
|
|
2257
|
+
<line num="299" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2227
2258
|
<line num="300" count="0" type="stmt"/>
|
|
2228
2259
|
<line num="301" count="0" type="stmt"/>
|
|
2229
|
-
<line num="
|
|
2230
|
-
<line num="304" count="0" type="
|
|
2231
|
-
<line num="
|
|
2232
|
-
<line num="312" count="0" type="
|
|
2260
|
+
<line num="302" count="0" type="stmt"/>
|
|
2261
|
+
<line num="304" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2262
|
+
<line num="305" count="0" type="stmt"/>
|
|
2263
|
+
<line num="312" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2233
2264
|
<line num="313" count="0" type="stmt"/>
|
|
2234
|
-
<line num="314" count="0" type="
|
|
2235
|
-
<line num="315" count="0" type="
|
|
2236
|
-
<line num="
|
|
2237
|
-
<line num="
|
|
2238
|
-
<line num="323" count="
|
|
2239
|
-
<line num="
|
|
2240
|
-
<line num="327" count="
|
|
2241
|
-
<line num="
|
|
2242
|
-
<line num="331" count="
|
|
2243
|
-
<line num="
|
|
2244
|
-
<line num="337" count="0" type="
|
|
2245
|
-
<line num="
|
|
2246
|
-
<line num="
|
|
2247
|
-
<line num="343" count="
|
|
2248
|
-
<line num="344" count="
|
|
2249
|
-
<line num="
|
|
2250
|
-
<line num="347" count="
|
|
2251
|
-
<line num="348" count="11" type="
|
|
2252
|
-
<line num="349" count="
|
|
2253
|
-
<line num="
|
|
2254
|
-
<line num="352" count="4" type="
|
|
2255
|
-
<line num="353" count="
|
|
2256
|
-
<line num="
|
|
2257
|
-
<line num="
|
|
2265
|
+
<line num="314" count="0" type="stmt"/>
|
|
2266
|
+
<line num="315" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2267
|
+
<line num="316" count="0" type="stmt"/>
|
|
2268
|
+
<line num="318" count="0" type="stmt"/>
|
|
2269
|
+
<line num="323" count="34" type="stmt"/>
|
|
2270
|
+
<line num="324" count="0" type="stmt"/>
|
|
2271
|
+
<line num="327" count="34" type="stmt"/>
|
|
2272
|
+
<line num="328" count="0" type="stmt"/>
|
|
2273
|
+
<line num="331" count="34" type="cond" truecount="0" falsecount="1"/>
|
|
2274
|
+
<line num="332" count="0" type="stmt"/>
|
|
2275
|
+
<line num="337" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2276
|
+
<line num="338" count="0" type="stmt"/>
|
|
2277
|
+
<line num="340" count="0" type="stmt"/>
|
|
2278
|
+
<line num="343" count="34" type="stmt"/>
|
|
2279
|
+
<line num="344" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
2280
|
+
<line num="345" count="95" type="stmt"/>
|
|
2281
|
+
<line num="347" count="4" type="stmt"/>
|
|
2282
|
+
<line num="348" count="11" type="stmt"/>
|
|
2283
|
+
<line num="349" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
2284
|
+
<line num="350" count="7" type="stmt"/>
|
|
2285
|
+
<line num="352" count="4" type="stmt"/>
|
|
2286
|
+
<line num="353" count="4" type="cond" truecount="2" falsecount="2"/>
|
|
2287
|
+
<line num="354" count="0" type="stmt"/>
|
|
2288
|
+
<line num="357" count="4" type="stmt"/>
|
|
2289
|
+
<line num="360" count="34" type="stmt"/>
|
|
2258
2290
|
</file>
|
|
2259
2291
|
</package>
|
|
2260
2292
|
<package name="api.controllers.view">
|
|
2261
|
-
<metrics statements="
|
|
2293
|
+
<metrics statements="190" coveredstatements="140" conditionals="83" coveredconditionals="53" methods="25" coveredmethods="18"/>
|
|
2262
2294
|
<file name="exporters.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/exporters.js">
|
|
2263
2295
|
<metrics statements="11" coveredstatements="11" conditionals="2" coveredconditionals="1" methods="4" coveredmethods="4"/>
|
|
2264
2296
|
<line num="1" count="33" type="stmt"/>
|
|
@@ -2274,7 +2306,7 @@
|
|
|
2274
2306
|
<line num="20" count="33" type="stmt"/>
|
|
2275
2307
|
</file>
|
|
2276
2308
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/index.js">
|
|
2277
|
-
<metrics statements="
|
|
2309
|
+
<metrics statements="70" coveredstatements="63" conditionals="25" coveredconditionals="18" methods="8" coveredmethods="5"/>
|
|
2278
2310
|
<line num="1" count="33" type="stmt"/>
|
|
2279
2311
|
<line num="2" count="33" type="stmt"/>
|
|
2280
2312
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -2282,60 +2314,69 @@
|
|
|
2282
2314
|
<line num="5" count="33" type="stmt"/>
|
|
2283
2315
|
<line num="6" count="33" type="stmt"/>
|
|
2284
2316
|
<line num="7" count="33" type="stmt"/>
|
|
2285
|
-
<line num="
|
|
2286
|
-
<line num="10" count="
|
|
2317
|
+
<line num="8" count="33" type="stmt"/>
|
|
2318
|
+
<line num="10" count="33" type="stmt"/>
|
|
2287
2319
|
<line num="11" count="1" type="stmt"/>
|
|
2288
|
-
<line num="
|
|
2289
|
-
<line num="15" count="
|
|
2320
|
+
<line num="12" count="1" type="stmt"/>
|
|
2321
|
+
<line num="15" count="33" type="stmt"/>
|
|
2290
2322
|
<line num="16" count="8" type="stmt"/>
|
|
2291
2323
|
<line num="17" count="8" type="stmt"/>
|
|
2292
|
-
<line num="
|
|
2293
|
-
<line num="20" count="
|
|
2294
|
-
<line num="
|
|
2295
|
-
<line num="
|
|
2296
|
-
<line num="27" count="8" type="
|
|
2297
|
-
<line num="28" count="8" type="cond" truecount="
|
|
2298
|
-
<line num="29" count="
|
|
2299
|
-
<line num="
|
|
2300
|
-
<line num="32" count="8" type="
|
|
2301
|
-
<line num="33" count="
|
|
2302
|
-
<line num="
|
|
2303
|
-
<line num="
|
|
2304
|
-
<line num="
|
|
2305
|
-
<line num="44" count="
|
|
2324
|
+
<line num="18" count="8" type="stmt"/>
|
|
2325
|
+
<line num="20" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
2326
|
+
<line num="21" count="0" type="stmt"/>
|
|
2327
|
+
<line num="24" count="8" type="stmt"/>
|
|
2328
|
+
<line num="27" count="8" type="stmt"/>
|
|
2329
|
+
<line num="28" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
2330
|
+
<line num="29" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
2331
|
+
<line num="30" count="3" type="stmt"/>
|
|
2332
|
+
<line num="32" count="8" type="stmt"/>
|
|
2333
|
+
<line num="33" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
2334
|
+
<line num="34" count="0" type="stmt"/>
|
|
2335
|
+
<line num="36" count="8" type="stmt"/>
|
|
2336
|
+
<line num="38" count="8" type="stmt"/>
|
|
2337
|
+
<line num="44" count="33" type="stmt"/>
|
|
2306
2338
|
<line num="45" count="1" type="stmt"/>
|
|
2307
2339
|
<line num="46" count="1" type="stmt"/>
|
|
2308
2340
|
<line num="47" count="1" type="stmt"/>
|
|
2309
2341
|
<line num="48" count="1" type="stmt"/>
|
|
2310
2342
|
<line num="49" count="1" type="stmt"/>
|
|
2311
|
-
<line num="
|
|
2312
|
-
<line num="
|
|
2313
|
-
<line num="55" count="
|
|
2343
|
+
<line num="50" count="1" type="stmt"/>
|
|
2344
|
+
<line num="52" count="1" type="stmt"/>
|
|
2345
|
+
<line num="55" count="33" type="stmt"/>
|
|
2314
2346
|
<line num="56" count="2" type="stmt"/>
|
|
2315
2347
|
<line num="57" count="2" type="stmt"/>
|
|
2316
|
-
<line num="
|
|
2317
|
-
<line num="60" count="2" type="
|
|
2318
|
-
<line num="61" count="
|
|
2319
|
-
<line num="
|
|
2320
|
-
<line num="65" count="2" type="
|
|
2321
|
-
<line num="
|
|
2322
|
-
<line num="
|
|
2323
|
-
<line num="
|
|
2324
|
-
<line num="
|
|
2325
|
-
<line num="83" count="2" type="cond" truecount="
|
|
2326
|
-
<line num="84" count="2" type="
|
|
2327
|
-
<line num="85" count="2" type="
|
|
2328
|
-
<line num="
|
|
2329
|
-
<line num="
|
|
2330
|
-
<line num="91" count="
|
|
2331
|
-
<line num="92" count="
|
|
2332
|
-
<line num="93" count="
|
|
2333
|
-
<line num="
|
|
2334
|
-
<line num="
|
|
2335
|
-
<line num="
|
|
2336
|
-
<line num="
|
|
2337
|
-
<line num="
|
|
2348
|
+
<line num="58" count="2" type="stmt"/>
|
|
2349
|
+
<line num="60" count="2" type="stmt"/>
|
|
2350
|
+
<line num="61" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
2351
|
+
<line num="62" count="0" type="stmt"/>
|
|
2352
|
+
<line num="65" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2353
|
+
<line num="66" count="2" type="stmt"/>
|
|
2354
|
+
<line num="68" count="2" type="stmt"/>
|
|
2355
|
+
<line num="80" count="2" type="stmt"/>
|
|
2356
|
+
<line num="81" count="2" type="stmt"/>
|
|
2357
|
+
<line num="83" count="2" type="cond" truecount="3" falsecount="0"/>
|
|
2358
|
+
<line num="84" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2359
|
+
<line num="85" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2360
|
+
<line num="86" count="2" type="stmt"/>
|
|
2361
|
+
<line num="87" count="2" type="stmt"/>
|
|
2362
|
+
<line num="91" count="2" type="stmt"/>
|
|
2363
|
+
<line num="92" count="4" type="stmt"/>
|
|
2364
|
+
<line num="93" count="0" type="stmt"/>
|
|
2365
|
+
<line num="95" count="2" type="stmt"/>
|
|
2366
|
+
<line num="96" count="0" type="stmt"/>
|
|
2367
|
+
<line num="97" count="0" type="stmt"/>
|
|
2368
|
+
<line num="99" count="0" type="stmt"/>
|
|
2369
|
+
<line num="103" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2370
|
+
<line num="104" count="1" type="stmt"/>
|
|
2371
|
+
<line num="105" count="1" type="stmt"/>
|
|
2338
2372
|
<line num="106" count="2" type="stmt"/>
|
|
2373
|
+
<line num="107" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2374
|
+
<line num="108" count="2" type="stmt"/>
|
|
2375
|
+
<line num="115" count="2" type="stmt"/>
|
|
2376
|
+
<line num="116" count="2" type="stmt"/>
|
|
2377
|
+
<line num="117" count="2" type="stmt"/>
|
|
2378
|
+
<line num="119" count="2" type="stmt"/>
|
|
2379
|
+
<line num="120" count="2" type="stmt"/>
|
|
2339
2380
|
</file>
|
|
2340
2381
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/utils.js">
|
|
2341
2382
|
<metrics statements="76" coveredstatements="38" conditionals="26" coveredconditionals="9" methods="9" coveredmethods="6"/>
|
|
@@ -2454,7 +2495,7 @@
|
|
|
2454
2495
|
</file>
|
|
2455
2496
|
</package>
|
|
2456
2497
|
<package name="api.routes">
|
|
2457
|
-
<metrics statements="
|
|
2498
|
+
<metrics statements="268" coveredstatements="261" conditionals="11" coveredconditionals="7" methods="10" coveredmethods="10"/>
|
|
2458
2499
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/analytics.js">
|
|
2459
2500
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2460
2501
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -2666,19 +2707,16 @@
|
|
|
2666
2707
|
<line num="44" count="23" type="stmt"/>
|
|
2667
2708
|
</file>
|
|
2668
2709
|
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/query.js">
|
|
2669
|
-
<metrics statements="
|
|
2710
|
+
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2670
2711
|
<line num="1" count="23" type="stmt"/>
|
|
2671
2712
|
<line num="2" count="23" type="stmt"/>
|
|
2672
2713
|
<line num="3" count="23" type="stmt"/>
|
|
2673
|
-
<line num="
|
|
2674
|
-
<line num="
|
|
2675
|
-
<line num="10" count="23" type="stmt"/>
|
|
2676
|
-
<line num="15" count="23" type="stmt"/>
|
|
2714
|
+
<line num="8" count="23" type="stmt"/>
|
|
2715
|
+
<line num="13" count="23" type="stmt"/>
|
|
2677
2716
|
<line num="17" count="23" type="stmt"/>
|
|
2717
|
+
<line num="19" count="23" type="stmt"/>
|
|
2678
2718
|
<line num="21" count="23" type="stmt"/>
|
|
2679
|
-
<line num="
|
|
2680
|
-
<line num="51" count="23" type="stmt"/>
|
|
2681
|
-
<line num="86" count="23" type="stmt"/>
|
|
2719
|
+
<line num="57" count="23" type="stmt"/>
|
|
2682
2720
|
</file>
|
|
2683
2721
|
<file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/role.js">
|
|
2684
2722
|
<metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
@@ -3464,119 +3502,119 @@
|
|
|
3464
3502
|
</file>
|
|
3465
3503
|
<file name="newid.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/newid.js">
|
|
3466
3504
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3467
|
-
<line num="1" count="
|
|
3468
|
-
<line num="3" count="
|
|
3469
|
-
<line num="4" count="
|
|
3505
|
+
<line num="1" count="48" type="stmt"/>
|
|
3506
|
+
<line num="3" count="48" type="stmt"/>
|
|
3507
|
+
<line num="4" count="683" type="stmt"/>
|
|
3470
3508
|
</file>
|
|
3471
3509
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3472
3510
|
<metrics statements="108" coveredstatements="100" conditionals="51" coveredconditionals="18" methods="30" coveredmethods="27"/>
|
|
3473
|
-
<line num="1" count="
|
|
3474
|
-
<line num="12" count="
|
|
3475
|
-
<line num="14" count="
|
|
3476
|
-
<line num="16" count="
|
|
3477
|
-
<line num="22" count="
|
|
3478
|
-
<line num="45" count="
|
|
3479
|
-
<line num="50" count="
|
|
3480
|
-
<line num="54" count="
|
|
3481
|
-
<line num="58" count="
|
|
3482
|
-
<line num="60" count="
|
|
3483
|
-
<line num="68" count="
|
|
3484
|
-
<line num="69" count="
|
|
3485
|
-
<line num="70" count="
|
|
3486
|
-
<line num="71" count="
|
|
3487
|
-
<line num="72" count="
|
|
3488
|
-
<line num="73" count="
|
|
3489
|
-
<line num="74" count="
|
|
3490
|
-
<line num="75" count="
|
|
3491
|
-
<line num="76" count="
|
|
3492
|
-
<line num="77" count="
|
|
3493
|
-
<line num="78" count="
|
|
3494
|
-
<line num="79" count="
|
|
3495
|
-
<line num="80" count="
|
|
3496
|
-
<line num="81" count="
|
|
3497
|
-
<line num="83" count="
|
|
3498
|
-
<line num="84" count="
|
|
3499
|
-
<line num="86" count="
|
|
3511
|
+
<line num="1" count="48" type="stmt"/>
|
|
3512
|
+
<line num="12" count="48" type="stmt"/>
|
|
3513
|
+
<line num="14" count="48" type="stmt"/>
|
|
3514
|
+
<line num="16" count="48" type="stmt"/>
|
|
3515
|
+
<line num="22" count="48" type="stmt"/>
|
|
3516
|
+
<line num="45" count="48" type="stmt"/>
|
|
3517
|
+
<line num="50" count="48" type="stmt"/>
|
|
3518
|
+
<line num="54" count="48" type="stmt"/>
|
|
3519
|
+
<line num="58" count="48" type="stmt"/>
|
|
3520
|
+
<line num="60" count="48" type="stmt"/>
|
|
3521
|
+
<line num="68" count="48" type="stmt"/>
|
|
3522
|
+
<line num="69" count="48" type="stmt"/>
|
|
3523
|
+
<line num="70" count="48" type="stmt"/>
|
|
3524
|
+
<line num="71" count="48" type="stmt"/>
|
|
3525
|
+
<line num="72" count="48" type="stmt"/>
|
|
3526
|
+
<line num="73" count="48" type="stmt"/>
|
|
3527
|
+
<line num="74" count="48" type="stmt"/>
|
|
3528
|
+
<line num="75" count="48" type="stmt"/>
|
|
3529
|
+
<line num="76" count="48" type="stmt"/>
|
|
3530
|
+
<line num="77" count="48" type="stmt"/>
|
|
3531
|
+
<line num="78" count="48" type="stmt"/>
|
|
3532
|
+
<line num="79" count="48" type="stmt"/>
|
|
3533
|
+
<line num="80" count="48" type="stmt"/>
|
|
3534
|
+
<line num="81" count="48" type="stmt"/>
|
|
3535
|
+
<line num="83" count="48" type="stmt"/>
|
|
3536
|
+
<line num="84" count="48" type="stmt"/>
|
|
3537
|
+
<line num="86" count="48" type="stmt"/>
|
|
3500
3538
|
<line num="87" count="74" type="stmt"/>
|
|
3501
3539
|
<line num="103" count="606" type="cond" truecount="2" falsecount="0"/>
|
|
3502
3540
|
<line num="104" count="593" type="stmt"/>
|
|
3503
3541
|
<line num="106" count="606" type="stmt"/>
|
|
3504
|
-
<line num="113" count="
|
|
3505
|
-
<line num="118" count="
|
|
3542
|
+
<line num="113" count="48" type="stmt"/>
|
|
3543
|
+
<line num="118" count="48" type="cond" truecount="0" falsecount="2"/>
|
|
3506
3544
|
<line num="119" count="3" type="stmt"/>
|
|
3507
|
-
<line num="126" count="
|
|
3545
|
+
<line num="126" count="48" type="stmt"/>
|
|
3508
3546
|
<line num="127" count="99" type="stmt"/>
|
|
3509
|
-
<line num="138" count="
|
|
3547
|
+
<line num="138" count="48" type="cond" truecount="0" falsecount="3"/>
|
|
3510
3548
|
<line num="139" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
3511
3549
|
<line num="140" count="0" type="stmt"/>
|
|
3512
3550
|
<line num="143" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
3513
3551
|
<line num="145" count="11" type="stmt"/>
|
|
3514
|
-
<line num="154" count="
|
|
3552
|
+
<line num="154" count="48" type="cond" truecount="1" falsecount="0"/>
|
|
3515
3553
|
<line num="155" count="201" type="cond" truecount="2" falsecount="0"/>
|
|
3516
3554
|
<line num="156" count="201" type="stmt"/>
|
|
3517
|
-
<line num="162" count="
|
|
3555
|
+
<line num="162" count="48" type="cond" truecount="0" falsecount="2"/>
|
|
3518
3556
|
<line num="163" count="3" type="stmt"/>
|
|
3519
|
-
<line num="171" count="
|
|
3557
|
+
<line num="171" count="48" type="stmt"/>
|
|
3520
3558
|
<line num="172" count="133" type="stmt"/>
|
|
3521
|
-
<line num="178" count="
|
|
3559
|
+
<line num="178" count="48" type="stmt"/>
|
|
3522
3560
|
<line num="179" count="2" type="stmt"/>
|
|
3523
3561
|
<line num="180" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
3524
3562
|
<line num="181" count="1" type="stmt"/>
|
|
3525
3563
|
<line num="183" count="1" type="stmt"/>
|
|
3526
|
-
<line num="189" count="
|
|
3564
|
+
<line num="189" count="48" type="cond" truecount="0" falsecount="2"/>
|
|
3527
3565
|
<line num="190" count="204" type="stmt"/>
|
|
3528
|
-
<line num="197" count="
|
|
3566
|
+
<line num="197" count="48" type="stmt"/>
|
|
3529
3567
|
<line num="198" count="20" type="stmt"/>
|
|
3530
|
-
<line num="212" count="
|
|
3568
|
+
<line num="212" count="48" type="stmt"/>
|
|
3531
3569
|
<line num="220" count="9" type="stmt"/>
|
|
3532
3570
|
<line num="221" count="9" type="stmt"/>
|
|
3533
3571
|
<line num="222" count="9" type="stmt"/>
|
|
3534
3572
|
<line num="223" count="9" type="stmt"/>
|
|
3535
|
-
<line num="229" count="
|
|
3573
|
+
<line num="229" count="48" type="cond" truecount="0" falsecount="1"/>
|
|
3536
3574
|
<line num="230" count="0" type="stmt"/>
|
|
3537
|
-
<line num="237" count="
|
|
3575
|
+
<line num="237" count="48" type="cond" truecount="0" falsecount="1"/>
|
|
3538
3576
|
<line num="238" count="179" type="stmt"/>
|
|
3539
3577
|
<line num="239" count="179" type="cond" truecount="1" falsecount="1"/>
|
|
3540
3578
|
<line num="240" count="0" type="stmt"/>
|
|
3541
3579
|
<line num="242" count="179" type="stmt"/>
|
|
3542
|
-
<line num="249" count="
|
|
3580
|
+
<line num="249" count="48" type="stmt"/>
|
|
3543
3581
|
<line num="250" count="179" type="stmt"/>
|
|
3544
3582
|
<line num="251" count="179" type="stmt"/>
|
|
3545
3583
|
<line num="252" count="179" type="stmt"/>
|
|
3546
|
-
<line num="259" count="
|
|
3584
|
+
<line num="259" count="48" type="stmt"/>
|
|
3547
3585
|
<line num="260" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3548
|
-
<line num="266" count="
|
|
3586
|
+
<line num="266" count="48" type="cond" truecount="0" falsecount="2"/>
|
|
3549
3587
|
<line num="267" count="189" type="stmt"/>
|
|
3550
|
-
<line num="274" count="
|
|
3588
|
+
<line num="274" count="48" type="stmt"/>
|
|
3551
3589
|
<line num="275" count="19" type="stmt"/>
|
|
3552
|
-
<line num="281" count="
|
|
3590
|
+
<line num="281" count="48" type="cond" truecount="0" falsecount="2"/>
|
|
3553
3591
|
<line num="282" count="191" type="stmt"/>
|
|
3554
|
-
<line num="289" count="
|
|
3592
|
+
<line num="289" count="48" type="stmt"/>
|
|
3555
3593
|
<line num="290" count="10" type="stmt"/>
|
|
3556
|
-
<line num="296" count="
|
|
3594
|
+
<line num="296" count="48" type="cond" truecount="0" falsecount="2"/>
|
|
3557
3595
|
<line num="297" count="2" type="stmt"/>
|
|
3558
|
-
<line num="304" count="
|
|
3596
|
+
<line num="304" count="48" type="cond" truecount="1" falsecount="1"/>
|
|
3559
3597
|
<line num="305" count="24" type="stmt"/>
|
|
3560
|
-
<line num="313" count="
|
|
3598
|
+
<line num="313" count="48" type="cond" truecount="0" falsecount="2"/>
|
|
3561
3599
|
<line num="314" count="3" type="stmt"/>
|
|
3562
|
-
<line num="321" count="
|
|
3563
|
-
<line num="322" count="
|
|
3564
|
-
<line num="330" count="
|
|
3600
|
+
<line num="321" count="48" type="stmt"/>
|
|
3601
|
+
<line num="322" count="73" type="stmt"/>
|
|
3602
|
+
<line num="330" count="48" type="cond" truecount="0" falsecount="2"/>
|
|
3565
3603
|
<line num="331" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
3566
3604
|
<line num="332" count="2" type="stmt"/>
|
|
3567
3605
|
<line num="335" count="1" type="stmt"/>
|
|
3568
|
-
<line num="342" count="
|
|
3606
|
+
<line num="342" count="48" type="stmt"/>
|
|
3569
3607
|
<line num="343" count="10" type="stmt"/>
|
|
3570
|
-
<line num="346" count="
|
|
3608
|
+
<line num="346" count="48" type="cond" truecount="0" falsecount="2"/>
|
|
3571
3609
|
<line num="347" count="0" type="stmt"/>
|
|
3572
3610
|
<line num="348" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3573
3611
|
<line num="349" count="0" type="stmt"/>
|
|
3574
3612
|
<line num="351" count="0" type="stmt"/>
|
|
3575
|
-
<line num="354" count="
|
|
3613
|
+
<line num="354" count="48" type="stmt"/>
|
|
3576
3614
|
<line num="355" count="1" type="stmt"/>
|
|
3577
|
-
<line num="358" count="
|
|
3615
|
+
<line num="358" count="48" type="cond" truecount="0" falsecount="1"/>
|
|
3578
3616
|
<line num="359" count="0" type="stmt"/>
|
|
3579
|
-
<line num="365" count="
|
|
3617
|
+
<line num="365" count="48" type="stmt"/>
|
|
3580
3618
|
<line num="366" count="60" type="stmt"/>
|
|
3581
3619
|
</file>
|
|
3582
3620
|
</package>
|
|
@@ -3971,7 +4009,7 @@
|
|
|
3971
4009
|
<line num="11" count="24" type="stmt"/>
|
|
3972
4010
|
<line num="14" count="7" type="stmt"/>
|
|
3973
4011
|
<line num="17" count="24" type="stmt"/>
|
|
3974
|
-
<line num="19" count="
|
|
4012
|
+
<line num="19" count="2269" type="stmt"/>
|
|
3975
4013
|
<line num="22" count="151" type="cond" truecount="4" falsecount="0"/>
|
|
3976
4014
|
<line num="23" count="1" type="stmt"/>
|
|
3977
4015
|
<line num="26" count="150" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -4110,9 +4148,9 @@
|
|
|
4110
4148
|
<line num="15" count="0" type="stmt"/>
|
|
4111
4149
|
<line num="16" count="0" type="stmt"/>
|
|
4112
4150
|
<line num="18" count="18" type="stmt"/>
|
|
4113
|
-
<line num="22" count="
|
|
4151
|
+
<line num="22" count="35" type="stmt"/>
|
|
4114
4152
|
<line num="23" count="230" type="stmt"/>
|
|
4115
|
-
<line num="26" count="
|
|
4153
|
+
<line num="26" count="35" type="stmt"/>
|
|
4116
4154
|
<line num="27" count="46" type="stmt"/>
|
|
4117
4155
|
</file>
|
|
4118
4156
|
<file name="resourceId.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/resourceId.js">
|
|
@@ -4349,7 +4387,7 @@
|
|
|
4349
4387
|
</file>
|
|
4350
4388
|
</package>
|
|
4351
4389
|
<package name="utilities">
|
|
4352
|
-
<metrics statements="
|
|
4390
|
+
<metrics statements="323" coveredstatements="233" conditionals="123" coveredconditionals="67" methods="62" coveredmethods="42"/>
|
|
4353
4391
|
<file name="bcrypt.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/bcrypt.js">
|
|
4354
4392
|
<metrics statements="9" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
4355
4393
|
<line num="3" count="0" type="stmt"/>
|
|
@@ -4381,7 +4419,7 @@
|
|
|
4381
4419
|
<line num="21" count="0" type="stmt"/>
|
|
4382
4420
|
</file>
|
|
4383
4421
|
<file name="csvParser.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/csvParser.js">
|
|
4384
|
-
<metrics statements="
|
|
4422
|
+
<metrics statements="72" coveredstatements="57" conditionals="34" coveredconditionals="23" methods="15" coveredmethods="12"/>
|
|
4385
4423
|
<line num="1" count="35" type="stmt"/>
|
|
4386
4424
|
<line num="2" count="35" type="stmt"/>
|
|
4387
4425
|
<line num="4" count="35" type="stmt"/>
|
|
@@ -4434,25 +4472,26 @@
|
|
|
4434
4472
|
<line num="101" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
4435
4473
|
<line num="102" count="1" type="stmt"/>
|
|
4436
4474
|
<line num="105" count="4" type="stmt"/>
|
|
4437
|
-
<line num="
|
|
4438
|
-
<line num="
|
|
4439
|
-
<line num="
|
|
4440
|
-
<line num="
|
|
4441
|
-
<line num="
|
|
4442
|
-
<line num="
|
|
4443
|
-
<line num="
|
|
4444
|
-
<line num="
|
|
4445
|
-
<line num="
|
|
4446
|
-
<line num="
|
|
4447
|
-
<line num="
|
|
4448
|
-
<line num="
|
|
4449
|
-
<line num="124" count="
|
|
4450
|
-
<line num="
|
|
4451
|
-
<line num="
|
|
4452
|
-
<line num="
|
|
4453
|
-
<line num="
|
|
4454
|
-
<line num="
|
|
4455
|
-
<line num="
|
|
4475
|
+
<line num="107" count="9" type="cond" truecount="1" falsecount="1"/>
|
|
4476
|
+
<line num="108" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
4477
|
+
<line num="112" count="4" type="stmt"/>
|
|
4478
|
+
<line num="113" count="4" type="stmt"/>
|
|
4479
|
+
<line num="114" count="3" type="stmt"/>
|
|
4480
|
+
<line num="115" count="8" type="stmt"/>
|
|
4481
|
+
<line num="116" count="3" type="stmt"/>
|
|
4482
|
+
<line num="117" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
4483
|
+
<line num="118" count="0" type="stmt"/>
|
|
4484
|
+
<line num="120" count="7" type="stmt"/>
|
|
4485
|
+
<line num="121" count="16" type="stmt"/>
|
|
4486
|
+
<line num="123" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
4487
|
+
<line num="124" count="6" type="stmt"/>
|
|
4488
|
+
<line num="127" count="10" type="cond" truecount="1" falsecount="1"/>
|
|
4489
|
+
<line num="128" count="0" type="stmt"/>
|
|
4490
|
+
<line num="129" count="0" type="stmt"/>
|
|
4491
|
+
<line num="133" count="3" type="stmt"/>
|
|
4492
|
+
<line num="135" count="1" type="stmt"/>
|
|
4493
|
+
<line num="136" count="1" type="stmt"/>
|
|
4494
|
+
<line num="140" count="35" type="stmt"/>
|
|
4456
4495
|
</file>
|
|
4457
4496
|
<file name="global.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/global.js">
|
|
4458
4497
|
<metrics statements="56" coveredstatements="46" conditionals="25" coveredconditionals="17" methods="15" coveredmethods="11"/>
|