@budibase/server 1.0.41 → 1.0.44-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/builder/assets/{index.d5158e11.js → index.69d37e5e.js} +231 -231
- package/builder/assets/{vendor.f9faf6ab.js → vendor.10e2ad1b.js} +12 -12
- package/builder/index.html +2 -2
- package/coverage/clover.xml +285 -275
- package/coverage/coverage-final.json +5 -5
- package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
- package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/controllers/application.js.html +1 -1
- package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +1 -1
- package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/api/controllers/hosting.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +1 -1
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query/index.html +14 -14
- package/coverage/lcov-report/api/controllers/query/index.js.html +18 -9
- package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
- 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 +15 -15
- 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 +29 -14
- 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 +17 -17
- package/coverage/lcov-report/api/controllers/table/index.js.html +34 -16
- package/coverage/lcov-report/api/controllers/table/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/utils.js.html +16 -7
- 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 +1 -1
- package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
- package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/routes/application.js.html +1 -1
- package/coverage/lcov-report/api/routes/auth.js.html +1 -1
- package/coverage/lcov-report/api/routes/automation.js.html +1 -1
- package/coverage/lcov-report/api/routes/backup.js.html +1 -1
- package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
- package/coverage/lcov-report/api/routes/component.js.html +1 -1
- package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
- package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
- package/coverage/lcov-report/api/routes/dev.js.html +1 -1
- package/coverage/lcov-report/api/routes/hosting.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +1 -1
- package/coverage/lcov-report/api/routes/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/integration.js.html +1 -1
- package/coverage/lcov-report/api/routes/layout.js.html +1 -1
- package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
- package/coverage/lcov-report/api/routes/permission.js.html +1 -1
- package/coverage/lcov-report/api/routes/query.js.html +1 -1
- package/coverage/lcov-report/api/routes/role.js.html +1 -1
- package/coverage/lcov-report/api/routes/routing.js.html +1 -1
- package/coverage/lcov-report/api/routes/row.js.html +1 -1
- package/coverage/lcov-report/api/routes/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.js.html +1 -1
- package/coverage/lcov-report/api/routes/static.js.html +1 -1
- package/coverage/lcov-report/api/routes/table.js.html +1 -1
- package/coverage/lcov-report/api/routes/templates.js.html +1 -1
- package/coverage/lcov-report/api/routes/user.js.html +1 -1
- package/coverage/lcov-report/api/routes/view.js.html +1 -1
- package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/actions.js.html +1 -1
- package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
- package/coverage/lcov-report/automations/bullboard.js.html +1 -1
- package/coverage/lcov-report/automations/index.html +1 -1
- package/coverage/lcov-report/automations/index.js.html +1 -1
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +1 -1
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
- package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/triggers.js.html +1 -1
- package/coverage/lcov-report/automations/utils.js.html +1 -1
- package/coverage/lcov-report/constants/index.html +1 -1
- package/coverage/lcov-report/constants/index.js.html +1 -1
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +1 -1
- package/coverage/lcov-report/db/client.js.html +1 -1
- package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
- package/coverage/lcov-report/db/index.html +1 -1
- package/coverage/lcov-report/db/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
- package/coverage/lcov-report/db/newid.js.html +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 +32 -32
- 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 +33 -6
- package/coverage/lcov-report/middleware/index.html +10 -10
- package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
- package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
- package/coverage/lcov-report/middleware/utils.js.html +1 -1
- package/coverage/lcov-report/threads/automation.js.html +1 -1
- package/coverage/lcov-report/threads/index.html +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/threads/utils.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 +1 -1
- package/coverage/lcov-report/utilities/index.html +1 -1
- package/coverage/lcov-report/utilities/index.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
- package/coverage/lcov-report/utilities/security.js.html +1 -1
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
- package/coverage/lcov.info +461 -444
- package/dist/api/controllers/query/index.js +4 -1
- package/dist/api/controllers/row/utils.js +12 -6
- package/dist/api/controllers/table/index.js +10 -4
- package/dist/api/controllers/table/utils.js +4 -2
- package/dist/integrations/base/sql.js +13 -6
- package/dist/integrations/utils.js +6 -1
- package/dist/middleware/currentapp.js +9 -0
- package/dist/package.json +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/api/controllers/query/index.js +4 -1
- package/src/api/controllers/row/utils.js +11 -6
- package/src/api/controllers/table/index.js +15 -9
- package/src/api/controllers/table/utils.js +4 -1
- package/src/integrations/base/sql.ts +14 -7
- package/src/integrations/tests/sql.spec.js +16 -0
- package/src/integrations/utils.ts +7 -3
- package/src/middleware/currentapp.js +9 -0
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1642520152631" clover="3.2.0">
|
|
3
|
+
<project timestamp="1642520152631" name="All files">
|
|
4
|
+
<metrics statements="4643" coveredstatements="3429" conditionals="1863" coveredconditionals="1015" methods="661" coveredmethods="465" elements="7167" coveredelements="4909" complexity="0" loc="4643" ncloc="4643" packages="21" files="140" classes="140"/>
|
|
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">
|
|
@@ -1187,9 +1187,9 @@
|
|
|
1187
1187
|
</file>
|
|
1188
1188
|
</package>
|
|
1189
1189
|
<package name="api.controllers.query">
|
|
1190
|
-
<metrics statements="
|
|
1190
|
+
<metrics statements="97" coveredstatements="80" conditionals="21" coveredconditionals="15" methods="17" coveredmethods="15"/>
|
|
1191
1191
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query/index.js">
|
|
1192
|
-
<metrics statements="
|
|
1192
|
+
<metrics statements="89" coveredstatements="72" conditionals="21" coveredconditionals="15" methods="14" coveredmethods="12"/>
|
|
1193
1193
|
<line num="1" count="34" type="stmt"/>
|
|
1194
1194
|
<line num="6" count="34" type="stmt"/>
|
|
1195
1195
|
<line num="7" count="34" type="stmt"/>
|
|
@@ -1197,87 +1197,88 @@
|
|
|
1197
1197
|
<line num="9" count="34" type="stmt"/>
|
|
1198
1198
|
<line num="10" count="34" type="stmt"/>
|
|
1199
1199
|
<line num="11" count="34" type="stmt"/>
|
|
1200
|
-
<line num="
|
|
1201
|
-
<line num="
|
|
1202
|
-
<line num="
|
|
1203
|
-
<line num="
|
|
1204
|
-
<line num="
|
|
1205
|
-
<line num="
|
|
1206
|
-
<line num="24" count="
|
|
1207
|
-
<line num="27" count="
|
|
1208
|
-
<line num="
|
|
1209
|
-
<line num="
|
|
1210
|
-
<line num="
|
|
1211
|
-
<line num="39" count="
|
|
1212
|
-
<line num="
|
|
1213
|
-
<line num="41" count="0" type="stmt"/>
|
|
1200
|
+
<line num="12" count="34" type="stmt"/>
|
|
1201
|
+
<line num="14" count="34" type="stmt"/>
|
|
1202
|
+
<line num="20" count="5" type="stmt"/>
|
|
1203
|
+
<line num="21" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1204
|
+
<line num="22" count="5" type="stmt"/>
|
|
1205
|
+
<line num="23" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1206
|
+
<line num="24" count="4" type="stmt"/>
|
|
1207
|
+
<line num="27" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1208
|
+
<line num="30" count="34" type="stmt"/>
|
|
1209
|
+
<line num="31" count="2" type="stmt"/>
|
|
1210
|
+
<line num="33" count="2" type="stmt"/>
|
|
1211
|
+
<line num="39" count="2" type="stmt"/>
|
|
1212
|
+
<line num="42" count="34" type="stmt"/>
|
|
1214
1213
|
<line num="43" count="0" type="stmt"/>
|
|
1215
1214
|
<line num="44" count="0" type="stmt"/>
|
|
1216
|
-
<line num="
|
|
1217
|
-
<line num="
|
|
1218
|
-
<line num="50" count="0" type="
|
|
1219
|
-
<line num="
|
|
1220
|
-
<line num="
|
|
1221
|
-
<line num="62" count="0" type="stmt"/>
|
|
1215
|
+
<line num="46" count="0" type="stmt"/>
|
|
1216
|
+
<line num="47" count="0" type="stmt"/>
|
|
1217
|
+
<line num="50" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1218
|
+
<line num="52" count="0" type="stmt"/>
|
|
1219
|
+
<line num="53" count="0" type="stmt"/>
|
|
1222
1220
|
<line num="63" count="0" type="stmt"/>
|
|
1221
|
+
<line num="64" count="0" type="stmt"/>
|
|
1222
|
+
<line num="65" count="0" type="stmt"/>
|
|
1223
1223
|
<line num="66" count="0" type="stmt"/>
|
|
1224
1224
|
<line num="69" count="0" type="stmt"/>
|
|
1225
|
-
<line num="
|
|
1226
|
-
<line num="
|
|
1227
|
-
<line num="78" count="
|
|
1228
|
-
<line num="
|
|
1229
|
-
<line num="
|
|
1230
|
-
<line num="82" count="28" type="cond" truecount="1" falsecount="1"/>
|
|
1225
|
+
<line num="72" count="0" type="stmt"/>
|
|
1226
|
+
<line num="74" count="0" type="stmt"/>
|
|
1227
|
+
<line num="78" count="0" type="stmt"/>
|
|
1228
|
+
<line num="81" count="34" type="stmt"/>
|
|
1229
|
+
<line num="82" count="28" type="stmt"/>
|
|
1231
1230
|
<line num="83" count="28" type="stmt"/>
|
|
1231
|
+
<line num="85" count="28" type="cond" truecount="1" falsecount="1"/>
|
|
1232
1232
|
<line num="86" count="28" type="stmt"/>
|
|
1233
|
-
<line num="87" count="28" type="stmt"/>
|
|
1234
1233
|
<line num="89" count="28" type="stmt"/>
|
|
1235
1234
|
<line num="90" count="28" type="stmt"/>
|
|
1236
|
-
<line num="
|
|
1237
|
-
<line num="
|
|
1238
|
-
<line num="
|
|
1239
|
-
<line num="97" count="3" type="
|
|
1240
|
-
<line num="98" count="
|
|
1241
|
-
<line num="
|
|
1242
|
-
<line num="101" count="
|
|
1243
|
-
<line num="
|
|
1244
|
-
<line num="
|
|
1245
|
-
<line num="107" count="
|
|
1246
|
-
<line num="
|
|
1247
|
-
<line num="
|
|
1235
|
+
<line num="92" count="28" type="stmt"/>
|
|
1236
|
+
<line num="93" count="28" type="stmt"/>
|
|
1237
|
+
<line num="96" count="34" type="stmt"/>
|
|
1238
|
+
<line num="97" count="3" type="stmt"/>
|
|
1239
|
+
<line num="98" count="3" type="stmt"/>
|
|
1240
|
+
<line num="100" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
1241
|
+
<line num="101" count="1" type="stmt"/>
|
|
1242
|
+
<line num="102" count="1" type="stmt"/>
|
|
1243
|
+
<line num="104" count="3" type="stmt"/>
|
|
1244
|
+
<line num="107" count="34" type="stmt"/>
|
|
1245
|
+
<line num="108" count="8" type="stmt"/>
|
|
1246
|
+
<line num="110" count="8" type="stmt"/>
|
|
1248
1247
|
<line num="114" count="8" type="stmt"/>
|
|
1249
|
-
<line num="
|
|
1250
|
-
<line num="
|
|
1251
|
-
<line num="
|
|
1252
|
-
<line num="
|
|
1248
|
+
<line num="116" count="8" type="stmt"/>
|
|
1249
|
+
<line num="117" count="8" type="stmt"/>
|
|
1250
|
+
<line num="127" count="7" type="stmt"/>
|
|
1251
|
+
<line num="134" count="1" type="stmt"/>
|
|
1253
1252
|
<line num="139" count="2" type="stmt"/>
|
|
1253
|
+
<line num="141" count="2" type="stmt"/>
|
|
1254
1254
|
<line num="142" count="2" type="stmt"/>
|
|
1255
|
-
<line num="
|
|
1256
|
-
<line num="
|
|
1257
|
-
<line num="
|
|
1258
|
-
<line num="
|
|
1259
|
-
<line num="159" count="
|
|
1260
|
-
<line num="
|
|
1261
|
-
<line num="
|
|
1262
|
-
<line num="167" count="
|
|
1263
|
-
<line num="
|
|
1264
|
-
<line num="171" count="
|
|
1265
|
-
<line num="
|
|
1266
|
-
<line num="
|
|
1267
|
-
<line num="
|
|
1268
|
-
<line num="
|
|
1269
|
-
<line num="
|
|
1270
|
-
<line num="
|
|
1271
|
-
<line num="
|
|
1255
|
+
<line num="145" count="2" type="stmt"/>
|
|
1256
|
+
<line num="146" count="2" type="stmt"/>
|
|
1257
|
+
<line num="156" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
1258
|
+
<line num="157" count="1" type="stmt"/>
|
|
1259
|
+
<line num="159" count="0" type="stmt"/>
|
|
1260
|
+
<line num="162" count="1" type="stmt"/>
|
|
1261
|
+
<line num="166" count="34" type="stmt"/>
|
|
1262
|
+
<line num="167" count="2" type="stmt"/>
|
|
1263
|
+
<line num="170" count="34" type="stmt"/>
|
|
1264
|
+
<line num="171" count="0" type="stmt"/>
|
|
1265
|
+
<line num="174" count="34" type="stmt"/>
|
|
1266
|
+
<line num="175" count="2" type="stmt"/>
|
|
1267
|
+
<line num="176" count="2" type="stmt"/>
|
|
1268
|
+
<line num="177" count="2" type="stmt"/>
|
|
1269
|
+
<line num="179" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1270
|
+
<line num="181" count="1" type="stmt"/>
|
|
1271
|
+
<line num="182" count="1" type="stmt"/>
|
|
1272
1272
|
<line num="183" count="1" type="stmt"/>
|
|
1273
|
-
<line num="184" count="1" type="stmt"/>
|
|
1274
1273
|
<line num="186" count="1" type="stmt"/>
|
|
1275
|
-
<line num="
|
|
1276
|
-
<line num="
|
|
1277
|
-
<line num="
|
|
1278
|
-
<line num="193" count="2" type="stmt"/>
|
|
1274
|
+
<line num="187" count="1" type="stmt"/>
|
|
1275
|
+
<line num="189" count="1" type="stmt"/>
|
|
1276
|
+
<line num="193" count="34" type="stmt"/>
|
|
1279
1277
|
<line num="194" count="2" type="stmt"/>
|
|
1280
1278
|
<line num="195" count="2" type="stmt"/>
|
|
1279
|
+
<line num="196" count="2" type="stmt"/>
|
|
1280
|
+
<line num="197" count="2" type="stmt"/>
|
|
1281
|
+
<line num="198" count="2" type="stmt"/>
|
|
1281
1282
|
</file>
|
|
1282
1283
|
<file name="validation.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query/validation.js">
|
|
1283
1284
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
@@ -1292,7 +1293,7 @@
|
|
|
1292
1293
|
</file>
|
|
1293
1294
|
</package>
|
|
1294
1295
|
<package name="api.controllers.row">
|
|
1295
|
-
<metrics statements="
|
|
1296
|
+
<metrics statements="596" coveredstatements="314" conditionals="258" coveredconditionals="85" methods="88" coveredmethods="38"/>
|
|
1296
1297
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
|
|
1297
1298
|
<metrics statements="99" coveredstatements="15" conditionals="42" coveredconditionals="0" methods="13" coveredmethods="0"/>
|
|
1298
1299
|
<line num="6" count="34" type="stmt"/>
|
|
@@ -1851,7 +1852,7 @@
|
|
|
1851
1852
|
<line num="388" count="0" type="stmt"/>
|
|
1852
1853
|
</file>
|
|
1853
1854
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/utils.js">
|
|
1854
|
-
<metrics statements="
|
|
1855
|
+
<metrics statements="51" coveredstatements="35" conditionals="31" coveredconditionals="14" methods="6" coveredmethods="4"/>
|
|
1855
1856
|
<line num="1" count="34" type="stmt"/>
|
|
1856
1857
|
<line num="2" count="34" type="stmt"/>
|
|
1857
1858
|
<line num="3" count="34" type="stmt"/>
|
|
@@ -1887,23 +1888,26 @@
|
|
|
1887
1888
|
<line num="53" count="206" type="stmt"/>
|
|
1888
1889
|
<line num="55" count="206" type="cond" truecount="1" falsecount="1"/>
|
|
1889
1890
|
<line num="59" count="0" type="stmt"/>
|
|
1890
|
-
<line num="64" count="206" type="cond" truecount="2" falsecount="
|
|
1891
|
-
<line num="65" count="0" type="
|
|
1892
|
-
<line num="66" count="0" type="
|
|
1893
|
-
<line num="67" count="0" type="
|
|
1894
|
-
<line num="
|
|
1895
|
-
<line num="
|
|
1891
|
+
<line num="64" count="206" type="cond" truecount="2" falsecount="2"/>
|
|
1892
|
+
<line num="65" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1893
|
+
<line num="66" count="0" type="stmt"/>
|
|
1894
|
+
<line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1895
|
+
<line num="68" count="0" type="stmt"/>
|
|
1896
|
+
<line num="71" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1896
1897
|
<line num="73" count="0" type="stmt"/>
|
|
1897
|
-
<line num="75" count="
|
|
1898
|
-
<line num="77" count="
|
|
1898
|
+
<line num="75" count="206" type="cond" truecount="2" falsecount="2"/>
|
|
1899
|
+
<line num="77" count="0" type="stmt"/>
|
|
1899
1900
|
<line num="78" count="0" type="stmt"/>
|
|
1900
|
-
<line num="
|
|
1901
|
-
<line num="
|
|
1902
|
-
<line num="
|
|
1901
|
+
<line num="80" count="0" type="stmt"/>
|
|
1902
|
+
<line num="82" count="206" type="cond" truecount="1" falsecount="1"/>
|
|
1903
|
+
<line num="83" count="0" type="stmt"/>
|
|
1904
|
+
<line num="88" count="206" type="stmt"/>
|
|
1905
|
+
<line num="90" count="206" type="cond" truecount="2" falsecount="0"/>
|
|
1906
|
+
<line num="92" count="74" type="stmt"/>
|
|
1903
1907
|
</file>
|
|
1904
1908
|
</package>
|
|
1905
1909
|
<package name="api.controllers.table">
|
|
1906
|
-
<metrics statements="
|
|
1910
|
+
<metrics statements="427" coveredstatements="218" conditionals="221" coveredconditionals="81" methods="56" coveredmethods="27"/>
|
|
1907
1911
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/external.js">
|
|
1908
1912
|
<metrics statements="137" coveredstatements="11" conditionals="76" coveredconditionals="0" methods="14" coveredmethods="0"/>
|
|
1909
1913
|
<line num="1" count="34" type="stmt"/>
|
|
@@ -2045,7 +2049,7 @@
|
|
|
2045
2049
|
<line num="306" count="0" type="stmt"/>
|
|
2046
2050
|
</file>
|
|
2047
2051
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/index.js">
|
|
2048
|
-
<metrics statements="
|
|
2052
|
+
<metrics statements="56" coveredstatements="44" conditionals="23" coveredconditionals="17" methods="10" coveredmethods="7"/>
|
|
2049
2053
|
<line num="1" count="34" type="stmt"/>
|
|
2050
2054
|
<line num="2" count="34" type="stmt"/>
|
|
2051
2055
|
<line num="3" count="34" type="stmt"/>
|
|
@@ -2066,39 +2070,42 @@
|
|
|
2066
2070
|
<line num="35" count="2" type="stmt"/>
|
|
2067
2071
|
<line num="41" count="1" type="stmt"/>
|
|
2068
2072
|
<line num="47" count="1" type="stmt"/>
|
|
2069
|
-
<line num="48" count="0" type="
|
|
2070
|
-
<line num="
|
|
2071
|
-
<line num="
|
|
2072
|
-
<line num="
|
|
2073
|
-
<line num="
|
|
2074
|
-
<line num="
|
|
2075
|
-
<line num="
|
|
2076
|
-
<line num="
|
|
2077
|
-
<line num="
|
|
2078
|
-
<line num="
|
|
2079
|
-
<line num="68" count="99" type="stmt"/>
|
|
2080
|
-
<line num="69" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
2073
|
+
<line num="48" count="0" type="stmt"/>
|
|
2074
|
+
<line num="49" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2075
|
+
<line num="50" count="0" type="stmt"/>
|
|
2076
|
+
<line num="57" count="0" type="stmt"/>
|
|
2077
|
+
<line num="61" count="1" type="stmt"/>
|
|
2078
|
+
<line num="64" count="34" type="stmt"/>
|
|
2079
|
+
<line num="65" count="19" type="stmt"/>
|
|
2080
|
+
<line num="66" count="19" type="stmt"/>
|
|
2081
|
+
<line num="69" count="34" type="stmt"/>
|
|
2082
|
+
<line num="70" count="99" type="stmt"/>
|
|
2081
2083
|
<line num="71" count="99" type="stmt"/>
|
|
2082
|
-
<line num="
|
|
2083
|
-
<line num="
|
|
2084
|
-
<line num="
|
|
2085
|
-
<line num="
|
|
2086
|
-
<line num="
|
|
2087
|
-
<line num="80" count="
|
|
2084
|
+
<line num="72" count="99" type="stmt"/>
|
|
2085
|
+
<line num="73" count="99" type="stmt"/>
|
|
2086
|
+
<line num="74" count="99" type="stmt"/>
|
|
2087
|
+
<line num="75" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
2088
|
+
<line num="77" count="99" type="stmt"/>
|
|
2089
|
+
<line num="80" count="34" type="stmt"/>
|
|
2088
2090
|
<line num="81" count="2" type="stmt"/>
|
|
2089
|
-
<line num="
|
|
2090
|
-
<line num="
|
|
2091
|
-
<line num="
|
|
2092
|
-
<line num="
|
|
2091
|
+
<line num="82" count="2" type="stmt"/>
|
|
2092
|
+
<line num="83" count="2" type="stmt"/>
|
|
2093
|
+
<line num="84" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2094
|
+
<line num="86" count="2" type="stmt"/>
|
|
2095
|
+
<line num="87" count="2" type="stmt"/>
|
|
2096
|
+
<line num="90" count="34" type="stmt"/>
|
|
2093
2097
|
<line num="91" count="0" type="stmt"/>
|
|
2094
|
-
<line num="
|
|
2095
|
-
<line num="96" count="
|
|
2096
|
-
<line num="
|
|
2097
|
-
<line num="
|
|
2098
|
-
<line num="
|
|
2099
|
-
<line num="
|
|
2100
|
-
<line num="
|
|
2101
|
-
<line num="
|
|
2098
|
+
<line num="92" count="0" type="stmt"/>
|
|
2099
|
+
<line num="96" count="0" type="stmt"/>
|
|
2100
|
+
<line num="97" count="0" type="stmt"/>
|
|
2101
|
+
<line num="100" count="34" type="stmt"/>
|
|
2102
|
+
<line num="102" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
2103
|
+
<line num="104" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2104
|
+
<line num="105" count="0" type="stmt"/>
|
|
2105
|
+
<line num="107" count="1" type="stmt"/>
|
|
2106
|
+
<line num="108" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2107
|
+
<line num="109" count="0" type="stmt"/>
|
|
2108
|
+
<line num="111" count="1" type="stmt"/>
|
|
2102
2109
|
</file>
|
|
2103
2110
|
<file name="internal.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/internal.js">
|
|
2104
2111
|
<metrics statements="60" coveredstatements="47" conditionals="32" coveredconditionals="23" methods="5" coveredmethods="3"/>
|
|
@@ -2164,7 +2171,7 @@
|
|
|
2164
2171
|
<line num="150" count="0" type="stmt"/>
|
|
2165
2172
|
</file>
|
|
2166
2173
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/utils.js">
|
|
2167
|
-
<metrics statements="
|
|
2174
|
+
<metrics statements="174" coveredstatements="116" conditionals="90" coveredconditionals="41" methods="27" coveredmethods="17"/>
|
|
2168
2175
|
<line num="1" count="34" type="stmt"/>
|
|
2169
2176
|
<line num="2" count="34" type="stmt"/>
|
|
2170
2177
|
<line num="7" count="34" type="stmt"/>
|
|
@@ -2172,171 +2179,173 @@
|
|
|
2172
2179
|
<line num="9" count="34" type="stmt"/>
|
|
2173
2180
|
<line num="10" count="34" type="stmt"/>
|
|
2174
2181
|
<line num="11" count="34" type="stmt"/>
|
|
2175
|
-
<line num="15" count="34" type="stmt"/>
|
|
2176
2182
|
<line num="16" count="34" type="stmt"/>
|
|
2177
2183
|
<line num="17" count="34" type="stmt"/>
|
|
2178
|
-
<line num="
|
|
2179
|
-
<line num="20" count="
|
|
2184
|
+
<line num="18" count="34" type="stmt"/>
|
|
2185
|
+
<line num="20" count="34" type="stmt"/>
|
|
2180
2186
|
<line num="21" count="99" type="stmt"/>
|
|
2181
2187
|
<line num="22" count="99" type="stmt"/>
|
|
2182
|
-
<line num="23" count="99" type="
|
|
2183
|
-
<line num="24" count="
|
|
2184
|
-
<line num="25" count="
|
|
2185
|
-
<line num="
|
|
2186
|
-
<line num="
|
|
2187
|
-
<line num="
|
|
2188
|
-
<line num="37" count="1" type="
|
|
2189
|
-
<line num="38" count="1" type="
|
|
2188
|
+
<line num="23" count="99" type="stmt"/>
|
|
2189
|
+
<line num="24" count="99" type="cond" truecount="5" falsecount="0"/>
|
|
2190
|
+
<line num="25" count="4" type="stmt"/>
|
|
2191
|
+
<line num="26" count="11" type="stmt"/>
|
|
2192
|
+
<line num="30" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
2193
|
+
<line num="32" count="1" type="stmt"/>
|
|
2194
|
+
<line num="37" count="1" type="stmt"/>
|
|
2195
|
+
<line num="38" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2190
2196
|
<line num="39" count="1" type="stmt"/>
|
|
2191
|
-
<line num="40" count="
|
|
2192
|
-
<line num="41" count="0" type="
|
|
2193
|
-
<line num="
|
|
2194
|
-
<line num="
|
|
2197
|
+
<line num="40" count="1" type="stmt"/>
|
|
2198
|
+
<line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2199
|
+
<line num="42" count="0" type="stmt"/>
|
|
2200
|
+
<line num="44" count="1" type="stmt"/>
|
|
2195
2201
|
<line num="48" count="1" type="stmt"/>
|
|
2196
|
-
<line num="
|
|
2197
|
-
<line num="
|
|
2198
|
-
<line num="55" count="
|
|
2199
|
-
<line num="56" count="
|
|
2200
|
-
<line num="
|
|
2201
|
-
<line num="
|
|
2202
|
-
<line num="63" count="
|
|
2203
|
-
<line num="
|
|
2204
|
-
<line num="
|
|
2205
|
-
<line num="
|
|
2206
|
-
<line num="75" count="
|
|
2207
|
-
<line num="76" count="
|
|
2208
|
-
<line num="
|
|
2209
|
-
<line num="
|
|
2210
|
-
<line num="
|
|
2202
|
+
<line num="49" count="1" type="stmt"/>
|
|
2203
|
+
<line num="51" count="99" type="stmt"/>
|
|
2204
|
+
<line num="55" count="34" type="stmt"/>
|
|
2205
|
+
<line num="56" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2206
|
+
<line num="57" count="0" type="stmt"/>
|
|
2207
|
+
<line num="60" count="4" type="stmt"/>
|
|
2208
|
+
<line num="63" count="4" type="stmt"/>
|
|
2209
|
+
<line num="64" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
2210
|
+
<line num="69" count="0" type="stmt"/>
|
|
2211
|
+
<line num="72" count="4" type="stmt"/>
|
|
2212
|
+
<line num="75" count="34" type="stmt"/>
|
|
2213
|
+
<line num="76" count="100" type="cond" truecount="4" falsecount="0"/>
|
|
2214
|
+
<line num="77" count="99" type="stmt"/>
|
|
2215
|
+
<line num="80" count="1" type="stmt"/>
|
|
2216
|
+
<line num="82" count="1" type="stmt"/>
|
|
2211
2217
|
<line num="87" count="1" type="stmt"/>
|
|
2212
2218
|
<line num="88" count="1" type="stmt"/>
|
|
2213
2219
|
<line num="89" count="1" type="stmt"/>
|
|
2214
2220
|
<line num="90" count="1" type="stmt"/>
|
|
2215
2221
|
<line num="91" count="1" type="stmt"/>
|
|
2216
|
-
<line num="
|
|
2222
|
+
<line num="92" count="1" type="stmt"/>
|
|
2217
2223
|
<line num="95" count="1" type="stmt"/>
|
|
2218
|
-
<line num="
|
|
2219
|
-
<line num="
|
|
2220
|
-
<line num="
|
|
2221
|
-
<line num="
|
|
2222
|
-
<line num="
|
|
2224
|
+
<line num="96" count="1" type="stmt"/>
|
|
2225
|
+
<line num="98" count="1" type="stmt"/>
|
|
2226
|
+
<line num="100" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2227
|
+
<line num="105" count="0" type="stmt"/>
|
|
2228
|
+
<line num="112" count="1" type="stmt"/>
|
|
2223
2229
|
<line num="115" count="1" type="stmt"/>
|
|
2224
2230
|
<line num="116" count="1" type="stmt"/>
|
|
2225
2231
|
<line num="117" count="1" type="stmt"/>
|
|
2226
|
-
<line num="
|
|
2227
|
-
<line num="121" count="
|
|
2228
|
-
<line num="
|
|
2229
|
-
<line num="124" count="
|
|
2232
|
+
<line num="118" count="1" type="stmt"/>
|
|
2233
|
+
<line num="121" count="34" type="stmt"/>
|
|
2234
|
+
<line num="122" count="99" type="stmt"/>
|
|
2235
|
+
<line num="124" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
2230
2236
|
<line num="125" count="2" type="stmt"/>
|
|
2231
|
-
<line num="
|
|
2232
|
-
<line num="128" count="
|
|
2233
|
-
<line num="
|
|
2234
|
-
<line num="132" count="
|
|
2237
|
+
<line num="126" count="2" type="stmt"/>
|
|
2238
|
+
<line num="128" count="2" type="stmt"/>
|
|
2239
|
+
<line num="129" count="3" type="stmt"/>
|
|
2240
|
+
<line num="132" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2235
2241
|
<line num="133" count="1" type="stmt"/>
|
|
2236
|
-
<line num="
|
|
2237
|
-
<line num="138" count="1" type="
|
|
2238
|
-
<line num="
|
|
2239
|
-
<line num="
|
|
2240
|
-
<line num="
|
|
2241
|
-
<line num="
|
|
2242
|
-
<line num="
|
|
2243
|
-
<line num="167" count="
|
|
2244
|
-
<line num="
|
|
2245
|
-
<line num="170" count="5" type="
|
|
2246
|
-
<line num="
|
|
2247
|
-
<line num="
|
|
2242
|
+
<line num="134" count="1" type="stmt"/>
|
|
2243
|
+
<line num="138" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2244
|
+
<line num="139" count="1" type="stmt"/>
|
|
2245
|
+
<line num="141" count="1" type="stmt"/>
|
|
2246
|
+
<line num="152" count="1" type="stmt"/>
|
|
2247
|
+
<line num="162" count="99" type="stmt"/>
|
|
2248
|
+
<line num="165" count="34" type="stmt"/>
|
|
2249
|
+
<line num="167" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
2250
|
+
<line num="168" count="1" type="stmt"/>
|
|
2251
|
+
<line num="170" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2252
|
+
<line num="171" count="5" type="stmt"/>
|
|
2253
|
+
<line num="175" count="99" type="stmt"/>
|
|
2248
2254
|
<line num="180" count="99" type="stmt"/>
|
|
2249
|
-
<line num="181" count="99" type="
|
|
2250
|
-
<line num="182" count="99" type="
|
|
2251
|
-
<line num="
|
|
2255
|
+
<line num="181" count="99" type="stmt"/>
|
|
2256
|
+
<line num="182" count="99" type="cond" truecount="3" falsecount="1"/>
|
|
2257
|
+
<line num="183" count="99" type="stmt"/>
|
|
2252
2258
|
<line num="185" count="99" type="stmt"/>
|
|
2253
|
-
<line num="
|
|
2254
|
-
<line num="
|
|
2255
|
-
<line num="193" count="
|
|
2256
|
-
<line num="
|
|
2259
|
+
<line num="186" count="99" type="stmt"/>
|
|
2260
|
+
<line num="188" count="99" type="stmt"/>
|
|
2261
|
+
<line num="193" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
2262
|
+
<line num="194" count="4" type="stmt"/>
|
|
2257
2263
|
<line num="196" count="99" type="stmt"/>
|
|
2258
|
-
<line num="
|
|
2259
|
-
<line num="
|
|
2264
|
+
<line num="197" count="99" type="stmt"/>
|
|
2265
|
+
<line num="202" count="99" type="stmt"/>
|
|
2260
2266
|
<line num="207" count="99" type="stmt"/>
|
|
2261
|
-
<line num="
|
|
2267
|
+
<line num="208" count="99" type="stmt"/>
|
|
2262
2268
|
<line num="213" count="99" type="stmt"/>
|
|
2263
|
-
<line num="
|
|
2264
|
-
<line num="
|
|
2265
|
-
<line num="
|
|
2266
|
-
<line num="228" count="
|
|
2269
|
+
<line num="214" count="99" type="stmt"/>
|
|
2270
|
+
<line num="220" count="99" type="stmt"/>
|
|
2271
|
+
<line num="224" count="99" type="stmt"/>
|
|
2272
|
+
<line num="228" count="34" type="stmt"/>
|
|
2267
2273
|
<line num="229" count="0" type="stmt"/>
|
|
2268
|
-
<line num="230" count="0" type="
|
|
2269
|
-
<line num="231" count="0" type="
|
|
2270
|
-
<line num="
|
|
2271
|
-
<line num="
|
|
2272
|
-
<line num="237" count="
|
|
2274
|
+
<line num="230" count="0" type="stmt"/>
|
|
2275
|
+
<line num="231" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2276
|
+
<line num="232" count="0" type="stmt"/>
|
|
2277
|
+
<line num="234" count="0" type="stmt"/>
|
|
2278
|
+
<line num="237" count="34" type="stmt"/>
|
|
2273
2279
|
<line num="238" count="0" type="stmt"/>
|
|
2274
|
-
<line num="
|
|
2275
|
-
<line num="242" count="
|
|
2276
|
-
<line num="243" count="30" type="
|
|
2277
|
-
<line num="244" count="
|
|
2280
|
+
<line num="239" count="0" type="stmt"/>
|
|
2281
|
+
<line num="242" count="34" type="stmt"/>
|
|
2282
|
+
<line num="243" count="30" type="stmt"/>
|
|
2283
|
+
<line num="244" count="30" type="cond" truecount="1" falsecount="1"/>
|
|
2278
2284
|
<line num="245" count="0" type="stmt"/>
|
|
2279
|
-
<line num="
|
|
2280
|
-
<line num="
|
|
2281
|
-
<line num="
|
|
2282
|
-
<line num="
|
|
2285
|
+
<line num="246" count="0" type="stmt"/>
|
|
2286
|
+
<line num="247" count="0" type="stmt"/>
|
|
2287
|
+
<line num="248" count="0" type="stmt"/>
|
|
2288
|
+
<line num="250" count="30" type="stmt"/>
|
|
2289
|
+
<line num="254" count="34" type="stmt"/>
|
|
2290
|
+
<line num="255" count="1" type="stmt"/>
|
|
2283
2291
|
<line num="256" count="1" type="stmt"/>
|
|
2284
|
-
<line num="
|
|
2285
|
-
<line num="260" count="0" type="
|
|
2286
|
-
<line num="
|
|
2287
|
-
<line num="
|
|
2288
|
-
<line num="
|
|
2289
|
-
<line num="
|
|
2290
|
-
<line num="
|
|
2291
|
-
<line num="
|
|
2292
|
-
<line num="
|
|
2293
|
-
<line num="
|
|
2294
|
-
<line num="276" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2295
|
-
<line num="277" count="0" type="stmt"/>
|
|
2292
|
+
<line num="259" count="1" type="stmt"/>
|
|
2293
|
+
<line num="260" count="0" type="stmt"/>
|
|
2294
|
+
<line num="263" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2295
|
+
<line num="265" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2296
|
+
<line num="266" count="0" type="stmt"/>
|
|
2297
|
+
<line num="267" count="0" type="stmt"/>
|
|
2298
|
+
<line num="271" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2299
|
+
<line num="272" count="0" type="stmt"/>
|
|
2300
|
+
<line num="273" count="0" type="stmt"/>
|
|
2301
|
+
<line num="277" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2296
2302
|
<line num="278" count="0" type="stmt"/>
|
|
2297
|
-
<line num="
|
|
2298
|
-
<line num="
|
|
2303
|
+
<line num="279" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2304
|
+
<line num="280" count="0" type="stmt"/>
|
|
2305
|
+
<line num="281" count="0" type="stmt"/>
|
|
2299
2306
|
<line num="285" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2300
2307
|
<line num="286" count="0" type="stmt"/>
|
|
2301
|
-
<line num="
|
|
2302
|
-
<line num="288" count="0" type="stmt"/>
|
|
2308
|
+
<line num="288" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2303
2309
|
<line num="289" count="0" type="stmt"/>
|
|
2304
|
-
<line num="
|
|
2305
|
-
<line num="
|
|
2306
|
-
<line num="
|
|
2307
|
-
<line num="
|
|
2308
|
-
<line num="
|
|
2309
|
-
<line num="
|
|
2310
|
-
<line num="302" count="0" type="
|
|
2311
|
-
<line num="
|
|
2310
|
+
<line num="290" count="0" type="stmt"/>
|
|
2311
|
+
<line num="291" count="0" type="stmt"/>
|
|
2312
|
+
<line num="292" count="0" type="stmt"/>
|
|
2313
|
+
<line num="296" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2314
|
+
<line num="297" count="0" type="stmt"/>
|
|
2315
|
+
<line num="298" count="0" type="stmt"/>
|
|
2316
|
+
<line num="302" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2317
|
+
<line num="303" count="0" type="stmt"/>
|
|
2318
|
+
<line num="304" count="0" type="stmt"/>
|
|
2312
2319
|
<line num="305" count="0" type="stmt"/>
|
|
2313
|
-
<line num="
|
|
2314
|
-
<line num="
|
|
2315
|
-
<line num="314" count="0" type="stmt"/>
|
|
2320
|
+
<line num="307" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2321
|
+
<line num="308" count="0" type="stmt"/>
|
|
2316
2322
|
<line num="315" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2317
2323
|
<line num="316" count="0" type="stmt"/>
|
|
2318
|
-
<line num="
|
|
2319
|
-
<line num="
|
|
2320
|
-
<line num="
|
|
2321
|
-
<line num="
|
|
2322
|
-
<line num="
|
|
2323
|
-
<line num="
|
|
2324
|
-
<line num="
|
|
2325
|
-
<line num="
|
|
2326
|
-
<line num="
|
|
2327
|
-
<line num="
|
|
2328
|
-
<line num="
|
|
2329
|
-
<line num="
|
|
2330
|
-
<line num="
|
|
2331
|
-
<line num="
|
|
2332
|
-
<line num="
|
|
2333
|
-
<line num="
|
|
2334
|
-
<line num="350" count="
|
|
2335
|
-
<line num="
|
|
2336
|
-
<line num="
|
|
2337
|
-
<line num="
|
|
2338
|
-
<line num="
|
|
2339
|
-
<line num="
|
|
2324
|
+
<line num="317" count="0" type="stmt"/>
|
|
2325
|
+
<line num="318" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2326
|
+
<line num="319" count="0" type="stmt"/>
|
|
2327
|
+
<line num="321" count="0" type="stmt"/>
|
|
2328
|
+
<line num="326" count="34" type="stmt"/>
|
|
2329
|
+
<line num="327" count="0" type="stmt"/>
|
|
2330
|
+
<line num="330" count="34" type="stmt"/>
|
|
2331
|
+
<line num="331" count="0" type="stmt"/>
|
|
2332
|
+
<line num="334" count="34" type="cond" truecount="0" falsecount="1"/>
|
|
2333
|
+
<line num="335" count="0" type="stmt"/>
|
|
2334
|
+
<line num="340" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2335
|
+
<line num="341" count="0" type="stmt"/>
|
|
2336
|
+
<line num="343" count="0" type="stmt"/>
|
|
2337
|
+
<line num="346" count="34" type="stmt"/>
|
|
2338
|
+
<line num="347" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
2339
|
+
<line num="348" count="95" type="stmt"/>
|
|
2340
|
+
<line num="350" count="4" type="stmt"/>
|
|
2341
|
+
<line num="351" count="11" type="stmt"/>
|
|
2342
|
+
<line num="352" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
2343
|
+
<line num="353" count="7" type="stmt"/>
|
|
2344
|
+
<line num="355" count="4" type="stmt"/>
|
|
2345
|
+
<line num="356" count="4" type="cond" truecount="2" falsecount="2"/>
|
|
2346
|
+
<line num="357" count="0" type="stmt"/>
|
|
2347
|
+
<line num="360" count="4" type="stmt"/>
|
|
2348
|
+
<line num="363" count="34" type="stmt"/>
|
|
2340
2349
|
</file>
|
|
2341
2350
|
</package>
|
|
2342
2351
|
<package name="api.controllers.view">
|
|
@@ -4047,7 +4056,7 @@
|
|
|
4047
4056
|
</file>
|
|
4048
4057
|
</package>
|
|
4049
4058
|
<package name="middleware">
|
|
4050
|
-
<metrics statements="
|
|
4059
|
+
<metrics statements="225" coveredstatements="203" conditionals="152" coveredconditionals="121" methods="29" coveredmethods="29"/>
|
|
4051
4060
|
<file name="appInfo.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/appInfo.js">
|
|
4052
4061
|
<metrics statements="10" coveredstatements="8" conditionals="11" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
4053
4062
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -4138,7 +4147,7 @@
|
|
|
4138
4147
|
<line num="77" count="1" type="stmt"/>
|
|
4139
4148
|
</file>
|
|
4140
4149
|
<file name="currentapp.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/currentapp.js">
|
|
4141
|
-
<metrics statements="
|
|
4150
|
+
<metrics statements="54" coveredstatements="45" conditionals="41" coveredconditionals="32" methods="1" coveredmethods="1"/>
|
|
4142
4151
|
<line num="6" count="28" type="stmt"/>
|
|
4143
4152
|
<line num="7" count="28" type="stmt"/>
|
|
4144
4153
|
<line num="8" count="28" type="stmt"/>
|
|
@@ -4167,31 +4176,32 @@
|
|
|
4167
4176
|
<line num="40" count="163" type="cond" truecount="1" falsecount="1"/>
|
|
4168
4177
|
<line num="44" count="169" type="cond" truecount="2" falsecount="0"/>
|
|
4169
4178
|
<line num="49" count="2" type="stmt"/>
|
|
4170
|
-
<line num="
|
|
4171
|
-
<line num="
|
|
4172
|
-
<line num="
|
|
4173
|
-
<line num="
|
|
4174
|
-
<line num="
|
|
4175
|
-
<line num="
|
|
4176
|
-
<line num="
|
|
4177
|
-
<line num="
|
|
4178
|
-
<line num="
|
|
4179
|
-
<line num="
|
|
4180
|
-
<line num="
|
|
4181
|
-
<line num="
|
|
4182
|
-
<line num="
|
|
4183
|
-
<line num="
|
|
4184
|
-
<line num="
|
|
4185
|
-
<line num="
|
|
4186
|
-
<line num="
|
|
4187
|
-
<line num="
|
|
4188
|
-
<line num="
|
|
4189
|
-
<line num="
|
|
4190
|
-
<line num="
|
|
4191
|
-
<line num="
|
|
4192
|
-
<line num="101" count="167" type="
|
|
4193
|
-
<line num="
|
|
4194
|
-
<line num="
|
|
4179
|
+
<line num="51" count="2" type="stmt"/>
|
|
4180
|
+
<line num="59" count="2" type="stmt"/>
|
|
4181
|
+
<line num="63" count="167" type="stmt"/>
|
|
4182
|
+
<line num="64" count="167" type="cond" truecount="2" falsecount="0"/>
|
|
4183
|
+
<line num="66" count="33" type="stmt"/>
|
|
4184
|
+
<line num="67" count="134" type="cond" truecount="1" falsecount="1"/>
|
|
4185
|
+
<line num="69" count="134" type="stmt"/>
|
|
4186
|
+
<line num="70" count="134" type="stmt"/>
|
|
4187
|
+
<line num="72" count="134" type="cond" truecount="2" falsecount="0"/>
|
|
4188
|
+
<line num="76" count="167" type="cond" truecount="1" falsecount="1"/>
|
|
4189
|
+
<line num="77" count="0" type="stmt"/>
|
|
4190
|
+
<line num="80" count="167" type="stmt"/>
|
|
4191
|
+
<line num="83" count="167" type="cond" truecount="1" falsecount="1"/>
|
|
4192
|
+
<line num="90" count="0" type="stmt"/>
|
|
4193
|
+
<line num="91" count="0" type="stmt"/>
|
|
4194
|
+
<line num="92" count="0" type="stmt"/>
|
|
4195
|
+
<line num="93" count="0" type="stmt"/>
|
|
4196
|
+
<line num="94" count="0" type="stmt"/>
|
|
4197
|
+
<line num="97" count="167" type="stmt"/>
|
|
4198
|
+
<line num="98" count="167" type="cond" truecount="1" falsecount="1"/>
|
|
4199
|
+
<line num="99" count="167" type="stmt"/>
|
|
4200
|
+
<line num="100" count="167" type="cond" truecount="2" falsecount="0"/>
|
|
4201
|
+
<line num="101" count="167" type="stmt"/>
|
|
4202
|
+
<line num="110" count="167" type="cond" truecount="2" falsecount="0"/>
|
|
4203
|
+
<line num="116" count="7" type="stmt"/>
|
|
4204
|
+
<line num="119" count="167" type="stmt"/>
|
|
4195
4205
|
</file>
|
|
4196
4206
|
<file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
|
|
4197
4207
|
<metrics statements="17" coveredstatements="14" conditionals="8" coveredconditionals="5" methods="4" coveredmethods="4"/>
|