@budibase/server 0.9.169-alpha.9 → 0.9.172
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.aafb155b.js → index.9ab01cd4.js} +34 -34
- package/builder/assets/{index.0ea76a5c.css → index.dbc6728e.css} +2 -2
- package/builder/assets/{vendor.2053eff2.js → vendor.54435e8f.js} +2 -2
- package/builder/index.html +3 -3
- package/coverage/clover.xml +517 -609
- package/coverage/coverage-final.json +31 -32
- 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 +9 -6
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +1 -1
- package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
- package/coverage/lcov-report/api/controllers/dev.js.html +17 -41
- package/coverage/lcov-report/api/controllers/hosting.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +45 -45
- 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 +4 -7
- package/coverage/lcov-report/api/controllers/query.js.html +24 -129
- 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 +5 -5
- package/coverage/lcov-report/api/controllers/row/index.js.html +15 -15
- 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 +57 -12
- package/coverage/lcov-report/api/controllers/table/index.html +28 -28
- package/coverage/lcov-report/api/controllers/table/index.js.html +37 -16
- package/coverage/lcov-report/api/controllers/table/utils.js.html +33 -279
- package/coverage/lcov-report/api/controllers/templates.js.html +13 -49
- 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 +1 -1
- package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/utils.js.html +8 -8
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +6 -6
- 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 +11 -26
- 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 +3 -9
- 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 +10 -31
- package/coverage/lcov-report/automations/automationUtils.js.html +86 -14
- package/coverage/lcov-report/automations/bullboard.js.html +1 -1
- package/coverage/lcov-report/automations/index.html +25 -25
- package/coverage/lcov-report/automations/index.js.html +1 -1
- package/coverage/lcov-report/automations/steps/bash.js.html +7 -10
- package/coverage/lcov-report/automations/steps/createRow.js.html +2 -2
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/deleteRow.js.html +5 -8
- package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +7 -10
- package/coverage/lcov-report/automations/steps/executeScript.js.html +7 -10
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +57 -57
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +7 -10
- package/coverage/lcov-report/automations/steps/queryRows.js.html +7 -10
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +7 -10
- 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 +14 -14
- package/coverage/lcov-report/automations/steps/utils.js.html +10 -10
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/thread.js.html +12 -54
- 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 +2 -5
- 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 +12 -12
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +9 -9
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
- package/coverage/lcov-report/db/newid.js.html +1 -1
- package/coverage/lcov-report/db/utils.js.html +1 -1
- 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 +69 -69
- 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 +1 -1
- package/coverage/lcov-report/middleware/builder.js.html +1 -1
- package/coverage/lcov-report/middleware/currentapp.js.html +2 -2
- package/coverage/lcov-report/middleware/index.html +1 -1
- package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
- package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
- package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
- package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
- package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
- package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
- package/coverage/lcov-report/utilities/global.js.html +2 -2
- package/coverage/lcov-report/utilities/index.html +7 -22
- 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 +14 -14
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +8 -38
- package/coverage/lcov-report/utilities/rowProcessor/utils.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 +848 -1026
- package/dist/api/controllers/backup.js +4 -4
- package/dist/api/controllers/dev.js +11 -17
- package/dist/api/controllers/permission.js +0 -1
- package/dist/api/controllers/query.js +8 -26
- package/dist/api/controllers/row/ExternalRequest.js +5 -46
- package/dist/api/controllers/script.js +16 -4
- package/dist/api/controllers/table/index.js +10 -5
- package/dist/api/controllers/table/utils.js +10 -83
- package/dist/api/controllers/templates.js +3 -18
- package/dist/api/routes/dev.js +4 -8
- package/dist/api/routes/query.js +1 -3
- package/dist/automations/actions.js +3 -9
- package/dist/automations/automationUtils.js +29 -8
- package/dist/automations/steps/bash.js +1 -2
- package/dist/automations/steps/createRow.js +1 -1
- package/dist/automations/steps/deleteRow.js +1 -2
- package/dist/automations/steps/executeQuery.js +1 -2
- package/dist/automations/steps/executeScript.js +1 -2
- package/dist/automations/steps/outgoingWebhook.js +1 -2
- package/dist/automations/steps/queryRows.js +1 -2
- package/dist/automations/steps/sendSmtpEmail.js +1 -2
- package/dist/automations/steps/updateRow.js +2 -6
- package/dist/automations/thread.js +3 -14
- package/dist/constants/index.js +0 -1
- package/dist/integrations/base/sql.js +4 -4
- package/dist/integrations/utils.js +1 -16
- package/dist/middleware/currentapp.js +1 -1
- package/dist/package.json +5 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utilities/fileSystem/index.js +33 -49
- package/dist/utilities/global.js +1 -1
- package/dist/utilities/rowProcessor/index.js +0 -8
- package/package.json +6 -7
- package/src/api/controllers/backup.js +5 -4
- package/src/api/controllers/dev.js +8 -16
- package/src/api/controllers/permission.js +0 -1
- package/src/api/controllers/query.js +11 -46
- package/src/api/controllers/row/ExternalRequest.ts +4 -49
- package/src/api/controllers/script.js +19 -4
- package/src/api/controllers/table/index.js +12 -5
- package/src/api/controllers/table/utils.js +12 -94
- package/src/api/controllers/templates.js +5 -17
- package/src/api/routes/dev.js +4 -9
- package/src/api/routes/query.js +1 -3
- package/src/automations/actions.js +3 -10
- package/src/automations/automationUtils.js +31 -7
- package/src/automations/steps/bash.js +1 -2
- package/src/automations/steps/createRow.js +1 -1
- package/src/automations/steps/deleteRow.js +1 -2
- package/src/automations/steps/executeQuery.js +1 -2
- package/src/automations/steps/executeScript.js +1 -2
- package/src/automations/steps/outgoingWebhook.js +1 -2
- package/src/automations/steps/queryRows.js +1 -2
- package/src/automations/steps/sendSmtpEmail.js +1 -2
- package/src/automations/steps/updateRow.js +6 -6
- package/src/automations/thread.js +3 -17
- package/src/constants/index.js +0 -1
- package/src/integrations/base/sql.ts +3 -5
- package/src/integrations/tests/mongo.spec.js +6 -10
- package/src/integrations/utils.ts +0 -15
- package/src/middleware/currentapp.js +1 -1
- package/src/middleware/tests/currentapp.spec.js +3 -3
- package/src/utilities/fileSystem/index.js +43 -65
- package/src/utilities/global.js +1 -1
- package/src/utilities/rowProcessor/index.js +0 -10
- package/coverage/lcov-report/utilities/scriptRunner.js.html +0 -143
- package/dist/utilities/scriptRunner.js +0 -19
- package/src/utilities/scriptRunner.js +0 -21
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="1635152788400" clover="3.2.0">
|
|
3
|
+
<project timestamp="1635152788400" name="All files">
|
|
4
|
+
<metrics statements="3814" coveredstatements="3003" conditionals="1441" coveredconditionals="856" methods="545" coveredmethods="407" elements="5800" coveredelements="4266" complexity="0" loc="3814" ncloc="3814" packages="19" files="132" classes="132"/>
|
|
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="982" coveredstatements="775" conditionals="300" coveredconditionals="167" methods="140" coveredmethods="108"/>
|
|
42
42
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.js">
|
|
43
43
|
<metrics statements="12" coveredstatements="6" conditionals="11" coveredconditionals="4" methods="2" coveredmethods="1"/>
|
|
44
44
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -365,8 +365,8 @@
|
|
|
365
365
|
<line num="4" count="1" type="stmt"/>
|
|
366
366
|
<line num="5" count="1" type="stmt"/>
|
|
367
367
|
<line num="6" count="1" type="stmt"/>
|
|
368
|
-
<line num="7" count="1" type="stmt"/>
|
|
369
368
|
<line num="8" count="1" type="stmt"/>
|
|
369
|
+
<line num="9" count="1" type="stmt"/>
|
|
370
370
|
</file>
|
|
371
371
|
<file name="cloud.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/cloud.js">
|
|
372
372
|
<metrics statements="55" coveredstatements="11" conditionals="23" coveredconditionals="0" methods="8" coveredmethods="0"/>
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
<line num="146" count="0" type="stmt"/>
|
|
525
525
|
</file>
|
|
526
526
|
<file name="dev.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/dev.js">
|
|
527
|
-
<metrics statements="
|
|
527
|
+
<metrics statements="54" coveredstatements="14" conditionals="10" coveredconditionals="0" methods="7" coveredmethods="0"/>
|
|
528
528
|
<line num="1" count="23" type="stmt"/>
|
|
529
529
|
<line num="2" count="23" type="stmt"/>
|
|
530
530
|
<line num="3" count="23" type="stmt"/>
|
|
@@ -536,52 +536,49 @@
|
|
|
536
536
|
<line num="11" count="0" type="stmt"/>
|
|
537
537
|
<line num="12" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
538
538
|
<line num="13" count="0" type="stmt"/>
|
|
539
|
-
<line num="
|
|
539
|
+
<line num="24" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
540
|
+
<line num="25" count="0" type="stmt"/>
|
|
540
541
|
<line num="27" count="0" type="stmt"/>
|
|
542
|
+
<line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
541
543
|
<line num="29" count="0" type="stmt"/>
|
|
542
|
-
<line num="
|
|
543
|
-
<line num="
|
|
544
|
-
<line num="
|
|
545
|
-
<line num="
|
|
544
|
+
<line num="32" count="0" type="stmt"/>
|
|
545
|
+
<line num="33" count="0" type="stmt"/>
|
|
546
|
+
<line num="37" count="0" type="stmt"/>
|
|
547
|
+
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
546
548
|
<line num="39" count="0" type="stmt"/>
|
|
547
|
-
<line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
548
549
|
<line num="41" count="0" type="stmt"/>
|
|
549
|
-
<line num="
|
|
550
|
-
<line num="
|
|
551
|
-
<line num="
|
|
552
|
-
<line num="
|
|
550
|
+
<line num="44" count="23" type="stmt"/>
|
|
551
|
+
<line num="45" count="0" type="stmt"/>
|
|
552
|
+
<line num="48" count="23" type="stmt"/>
|
|
553
|
+
<line num="49" count="0" type="stmt"/>
|
|
553
554
|
<line num="52" count="23" type="stmt"/>
|
|
554
|
-
<line num="53" count="
|
|
555
|
-
<line num="
|
|
556
|
-
<line num="
|
|
557
|
-
<line num="
|
|
558
|
-
<line num="
|
|
559
|
-
<line num="
|
|
560
|
-
<line num="
|
|
561
|
-
<line num="
|
|
562
|
-
<line num="67" count="0" type="stmt"/>
|
|
555
|
+
<line num="53" count="0" type="stmt"/>
|
|
556
|
+
<line num="56" count="23" type="stmt"/>
|
|
557
|
+
<line num="57" count="0" type="stmt"/>
|
|
558
|
+
<line num="58" count="0" type="stmt"/>
|
|
559
|
+
<line num="59" count="0" type="stmt"/>
|
|
560
|
+
<line num="61" count="0" type="stmt"/>
|
|
561
|
+
<line num="63" count="0" type="stmt"/>
|
|
562
|
+
<line num="68" count="23" type="stmt"/>
|
|
563
563
|
<line num="69" count="0" type="stmt"/>
|
|
564
|
-
<line num="
|
|
565
|
-
<line num="
|
|
566
|
-
<line num="
|
|
564
|
+
<line num="70" count="0" type="stmt"/>
|
|
565
|
+
<line num="73" count="0" type="stmt"/>
|
|
566
|
+
<line num="74" count="0" type="stmt"/>
|
|
567
|
+
<line num="75" count="0" type="stmt"/>
|
|
568
|
+
<line num="76" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
567
569
|
<line num="78" count="0" type="stmt"/>
|
|
568
570
|
<line num="81" count="0" type="stmt"/>
|
|
569
571
|
<line num="82" count="0" type="stmt"/>
|
|
570
|
-
<line num="
|
|
571
|
-
<line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
572
|
-
<line num="86" count="0" type="stmt"/>
|
|
572
|
+
<line num="87" count="0" type="stmt"/>
|
|
573
573
|
<line num="89" count="0" type="stmt"/>
|
|
574
574
|
<line num="90" count="0" type="stmt"/>
|
|
575
|
-
<line num="
|
|
576
|
-
<line num="
|
|
575
|
+
<line num="91" count="0" type="stmt"/>
|
|
576
|
+
<line num="92" count="0" type="stmt"/>
|
|
577
|
+
<line num="93" count="0" type="stmt"/>
|
|
578
|
+
<line num="94" count="0" type="stmt"/>
|
|
577
579
|
<line num="98" count="0" type="stmt"/>
|
|
578
|
-
<line num="
|
|
579
|
-
<line num="
|
|
580
|
-
<line num="101" count="0" type="stmt"/>
|
|
581
|
-
<line num="102" count="0" type="stmt"/>
|
|
582
|
-
<line num="106" count="0" type="stmt"/>
|
|
583
|
-
<line num="110" count="23" type="stmt"/>
|
|
584
|
-
<line num="111" count="0" type="stmt"/>
|
|
580
|
+
<line num="102" count="23" type="stmt"/>
|
|
581
|
+
<line num="103" count="0" type="stmt"/>
|
|
585
582
|
</file>
|
|
586
583
|
<file name="hosting.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/hosting.js">
|
|
587
584
|
<metrics statements="15" coveredstatements="13" conditionals="4" coveredconditionals="2" methods="2" coveredmethods="1"/>
|
|
@@ -669,7 +666,7 @@
|
|
|
669
666
|
<line num="43" count="0" type="stmt"/>
|
|
670
667
|
</file>
|
|
671
668
|
<file name="permission.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/permission.js">
|
|
672
|
-
<metrics statements="78" coveredstatements="77" conditionals="
|
|
669
|
+
<metrics statements="78" coveredstatements="77" conditionals="32" coveredconditionals="29" methods="13" coveredmethods="13"/>
|
|
673
670
|
<line num="1" count="33" type="stmt"/>
|
|
674
671
|
<line num="7" count="33" type="stmt"/>
|
|
675
672
|
<line num="8" count="33" type="stmt"/>
|
|
@@ -742,111 +739,102 @@
|
|
|
742
739
|
<line num="146" count="6" type="stmt"/>
|
|
743
740
|
<line num="147" count="8" type="stmt"/>
|
|
744
741
|
<line num="148" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
745
|
-
<line num="
|
|
746
|
-
<line num="
|
|
747
|
-
<line num="
|
|
748
|
-
<line num="
|
|
749
|
-
<line num="
|
|
750
|
-
<line num="
|
|
742
|
+
<line num="153" count="3" type="stmt"/>
|
|
743
|
+
<line num="157" count="3" type="stmt"/>
|
|
744
|
+
<line num="160" count="33" type="stmt"/>
|
|
745
|
+
<line num="161" count="10" type="stmt"/>
|
|
746
|
+
<line num="168" count="33" type="stmt"/>
|
|
747
|
+
<line num="169" count="1" type="stmt"/>
|
|
751
748
|
</file>
|
|
752
749
|
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query.js">
|
|
753
|
-
<metrics statements="
|
|
750
|
+
<metrics statements="87" coveredstatements="69" conditionals="37" coveredconditionals="20" methods="10" coveredmethods="10"/>
|
|
754
751
|
<line num="1" count="34" type="stmt"/>
|
|
755
752
|
<line num="2" count="34" type="stmt"/>
|
|
756
753
|
<line num="3" count="34" type="stmt"/>
|
|
757
754
|
<line num="4" count="34" type="stmt"/>
|
|
758
755
|
<line num="5" count="34" type="stmt"/>
|
|
759
756
|
<line num="6" count="34" type="stmt"/>
|
|
760
|
-
<line num="
|
|
761
|
-
<line num="11" count="4" type="
|
|
762
|
-
<line num="12" count="4" type="
|
|
763
|
-
<line num="13" count="
|
|
764
|
-
<line num="14" count="3" type="
|
|
765
|
-
<line num="
|
|
766
|
-
<line num="
|
|
767
|
-
<line num="22" count="
|
|
757
|
+
<line num="10" count="4" type="stmt"/>
|
|
758
|
+
<line num="11" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
759
|
+
<line num="12" count="4" type="stmt"/>
|
|
760
|
+
<line num="13" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
761
|
+
<line num="14" count="3" type="stmt"/>
|
|
762
|
+
<line num="17" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
763
|
+
<line num="21" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
764
|
+
<line num="22" count="0" type="stmt"/>
|
|
768
765
|
<line num="23" count="0" type="stmt"/>
|
|
769
|
-
<line num="
|
|
770
|
-
<line num="
|
|
771
|
-
<line num="
|
|
772
|
-
<line num="32" count="
|
|
773
|
-
<line num="
|
|
774
|
-
<line num="
|
|
775
|
-
<line num="
|
|
776
|
-
<line num="
|
|
777
|
-
<line num="
|
|
778
|
-
<line num="
|
|
779
|
-
<line num="
|
|
780
|
-
<line num="
|
|
781
|
-
<line num="
|
|
782
|
-
<line num="
|
|
783
|
-
<line num="
|
|
784
|
-
<line num="
|
|
785
|
-
<line num="
|
|
786
|
-
<line num="
|
|
787
|
-
<line num="
|
|
788
|
-
<line num="
|
|
789
|
-
<line num="
|
|
790
|
-
<line num="
|
|
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="102" count="
|
|
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="
|
|
766
|
+
<line num="25" count="0" type="stmt"/>
|
|
767
|
+
<line num="28" count="0" type="stmt"/>
|
|
768
|
+
<line num="31" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
769
|
+
<line num="32" count="0" type="stmt"/>
|
|
770
|
+
<line num="34" count="2" type="stmt"/>
|
|
771
|
+
<line num="37" count="34" type="stmt"/>
|
|
772
|
+
<line num="38" count="2" type="stmt"/>
|
|
773
|
+
<line num="40" count="2" type="stmt"/>
|
|
774
|
+
<line num="45" count="2" type="stmt"/>
|
|
775
|
+
<line num="48" count="34" type="stmt"/>
|
|
776
|
+
<line num="49" count="18" type="stmt"/>
|
|
777
|
+
<line num="50" count="18" type="stmt"/>
|
|
778
|
+
<line num="52" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
779
|
+
<line num="53" count="18" type="stmt"/>
|
|
780
|
+
<line num="56" count="18" type="stmt"/>
|
|
781
|
+
<line num="57" count="18" type="stmt"/>
|
|
782
|
+
<line num="59" count="18" type="stmt"/>
|
|
783
|
+
<line num="60" count="18" type="stmt"/>
|
|
784
|
+
<line num="64" count="2" type="stmt"/>
|
|
785
|
+
<line num="67" count="2" type="stmt"/>
|
|
786
|
+
<line num="68" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
787
|
+
<line num="69" count="0" type="stmt"/>
|
|
788
|
+
<line num="71" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
789
|
+
<line num="73" count="0" type="stmt"/>
|
|
790
|
+
<line num="74" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
791
|
+
<line num="76" count="0" type="stmt"/>
|
|
792
|
+
<line num="78" count="0" type="stmt"/>
|
|
793
|
+
<line num="82" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
794
|
+
<line num="87" count="0" type="stmt"/>
|
|
795
|
+
<line num="88" count="0" type="stmt"/>
|
|
796
|
+
<line num="94" count="0" type="stmt"/>
|
|
797
|
+
<line num="96" count="0" type="stmt"/>
|
|
798
|
+
<line num="99" count="2" type="stmt"/>
|
|
799
|
+
<line num="102" count="34" type="stmt"/>
|
|
800
|
+
<line num="103" count="2" type="stmt"/>
|
|
801
|
+
<line num="104" count="2" type="stmt"/>
|
|
802
|
+
<line num="106" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
803
|
+
<line num="107" count="1" type="stmt"/>
|
|
804
|
+
<line num="108" count="1" type="stmt"/>
|
|
805
|
+
<line num="109" count="1" type="stmt"/>
|
|
806
|
+
<line num="111" count="2" type="stmt"/>
|
|
807
|
+
<line num="114" count="34" type="stmt"/>
|
|
808
|
+
<line num="115" count="2" type="stmt"/>
|
|
809
|
+
<line num="117" count="2" type="stmt"/>
|
|
810
|
+
<line num="119" count="2" type="stmt"/>
|
|
811
|
+
<line num="121" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
812
|
+
<line num="122" count="1" type="stmt"/>
|
|
813
|
+
<line num="125" count="1" type="stmt"/>
|
|
814
|
+
<line num="127" count="1" type="stmt"/>
|
|
815
|
+
<line num="129" count="1" type="stmt"/>
|
|
816
|
+
<line num="130" count="1" type="stmt"/>
|
|
817
|
+
<line num="133" count="1" type="stmt"/>
|
|
815
818
|
<line num="135" count="1" type="stmt"/>
|
|
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="150" count="1" type="stmt"/>
|
|
825
|
-
<line num="153" count="1" type="stmt"/>
|
|
819
|
+
<line num="140" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
820
|
+
<line num="141" count="0" type="stmt"/>
|
|
821
|
+
<line num="145" count="34" type="stmt"/>
|
|
822
|
+
<line num="146" count="2" type="stmt"/>
|
|
823
|
+
<line num="148" count="2" type="stmt"/>
|
|
824
|
+
<line num="149" count="2" type="stmt"/>
|
|
825
|
+
<line num="151" count="2" type="stmt"/>
|
|
826
|
+
<line num="153" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
826
827
|
<line num="154" count="1" type="stmt"/>
|
|
827
|
-
<line num="155" count="1" type="stmt"/>
|
|
828
828
|
<line num="157" count="1" type="stmt"/>
|
|
829
|
+
<line num="162" count="1" type="stmt"/>
|
|
829
830
|
<line num="164" count="1" type="stmt"/>
|
|
830
|
-
<line num="
|
|
831
|
-
<line num="
|
|
832
|
-
<line num="
|
|
833
|
-
<line num="
|
|
834
|
-
<line num="
|
|
835
|
-
<line num="
|
|
836
|
-
<line num="
|
|
837
|
-
<line num="182" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
838
|
-
<line num="183" count="1" type="stmt"/>
|
|
839
|
-
<line num="186" count="1" type="stmt"/>
|
|
840
|
-
<line num="190" count="1" type="stmt"/>
|
|
841
|
-
<line num="193" count="1" type="stmt"/>
|
|
842
|
-
<line num="199" count="1" type="stmt"/>
|
|
843
|
-
<line num="201" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
844
|
-
<line num="202" count="0" type="stmt"/>
|
|
845
|
-
<line num="206" count="34" type="stmt"/>
|
|
846
|
-
<line num="207" count="1" type="stmt"/>
|
|
847
|
-
<line num="208" count="1" type="stmt"/>
|
|
848
|
-
<line num="209" count="1" type="stmt"/>
|
|
849
|
-
<line num="210" count="1" type="stmt"/>
|
|
831
|
+
<line num="166" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
832
|
+
<line num="167" count="0" type="stmt"/>
|
|
833
|
+
<line num="171" count="34" type="stmt"/>
|
|
834
|
+
<line num="172" count="1" type="stmt"/>
|
|
835
|
+
<line num="173" count="1" type="stmt"/>
|
|
836
|
+
<line num="174" count="1" type="stmt"/>
|
|
837
|
+
<line num="175" count="1" type="stmt"/>
|
|
850
838
|
</file>
|
|
851
839
|
<file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/role.js">
|
|
852
840
|
<metrics statements="53" coveredstatements="47" conditionals="22" coveredconditionals="14" methods="7" coveredmethods="5"/>
|
|
@@ -983,32 +971,31 @@
|
|
|
983
971
|
<line num="47" count="1" type="stmt"/>
|
|
984
972
|
</file>
|
|
985
973
|
<file name="script.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/script.js">
|
|
986
|
-
<metrics statements="
|
|
974
|
+
<metrics statements="13" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
987
975
|
<line num="1" count="34" type="stmt"/>
|
|
988
|
-
<line num="
|
|
989
|
-
<line num="4" count="0" type="stmt"/>
|
|
990
|
-
<line num="5" count="0" type="stmt"/>
|
|
976
|
+
<line num="2" count="34" type="stmt"/>
|
|
991
977
|
<line num="6" count="0" type="stmt"/>
|
|
992
|
-
<line num="
|
|
993
|
-
<line num="
|
|
978
|
+
<line num="7" count="0" type="stmt"/>
|
|
979
|
+
<line num="8" count="0" type="stmt"/>
|
|
980
|
+
<line num="9" count="0" type="stmt"/>
|
|
981
|
+
<line num="13" count="0" type="stmt"/>
|
|
982
|
+
<line num="14" count="0" type="stmt"/>
|
|
983
|
+
<line num="18" count="34" type="stmt"/>
|
|
984
|
+
<line num="19" count="0" type="stmt"/>
|
|
985
|
+
<line num="21" count="0" type="stmt"/>
|
|
986
|
+
<line num="24" count="34" type="stmt"/>
|
|
987
|
+
<line num="25" count="0" type="stmt"/>
|
|
994
988
|
</file>
|
|
995
989
|
<file name="templates.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/templates.js">
|
|
996
|
-
<metrics statements="
|
|
990
|
+
<metrics statements="8" coveredstatements="8" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
997
991
|
<line num="1" count="23" type="stmt"/>
|
|
998
992
|
<line num="2" count="23" type="stmt"/>
|
|
999
993
|
<line num="6" count="23" type="stmt"/>
|
|
1000
994
|
<line num="8" count="23" type="stmt"/>
|
|
1001
995
|
<line num="9" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
1002
|
-
<line num="
|
|
1003
|
-
<line num="12" count="1" type="stmt"/>
|
|
996
|
+
<line num="10" count="1" type="stmt"/>
|
|
1004
997
|
<line num="13" count="1" type="stmt"/>
|
|
1005
|
-
<line num="14" count="1" type="
|
|
1006
|
-
<line num="15" count="0" type="stmt"/>
|
|
1007
|
-
<line num="18" count="0" type="stmt"/>
|
|
1008
|
-
<line num="21" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
1009
|
-
<line num="22" count="1" type="stmt"/>
|
|
1010
|
-
<line num="23" count="1" type="stmt"/>
|
|
1011
|
-
<line num="25" count="0" type="stmt"/>
|
|
998
|
+
<line num="14" count="1" type="stmt"/>
|
|
1012
999
|
</file>
|
|
1013
1000
|
<file name="user.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/user.js">
|
|
1014
1001
|
<metrics statements="37" coveredstatements="32" conditionals="0" coveredconditionals="0" methods="8" coveredmethods="5"/>
|
|
@@ -1105,7 +1092,7 @@
|
|
|
1105
1092
|
</file>
|
|
1106
1093
|
</package>
|
|
1107
1094
|
<package name="api.controllers.row">
|
|
1108
|
-
<metrics statements="585" coveredstatements="309" conditionals="245" coveredconditionals="
|
|
1095
|
+
<metrics statements="585" coveredstatements="309" conditionals="245" coveredconditionals="82" methods="88" coveredmethods="38"/>
|
|
1109
1096
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
|
|
1110
1097
|
<metrics statements="97" coveredstatements="14" conditionals="40" coveredconditionals="0" methods="13" coveredmethods="0"/>
|
|
1111
1098
|
<line num="6" count="34" type="stmt"/>
|
|
@@ -1207,32 +1194,32 @@
|
|
|
1207
1194
|
<line num="227" count="0" type="stmt"/>
|
|
1208
1195
|
</file>
|
|
1209
1196
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/index.js">
|
|
1210
|
-
<metrics statements="85" coveredstatements="79" conditionals="34" coveredconditionals="
|
|
1197
|
+
<metrics statements="85" coveredstatements="79" conditionals="34" coveredconditionals="31" methods="11" coveredmethods="11"/>
|
|
1211
1198
|
<line num="1" count="34" type="stmt"/>
|
|
1212
1199
|
<line num="2" count="34" type="stmt"/>
|
|
1213
1200
|
<line num="3" count="34" type="stmt"/>
|
|
1214
|
-
<line num="6" count="
|
|
1201
|
+
<line num="6" count="110" type="cond" truecount="1" falsecount="1"/>
|
|
1215
1202
|
<line num="7" count="0" type="stmt"/>
|
|
1216
1203
|
<line num="9" count="110" type="stmt"/>
|
|
1217
|
-
<line num="13" count="
|
|
1204
|
+
<line num="13" count="112" type="cond" truecount="4" falsecount="0"/>
|
|
1218
1205
|
<line num="14" count="73" type="stmt"/>
|
|
1219
|
-
<line num="16" count="
|
|
1206
|
+
<line num="16" count="39" type="cond" truecount="4" falsecount="0"/>
|
|
1220
1207
|
<line num="17" count="32" type="stmt"/>
|
|
1221
|
-
<line num="19" count="
|
|
1208
|
+
<line num="19" count="7" type="cond" truecount="3" falsecount="1"/>
|
|
1222
1209
|
<line num="20" count="7" type="stmt"/>
|
|
1223
1210
|
<line num="24" count="34" type="stmt"/>
|
|
1224
|
-
<line num="25" count="
|
|
1225
|
-
<line num="26" count="
|
|
1226
|
-
<line num="27" count="
|
|
1227
|
-
<line num="29" count="
|
|
1211
|
+
<line num="25" count="5" type="stmt"/>
|
|
1212
|
+
<line num="26" count="5" type="stmt"/>
|
|
1213
|
+
<line num="27" count="5" type="stmt"/>
|
|
1214
|
+
<line num="29" count="5" type="cond" truecount="3" falsecount="1"/>
|
|
1228
1215
|
<line num="30" count="0" type="stmt"/>
|
|
1229
|
-
<line num="32" count="
|
|
1230
|
-
<line num="33" count="
|
|
1216
|
+
<line num="32" count="5" type="stmt"/>
|
|
1217
|
+
<line num="33" count="5" type="stmt"/>
|
|
1231
1218
|
<line num="34" count="4" type="stmt"/>
|
|
1232
1219
|
<line num="35" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
1233
1220
|
<line num="37" count="4" type="stmt"/>
|
|
1234
1221
|
<line num="38" count="4" type="stmt"/>
|
|
1235
|
-
<line num="40" count="
|
|
1222
|
+
<line num="40" count="1" type="stmt"/>
|
|
1236
1223
|
<line num="44" count="34" type="stmt"/>
|
|
1237
1224
|
<line num="45" count="69" type="stmt"/>
|
|
1238
1225
|
<line num="46" count="69" type="stmt"/>
|
|
@@ -1708,141 +1695,141 @@
|
|
|
1708
1695
|
</file>
|
|
1709
1696
|
</package>
|
|
1710
1697
|
<package name="api.controllers.table">
|
|
1711
|
-
<metrics statements="
|
|
1698
|
+
<metrics statements="182" coveredstatements="160" conditionals="90" coveredconditionals="62" methods="27" coveredmethods="21"/>
|
|
1712
1699
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/index.js">
|
|
1713
|
-
<metrics statements="
|
|
1700
|
+
<metrics statements="79" coveredstatements="69" conditionals="39" coveredconditionals="28" methods="10" coveredmethods="7"/>
|
|
1714
1701
|
<line num="1" count="34" type="stmt"/>
|
|
1715
1702
|
<line num="2" count="34" type="stmt"/>
|
|
1716
1703
|
<line num="3" count="34" type="stmt"/>
|
|
1717
1704
|
<line num="10" count="34" type="stmt"/>
|
|
1718
1705
|
<line num="11" count="34" type="stmt"/>
|
|
1719
1706
|
<line num="12" count="34" type="stmt"/>
|
|
1720
|
-
<line num="
|
|
1721
|
-
<line num="
|
|
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="
|
|
1735
|
-
<line num="
|
|
1736
|
-
<line num="
|
|
1737
|
-
<line num="
|
|
1738
|
-
<line num="
|
|
1739
|
-
<line num="
|
|
1740
|
-
<line num="
|
|
1741
|
-
<line num="
|
|
1742
|
-
<line num="
|
|
1743
|
-
<line num="
|
|
1744
|
-
<line num="
|
|
1745
|
-
<line num="
|
|
1746
|
-
<line num="
|
|
1747
|
-
<line num="
|
|
1748
|
-
<line num="
|
|
1749
|
-
<line num="
|
|
1750
|
-
<line num="
|
|
1751
|
-
<line num="
|
|
1752
|
-
<line num="
|
|
1753
|
-
<line num="
|
|
1754
|
-
<line num="
|
|
1755
|
-
<line num="119" count="
|
|
1756
|
-
<line num="
|
|
1757
|
-
<line num="
|
|
1758
|
-
<line num="
|
|
1759
|
-
<line num="
|
|
1760
|
-
<line num="
|
|
1761
|
-
<line num="
|
|
1762
|
-
<line num="139" count="
|
|
1763
|
-
<line num="141" count="99" type="stmt"/>
|
|
1764
|
-
<line num="142" count="99" type="stmt"/>
|
|
1707
|
+
<line num="16" count="34" type="stmt"/>
|
|
1708
|
+
<line num="18" count="34" type="stmt"/>
|
|
1709
|
+
<line num="19" count="1" type="stmt"/>
|
|
1710
|
+
<line num="21" count="1" type="stmt"/>
|
|
1711
|
+
<line num="27" count="2" type="stmt"/>
|
|
1712
|
+
<line num="33" count="1" type="stmt"/>
|
|
1713
|
+
<line num="39" count="1" type="stmt"/>
|
|
1714
|
+
<line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1715
|
+
<line num="47" count="1" type="stmt"/>
|
|
1716
|
+
<line num="50" count="34" type="stmt"/>
|
|
1717
|
+
<line num="51" count="19" type="stmt"/>
|
|
1718
|
+
<line num="52" count="19" type="stmt"/>
|
|
1719
|
+
<line num="53" count="19" type="cond" truecount="1" falsecount="1"/>
|
|
1720
|
+
<line num="54" count="0" type="stmt"/>
|
|
1721
|
+
<line num="55" count="0" type="stmt"/>
|
|
1722
|
+
<line num="57" count="19" type="stmt"/>
|
|
1723
|
+
<line num="61" count="34" type="stmt"/>
|
|
1724
|
+
<line num="62" count="99" type="stmt"/>
|
|
1725
|
+
<line num="63" count="99" type="stmt"/>
|
|
1726
|
+
<line num="64" count="99" type="stmt"/>
|
|
1727
|
+
<line num="65" count="99" type="stmt"/>
|
|
1728
|
+
<line num="74" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
1729
|
+
<line num="75" count="4" type="stmt"/>
|
|
1730
|
+
<line num="80" count="99" type="stmt"/>
|
|
1731
|
+
<line num="86" count="99" type="stmt"/>
|
|
1732
|
+
<line num="90" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
1733
|
+
<line num="91" count="4" type="stmt"/>
|
|
1734
|
+
<line num="92" count="13" type="stmt"/>
|
|
1735
|
+
<line num="93" count="13" type="stmt"/>
|
|
1736
|
+
<line num="94" count="13" type="cond" truecount="3" falsecount="1"/>
|
|
1737
|
+
<line num="95" count="0" type="stmt"/>
|
|
1738
|
+
<line num="101" count="99" type="stmt"/>
|
|
1739
|
+
<line num="114" count="99" type="stmt"/>
|
|
1740
|
+
<line num="117" count="99" type="stmt"/>
|
|
1741
|
+
<line num="118" count="0" type="stmt"/>
|
|
1742
|
+
<line num="119" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1743
|
+
<line num="121" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1744
|
+
<line num="122" count="0" type="stmt"/>
|
|
1745
|
+
<line num="126" count="99" type="stmt"/>
|
|
1746
|
+
<line num="127" count="99" type="stmt"/>
|
|
1747
|
+
<line num="135" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
1748
|
+
<line num="136" count="4" type="stmt"/>
|
|
1749
|
+
<line num="139" count="0" type="stmt"/>
|
|
1765
1750
|
<line num="144" count="99" type="stmt"/>
|
|
1766
|
-
<line num="
|
|
1751
|
+
<line num="145" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
1752
|
+
<line num="146" count="1" type="stmt"/>
|
|
1753
|
+
<line num="148" count="99" type="stmt"/>
|
|
1767
1754
|
<line num="149" count="99" type="stmt"/>
|
|
1768
|
-
<line num="150" count="99" type="stmt"/>
|
|
1769
1755
|
<line num="151" count="99" type="stmt"/>
|
|
1770
|
-
<line num="
|
|
1771
|
-
<line num="
|
|
1772
|
-
<line num="
|
|
1773
|
-
<line num="
|
|
1774
|
-
<line num="
|
|
1775
|
-
<line num="
|
|
1776
|
-
<line num="
|
|
1756
|
+
<line num="153" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
1757
|
+
<line num="156" count="99" type="stmt"/>
|
|
1758
|
+
<line num="157" count="99" type="stmt"/>
|
|
1759
|
+
<line num="158" count="99" type="stmt"/>
|
|
1760
|
+
<line num="161" count="34" type="stmt"/>
|
|
1761
|
+
<line num="162" count="2" type="stmt"/>
|
|
1762
|
+
<line num="163" count="2" type="stmt"/>
|
|
1763
|
+
<line num="164" count="2" type="stmt"/>
|
|
1764
|
+
<line num="167" count="2" type="stmt"/>
|
|
1765
|
+
<line num="172" count="2" type="stmt"/>
|
|
1777
1766
|
<line num="175" count="2" type="stmt"/>
|
|
1778
|
-
<line num="
|
|
1779
|
-
<line num="
|
|
1780
|
-
<line num="
|
|
1781
|
-
<line num="
|
|
1782
|
-
<line num="
|
|
1783
|
-
<line num="
|
|
1784
|
-
<line num="
|
|
1785
|
-
<line num="
|
|
1786
|
-
<line num="
|
|
1787
|
-
<line num="
|
|
1788
|
-
<line num="
|
|
1789
|
-
<line num="
|
|
1767
|
+
<line num="182" count="2" type="stmt"/>
|
|
1768
|
+
<line num="185" count="2" type="stmt"/>
|
|
1769
|
+
<line num="186" count="2" type="stmt"/>
|
|
1770
|
+
<line num="187" count="2" type="stmt"/>
|
|
1771
|
+
<line num="189" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1772
|
+
<line num="190" count="0" type="stmt"/>
|
|
1773
|
+
<line num="193" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1774
|
+
<line num="195" count="2" type="stmt"/>
|
|
1775
|
+
<line num="196" count="2" type="stmt"/>
|
|
1776
|
+
<line num="199" count="34" type="stmt"/>
|
|
1777
|
+
<line num="200" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
1778
|
+
<line num="201" count="1" type="stmt"/>
|
|
1779
|
+
<line num="202" count="1" type="stmt"/>
|
|
1790
1780
|
</file>
|
|
1791
1781
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/utils.js">
|
|
1792
|
-
<metrics statements="
|
|
1782
|
+
<metrics statements="103" coveredstatements="91" conditionals="51" coveredconditionals="34" methods="17" coveredmethods="14"/>
|
|
1793
1783
|
<line num="1" count="34" type="stmt"/>
|
|
1794
1784
|
<line num="2" count="34" type="stmt"/>
|
|
1795
|
-
<line num="
|
|
1785
|
+
<line num="3" count="34" type="stmt"/>
|
|
1796
1786
|
<line num="8" count="34" type="stmt"/>
|
|
1797
1787
|
<line num="9" count="34" type="stmt"/>
|
|
1798
1788
|
<line num="10" count="34" type="stmt"/>
|
|
1799
1789
|
<line num="11" count="34" type="stmt"/>
|
|
1800
|
-
<line num="
|
|
1801
|
-
<line num="
|
|
1802
|
-
<line num="
|
|
1803
|
-
<line num="
|
|
1804
|
-
<line num="
|
|
1805
|
-
<line num="
|
|
1806
|
-
<line num="
|
|
1807
|
-
<line num="
|
|
1808
|
-
<line num="24" count="
|
|
1809
|
-
<line num="25" count="
|
|
1810
|
-
<line num="
|
|
1811
|
-
<line num="31" count="1" type="
|
|
1812
|
-
<line num="
|
|
1813
|
-
<line num="
|
|
1814
|
-
<line num="
|
|
1790
|
+
<line num="12" count="34" type="stmt"/>
|
|
1791
|
+
<line num="14" count="34" type="stmt"/>
|
|
1792
|
+
<line num="15" count="99" type="stmt"/>
|
|
1793
|
+
<line num="16" count="99" type="stmt"/>
|
|
1794
|
+
<line num="17" count="99" type="stmt"/>
|
|
1795
|
+
<line num="18" count="99" type="cond" truecount="5" falsecount="0"/>
|
|
1796
|
+
<line num="19" count="4" type="stmt"/>
|
|
1797
|
+
<line num="20" count="11" type="stmt"/>
|
|
1798
|
+
<line num="24" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
1799
|
+
<line num="25" count="1" type="stmt"/>
|
|
1800
|
+
<line num="30" count="1" type="stmt"/>
|
|
1801
|
+
<line num="31" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1802
|
+
<line num="32" count="1" type="stmt"/>
|
|
1803
|
+
<line num="33" count="1" type="stmt"/>
|
|
1804
|
+
<line num="34" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1805
|
+
<line num="35" count="0" type="stmt"/>
|
|
1806
|
+
<line num="37" count="1" type="stmt"/>
|
|
1815
1807
|
<line num="39" count="1" type="stmt"/>
|
|
1816
|
-
<line num="
|
|
1817
|
-
<line num="
|
|
1818
|
-
<line num="
|
|
1819
|
-
<line num="47" count="
|
|
1820
|
-
<line num="
|
|
1821
|
-
<line num="
|
|
1822
|
-
<line num="54" count="
|
|
1823
|
-
<line num="
|
|
1824
|
-
<line num="56" count="0" type="stmt"/>
|
|
1825
|
-
<line num="59" count="4" type="stmt"/>
|
|
1808
|
+
<line num="41" count="99" type="stmt"/>
|
|
1809
|
+
<line num="45" count="34" type="stmt"/>
|
|
1810
|
+
<line num="46" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1811
|
+
<line num="47" count="0" type="stmt"/>
|
|
1812
|
+
<line num="50" count="4" type="stmt"/>
|
|
1813
|
+
<line num="53" count="4" type="stmt"/>
|
|
1814
|
+
<line num="54" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
1815
|
+
<line num="59" count="0" type="stmt"/>
|
|
1826
1816
|
<line num="62" count="4" type="stmt"/>
|
|
1827
|
-
<line num="
|
|
1828
|
-
<line num="
|
|
1829
|
-
<line num="
|
|
1830
|
-
<line num="
|
|
1831
|
-
<line num="
|
|
1832
|
-
<line num="
|
|
1833
|
-
<line num="
|
|
1817
|
+
<line num="65" count="34" type="stmt"/>
|
|
1818
|
+
<line num="66" count="100" type="stmt"/>
|
|
1819
|
+
<line num="67" count="100" type="cond" truecount="4" falsecount="0"/>
|
|
1820
|
+
<line num="69" count="1" type="stmt"/>
|
|
1821
|
+
<line num="71" count="1" type="stmt"/>
|
|
1822
|
+
<line num="72" count="1" type="stmt"/>
|
|
1823
|
+
<line num="73" count="1" type="stmt"/>
|
|
1824
|
+
<line num="74" count="1" type="stmt"/>
|
|
1825
|
+
<line num="75" count="1" type="stmt"/>
|
|
1826
|
+
<line num="76" count="1" type="stmt"/>
|
|
1827
|
+
<line num="79" count="1" type="stmt"/>
|
|
1834
1828
|
<line num="80" count="1" type="stmt"/>
|
|
1835
|
-
<line num="81" count="1" type="stmt"/>
|
|
1836
1829
|
<line num="82" count="1" type="stmt"/>
|
|
1837
|
-
<line num="
|
|
1838
|
-
<line num="
|
|
1839
|
-
<line num="
|
|
1840
|
-
<line num="88" count="1" type="stmt"/>
|
|
1841
|
-
<line num="89" count="1" type="stmt"/>
|
|
1842
|
-
<line num="91" count="1" type="stmt"/>
|
|
1843
|
-
<line num="93" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1844
|
-
<line num="98" count="0" type="stmt"/>
|
|
1845
|
-
<line num="105" count="1" type="stmt"/>
|
|
1830
|
+
<line num="84" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1831
|
+
<line num="89" count="0" type="stmt"/>
|
|
1832
|
+
<line num="97" count="1" type="stmt"/>
|
|
1846
1833
|
<line num="108" count="1" type="stmt"/>
|
|
1847
1834
|
<line num="109" count="1" type="stmt"/>
|
|
1848
1835
|
<line num="110" count="1" type="stmt"/>
|
|
@@ -1896,51 +1883,6 @@
|
|
|
1896
1883
|
<line num="232" count="0" type="stmt"/>
|
|
1897
1884
|
<line num="233" count="0" type="stmt"/>
|
|
1898
1885
|
<line num="236" count="34" type="stmt"/>
|
|
1899
|
-
<line num="237" count="28" type="stmt"/>
|
|
1900
|
-
<line num="238" count="28" type="cond" truecount="1" falsecount="1"/>
|
|
1901
|
-
<line num="239" count="0" type="stmt"/>
|
|
1902
|
-
<line num="240" count="0" type="stmt"/>
|
|
1903
|
-
<line num="242" count="28" type="stmt"/>
|
|
1904
|
-
<line num="246" count="34" type="stmt"/>
|
|
1905
|
-
<line num="247" count="1" type="stmt"/>
|
|
1906
|
-
<line num="248" count="1" type="stmt"/>
|
|
1907
|
-
<line num="251" count="1" type="stmt"/>
|
|
1908
|
-
<line num="252" count="0" type="stmt"/>
|
|
1909
|
-
<line num="255" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1910
|
-
<line num="257" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1911
|
-
<line num="258" count="0" type="stmt"/>
|
|
1912
|
-
<line num="259" count="0" type="stmt"/>
|
|
1913
|
-
<line num="263" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1914
|
-
<line num="264" count="0" type="stmt"/>
|
|
1915
|
-
<line num="265" count="0" type="stmt"/>
|
|
1916
|
-
<line num="269" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1917
|
-
<line num="270" count="0" type="stmt"/>
|
|
1918
|
-
<line num="271" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1919
|
-
<line num="272" count="0" type="stmt"/>
|
|
1920
|
-
<line num="273" count="0" type="stmt"/>
|
|
1921
|
-
<line num="277" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1922
|
-
<line num="278" count="0" type="stmt"/>
|
|
1923
|
-
<line num="280" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1924
|
-
<line num="281" count="0" type="stmt"/>
|
|
1925
|
-
<line num="282" count="0" type="stmt"/>
|
|
1926
|
-
<line num="283" count="0" type="stmt"/>
|
|
1927
|
-
<line num="284" count="0" type="stmt"/>
|
|
1928
|
-
<line num="288" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1929
|
-
<line num="289" count="0" type="stmt"/>
|
|
1930
|
-
<line num="290" count="0" type="stmt"/>
|
|
1931
|
-
<line num="294" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1932
|
-
<line num="295" count="0" type="stmt"/>
|
|
1933
|
-
<line num="296" count="0" type="stmt"/>
|
|
1934
|
-
<line num="297" count="0" type="stmt"/>
|
|
1935
|
-
<line num="299" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1936
|
-
<line num="300" count="0" type="stmt"/>
|
|
1937
|
-
<line num="307" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1938
|
-
<line num="308" count="0" type="stmt"/>
|
|
1939
|
-
<line num="309" count="0" type="stmt"/>
|
|
1940
|
-
<line num="310" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1941
|
-
<line num="311" count="0" type="stmt"/>
|
|
1942
|
-
<line num="313" count="0" type="stmt"/>
|
|
1943
|
-
<line num="318" count="34" type="stmt"/>
|
|
1944
1886
|
</file>
|
|
1945
1887
|
</package>
|
|
1946
1888
|
<package name="api.controllers.view">
|
|
@@ -2028,18 +1970,18 @@
|
|
|
2028
1970
|
<line num="20" count="0" type="stmt"/>
|
|
2029
1971
|
<line num="21" count="0" type="stmt"/>
|
|
2030
1972
|
<line num="25" count="34" type="stmt"/>
|
|
2031
|
-
<line num="26" count="
|
|
2032
|
-
<line num="27" count="
|
|
2033
|
-
<line num="28" count="
|
|
2034
|
-
<line num="29" count="
|
|
2035
|
-
<line num="31" count="
|
|
2036
|
-
<line num="32" count="
|
|
1973
|
+
<line num="26" count="1" type="stmt"/>
|
|
1974
|
+
<line num="27" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1975
|
+
<line num="28" count="1" type="stmt"/>
|
|
1976
|
+
<line num="29" count="1" type="stmt"/>
|
|
1977
|
+
<line num="31" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
1978
|
+
<line num="32" count="2" type="stmt"/>
|
|
2037
1979
|
<line num="34" count="1" type="stmt"/>
|
|
2038
1980
|
<line num="40" count="0" type="stmt"/>
|
|
2039
1981
|
<line num="46" count="0" type="stmt"/>
|
|
2040
1982
|
<line num="47" count="0" type="stmt"/>
|
|
2041
1983
|
<line num="48" count="0" type="stmt"/>
|
|
2042
|
-
<line num="54" count="
|
|
1984
|
+
<line num="54" count="1" type="stmt"/>
|
|
2043
1985
|
<line num="57" count="34" type="stmt"/>
|
|
2044
1986
|
<line num="58" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
2045
1987
|
<line num="59" count="8" type="stmt"/>
|
|
@@ -2096,10 +2038,10 @@
|
|
|
2096
2038
|
</file>
|
|
2097
2039
|
<file name="viewBuilder.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/viewBuilder.js">
|
|
2098
2040
|
<metrics statements="27" coveredstatements="25" conditionals="26" coveredconditionals="23" methods="3" coveredmethods="3"/>
|
|
2099
|
-
<line num="1" count="
|
|
2100
|
-
<line num="13" count="
|
|
2101
|
-
<line num="19" count="
|
|
2102
|
-
<line num="25" count="
|
|
2041
|
+
<line num="1" count="34" type="stmt"/>
|
|
2042
|
+
<line num="13" count="34" type="stmt"/>
|
|
2043
|
+
<line num="19" count="34" type="stmt"/>
|
|
2044
|
+
<line num="25" count="34" type="stmt"/>
|
|
2103
2045
|
<line num="63" count="11" type="stmt"/>
|
|
2104
2046
|
<line num="65" count="11" type="stmt"/>
|
|
2105
2047
|
<line num="66" count="11" type="stmt"/>
|
|
@@ -2122,11 +2064,11 @@
|
|
|
2122
2064
|
<line num="124" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
2123
2065
|
<line num="125" count="6" type="stmt"/>
|
|
2124
2066
|
<line num="131" count="11" type="stmt"/>
|
|
2125
|
-
<line num="149" count="
|
|
2067
|
+
<line num="149" count="34" type="stmt"/>
|
|
2126
2068
|
</file>
|
|
2127
2069
|
</package>
|
|
2128
2070
|
<package name="api.routes">
|
|
2129
|
-
<metrics statements="
|
|
2071
|
+
<metrics statements="269" coveredstatements="262" conditionals="11" coveredconditionals="7" methods="11" coveredmethods="11"/>
|
|
2130
2072
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/analytics.js">
|
|
2131
2073
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2132
2074
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -2236,19 +2178,17 @@
|
|
|
2236
2178
|
<line num="17" count="23" type="stmt"/>
|
|
2237
2179
|
</file>
|
|
2238
2180
|
<file name="dev.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/dev.js">
|
|
2239
|
-
<metrics statements="
|
|
2181
|
+
<metrics statements="10" coveredstatements="10" conditionals="4" coveredconditionals="2" methods="0" coveredmethods="0"/>
|
|
2240
2182
|
<line num="1" count="23" type="stmt"/>
|
|
2241
2183
|
<line num="2" count="23" type="stmt"/>
|
|
2242
2184
|
<line num="3" count="23" type="stmt"/>
|
|
2243
2185
|
<line num="4" count="23" type="stmt"/>
|
|
2244
2186
|
<line num="5" count="23" type="stmt"/>
|
|
2245
2187
|
<line num="7" count="23" type="stmt"/>
|
|
2246
|
-
<line num="
|
|
2247
|
-
<line num="
|
|
2248
|
-
<line num="
|
|
2249
|
-
<line num="18" count="23" type="stmt"/>
|
|
2188
|
+
<line num="9" count="23" type="cond" truecount="2" falsecount="2"/>
|
|
2189
|
+
<line num="10" count="23" type="stmt"/>
|
|
2190
|
+
<line num="16" count="23" type="stmt"/>
|
|
2250
2191
|
<line num="21" count="23" type="stmt"/>
|
|
2251
|
-
<line num="26" count="23" type="stmt"/>
|
|
2252
2192
|
</file>
|
|
2253
2193
|
<file name="hosting.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/hosting.js">
|
|
2254
2194
|
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -2348,9 +2288,9 @@
|
|
|
2348
2288
|
<line num="15" count="23" type="stmt"/>
|
|
2349
2289
|
<line num="17" count="23" type="stmt"/>
|
|
2350
2290
|
<line num="21" count="23" type="stmt"/>
|
|
2351
|
-
<line num="
|
|
2352
|
-
<line num="
|
|
2353
|
-
<line num="
|
|
2291
|
+
<line num="40" count="23" type="stmt"/>
|
|
2292
|
+
<line num="49" count="23" type="stmt"/>
|
|
2293
|
+
<line num="83" count="23" type="stmt"/>
|
|
2354
2294
|
</file>
|
|
2355
2295
|
<file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/role.js">
|
|
2356
2296
|
<metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
@@ -2487,9 +2427,9 @@
|
|
|
2487
2427
|
</file>
|
|
2488
2428
|
</package>
|
|
2489
2429
|
<package name="automations">
|
|
2490
|
-
<metrics statements="
|
|
2430
|
+
<metrics statements="249" coveredstatements="209" conditionals="102" coveredconditionals="75" methods="29" coveredmethods="24"/>
|
|
2491
2431
|
<file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
|
|
2492
|
-
<metrics statements="
|
|
2432
|
+
<metrics statements="19" coveredstatements="19" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
2493
2433
|
<line num="1" count="34" type="stmt"/>
|
|
2494
2434
|
<line num="2" count="34" type="stmt"/>
|
|
2495
2435
|
<line num="3" count="34" type="stmt"/>
|
|
@@ -2507,42 +2447,46 @@
|
|
|
2507
2447
|
<line num="15" count="34" type="stmt"/>
|
|
2508
2448
|
<line num="16" count="34" type="stmt"/>
|
|
2509
2449
|
<line num="18" count="34" type="stmt"/>
|
|
2510
|
-
<line num="
|
|
2511
|
-
<line num="
|
|
2512
|
-
<line num="59" count="34" type="stmt"/>
|
|
2513
|
-
<line num="60" count="34" type="stmt"/>
|
|
2514
|
-
<line num="61" count="34" type="stmt"/>
|
|
2515
|
-
<line num="71" count="34" type="stmt"/>
|
|
2450
|
+
<line num="37" count="34" type="stmt"/>
|
|
2451
|
+
<line num="64" count="34" type="stmt"/>
|
|
2516
2452
|
</file>
|
|
2517
2453
|
<file name="automationUtils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/automationUtils.js">
|
|
2518
|
-
<metrics statements="
|
|
2454
|
+
<metrics statements="35" coveredstatements="33" conditionals="18" coveredconditionals="16" methods="3" coveredmethods="3"/>
|
|
2519
2455
|
<line num="1" count="34" type="stmt"/>
|
|
2520
|
-
<line num="
|
|
2521
|
-
<line num="
|
|
2522
|
-
<line num="
|
|
2523
|
-
<line num="
|
|
2524
|
-
<line num="
|
|
2525
|
-
<line num="
|
|
2526
|
-
<line num="
|
|
2527
|
-
<line num="
|
|
2528
|
-
<line num="
|
|
2529
|
-
<line num="
|
|
2530
|
-
<line num="
|
|
2531
|
-
<line num="
|
|
2532
|
-
<line num="
|
|
2533
|
-
<line num="
|
|
2534
|
-
<line num="
|
|
2535
|
-
<line num="
|
|
2536
|
-
<line num="
|
|
2537
|
-
<line num="
|
|
2538
|
-
<line num="
|
|
2539
|
-
<line num="
|
|
2540
|
-
<line num="48" count="
|
|
2541
|
-
<line num="
|
|
2542
|
-
<line num="
|
|
2543
|
-
<line num="63" count="8" type="stmt"/>
|
|
2456
|
+
<line num="5" count="34" type="stmt"/>
|
|
2457
|
+
<line num="6" count="34" type="stmt"/>
|
|
2458
|
+
<line num="24" count="34" type="stmt"/>
|
|
2459
|
+
<line num="25" count="15" type="cond" truecount="2" falsecount="0"/>
|
|
2460
|
+
<line num="26" count="1" type="stmt"/>
|
|
2461
|
+
<line num="28" count="14" type="stmt"/>
|
|
2462
|
+
<line num="29" count="36" type="stmt"/>
|
|
2463
|
+
<line num="30" count="36" type="cond" truecount="2" falsecount="0"/>
|
|
2464
|
+
<line num="31" count="6" type="stmt"/>
|
|
2465
|
+
<line num="33" count="30" type="stmt"/>
|
|
2466
|
+
<line num="34" count="30" type="cond" truecount="2" falsecount="0"/>
|
|
2467
|
+
<line num="35" count="12" type="stmt"/>
|
|
2468
|
+
<line num="37" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
2469
|
+
<line num="38" count="2" type="stmt"/>
|
|
2470
|
+
<line num="39" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2471
|
+
<line num="40" count="1" type="stmt"/>
|
|
2472
|
+
<line num="42" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2473
|
+
<line num="43" count="1" type="stmt"/>
|
|
2474
|
+
<line num="46" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
2475
|
+
<line num="47" count="1" type="stmt"/>
|
|
2476
|
+
<line num="48" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2477
|
+
<line num="49" count="1" type="stmt"/>
|
|
2478
|
+
<line num="53" count="14" type="stmt"/>
|
|
2544
2479
|
<line num="66" count="34" type="stmt"/>
|
|
2545
|
-
<line num="67" count="
|
|
2480
|
+
<line num="67" count="9" type="stmt"/>
|
|
2481
|
+
<line num="69" count="9" type="cond" truecount="1" falsecount="1"/>
|
|
2482
|
+
<line num="70" count="0" type="stmt"/>
|
|
2483
|
+
<line num="71" count="0" type="stmt"/>
|
|
2484
|
+
<line num="73" count="9" type="stmt"/>
|
|
2485
|
+
<line num="76" count="8" type="stmt"/>
|
|
2486
|
+
<line num="88" count="34" type="stmt"/>
|
|
2487
|
+
<line num="89" count="2" type="stmt"/>
|
|
2488
|
+
<line num="90" count="2" type="stmt"/>
|
|
2489
|
+
<line num="91" count="1" type="stmt"/>
|
|
2546
2490
|
</file>
|
|
2547
2491
|
<file name="bullboard.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/bullboard.js">
|
|
2548
2492
|
<metrics statements="21" coveredstatements="13" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="0"/>
|
|
@@ -2580,7 +2524,7 @@
|
|
|
2580
2524
|
<line num="17" count="24" type="stmt"/>
|
|
2581
2525
|
</file>
|
|
2582
2526
|
<file name="thread.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/thread.js">
|
|
2583
|
-
<metrics statements="
|
|
2527
|
+
<metrics statements="60" coveredstatements="54" conditionals="19" coveredconditionals="11" methods="7" coveredmethods="7"/>
|
|
2584
2528
|
<line num="1" count="33" type="stmt"/>
|
|
2585
2529
|
<line num="2" count="33" type="stmt"/>
|
|
2586
2530
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -2592,62 +2536,55 @@
|
|
|
2592
2536
|
<line num="9" count="33" type="stmt"/>
|
|
2593
2537
|
<line num="10" count="33" type="stmt"/>
|
|
2594
2538
|
<line num="12" count="33" type="stmt"/>
|
|
2595
|
-
<line num="
|
|
2596
|
-
<line num="22" count="7" type="
|
|
2597
|
-
<line num="23" count="7" type="
|
|
2539
|
+
<line num="21" count="7" type="stmt"/>
|
|
2540
|
+
<line num="22" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
2541
|
+
<line num="23" count="7" type="stmt"/>
|
|
2598
2542
|
<line num="24" count="7" type="stmt"/>
|
|
2599
|
-
<line num="
|
|
2543
|
+
<line num="26" count="7" type="stmt"/>
|
|
2600
2544
|
<line num="27" count="7" type="stmt"/>
|
|
2601
|
-
<line num="
|
|
2545
|
+
<line num="29" count="7" type="stmt"/>
|
|
2602
2546
|
<line num="30" count="7" type="stmt"/>
|
|
2603
|
-
<line num="
|
|
2547
|
+
<line num="33" count="7" type="stmt"/>
|
|
2604
2548
|
<line num="34" count="7" type="stmt"/>
|
|
2605
|
-
<line num="
|
|
2549
|
+
<line num="36" count="7" type="stmt"/>
|
|
2606
2550
|
<line num="37" count="7" type="stmt"/>
|
|
2607
2551
|
<line num="38" count="7" type="stmt"/>
|
|
2608
|
-
<line num="
|
|
2609
|
-
<line num="43" count="5" type="
|
|
2610
|
-
<line num="44" count="
|
|
2611
|
-
<line num="
|
|
2612
|
-
<line num="
|
|
2613
|
-
<line num="51" count="7" type="
|
|
2614
|
-
<line num="52" count="
|
|
2615
|
-
<line num="
|
|
2552
|
+
<line num="42" count="5" type="stmt"/>
|
|
2553
|
+
<line num="43" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2554
|
+
<line num="44" count="0" type="stmt"/>
|
|
2555
|
+
<line num="46" count="5" type="stmt"/>
|
|
2556
|
+
<line num="50" count="7" type="stmt"/>
|
|
2557
|
+
<line num="51" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
2558
|
+
<line num="52" count="0" type="stmt"/>
|
|
2559
|
+
<line num="54" count="7" type="stmt"/>
|
|
2616
2560
|
<line num="55" count="7" type="stmt"/>
|
|
2617
|
-
<line num="56" count="
|
|
2618
|
-
<line num="
|
|
2619
|
-
<line num="
|
|
2620
|
-
<line num="63" count="
|
|
2621
|
-
<line num="
|
|
2622
|
-
<line num="
|
|
2561
|
+
<line num="56" count="6" type="stmt"/>
|
|
2562
|
+
<line num="60" count="12" type="stmt"/>
|
|
2563
|
+
<line num="62" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
2564
|
+
<line num="63" count="7" type="stmt"/>
|
|
2565
|
+
<line num="65" count="12" type="stmt"/>
|
|
2566
|
+
<line num="69" count="7" type="stmt"/>
|
|
2623
2567
|
<line num="70" count="7" type="stmt"/>
|
|
2624
|
-
<line num="71" count="
|
|
2625
|
-
<line num="72" count="
|
|
2626
|
-
<line num="73" count="
|
|
2627
|
-
<line num="
|
|
2628
|
-
<line num="76" count="0" type="stmt"/>
|
|
2629
|
-
<line num="77" count="0" type="stmt"/>
|
|
2568
|
+
<line num="71" count="6" type="stmt"/>
|
|
2569
|
+
<line num="72" count="5" type="stmt"/>
|
|
2570
|
+
<line num="73" count="5" type="stmt"/>
|
|
2571
|
+
<line num="74" count="5" type="stmt"/>
|
|
2630
2572
|
<line num="79" count="5" type="stmt"/>
|
|
2631
|
-
<line num="80" count="5" type="
|
|
2573
|
+
<line num="80" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2632
2574
|
<line num="81" count="5" type="stmt"/>
|
|
2633
|
-
<line num="
|
|
2634
|
-
<line num="
|
|
2635
|
-
<line num="
|
|
2636
|
-
<line num="
|
|
2637
|
-
<line num="
|
|
2638
|
-
<line num="
|
|
2639
|
-
<line num="
|
|
2640
|
-
<line num="101" count="
|
|
2641
|
-
<line num="
|
|
2642
|
-
<line num="
|
|
2643
|
-
<line num="
|
|
2644
|
-
<line num="
|
|
2645
|
-
<line num="
|
|
2646
|
-
<line num="116" count="0" type="stmt"/>
|
|
2647
|
-
<line num="118" count="6" type="stmt"/>
|
|
2648
|
-
<line num="122" count="33" type="stmt"/>
|
|
2649
|
-
<line num="123" count="7" type="stmt"/>
|
|
2650
|
-
<line num="127" count="7" type="stmt"/>
|
|
2575
|
+
<line num="82" count="5" type="stmt"/>
|
|
2576
|
+
<line num="89" count="5" type="cond" truecount="2" falsecount="2"/>
|
|
2577
|
+
<line num="90" count="0" type="stmt"/>
|
|
2578
|
+
<line num="92" count="5" type="stmt"/>
|
|
2579
|
+
<line num="93" count="5" type="stmt"/>
|
|
2580
|
+
<line num="95" count="0" type="stmt"/>
|
|
2581
|
+
<line num="96" count="0" type="stmt"/>
|
|
2582
|
+
<line num="101" count="6" type="cond" truecount="2" falsecount="2"/>
|
|
2583
|
+
<line num="102" count="0" type="stmt"/>
|
|
2584
|
+
<line num="104" count="6" type="stmt"/>
|
|
2585
|
+
<line num="108" count="33" type="stmt"/>
|
|
2586
|
+
<line num="109" count="7" type="stmt"/>
|
|
2587
|
+
<line num="113" count="7" type="stmt"/>
|
|
2651
2588
|
</file>
|
|
2652
2589
|
<file name="triggers.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggers.js">
|
|
2653
2590
|
<metrics statements="44" coveredstatements="42" conditionals="25" coveredconditionals="21" methods="7" coveredmethods="7"/>
|
|
@@ -2763,25 +2700,24 @@
|
|
|
2763
2700
|
</file>
|
|
2764
2701
|
</package>
|
|
2765
2702
|
<package name="automations.steps">
|
|
2766
|
-
<metrics statements="
|
|
2703
|
+
<metrics statements="232" coveredstatements="169" conditionals="85" coveredconditionals="59" methods="20" coveredmethods="10"/>
|
|
2767
2704
|
<file name="bash.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/bash.js">
|
|
2768
|
-
<metrics statements="
|
|
2705
|
+
<metrics statements="15" coveredstatements="4" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
2769
2706
|
<line num="1" count="34" type="stmt"/>
|
|
2770
2707
|
<line num="2" count="34" type="stmt"/>
|
|
2771
|
-
<line num="
|
|
2772
|
-
<line num="
|
|
2773
|
-
<line num="41" count="
|
|
2774
|
-
<line num="42" count="0" type="
|
|
2775
|
-
<line num="
|
|
2708
|
+
<line num="4" count="34" type="stmt"/>
|
|
2709
|
+
<line num="40" count="34" type="stmt"/>
|
|
2710
|
+
<line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2711
|
+
<line num="42" count="0" type="stmt"/>
|
|
2712
|
+
<line num="47" count="0" type="stmt"/>
|
|
2776
2713
|
<line num="48" count="0" type="stmt"/>
|
|
2777
|
-
<line num="
|
|
2714
|
+
<line num="51" count="0" type="stmt"/>
|
|
2778
2715
|
<line num="52" count="0" type="stmt"/>
|
|
2779
2716
|
<line num="53" count="0" type="stmt"/>
|
|
2780
|
-
<line num="
|
|
2717
|
+
<line num="55" count="0" type="stmt"/>
|
|
2781
2718
|
<line num="56" count="0" type="stmt"/>
|
|
2782
|
-
<line num="
|
|
2783
|
-
<line num="
|
|
2784
|
-
<line num="65" count="0" type="stmt"/>
|
|
2719
|
+
<line num="59" count="0" type="stmt"/>
|
|
2720
|
+
<line num="64" count="0" type="stmt"/>
|
|
2785
2721
|
</file>
|
|
2786
2722
|
<file name="createRow.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/createRow.js">
|
|
2787
2723
|
<metrics statements="17" coveredstatements="17" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
|
|
@@ -2812,23 +2748,22 @@
|
|
|
2812
2748
|
<line num="36" count="1" type="stmt"/>
|
|
2813
2749
|
</file>
|
|
2814
2750
|
<file name="deleteRow.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/deleteRow.js">
|
|
2815
|
-
<metrics statements="
|
|
2751
|
+
<metrics statements="15" coveredstatements="15" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
|
|
2816
2752
|
<line num="1" count="34" type="stmt"/>
|
|
2817
2753
|
<line num="2" count="34" type="stmt"/>
|
|
2818
2754
|
<line num="3" count="34" type="stmt"/>
|
|
2819
2755
|
<line num="4" count="34" type="stmt"/>
|
|
2820
|
-
<line num="
|
|
2821
|
-
<line num="
|
|
2822
|
-
<line num="56" count="
|
|
2823
|
-
<line num="57" count="
|
|
2824
|
-
<line num="
|
|
2825
|
-
<line num="
|
|
2826
|
-
<line num="76" count="3" type="
|
|
2827
|
-
<line num="77" count="
|
|
2828
|
-
<line num="
|
|
2829
|
-
<line num="80" count="
|
|
2830
|
-
<line num="
|
|
2831
|
-
<line num="87" count="1" type="stmt"/>
|
|
2756
|
+
<line num="6" count="34" type="stmt"/>
|
|
2757
|
+
<line num="55" count="34" type="stmt"/>
|
|
2758
|
+
<line num="56" count="4" type="cond" truecount="4" falsecount="0"/>
|
|
2759
|
+
<line num="57" count="1" type="stmt"/>
|
|
2760
|
+
<line num="65" count="3" type="stmt"/>
|
|
2761
|
+
<line num="75" count="3" type="stmt"/>
|
|
2762
|
+
<line num="76" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
2763
|
+
<line num="77" count="1" type="stmt"/>
|
|
2764
|
+
<line num="79" count="3" type="stmt"/>
|
|
2765
|
+
<line num="80" count="2" type="stmt"/>
|
|
2766
|
+
<line num="86" count="1" type="stmt"/>
|
|
2832
2767
|
</file>
|
|
2833
2768
|
<file name="discord.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/discord.js">
|
|
2834
2769
|
<metrics statements="14" coveredstatements="6" conditionals="6" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
@@ -2848,35 +2783,33 @@
|
|
|
2848
2783
|
<line num="78" count="0" type="stmt"/>
|
|
2849
2784
|
</file>
|
|
2850
2785
|
<file name="executeQuery.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/executeQuery.js">
|
|
2851
|
-
<metrics statements="
|
|
2786
|
+
<metrics statements="12" coveredstatements="4" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
2852
2787
|
<line num="1" count="34" type="stmt"/>
|
|
2853
2788
|
<line num="2" count="34" type="stmt"/>
|
|
2854
|
-
<line num="
|
|
2855
|
-
<line num="
|
|
2856
|
-
<line num="48" count="
|
|
2857
|
-
<line num="49" count="0" type="
|
|
2858
|
-
<line num="
|
|
2859
|
-
<line num="
|
|
2860
|
-
<line num="
|
|
2789
|
+
<line num="4" count="34" type="stmt"/>
|
|
2790
|
+
<line num="47" count="34" type="stmt"/>
|
|
2791
|
+
<line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2792
|
+
<line num="49" count="0" type="stmt"/>
|
|
2793
|
+
<line num="57" count="0" type="stmt"/>
|
|
2794
|
+
<line num="59" count="0" type="stmt"/>
|
|
2795
|
+
<line num="68" count="0" type="stmt"/>
|
|
2861
2796
|
<line num="69" count="0" type="stmt"/>
|
|
2862
2797
|
<line num="70" count="0" type="stmt"/>
|
|
2863
|
-
<line num="
|
|
2864
|
-
<line num="76" count="0" type="stmt"/>
|
|
2798
|
+
<line num="75" count="0" type="stmt"/>
|
|
2865
2799
|
</file>
|
|
2866
2800
|
<file name="executeScript.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/executeScript.js">
|
|
2867
|
-
<metrics statements="
|
|
2801
|
+
<metrics statements="11" coveredstatements="4" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
2868
2802
|
<line num="1" count="34" type="stmt"/>
|
|
2869
2803
|
<line num="2" count="34" type="stmt"/>
|
|
2870
|
-
<line num="
|
|
2871
|
-
<line num="
|
|
2872
|
-
<line num="41" count="
|
|
2873
|
-
<line num="42" count="0" type="
|
|
2874
|
-
<line num="
|
|
2875
|
-
<line num="
|
|
2804
|
+
<line num="4" count="34" type="stmt"/>
|
|
2805
|
+
<line num="40" count="34" type="stmt"/>
|
|
2806
|
+
<line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2807
|
+
<line num="42" count="0" type="stmt"/>
|
|
2808
|
+
<line num="50" count="0" type="stmt"/>
|
|
2809
|
+
<line num="57" count="0" type="stmt"/>
|
|
2876
2810
|
<line num="58" count="0" type="stmt"/>
|
|
2877
2811
|
<line num="59" count="0" type="stmt"/>
|
|
2878
|
-
<line num="
|
|
2879
|
-
<line num="65" count="0" type="stmt"/>
|
|
2812
|
+
<line num="64" count="0" type="stmt"/>
|
|
2880
2813
|
</file>
|
|
2881
2814
|
<file name="filter.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/filter.js">
|
|
2882
2815
|
<metrics statements="26" coveredstatements="26" conditionals="16" coveredconditionals="16" methods="1" coveredmethods="1"/>
|
|
@@ -2919,72 +2852,69 @@
|
|
|
2919
2852
|
<line num="82" count="0" type="stmt"/>
|
|
2920
2853
|
</file>
|
|
2921
2854
|
<file name="outgoingWebhook.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/outgoingWebhook.js">
|
|
2922
|
-
<metrics statements="
|
|
2855
|
+
<metrics statements="24" coveredstatements="20" conditionals="15" coveredconditionals="10" methods="1" coveredmethods="1"/>
|
|
2923
2856
|
<line num="1" count="34" type="stmt"/>
|
|
2924
2857
|
<line num="2" count="34" type="stmt"/>
|
|
2925
|
-
<line num="
|
|
2926
|
-
<line num="
|
|
2927
|
-
<line num="
|
|
2928
|
-
<line num="
|
|
2929
|
-
<line num="80" count="
|
|
2930
|
-
<line num="81" count="2" type="
|
|
2931
|
-
<line num="82" count="2" type="
|
|
2932
|
-
<line num="
|
|
2933
|
-
<line num="
|
|
2934
|
-
<line num="
|
|
2935
|
-
<line num="
|
|
2936
|
-
<line num="
|
|
2937
|
-
<line num="101" count="
|
|
2938
|
-
<line num="
|
|
2939
|
-
<line num="104" count="0" type="
|
|
2940
|
-
<line num="
|
|
2941
|
-
<line num="
|
|
2942
|
-
<line num="
|
|
2943
|
-
<line num="117" count="
|
|
2944
|
-
<line num="
|
|
2858
|
+
<line num="4" count="34" type="stmt"/>
|
|
2859
|
+
<line num="12" count="34" type="stmt"/>
|
|
2860
|
+
<line num="20" count="34" type="stmt"/>
|
|
2861
|
+
<line num="79" count="34" type="stmt"/>
|
|
2862
|
+
<line num="80" count="2" type="stmt"/>
|
|
2863
|
+
<line num="81" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2864
|
+
<line num="82" count="2" type="stmt"/>
|
|
2865
|
+
<line num="84" count="2" type="stmt"/>
|
|
2866
|
+
<line num="87" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2867
|
+
<line num="92" count="1" type="stmt"/>
|
|
2868
|
+
<line num="96" count="1" type="stmt"/>
|
|
2869
|
+
<line num="100" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2870
|
+
<line num="101" count="0" type="stmt"/>
|
|
2871
|
+
<line num="103" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2872
|
+
<line num="104" count="0" type="stmt"/>
|
|
2873
|
+
<line num="106" count="0" type="stmt"/>
|
|
2874
|
+
<line num="114" count="2" type="stmt"/>
|
|
2875
|
+
<line num="116" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2876
|
+
<line num="117" count="1" type="stmt"/>
|
|
2877
|
+
<line num="119" count="2" type="stmt"/>
|
|
2945
2878
|
<line num="120" count="2" type="stmt"/>
|
|
2946
2879
|
<line num="121" count="2" type="stmt"/>
|
|
2947
|
-
<line num="122" count="2" type="stmt"/>
|
|
2948
2880
|
</file>
|
|
2949
2881
|
<file name="queryRows.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/queryRows.js">
|
|
2950
|
-
<metrics statements="
|
|
2882
|
+
<metrics statements="22" coveredstatements="21" conditionals="11" coveredconditionals="7" methods="2" coveredmethods="2"/>
|
|
2951
2883
|
<line num="1" count="34" type="stmt"/>
|
|
2952
2884
|
<line num="2" count="34" type="stmt"/>
|
|
2953
2885
|
<line num="3" count="34" type="stmt"/>
|
|
2954
2886
|
<line num="4" count="34" type="stmt"/>
|
|
2955
|
-
<line num="
|
|
2956
|
-
<line num="
|
|
2957
|
-
<line num="
|
|
2958
|
-
<line num="
|
|
2959
|
-
<line num="
|
|
2887
|
+
<line num="6" count="34" type="stmt"/>
|
|
2888
|
+
<line num="11" count="34" type="stmt"/>
|
|
2889
|
+
<line num="16" count="34" type="stmt"/>
|
|
2890
|
+
<line num="74" count="1" type="stmt"/>
|
|
2891
|
+
<line num="79" count="1" type="stmt"/>
|
|
2960
2892
|
<line num="80" count="1" type="stmt"/>
|
|
2961
|
-
<line num="
|
|
2962
|
-
<line num="84" count="
|
|
2893
|
+
<line num="83" count="34" type="stmt"/>
|
|
2894
|
+
<line num="84" count="1" type="stmt"/>
|
|
2963
2895
|
<line num="85" count="1" type="stmt"/>
|
|
2964
2896
|
<line num="86" count="1" type="stmt"/>
|
|
2965
|
-
<line num="87" count="1" type="
|
|
2966
|
-
<line num="88" count="1" type="
|
|
2897
|
+
<line num="87" count="1" type="cond" truecount="4" falsecount="1"/>
|
|
2898
|
+
<line num="88" count="1" type="stmt"/>
|
|
2967
2899
|
<line num="89" count="1" type="stmt"/>
|
|
2968
|
-
<line num="
|
|
2969
|
-
<line num="
|
|
2900
|
+
<line num="92" count="1" type="stmt"/>
|
|
2901
|
+
<line num="104" count="1" type="stmt"/>
|
|
2970
2902
|
<line num="105" count="1" type="stmt"/>
|
|
2971
2903
|
<line num="106" count="1" type="stmt"/>
|
|
2972
|
-
<line num="
|
|
2973
|
-
<line num="112" count="0" type="stmt"/>
|
|
2904
|
+
<line num="111" count="0" type="stmt"/>
|
|
2974
2905
|
</file>
|
|
2975
2906
|
<file name="sendSmtpEmail.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/sendSmtpEmail.js">
|
|
2976
|
-
<metrics statements="
|
|
2907
|
+
<metrics statements="10" coveredstatements="3" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
2977
2908
|
<line num="1" count="34" type="stmt"/>
|
|
2978
|
-
<line num="
|
|
2979
|
-
<line num="
|
|
2980
|
-
<line num="51" count="
|
|
2981
|
-
<line num="52" count="0" type="
|
|
2982
|
-
<line num="53" count="0" type="
|
|
2983
|
-
<line num="
|
|
2909
|
+
<line num="3" count="34" type="stmt"/>
|
|
2910
|
+
<line num="50" count="34" type="stmt"/>
|
|
2911
|
+
<line num="51" count="0" type="stmt"/>
|
|
2912
|
+
<line num="52" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2913
|
+
<line num="53" count="0" type="stmt"/>
|
|
2914
|
+
<line num="55" count="0" type="stmt"/>
|
|
2984
2915
|
<line num="56" count="0" type="stmt"/>
|
|
2985
2916
|
<line num="57" count="0" type="stmt"/>
|
|
2986
|
-
<line num="
|
|
2987
|
-
<line num="63" count="0" type="stmt"/>
|
|
2917
|
+
<line num="62" count="0" type="stmt"/>
|
|
2988
2918
|
</file>
|
|
2989
2919
|
<file name="serverLog.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/serverLog.js">
|
|
2990
2920
|
<metrics statements="4" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
@@ -3005,7 +2935,7 @@
|
|
|
3005
2935
|
<line num="59" count="0" type="stmt"/>
|
|
3006
2936
|
</file>
|
|
3007
2937
|
<file name="updateRow.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/updateRow.js">
|
|
3008
|
-
<metrics statements="
|
|
2938
|
+
<metrics statements="16" coveredstatements="16" conditionals="8" coveredconditionals="8" methods="1" coveredmethods="1"/>
|
|
3009
2939
|
<line num="1" count="34" type="stmt"/>
|
|
3010
2940
|
<line num="2" count="34" type="stmt"/>
|
|
3011
2941
|
<line num="3" count="34" type="stmt"/>
|
|
@@ -3013,20 +2943,18 @@
|
|
|
3013
2943
|
<line num="58" count="34" type="stmt"/>
|
|
3014
2944
|
<line num="59" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
3015
2945
|
<line num="60" count="1" type="stmt"/>
|
|
3016
|
-
<line num="
|
|
3017
|
-
<line num="70" count="
|
|
3018
|
-
<line num="71" count="
|
|
3019
|
-
<line num="
|
|
3020
|
-
<line num="
|
|
3021
|
-
<line num="
|
|
3022
|
-
<line num="
|
|
3023
|
-
<line num="90" count="1" type="stmt"/>
|
|
3024
|
-
<line num="92" count="2" type="stmt"/>
|
|
2946
|
+
<line num="69" count="2" type="stmt"/>
|
|
2947
|
+
<line num="70" count="7" type="cond" truecount="4" falsecount="0"/>
|
|
2948
|
+
<line num="71" count="1" type="stmt"/>
|
|
2949
|
+
<line num="76" count="2" type="stmt"/>
|
|
2950
|
+
<line num="86" count="2" type="stmt"/>
|
|
2951
|
+
<line num="87" count="2" type="stmt"/>
|
|
2952
|
+
<line num="92" count="1" type="stmt"/>
|
|
3025
2953
|
<line num="93" count="1" type="stmt"/>
|
|
3026
2954
|
<line num="101" count="1" type="stmt"/>
|
|
3027
2955
|
</file>
|
|
3028
2956
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/utils.js">
|
|
3029
|
-
<metrics statements="17" coveredstatements="
|
|
2957
|
+
<metrics statements="17" coveredstatements="14" conditionals="9" coveredconditionals="6" methods="3" coveredmethods="2"/>
|
|
3030
2958
|
<line num="1" count="34" type="stmt"/>
|
|
3031
2959
|
<line num="2" count="2" type="stmt"/>
|
|
3032
2960
|
<line num="4" count="2" type="stmt"/>
|
|
@@ -3038,7 +2966,7 @@
|
|
|
3038
2966
|
<line num="14" count="2" type="stmt"/>
|
|
3039
2967
|
<line num="20" count="34" type="cond" truecount="0" falsecount="1"/>
|
|
3040
2968
|
<line num="21" count="15" type="stmt"/>
|
|
3041
|
-
<line num="26" count="
|
|
2969
|
+
<line num="26" count="0" type="stmt"/>
|
|
3042
2970
|
<line num="29" count="15" type="cond" truecount="2" falsecount="0"/>
|
|
3043
2971
|
<line num="30" count="14" type="stmt"/>
|
|
3044
2972
|
<line num="32" count="15" type="cond" truecount="1" falsecount="1"/>
|
|
@@ -3106,16 +3034,16 @@
|
|
|
3106
3034
|
<line num="22" count="39" type="stmt"/>
|
|
3107
3035
|
<line num="23" count="39" type="stmt"/>
|
|
3108
3036
|
<line num="32" count="39" type="stmt"/>
|
|
3109
|
-
<line num="
|
|
3110
|
-
<line num="
|
|
3111
|
-
<line num="
|
|
3112
|
-
<line num="
|
|
3113
|
-
<line num="
|
|
3114
|
-
<line num="
|
|
3037
|
+
<line num="47" count="39" type="stmt"/>
|
|
3038
|
+
<line num="53" count="39" type="stmt"/>
|
|
3039
|
+
<line num="59" count="39" type="stmt"/>
|
|
3040
|
+
<line num="66" count="39" type="stmt"/>
|
|
3041
|
+
<line num="71" count="39" type="stmt"/>
|
|
3042
|
+
<line num="133" count="39" type="stmt"/>
|
|
3043
|
+
<line num="141" count="39" type="stmt"/>
|
|
3115
3044
|
<line num="142" count="39" type="stmt"/>
|
|
3116
|
-
<line num="
|
|
3117
|
-
<line num="
|
|
3118
|
-
<line num="156" count="39" type="stmt"/>
|
|
3045
|
+
<line num="149" count="39" type="stmt"/>
|
|
3046
|
+
<line num="155" count="39" type="stmt"/>
|
|
3119
3047
|
</file>
|
|
3120
3048
|
<file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
|
|
3121
3049
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -3315,22 +3243,22 @@
|
|
|
3315
3243
|
<line num="41" count="9" type="stmt"/>
|
|
3316
3244
|
<line num="42" count="9" type="stmt"/>
|
|
3317
3245
|
<line num="47" count="9" type="stmt"/>
|
|
3318
|
-
<line num="56" count="
|
|
3319
|
-
<line num="57" count="
|
|
3320
|
-
<line num="58" count="
|
|
3321
|
-
<line num="59" count="
|
|
3322
|
-
<line num="60" count="
|
|
3323
|
-
<line num="61" count="
|
|
3246
|
+
<line num="56" count="188" type="stmt"/>
|
|
3247
|
+
<line num="57" count="188" type="stmt"/>
|
|
3248
|
+
<line num="58" count="188" type="stmt"/>
|
|
3249
|
+
<line num="59" count="188" type="stmt"/>
|
|
3250
|
+
<line num="60" count="188" type="stmt"/>
|
|
3251
|
+
<line num="61" count="188" type="stmt"/>
|
|
3324
3252
|
<line num="70" count="52" type="cond" truecount="2" falsecount="0"/>
|
|
3325
3253
|
<line num="71" count="5" type="stmt"/>
|
|
3326
3254
|
<line num="74" count="52" type="stmt"/>
|
|
3327
|
-
<line num="85" count="
|
|
3255
|
+
<line num="85" count="181" type="cond" truecount="2" falsecount="0"/>
|
|
3328
3256
|
<line num="86" count="5" type="stmt"/>
|
|
3329
|
-
<line num="88" count="
|
|
3330
|
-
<line num="89" count="
|
|
3331
|
-
<line num="90" count="
|
|
3257
|
+
<line num="88" count="181" type="stmt"/>
|
|
3258
|
+
<line num="89" count="454" type="stmt"/>
|
|
3259
|
+
<line num="90" count="454" type="cond" truecount="2" falsecount="0"/>
|
|
3332
3260
|
<line num="91" count="41" type="stmt"/>
|
|
3333
|
-
<line num="94" count="
|
|
3261
|
+
<line num="94" count="140" type="stmt"/>
|
|
3334
3262
|
<line num="101" count="27" type="stmt"/>
|
|
3335
3263
|
<line num="113" count="9" type="stmt"/>
|
|
3336
3264
|
<line num="124" count="22" type="stmt"/>
|
|
@@ -3496,16 +3424,16 @@
|
|
|
3496
3424
|
<line num="89" count="30" type="stmt"/>
|
|
3497
3425
|
<line num="90" count="30" type="stmt"/>
|
|
3498
3426
|
<line num="105" count="34" type="stmt"/>
|
|
3499
|
-
<line num="106" count="
|
|
3500
|
-
<line num="107" count="
|
|
3501
|
-
<line num="108" count="
|
|
3427
|
+
<line num="106" count="178" type="stmt"/>
|
|
3428
|
+
<line num="107" count="178" type="cond" truecount="2" falsecount="0"/>
|
|
3429
|
+
<line num="108" count="178" type="cond" truecount="1" falsecount="1"/>
|
|
3502
3430
|
<line num="109" count="0" type="stmt"/>
|
|
3503
|
-
<line num="112" count="
|
|
3431
|
+
<line num="112" count="178" type="cond" truecount="4" falsecount="0"/>
|
|
3504
3432
|
<line num="113" count="101" type="stmt"/>
|
|
3505
|
-
<line num="115" count="
|
|
3506
|
-
<line num="116" count="
|
|
3507
|
-
<line num="117" count="
|
|
3508
|
-
<line num="122" count="
|
|
3433
|
+
<line num="115" count="178" type="stmt"/>
|
|
3434
|
+
<line num="116" count="178" type="stmt"/>
|
|
3435
|
+
<line num="117" count="178" type="cond" truecount="2" falsecount="0"/>
|
|
3436
|
+
<line num="122" count="137" type="stmt"/>
|
|
3509
3437
|
<line num="125" count="0" type="stmt"/>
|
|
3510
3438
|
<line num="127" count="41" type="cond" truecount="5" falsecount="2"/>
|
|
3511
3439
|
<line num="130" count="21" type="stmt"/>
|
|
@@ -3899,7 +3827,7 @@
|
|
|
3899
3827
|
</file>
|
|
3900
3828
|
</package>
|
|
3901
3829
|
<package name="utilities">
|
|
3902
|
-
<metrics statements="
|
|
3830
|
+
<metrics statements="271" coveredstatements="203" conditionals="105" coveredconditionals="59" methods="55" coveredmethods="38"/>
|
|
3903
3831
|
<file name="bcrypt.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/bcrypt.js">
|
|
3904
3832
|
<metrics statements="9" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
3905
3833
|
<line num="3" count="0" type="stmt"/>
|
|
@@ -4096,21 +4024,6 @@
|
|
|
4096
4024
|
<line num="132" count="0" type="stmt"/>
|
|
4097
4025
|
<line num="133" count="0" type="stmt"/>
|
|
4098
4026
|
</file>
|
|
4099
|
-
<file name="scriptRunner.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/scriptRunner.js">
|
|
4100
|
-
<metrics statements="12" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
4101
|
-
<line num="1" count="34" type="stmt"/>
|
|
4102
|
-
<line num="2" count="34" type="stmt"/>
|
|
4103
|
-
<line num="6" count="0" type="stmt"/>
|
|
4104
|
-
<line num="7" count="0" type="stmt"/>
|
|
4105
|
-
<line num="8" count="0" type="stmt"/>
|
|
4106
|
-
<line num="9" count="0" type="stmt"/>
|
|
4107
|
-
<line num="10" count="0" type="stmt"/>
|
|
4108
|
-
<line num="11" count="0" type="stmt"/>
|
|
4109
|
-
<line num="12" count="0" type="stmt"/>
|
|
4110
|
-
<line num="16" count="0" type="stmt"/>
|
|
4111
|
-
<line num="17" count="0" type="stmt"/>
|
|
4112
|
-
<line num="21" count="34" type="stmt"/>
|
|
4113
|
-
</file>
|
|
4114
4027
|
<file name="security.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/security.js">
|
|
4115
4028
|
<metrics statements="28" coveredstatements="23" conditionals="15" coveredconditionals="8" methods="4" coveredmethods="4"/>
|
|
4116
4029
|
<line num="6" count="33" type="stmt"/>
|
|
@@ -4258,9 +4171,9 @@
|
|
|
4258
4171
|
</file>
|
|
4259
4172
|
</package>
|
|
4260
4173
|
<package name="utilities.rowProcessor">
|
|
4261
|
-
<metrics statements="
|
|
4174
|
+
<metrics statements="90" coveredstatements="70" conditionals="70" coveredconditionals="41" methods="12" coveredmethods="10"/>
|
|
4262
4175
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/index.js">
|
|
4263
|
-
<metrics statements="
|
|
4176
|
+
<metrics statements="79" coveredstatements="60" conditionals="64" coveredconditionals="36" methods="10" coveredmethods="9"/>
|
|
4264
4177
|
<line num="1" count="34" type="stmt"/>
|
|
4265
4178
|
<line num="2" count="34" type="stmt"/>
|
|
4266
4179
|
<line num="3" count="34" type="stmt"/>
|
|
@@ -4303,48 +4216,43 @@
|
|
|
4303
4216
|
<line num="142" count="73" type="stmt"/>
|
|
4304
4217
|
<line num="144" count="34" type="stmt"/>
|
|
4305
4218
|
<line num="152" count="34" type="stmt"/>
|
|
4306
|
-
<line num="154" count="174" type="cond" truecount="
|
|
4307
|
-
<line num="155" count="
|
|
4308
|
-
<line num="
|
|
4309
|
-
<line num="
|
|
4310
|
-
<line num="160" count="
|
|
4311
|
-
<line num="
|
|
4312
|
-
<line num="
|
|
4313
|
-
<line num="
|
|
4219
|
+
<line num="154" count="174" type="cond" truecount="2" falsecount="0"/>
|
|
4220
|
+
<line num="155" count="16" type="stmt"/>
|
|
4221
|
+
<line num="156" count="158" type="cond" truecount="2" falsecount="0"/>
|
|
4222
|
+
<line num="157" count="22" type="stmt"/>
|
|
4223
|
+
<line num="160" count="136" type="stmt"/>
|
|
4224
|
+
<line num="172" count="34" type="stmt"/>
|
|
4225
|
+
<line num="178" count="73" type="stmt"/>
|
|
4226
|
+
<line num="180" count="73" type="stmt"/>
|
|
4227
|
+
<line num="181" count="73" type="stmt"/>
|
|
4314
4228
|
<line num="182" count="73" type="stmt"/>
|
|
4315
|
-
<line num="
|
|
4316
|
-
<line num="185" count="
|
|
4317
|
-
<line num="186" count="
|
|
4318
|
-
<line num="187" count="
|
|
4319
|
-
<line num="189" count="
|
|
4320
|
-
<line num="
|
|
4321
|
-
<line num="
|
|
4322
|
-
<line num="
|
|
4323
|
-
<line num="
|
|
4324
|
-
<line num="
|
|
4325
|
-
<line num="
|
|
4326
|
-
<line num="
|
|
4327
|
-
<line num="
|
|
4328
|
-
<line num="
|
|
4329
|
-
<line num="
|
|
4330
|
-
<line num="
|
|
4229
|
+
<line num="183" count="332" type="stmt"/>
|
|
4230
|
+
<line num="185" count="332" type="cond" truecount="2" falsecount="0"/>
|
|
4231
|
+
<line num="186" count="159" type="cond" truecount="2" falsecount="0"/>
|
|
4232
|
+
<line num="187" count="3" type="stmt"/>
|
|
4233
|
+
<line num="189" count="159" type="stmt"/>
|
|
4234
|
+
<line num="193" count="173" type="cond" truecount="1" falsecount="1"/>
|
|
4235
|
+
<line num="194" count="0" type="stmt"/>
|
|
4236
|
+
<line num="196" count="173" type="stmt"/>
|
|
4237
|
+
<line num="200" count="73" type="stmt"/>
|
|
4238
|
+
<line num="213" count="34" type="stmt"/>
|
|
4239
|
+
<line num="219" count="100" type="stmt"/>
|
|
4240
|
+
<line num="220" count="100" type="stmt"/>
|
|
4241
|
+
<line num="221" count="100" type="cond" truecount="2" falsecount="0"/>
|
|
4242
|
+
<line num="222" count="87" type="stmt"/>
|
|
4243
|
+
<line num="223" count="87" type="stmt"/>
|
|
4244
|
+
<line num="226" count="100" type="stmt"/>
|
|
4331
4245
|
<line num="229" count="100" type="stmt"/>
|
|
4332
|
-
<line num="
|
|
4333
|
-
<line num="
|
|
4334
|
-
<line num="
|
|
4335
|
-
<line num="
|
|
4336
|
-
<line num="236" count="
|
|
4337
|
-
<line num="
|
|
4338
|
-
<line num="
|
|
4339
|
-
<line num="
|
|
4340
|
-
<line num="
|
|
4341
|
-
<line num="
|
|
4342
|
-
<line num="246" count="6" type="stmt"/>
|
|
4343
|
-
<line num="248" count="2" type="stmt"/>
|
|
4344
|
-
<line num="249" count="2" type="stmt"/>
|
|
4345
|
-
<line num="254" count="100" type="cond" truecount="2" falsecount="0"/>
|
|
4346
|
-
<line num="255" count="26" type="stmt"/>
|
|
4347
|
-
<line num="261" count="100" type="cond" truecount="2" falsecount="0"/>
|
|
4246
|
+
<line num="232" count="100" type="stmt"/>
|
|
4247
|
+
<line num="233" count="296" type="cond" truecount="2" falsecount="0"/>
|
|
4248
|
+
<line num="234" count="8" type="stmt"/>
|
|
4249
|
+
<line num="235" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
4250
|
+
<line num="236" count="6" type="stmt"/>
|
|
4251
|
+
<line num="238" count="2" type="stmt"/>
|
|
4252
|
+
<line num="239" count="2" type="stmt"/>
|
|
4253
|
+
<line num="244" count="100" type="cond" truecount="2" falsecount="0"/>
|
|
4254
|
+
<line num="245" count="26" type="stmt"/>
|
|
4255
|
+
<line num="251" count="100" type="cond" truecount="2" falsecount="0"/>
|
|
4348
4256
|
</file>
|
|
4349
4257
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/utils.js">
|
|
4350
4258
|
<metrics statements="11" coveredstatements="10" conditionals="6" coveredconditionals="5" methods="2" coveredmethods="1"/>
|