@budibase/server 0.9.190-alpha.5 → 0.9.190-alpha.6
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.3617915f.js → index.8df789cb.js} +1 -1
- package/builder/index.html +1 -1
- package/coverage/clover.xml +219 -221
- package/coverage/coverage-final.json +15 -15
- 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 +56 -56
- package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +1 -1
- package/coverage/lcov-report/api/controllers/datasource.js.html +15 -15
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/api/controllers/hosting.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +10 -10
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query.js.html +34 -28
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
- package/coverage/lcov-report/api/controllers/user.js.html +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 +1 -1
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
- package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
- package/coverage/lcov-report/api/index.html +1 -1
- package/coverage/lcov-report/api/index.js.html +5 -5
- package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
- package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/routes/application.js.html +1 -1
- package/coverage/lcov-report/api/routes/auth.js.html +1 -1
- package/coverage/lcov-report/api/routes/automation.js.html +1 -1
- package/coverage/lcov-report/api/routes/backup.js.html +1 -1
- package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
- package/coverage/lcov-report/api/routes/component.js.html +1 -1
- package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
- package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
- package/coverage/lcov-report/api/routes/dev.js.html +1 -1
- package/coverage/lcov-report/api/routes/hosting.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +1 -1
- package/coverage/lcov-report/api/routes/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/integration.js.html +1 -1
- package/coverage/lcov-report/api/routes/layout.js.html +1 -1
- package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
- package/coverage/lcov-report/api/routes/permission.js.html +1 -1
- package/coverage/lcov-report/api/routes/query.js.html +1 -1
- package/coverage/lcov-report/api/routes/role.js.html +1 -1
- package/coverage/lcov-report/api/routes/routing.js.html +1 -1
- package/coverage/lcov-report/api/routes/row.js.html +1 -1
- package/coverage/lcov-report/api/routes/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.js.html +1 -1
- package/coverage/lcov-report/api/routes/static.js.html +1 -1
- package/coverage/lcov-report/api/routes/table.js.html +1 -1
- package/coverage/lcov-report/api/routes/templates.js.html +1 -1
- package/coverage/lcov-report/api/routes/user.js.html +1 -1
- package/coverage/lcov-report/api/routes/view.js.html +1 -1
- package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/actions.js.html +1 -1
- package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
- package/coverage/lcov-report/automations/bullboard.js.html +1 -1
- package/coverage/lcov-report/automations/index.html +1 -1
- package/coverage/lcov-report/automations/index.js.html +1 -1
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +1 -1
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
- package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/triggers.js.html +1 -1
- package/coverage/lcov-report/automations/utils.js.html +5 -5
- package/coverage/lcov-report/constants/index.html +1 -1
- package/coverage/lcov-report/constants/index.js.html +1 -1
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +1 -1
- package/coverage/lcov-report/db/client.js.html +1 -1
- package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
- package/coverage/lcov-report/db/index.html +1 -1
- package/coverage/lcov-report/db/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
- package/coverage/lcov-report/db/newid.js.html +2 -2
- package/coverage/lcov-report/db/utils.js.html +18 -18
- 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 +10 -10
- 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 +9 -9
- package/coverage/lcov-report/middleware/builder.js.html +7 -7
- package/coverage/lcov-report/middleware/currentapp.js.html +28 -28
- package/coverage/lcov-report/middleware/index.html +1 -1
- package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
- package/coverage/lcov-report/middleware/resourceId.js.html +7 -7
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
- package/coverage/lcov-report/middleware/utils.js.html +2 -2
- package/coverage/lcov-report/threads/automation.js.html +1 -1
- package/coverage/lcov-report/threads/index.html +1 -1
- package/coverage/lcov-report/threads/index.js.html +1 -1
- package/coverage/lcov-report/threads/query.js.html +1 -1
- package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
- package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
- package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
- package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
- package/coverage/lcov-report/utilities/global.js.html +13 -13
- package/coverage/lcov-report/utilities/index.html +1 -1
- package/coverage/lcov-report/utilities/index.js.html +3 -3
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +2 -2
- package/coverage/lcov-report/utilities/queue/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
- package/coverage/lcov-report/utilities/security.js.html +1 -1
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
- package/coverage/lcov.info +370 -372
- package/dist/api/controllers/query.js +2 -4
- package/dist/package.json +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/api/controllers/query.js +6 -4
- package/src/api/routes/tests/query.spec.js +38 -8
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="1637926448751" clover="3.2.0">
|
|
3
|
+
<project timestamp="1637926448751" name="All files">
|
|
4
|
+
<metrics statements="4379" coveredstatements="3235" conditionals="1748" coveredconditionals="951" methods="619" coveredmethods="440" elements="6746" coveredelements="4626" complexity="0" loc="4379" ncloc="4379" packages="20" files="138" classes="138"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="29" coveredstatements="27" conditionals="5" coveredconditionals="2" methods="5" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
<line num="13" count="23" type="stmt"/>
|
|
17
17
|
<line num="15" count="23" type="stmt"/>
|
|
18
18
|
<line num="17" count="23" type="stmt"/>
|
|
19
|
-
<line num="31" count="
|
|
20
|
-
<line num="35" count="
|
|
19
|
+
<line num="31" count="158" type="stmt"/>
|
|
20
|
+
<line num="35" count="158" type="stmt"/>
|
|
21
21
|
<line num="37" count="1" type="stmt"/>
|
|
22
22
|
<line num="38" count="1" type="stmt"/>
|
|
23
23
|
<line num="60" count="23" type="stmt"/>
|
|
24
|
-
<line num="61" count="
|
|
25
|
-
<line num="62" count="
|
|
24
|
+
<line num="61" count="154" type="stmt"/>
|
|
25
|
+
<line num="62" count="154" type="stmt"/>
|
|
26
26
|
<line num="64" count="37" type="cond" truecount="1" falsecount="2"/>
|
|
27
27
|
<line num="65" count="37" type="stmt"/>
|
|
28
28
|
<line num="70" count="37" type="cond" truecount="1" falsecount="1"/>
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</file>
|
|
39
39
|
</package>
|
|
40
40
|
<package name="api.controllers">
|
|
41
|
-
<metrics statements="
|
|
41
|
+
<metrics statements="1110" coveredstatements="797" conditionals="367" coveredconditionals="169" methods="153" coveredmethods="109"/>
|
|
42
42
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.js">
|
|
43
43
|
<metrics statements="13" coveredstatements="6" conditionals="13" coveredconditionals="4" methods="2" coveredmethods="1"/>
|
|
44
44
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -105,40 +105,40 @@
|
|
|
105
105
|
<line num="46" count="33" type="stmt"/>
|
|
106
106
|
<line num="47" count="33" type="stmt"/>
|
|
107
107
|
<line num="49" count="33" type="stmt"/>
|
|
108
|
-
<line num="53" count="
|
|
109
|
-
<line num="59" count="
|
|
110
|
-
<line num="63" count="
|
|
108
|
+
<line num="53" count="189" type="stmt"/>
|
|
109
|
+
<line num="59" count="378" type="stmt"/>
|
|
110
|
+
<line num="63" count="189" type="stmt"/>
|
|
111
111
|
<line num="69" count="12" type="stmt"/>
|
|
112
|
-
<line num="73" count="
|
|
113
|
-
<line num="80" count="
|
|
112
|
+
<line num="73" count="187" type="cond" truecount="4" falsecount="0"/>
|
|
113
|
+
<line num="80" count="184" type="cond" truecount="1" falsecount="1"/>
|
|
114
114
|
<line num="81" count="0" type="stmt"/>
|
|
115
|
-
<line num="82" count="
|
|
116
|
-
<line num="83" count="
|
|
117
|
-
<line num="85" count="
|
|
118
|
-
<line num="86" count="
|
|
119
|
-
<line num="88" count="
|
|
120
|
-
<line num="89" count="
|
|
115
|
+
<line num="82" count="184" type="cond" truecount="2" falsecount="0"/>
|
|
116
|
+
<line num="83" count="181" type="stmt"/>
|
|
117
|
+
<line num="85" count="184" type="cond" truecount="2" falsecount="0"/>
|
|
118
|
+
<line num="86" count="181" type="stmt"/>
|
|
119
|
+
<line num="88" count="184" type="cond" truecount="2" falsecount="0"/>
|
|
120
|
+
<line num="89" count="11" type="stmt"/>
|
|
121
121
|
<line num="91" count="173" type="stmt"/>
|
|
122
122
|
<line num="92" count="173" type="cond" truecount="1" falsecount="1"/>
|
|
123
123
|
<line num="98" count="0" type="stmt"/>
|
|
124
124
|
<line num="100" count="173" type="stmt"/>
|
|
125
|
-
<line num="104" count="
|
|
126
|
-
<line num="105" count="
|
|
127
|
-
<line num="106" count="
|
|
128
|
-
<line num="108" count="
|
|
129
|
-
<line num="109" count="
|
|
130
|
-
<line num="118" count="
|
|
131
|
-
<line num="119" count="
|
|
132
|
-
<line num="120" count="
|
|
133
|
-
<line num="124" count="
|
|
125
|
+
<line num="104" count="179" type="cond" truecount="1" falsecount="1"/>
|
|
126
|
+
<line num="105" count="179" type="stmt"/>
|
|
127
|
+
<line num="106" count="179" type="stmt"/>
|
|
128
|
+
<line num="108" count="179" type="stmt"/>
|
|
129
|
+
<line num="109" count="179" type="stmt"/>
|
|
130
|
+
<line num="118" count="179" type="stmt"/>
|
|
131
|
+
<line num="119" count="179" type="stmt"/>
|
|
132
|
+
<line num="120" count="179" type="stmt"/>
|
|
133
|
+
<line num="124" count="179" type="cond" truecount="3" falsecount="1"/>
|
|
134
134
|
<line num="125" count="0" type="stmt"/>
|
|
135
135
|
<line num="126" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
136
136
|
<line num="127" count="0" type="stmt"/>
|
|
137
|
-
<line num="129" count="
|
|
137
|
+
<line num="129" count="179" type="cond" truecount="3" falsecount="1"/>
|
|
138
138
|
<line num="132" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
139
139
|
<line num="133" count="0" type="stmt"/>
|
|
140
|
-
<line num="137" count="
|
|
141
|
-
<line num="140" count="
|
|
140
|
+
<line num="137" count="179" type="stmt"/>
|
|
141
|
+
<line num="140" count="179" type="stmt"/>
|
|
142
142
|
<line num="143" count="33" type="stmt"/>
|
|
143
143
|
<line num="144" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
144
144
|
<line num="145" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -161,35 +161,35 @@
|
|
|
161
161
|
<line num="173" count="1" type="stmt"/>
|
|
162
162
|
<line num="177" count="1" type="stmt"/>
|
|
163
163
|
<line num="184" count="33" type="stmt"/>
|
|
164
|
-
<line num="185" count="
|
|
165
|
-
<line num="186" count="
|
|
166
|
-
<line num="187" count="
|
|
167
|
-
<line num="188" count="
|
|
168
|
-
<line num="191" count="
|
|
169
|
-
<line num="192" count="
|
|
170
|
-
<line num="193" count="
|
|
171
|
-
<line num="194" count="
|
|
172
|
-
<line num="197" count="
|
|
164
|
+
<line num="185" count="188" type="stmt"/>
|
|
165
|
+
<line num="186" count="188" type="stmt"/>
|
|
166
|
+
<line num="187" count="188" type="stmt"/>
|
|
167
|
+
<line num="188" count="188" type="stmt"/>
|
|
168
|
+
<line num="191" count="188" type="cond" truecount="4" falsecount="0"/>
|
|
169
|
+
<line num="192" count="186" type="stmt"/>
|
|
170
|
+
<line num="193" count="186" type="stmt"/>
|
|
171
|
+
<line num="194" count="186" type="stmt"/>
|
|
172
|
+
<line num="197" count="188" type="stmt"/>
|
|
173
173
|
<line num="205" count="33" type="stmt"/>
|
|
174
|
-
<line num="206" count="
|
|
175
|
-
<line num="207" count="
|
|
176
|
-
<line num="212" count="
|
|
174
|
+
<line num="206" count="179" type="stmt"/>
|
|
175
|
+
<line num="207" count="179" type="stmt"/>
|
|
176
|
+
<line num="212" count="179" type="cond" truecount="2" falsecount="2"/>
|
|
177
177
|
<line num="213" count="0" type="stmt"/>
|
|
178
|
-
<line num="215" count="
|
|
179
|
-
<line num="216" count="
|
|
180
|
-
<line num="218" count="
|
|
181
|
-
<line num="219" count="
|
|
182
|
-
<line num="221" count="
|
|
183
|
-
<line num="223" count="
|
|
178
|
+
<line num="215" count="179" type="stmt"/>
|
|
179
|
+
<line num="216" count="179" type="stmt"/>
|
|
180
|
+
<line num="218" count="179" type="stmt"/>
|
|
181
|
+
<line num="219" count="179" type="stmt"/>
|
|
182
|
+
<line num="221" count="179" type="stmt"/>
|
|
183
|
+
<line num="223" count="179" type="stmt"/>
|
|
184
184
|
<line num="224" count="0" type="stmt"/>
|
|
185
|
-
<line num="228" count="
|
|
186
|
-
<line num="243" count="
|
|
187
|
-
<line num="244" count="
|
|
188
|
-
<line num="248" count="
|
|
189
|
-
<line num="249" count="
|
|
190
|
-
<line num="257" count="
|
|
191
|
-
<line num="258" count="
|
|
192
|
-
<line num="259" count="
|
|
185
|
+
<line num="228" count="179" type="stmt"/>
|
|
186
|
+
<line num="243" count="179" type="stmt"/>
|
|
187
|
+
<line num="244" count="179" type="stmt"/>
|
|
188
|
+
<line num="248" count="179" type="cond" truecount="1" falsecount="1"/>
|
|
189
|
+
<line num="249" count="179" type="stmt"/>
|
|
190
|
+
<line num="257" count="179" type="stmt"/>
|
|
191
|
+
<line num="258" count="179" type="stmt"/>
|
|
192
|
+
<line num="259" count="179" type="stmt"/>
|
|
193
193
|
<line num="262" count="33" type="stmt"/>
|
|
194
194
|
<line num="263" count="2" type="stmt"/>
|
|
195
195
|
<line num="264" count="2" type="stmt"/>
|
|
@@ -258,12 +258,12 @@
|
|
|
258
258
|
<line num="397" count="5" type="stmt"/>
|
|
259
259
|
<line num="398" count="5" type="stmt"/>
|
|
260
260
|
<line num="401" count="33" type="stmt"/>
|
|
261
|
-
<line num="402" count="
|
|
262
|
-
<line num="404" count="
|
|
263
|
-
<line num="405" count="
|
|
264
|
-
<line num="406" count="
|
|
265
|
-
<line num="407" count="
|
|
266
|
-
<line num="410" count="
|
|
261
|
+
<line num="402" count="179" type="stmt"/>
|
|
262
|
+
<line num="404" count="179" type="stmt"/>
|
|
263
|
+
<line num="405" count="179" type="stmt"/>
|
|
264
|
+
<line num="406" count="358" type="stmt"/>
|
|
265
|
+
<line num="407" count="358" type="stmt"/>
|
|
266
|
+
<line num="410" count="179" type="stmt"/>
|
|
267
267
|
</file>
|
|
268
268
|
<file name="auth.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/auth.js">
|
|
269
269
|
<metrics statements="27" coveredstatements="23" conditionals="8" coveredconditionals="4" methods="1" coveredmethods="1"/>
|
|
@@ -523,25 +523,25 @@
|
|
|
523
523
|
<line num="78" count="0" type="stmt"/>
|
|
524
524
|
<line num="79" count="0" type="stmt"/>
|
|
525
525
|
<line num="82" count="33" type="stmt"/>
|
|
526
|
-
<line num="83" count="
|
|
527
|
-
<line num="84" count="
|
|
528
|
-
<line num="85" count="
|
|
529
|
-
<line num="87" count="
|
|
530
|
-
<line num="93" count="
|
|
531
|
-
<line num="94" count="
|
|
526
|
+
<line num="83" count="24" type="stmt"/>
|
|
527
|
+
<line num="84" count="24" type="stmt"/>
|
|
528
|
+
<line num="85" count="24" type="stmt"/>
|
|
529
|
+
<line num="87" count="24" type="stmt"/>
|
|
530
|
+
<line num="93" count="24" type="stmt"/>
|
|
531
|
+
<line num="94" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
532
532
|
<line num="95" count="0" type="stmt"/>
|
|
533
533
|
<line num="96" count="0" type="stmt"/>
|
|
534
534
|
<line num="97" count="0" type="stmt"/>
|
|
535
|
-
<line num="100" count="
|
|
536
|
-
<line num="101" count="
|
|
537
|
-
<line num="104" count="
|
|
538
|
-
<line num="105" count="
|
|
539
|
-
<line num="106" count="
|
|
535
|
+
<line num="100" count="24" type="stmt"/>
|
|
536
|
+
<line num="101" count="24" type="stmt"/>
|
|
537
|
+
<line num="104" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
538
|
+
<line num="105" count="24" type="stmt"/>
|
|
539
|
+
<line num="106" count="24" type="cond" truecount="3" falsecount="1"/>
|
|
540
540
|
<line num="107" count="0" type="stmt"/>
|
|
541
|
-
<line num="111" count="
|
|
542
|
-
<line num="112" count="
|
|
541
|
+
<line num="111" count="24" type="stmt"/>
|
|
542
|
+
<line num="112" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
543
543
|
<line num="113" count="0" type="stmt"/>
|
|
544
|
-
<line num="115" count="
|
|
544
|
+
<line num="115" count="24" type="stmt"/>
|
|
545
545
|
<line num="118" count="33" type="stmt"/>
|
|
546
546
|
<line num="119" count="1" type="stmt"/>
|
|
547
547
|
<line num="122" count="1" type="stmt"/>
|
|
@@ -824,79 +824,77 @@
|
|
|
824
824
|
<line num="170" count="1" type="stmt"/>
|
|
825
825
|
</file>
|
|
826
826
|
<file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query.js">
|
|
827
|
-
<metrics statements="
|
|
827
|
+
<metrics statements="70" coveredstatements="59" conditionals="25" coveredconditionals="12" methods="9" coveredmethods="9"/>
|
|
828
828
|
<line num="1" count="34" type="stmt"/>
|
|
829
829
|
<line num="2" count="34" type="stmt"/>
|
|
830
|
-
<line num="
|
|
831
|
-
<line num="4" count="34" type="stmt"/>
|
|
832
|
-
<line num="5" count="34" type="stmt"/>
|
|
833
|
-
<line num="6" count="34" type="stmt"/>
|
|
830
|
+
<line num="7" count="34" type="stmt"/>
|
|
834
831
|
<line num="8" count="34" type="stmt"/>
|
|
835
|
-
<line num="
|
|
836
|
-
<line num="
|
|
837
|
-
<line num="
|
|
838
|
-
<line num="
|
|
839
|
-
<line num="
|
|
840
|
-
<line num="
|
|
841
|
-
<line num="
|
|
842
|
-
<line num="
|
|
843
|
-
<line num="25" count="
|
|
844
|
-
<line num="
|
|
845
|
-
<line num="
|
|
846
|
-
<line num="
|
|
847
|
-
<line num="
|
|
848
|
-
<line num="37" count="
|
|
849
|
-
<line num="38" count="
|
|
850
|
-
<line num="
|
|
851
|
-
<line num="
|
|
852
|
-
<line num="44" count="
|
|
853
|
-
<line num="45" count="
|
|
854
|
-
<line num="
|
|
832
|
+
<line num="9" count="34" type="stmt"/>
|
|
833
|
+
<line num="11" count="34" type="stmt"/>
|
|
834
|
+
<line num="15" count="5" type="stmt"/>
|
|
835
|
+
<line num="16" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
836
|
+
<line num="17" count="5" type="stmt"/>
|
|
837
|
+
<line num="18" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
838
|
+
<line num="19" count="4" type="stmt"/>
|
|
839
|
+
<line num="22" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
840
|
+
<line num="25" count="34" type="stmt"/>
|
|
841
|
+
<line num="26" count="2" type="stmt"/>
|
|
842
|
+
<line num="28" count="2" type="stmt"/>
|
|
843
|
+
<line num="33" count="2" type="stmt"/>
|
|
844
|
+
<line num="36" count="34" type="stmt"/>
|
|
845
|
+
<line num="37" count="20" type="stmt"/>
|
|
846
|
+
<line num="38" count="20" type="stmt"/>
|
|
847
|
+
<line num="40" count="20" type="cond" truecount="1" falsecount="1"/>
|
|
848
|
+
<line num="41" count="20" type="stmt"/>
|
|
849
|
+
<line num="44" count="20" type="stmt"/>
|
|
850
|
+
<line num="45" count="20" type="stmt"/>
|
|
851
|
+
<line num="47" count="20" type="stmt"/>
|
|
852
|
+
<line num="48" count="20" type="stmt"/>
|
|
855
853
|
<line num="52" count="4" type="stmt"/>
|
|
856
|
-
<line num="
|
|
857
|
-
<line num="54" count="0" type="stmt"/>
|
|
854
|
+
<line num="55" count="4" type="stmt"/>
|
|
858
855
|
<line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
859
|
-
<line num="
|
|
856
|
+
<line num="57" count="0" type="stmt"/>
|
|
860
857
|
<line num="59" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
861
858
|
<line num="61" count="0" type="stmt"/>
|
|
862
|
-
<line num="
|
|
863
|
-
<line num="
|
|
864
|
-
<line num="
|
|
865
|
-
<line num="
|
|
866
|
-
<line num="
|
|
867
|
-
<line num="
|
|
868
|
-
<line num="
|
|
869
|
-
<line num="
|
|
870
|
-
<line num="
|
|
871
|
-
<line num="
|
|
872
|
-
<line num="93" count="
|
|
873
|
-
<line num="94" count="
|
|
874
|
-
<line num="
|
|
875
|
-
<line num="
|
|
876
|
-
<line num="98" count="
|
|
877
|
-
<line num="
|
|
878
|
-
<line num="
|
|
859
|
+
<line num="62" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
860
|
+
<line num="64" count="0" type="stmt"/>
|
|
861
|
+
<line num="68" count="0" type="stmt"/>
|
|
862
|
+
<line num="72" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
863
|
+
<line num="77" count="0" type="stmt"/>
|
|
864
|
+
<line num="78" count="0" type="stmt"/>
|
|
865
|
+
<line num="84" count="0" type="stmt"/>
|
|
866
|
+
<line num="86" count="0" type="stmt"/>
|
|
867
|
+
<line num="89" count="4" type="stmt"/>
|
|
868
|
+
<line num="92" count="34" type="stmt"/>
|
|
869
|
+
<line num="93" count="3" type="stmt"/>
|
|
870
|
+
<line num="94" count="3" type="stmt"/>
|
|
871
|
+
<line num="96" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
872
|
+
<line num="97" count="1" type="stmt"/>
|
|
873
|
+
<line num="98" count="1" type="stmt"/>
|
|
874
|
+
<line num="100" count="3" type="stmt"/>
|
|
875
|
+
<line num="103" count="34" type="stmt"/>
|
|
879
876
|
<line num="104" count="2" type="stmt"/>
|
|
880
877
|
<line num="106" count="2" type="stmt"/>
|
|
881
|
-
<line num="
|
|
878
|
+
<line num="108" count="2" type="stmt"/>
|
|
882
879
|
<line num="109" count="2" type="stmt"/>
|
|
883
|
-
<line num="
|
|
884
|
-
<line num="
|
|
885
|
-
<line num="
|
|
886
|
-
<line num="
|
|
887
|
-
<line num="
|
|
880
|
+
<line num="111" count="2" type="stmt"/>
|
|
881
|
+
<line num="112" count="2" type="stmt"/>
|
|
882
|
+
<line num="119" count="1" type="stmt"/>
|
|
883
|
+
<line num="124" count="1" type="stmt"/>
|
|
884
|
+
<line num="128" count="34" type="stmt"/>
|
|
888
885
|
<line num="129" count="2" type="stmt"/>
|
|
889
|
-
<line num="
|
|
886
|
+
<line num="131" count="2" type="stmt"/>
|
|
890
887
|
<line num="132" count="2" type="stmt"/>
|
|
891
|
-
<line num="
|
|
892
|
-
<line num="
|
|
893
|
-
<line num="
|
|
888
|
+
<line num="134" count="2" type="stmt"/>
|
|
889
|
+
<line num="140" count="2" type="stmt"/>
|
|
890
|
+
<line num="141" count="2" type="stmt"/>
|
|
894
891
|
<line num="147" count="1" type="stmt"/>
|
|
895
|
-
<line num="
|
|
896
|
-
<line num="
|
|
897
|
-
<line num="153" count="1" type="stmt"/>
|
|
892
|
+
<line num="149" count="1" type="stmt"/>
|
|
893
|
+
<line num="153" count="34" type="stmt"/>
|
|
898
894
|
<line num="154" count="1" type="stmt"/>
|
|
899
895
|
<line num="155" count="1" type="stmt"/>
|
|
896
|
+
<line num="156" count="1" type="stmt"/>
|
|
897
|
+
<line num="157" count="1" type="stmt"/>
|
|
900
898
|
</file>
|
|
901
899
|
<file name="role.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/role.js">
|
|
902
900
|
<metrics statements="53" coveredstatements="47" conditionals="22" coveredconditionals="14" methods="7" coveredmethods="5"/>
|
|
@@ -2997,13 +2995,13 @@
|
|
|
2997
2995
|
<line num="36" count="2" type="stmt"/>
|
|
2998
2996
|
<line num="40" count="2" type="stmt"/>
|
|
2999
2997
|
<line num="46" count="33" type="stmt"/>
|
|
3000
|
-
<line num="47" count="
|
|
3001
|
-
<line num="48" count="
|
|
3002
|
-
<line num="49" count="
|
|
2998
|
+
<line num="47" count="186" type="stmt"/>
|
|
2999
|
+
<line num="48" count="186" type="stmt"/>
|
|
3000
|
+
<line num="49" count="186" type="stmt"/>
|
|
3003
3001
|
<line num="50" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
3004
3002
|
<line num="51" count="0" type="stmt"/>
|
|
3005
3003
|
<line num="52" count="0" type="stmt"/>
|
|
3006
|
-
<line num="55" count="
|
|
3004
|
+
<line num="55" count="186" type="stmt"/>
|
|
3007
3005
|
<line num="63" count="33" type="stmt"/>
|
|
3008
3006
|
<line num="64" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
3009
3007
|
<line num="66" count="1" type="stmt"/>
|
|
@@ -3471,7 +3469,7 @@
|
|
|
3471
3469
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3472
3470
|
<line num="1" count="47" type="stmt"/>
|
|
3473
3471
|
<line num="3" count="47" type="stmt"/>
|
|
3474
|
-
<line num="4" count="
|
|
3472
|
+
<line num="4" count="630" type="stmt"/>
|
|
3475
3473
|
</file>
|
|
3476
3474
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3477
3475
|
<metrics statements="108" coveredstatements="100" conditionals="51" coveredconditionals="18" methods="30" coveredmethods="27"/>
|
|
@@ -3503,9 +3501,9 @@
|
|
|
3503
3501
|
<line num="84" count="47" type="stmt"/>
|
|
3504
3502
|
<line num="86" count="47" type="stmt"/>
|
|
3505
3503
|
<line num="87" count="74" type="stmt"/>
|
|
3506
|
-
<line num="103" count="
|
|
3507
|
-
<line num="104" count="
|
|
3508
|
-
<line num="106" count="
|
|
3504
|
+
<line num="103" count="606" type="cond" truecount="2" falsecount="0"/>
|
|
3505
|
+
<line num="104" count="593" type="stmt"/>
|
|
3506
|
+
<line num="106" count="606" type="stmt"/>
|
|
3509
3507
|
<line num="113" count="47" type="stmt"/>
|
|
3510
3508
|
<line num="118" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3511
3509
|
<line num="119" count="3" type="stmt"/>
|
|
@@ -3517,19 +3515,19 @@
|
|
|
3517
3515
|
<line num="143" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
3518
3516
|
<line num="145" count="11" type="stmt"/>
|
|
3519
3517
|
<line num="154" count="47" type="cond" truecount="1" falsecount="0"/>
|
|
3520
|
-
<line num="155" count="
|
|
3521
|
-
<line num="156" count="
|
|
3518
|
+
<line num="155" count="201" type="cond" truecount="2" falsecount="0"/>
|
|
3519
|
+
<line num="156" count="201" type="stmt"/>
|
|
3522
3520
|
<line num="162" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3523
3521
|
<line num="163" count="3" type="stmt"/>
|
|
3524
3522
|
<line num="171" count="47" type="stmt"/>
|
|
3525
|
-
<line num="172" count="
|
|
3523
|
+
<line num="172" count="133" type="stmt"/>
|
|
3526
3524
|
<line num="178" count="47" type="stmt"/>
|
|
3527
3525
|
<line num="179" count="2" type="stmt"/>
|
|
3528
3526
|
<line num="180" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
3529
3527
|
<line num="181" count="1" type="stmt"/>
|
|
3530
3528
|
<line num="183" count="1" type="stmt"/>
|
|
3531
3529
|
<line num="189" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3532
|
-
<line num="190" count="
|
|
3530
|
+
<line num="190" count="204" type="stmt"/>
|
|
3533
3531
|
<line num="197" count="47" type="stmt"/>
|
|
3534
3532
|
<line num="198" count="20" type="stmt"/>
|
|
3535
3533
|
<line num="212" count="47" type="stmt"/>
|
|
@@ -3540,32 +3538,32 @@
|
|
|
3540
3538
|
<line num="229" count="47" type="cond" truecount="0" falsecount="1"/>
|
|
3541
3539
|
<line num="230" count="0" type="stmt"/>
|
|
3542
3540
|
<line num="237" count="47" type="cond" truecount="0" falsecount="1"/>
|
|
3543
|
-
<line num="238" count="
|
|
3544
|
-
<line num="239" count="
|
|
3541
|
+
<line num="238" count="179" type="stmt"/>
|
|
3542
|
+
<line num="239" count="179" type="cond" truecount="1" falsecount="1"/>
|
|
3545
3543
|
<line num="240" count="0" type="stmt"/>
|
|
3546
|
-
<line num="242" count="
|
|
3544
|
+
<line num="242" count="179" type="stmt"/>
|
|
3547
3545
|
<line num="249" count="47" type="stmt"/>
|
|
3548
|
-
<line num="250" count="
|
|
3549
|
-
<line num="251" count="
|
|
3550
|
-
<line num="252" count="
|
|
3546
|
+
<line num="250" count="179" type="stmt"/>
|
|
3547
|
+
<line num="251" count="179" type="stmt"/>
|
|
3548
|
+
<line num="252" count="179" type="stmt"/>
|
|
3551
3549
|
<line num="259" count="47" type="stmt"/>
|
|
3552
3550
|
<line num="260" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3553
3551
|
<line num="266" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3554
|
-
<line num="267" count="
|
|
3552
|
+
<line num="267" count="189" type="stmt"/>
|
|
3555
3553
|
<line num="274" count="47" type="stmt"/>
|
|
3556
3554
|
<line num="275" count="19" type="stmt"/>
|
|
3557
3555
|
<line num="281" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3558
|
-
<line num="282" count="
|
|
3556
|
+
<line num="282" count="191" type="stmt"/>
|
|
3559
3557
|
<line num="289" count="47" type="stmt"/>
|
|
3560
3558
|
<line num="290" count="10" type="stmt"/>
|
|
3561
3559
|
<line num="296" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3562
3560
|
<line num="297" count="2" type="stmt"/>
|
|
3563
3561
|
<line num="304" count="47" type="cond" truecount="1" falsecount="1"/>
|
|
3564
|
-
<line num="305" count="
|
|
3562
|
+
<line num="305" count="24" type="stmt"/>
|
|
3565
3563
|
<line num="313" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3566
3564
|
<line num="314" count="3" type="stmt"/>
|
|
3567
3565
|
<line num="321" count="47" type="stmt"/>
|
|
3568
|
-
<line num="322" count="
|
|
3566
|
+
<line num="322" count="20" type="stmt"/>
|
|
3569
3567
|
<line num="330" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3570
3568
|
<line num="331" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
3571
3569
|
<line num="332" count="2" type="stmt"/>
|
|
@@ -3977,16 +3975,16 @@
|
|
|
3977
3975
|
<line num="14" count="7" type="stmt"/>
|
|
3978
3976
|
<line num="17" count="24" type="stmt"/>
|
|
3979
3977
|
<line num="19" count="2246" type="stmt"/>
|
|
3980
|
-
<line num="22" count="
|
|
3978
|
+
<line num="22" count="151" type="cond" truecount="4" falsecount="0"/>
|
|
3981
3979
|
<line num="23" count="1" type="stmt"/>
|
|
3982
|
-
<line num="26" count="
|
|
3980
|
+
<line num="26" count="150" type="cond" truecount="2" falsecount="0"/>
|
|
3983
3981
|
<line num="27" count="1" type="stmt"/>
|
|
3984
|
-
<line num="32" count="
|
|
3985
|
-
<line num="34" count="
|
|
3986
|
-
<line num="36" count="
|
|
3987
|
-
<line num="37" count="
|
|
3988
|
-
<line num="38" count="
|
|
3989
|
-
<line num="39" count="
|
|
3982
|
+
<line num="32" count="149" type="stmt"/>
|
|
3983
|
+
<line num="34" count="149" type="stmt"/>
|
|
3984
|
+
<line num="36" count="149" type="cond" truecount="3" falsecount="0"/>
|
|
3985
|
+
<line num="37" count="149" type="stmt"/>
|
|
3986
|
+
<line num="38" count="149" type="cond" truecount="2" falsecount="0"/>
|
|
3987
|
+
<line num="39" count="113" type="stmt"/>
|
|
3990
3988
|
<line num="40" count="36" type="cond" truecount="4" falsecount="0"/>
|
|
3991
3989
|
<line num="41" count="29" type="stmt"/>
|
|
3992
3990
|
<line num="45" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -4033,14 +4031,14 @@
|
|
|
4033
4031
|
<line num="56" count="1" type="stmt"/>
|
|
4034
4032
|
<line num="58" count="1" type="stmt"/>
|
|
4035
4033
|
<line num="61" count="24" type="stmt"/>
|
|
4036
|
-
<line num="62" count="
|
|
4037
|
-
<line num="64" count="
|
|
4034
|
+
<line num="62" count="149" type="stmt"/>
|
|
4035
|
+
<line num="64" count="149" type="cond" truecount="2" falsecount="0"/>
|
|
4038
4036
|
<line num="65" count="5" type="stmt"/>
|
|
4039
|
-
<line num="67" count="
|
|
4040
|
-
<line num="68" count="
|
|
4041
|
-
<line num="69" count="
|
|
4042
|
-
<line num="71" count="
|
|
4043
|
-
<line num="72" count="
|
|
4037
|
+
<line num="67" count="144" type="stmt"/>
|
|
4038
|
+
<line num="68" count="144" type="stmt"/>
|
|
4039
|
+
<line num="69" count="144" type="cond" truecount="2" falsecount="0"/>
|
|
4040
|
+
<line num="71" count="144" type="cond" truecount="4" falsecount="0"/>
|
|
4041
|
+
<line num="72" count="143" type="stmt"/>
|
|
4044
4042
|
<line num="75" count="1" type="stmt"/>
|
|
4045
4043
|
<line num="77" count="1" type="stmt"/>
|
|
4046
4044
|
</file>
|
|
@@ -4058,47 +4056,47 @@
|
|
|
4058
4056
|
<line num="11" count="28" type="stmt"/>
|
|
4059
4057
|
<line num="12" count="28" type="stmt"/>
|
|
4060
4058
|
<line num="14" count="28" type="stmt"/>
|
|
4061
|
-
<line num="16" count="
|
|
4062
|
-
<line num="18" count="
|
|
4063
|
-
<line num="19" count="
|
|
4064
|
-
<line num="20" count="
|
|
4059
|
+
<line num="16" count="161" type="stmt"/>
|
|
4060
|
+
<line num="18" count="161" type="stmt"/>
|
|
4061
|
+
<line num="19" count="161" type="stmt"/>
|
|
4062
|
+
<line num="20" count="161" type="stmt"/>
|
|
4065
4063
|
<line num="22" count="0" type="stmt"/>
|
|
4066
|
-
<line num="24" count="
|
|
4064
|
+
<line num="24" count="161" type="cond" truecount="4" falsecount="0"/>
|
|
4067
4065
|
<line num="25" count="1" type="stmt"/>
|
|
4068
|
-
<line num="28" count="
|
|
4069
|
-
<line num="29" count="
|
|
4070
|
-
<line num="30" count="
|
|
4071
|
-
<line num="31" count="
|
|
4066
|
+
<line num="28" count="160" type="cond" truecount="2" falsecount="0"/>
|
|
4067
|
+
<line num="29" count="154" type="stmt"/>
|
|
4068
|
+
<line num="30" count="154" type="stmt"/>
|
|
4069
|
+
<line num="31" count="154" type="cond" truecount="1" falsecount="1"/>
|
|
4072
4070
|
<line num="32" count="0" type="stmt"/>
|
|
4073
4071
|
<line num="33" count="0" type="stmt"/>
|
|
4074
|
-
<line num="36" count="
|
|
4075
|
-
<line num="40" count="
|
|
4072
|
+
<line num="36" count="154" type="cond" truecount="1" falsecount="1"/>
|
|
4073
|
+
<line num="40" count="160" type="cond" truecount="2" falsecount="0"/>
|
|
4076
4074
|
<line num="45" count="2" type="stmt"/>
|
|
4077
4075
|
<line num="46" count="2" type="stmt"/>
|
|
4078
|
-
<line num="50" count="
|
|
4079
|
-
<line num="51" count="
|
|
4076
|
+
<line num="50" count="158" type="stmt"/>
|
|
4077
|
+
<line num="51" count="158" type="cond" truecount="2" falsecount="0"/>
|
|
4080
4078
|
<line num="53" count="33" type="stmt"/>
|
|
4081
|
-
<line num="54" count="
|
|
4082
|
-
<line num="56" count="
|
|
4083
|
-
<line num="57" count="
|
|
4084
|
-
<line num="59" count="
|
|
4085
|
-
<line num="63" count="
|
|
4079
|
+
<line num="54" count="125" type="cond" truecount="1" falsecount="1"/>
|
|
4080
|
+
<line num="56" count="125" type="stmt"/>
|
|
4081
|
+
<line num="57" count="125" type="stmt"/>
|
|
4082
|
+
<line num="59" count="125" type="cond" truecount="2" falsecount="0"/>
|
|
4083
|
+
<line num="63" count="158" type="cond" truecount="1" falsecount="1"/>
|
|
4086
4084
|
<line num="64" count="0" type="stmt"/>
|
|
4087
|
-
<line num="67" count="
|
|
4088
|
-
<line num="70" count="
|
|
4085
|
+
<line num="67" count="158" type="stmt"/>
|
|
4086
|
+
<line num="70" count="158" type="cond" truecount="1" falsecount="1"/>
|
|
4089
4087
|
<line num="77" count="0" type="stmt"/>
|
|
4090
4088
|
<line num="78" count="0" type="stmt"/>
|
|
4091
4089
|
<line num="79" count="0" type="stmt"/>
|
|
4092
4090
|
<line num="80" count="0" type="stmt"/>
|
|
4093
4091
|
<line num="81" count="0" type="stmt"/>
|
|
4094
|
-
<line num="84" count="
|
|
4095
|
-
<line num="85" count="
|
|
4096
|
-
<line num="86" count="
|
|
4097
|
-
<line num="87" count="
|
|
4098
|
-
<line num="88" count="
|
|
4099
|
-
<line num="97" count="
|
|
4092
|
+
<line num="84" count="158" type="stmt"/>
|
|
4093
|
+
<line num="85" count="158" type="cond" truecount="1" falsecount="1"/>
|
|
4094
|
+
<line num="86" count="158" type="stmt"/>
|
|
4095
|
+
<line num="87" count="158" type="cond" truecount="2" falsecount="0"/>
|
|
4096
|
+
<line num="88" count="158" type="stmt"/>
|
|
4097
|
+
<line num="97" count="158" type="cond" truecount="2" falsecount="0"/>
|
|
4100
4098
|
<line num="103" count="7" type="stmt"/>
|
|
4101
|
-
<line num="106" count="
|
|
4099
|
+
<line num="106" count="158" type="stmt"/>
|
|
4102
4100
|
</file>
|
|
4103
4101
|
<file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
|
|
4104
4102
|
<metrics statements="17" coveredstatements="14" conditionals="8" coveredconditionals="5" methods="4" coveredmethods="4"/>
|
|
@@ -4134,14 +4132,14 @@
|
|
|
4134
4132
|
<line num="21" count="604" type="stmt"/>
|
|
4135
4133
|
<line num="22" count="604" type="stmt"/>
|
|
4136
4134
|
<line num="23" count="604" type="stmt"/>
|
|
4137
|
-
<line num="24" count="
|
|
4138
|
-
<line num="25" count="
|
|
4135
|
+
<line num="24" count="58" type="cond" truecount="2" falsecount="0"/>
|
|
4136
|
+
<line num="25" count="58" type="cond" truecount="2" falsecount="0"/>
|
|
4139
4137
|
<line num="26" count="1" type="stmt"/>
|
|
4140
|
-
<line num="28" count="
|
|
4141
|
-
<line num="29" count="
|
|
4142
|
-
<line num="31" count="
|
|
4138
|
+
<line num="28" count="57" type="cond" truecount="4" falsecount="0"/>
|
|
4139
|
+
<line num="29" count="53" type="stmt"/>
|
|
4140
|
+
<line num="31" count="57" type="cond" truecount="4" falsecount="0"/>
|
|
4143
4141
|
<line num="32" count="11" type="stmt"/>
|
|
4144
|
-
<line num="34" count="
|
|
4142
|
+
<line num="34" count="57" type="stmt"/>
|
|
4145
4143
|
<line num="39" count="24" type="stmt"/>
|
|
4146
4144
|
<line num="41" count="24" type="stmt"/>
|
|
4147
4145
|
<line num="42" count="462" type="stmt"/>
|
|
@@ -4204,7 +4202,7 @@
|
|
|
4204
4202
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
4205
4203
|
<line num="1" count="29" type="stmt"/>
|
|
4206
4204
|
<line num="5" count="29" type="stmt"/>
|
|
4207
|
-
<line num="6" count="
|
|
4205
|
+
<line num="6" count="271" type="stmt"/>
|
|
4208
4206
|
</file>
|
|
4209
4207
|
</package>
|
|
4210
4208
|
<package name="threads">
|
|
@@ -4469,26 +4467,26 @@
|
|
|
4469
4467
|
<line num="9" count="39" type="stmt"/>
|
|
4470
4468
|
<line num="10" count="39" type="stmt"/>
|
|
4471
4469
|
<line num="12" count="39" type="stmt"/>
|
|
4472
|
-
<line num="13" count="
|
|
4470
|
+
<line num="13" count="134" type="cond" truecount="4" falsecount="0"/>
|
|
4473
4471
|
<line num="14" count="3" type="stmt"/>
|
|
4474
|
-
<line num="17" count="
|
|
4472
|
+
<line num="17" count="131" type="cond" truecount="2" falsecount="2"/>
|
|
4475
4473
|
<line num="18" count="0" type="stmt"/>
|
|
4476
4474
|
<line num="19" count="0" type="stmt"/>
|
|
4477
4475
|
<line num="20" count="0" type="stmt"/>
|
|
4478
4476
|
<line num="21" count="0" type="stmt"/>
|
|
4479
|
-
<line num="24" count="
|
|
4480
|
-
<line num="26" count="
|
|
4481
|
-
<line num="27" count="
|
|
4477
|
+
<line num="24" count="131" type="stmt"/>
|
|
4478
|
+
<line num="26" count="131" type="cond" truecount="5" falsecount="0"/>
|
|
4479
|
+
<line num="27" count="126" type="stmt"/>
|
|
4482
4480
|
<line num="28" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
4483
4481
|
<line num="29" count="0" type="stmt"/>
|
|
4484
|
-
<line num="31" count="
|
|
4485
|
-
<line num="32" count="
|
|
4486
|
-
<line num="36" count="
|
|
4487
|
-
<line num="37" count="
|
|
4488
|
-
<line num="39" count="
|
|
4482
|
+
<line num="31" count="131" type="stmt"/>
|
|
4483
|
+
<line num="32" count="131" type="stmt"/>
|
|
4484
|
+
<line num="36" count="127" type="cond" truecount="1" falsecount="1"/>
|
|
4485
|
+
<line num="37" count="127" type="stmt"/>
|
|
4486
|
+
<line num="39" count="127" type="stmt"/>
|
|
4489
4487
|
<line num="42" count="39" type="stmt"/>
|
|
4490
|
-
<line num="45" count="
|
|
4491
|
-
<line num="46" count="
|
|
4488
|
+
<line num="45" count="125" type="stmt"/>
|
|
4489
|
+
<line num="46" count="125" type="stmt"/>
|
|
4492
4490
|
<line num="49" count="39" type="stmt"/>
|
|
4493
4491
|
<line num="50" count="2" type="stmt"/>
|
|
4494
4492
|
<line num="51" count="2" type="stmt"/>
|
|
@@ -4541,12 +4539,12 @@
|
|
|
4541
4539
|
<line num="39" count="2" type="stmt"/>
|
|
4542
4540
|
<line num="41" count="0" type="stmt"/>
|
|
4543
4541
|
<line num="55" count="36" type="stmt"/>
|
|
4544
|
-
<line num="56" count="
|
|
4542
|
+
<line num="56" count="188" type="cond" truecount="1" falsecount="1"/>
|
|
4545
4543
|
<line num="57" count="0" type="stmt"/>
|
|
4546
4544
|
<line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4547
4545
|
<line num="62" count="0" type="stmt"/>
|
|
4548
4546
|
<line num="64" count="0" type="stmt"/>
|
|
4549
|
-
<line num="66" count="
|
|
4547
|
+
<line num="66" count="188" type="stmt"/>
|
|
4550
4548
|
<line num="70" count="36" type="stmt"/>
|
|
4551
4549
|
<line num="71" count="2" type="stmt"/>
|
|
4552
4550
|
<line num="76" count="36" type="stmt"/>
|
|
@@ -4733,7 +4731,7 @@
|
|
|
4733
4731
|
<line num="73" count="8" type="stmt"/>
|
|
4734
4732
|
<line num="74" count="8" type="stmt"/>
|
|
4735
4733
|
<line num="83" count="0" type="stmt"/>
|
|
4736
|
-
<line num="90" count="
|
|
4734
|
+
<line num="90" count="186" type="stmt"/>
|
|
4737
4735
|
<line num="97" count="0" type="stmt"/>
|
|
4738
4736
|
<line num="101" count="33" type="stmt"/>
|
|
4739
4737
|
</file>
|