id: 1 unit: export function parseQuery() file: src/components/LogViewer/QueryBar.tsx start line: 90 end line: 190 size: 88 LOC McCabe index: 15 number of parameters: 1 id: 2 unit: export function withCollectionState() file: src/components/Firestore/Collection.tsx start line: 63 end line: 123 size: 53 LOC McCabe index: 7 number of parameters: 1 id: 3 unit: function summarizeConstraint() file: src/components/Firestore/DocumentPreview/store.tsx start line: 260 end line: 308 size: 48 LOC McCabe index: 9 number of parameters: 2 id: 4 unit: function summarizeExp() file: src/components/Firestore/DocumentPreview/store.tsx start line: 173 end line: 219 size: 46 LOC McCabe index: 25 number of parameters: 2 id: 5 unit: function truncateRequestPathFromLeft() file: src/components/Firestore/Requests/RequestPath/index.tsx start line: 46 end line: 96 size: 45 LOC McCabe index: 11 number of parameters: 4 id: 6 unit: function NodeTabularDisplay$() file: src/components/Database/DataViewer/NodeTabularDisplay.tsx start line: 59 end line: 103 size: 42 LOC McCabe index: 3 number of parameters: 3 id: 7 unit: export function denormalize() file: src/components/Firestore/DocumentEditor/utils.ts start line: 129 end line: 168 size: 38 LOC McCabe index: 6 number of parameters: 2 id: 8 unit: export function useStorageFiles() file: src/components/Storage/api/useStorageFiles.tsx start line: 43 end line: 205 size: 36 LOC McCabe index: 3 number of parameters: 0 id: 9 unit: export function summarize() file: src/components/Firestore/utils.ts start line: 146 end line: 181 size: 36 LOC McCabe index: 13 number of parameters: 2 id: 10 unit: export function useMissingDocuments() file: src/components/Firestore/FirestoreEmulatedApiProvider.tsx start line: 136 end line: 169 size: 32 LOC McCabe index: 3 number of parameters: 1 id: 11 unit: exports.registerApis = function() file: server.js start line: 56 end line: 92 size: 30 LOC McCabe index: 5 number of parameters: 1 id: 12 unit: export function fakeReference() file: src/components/Database/testing/models.ts start line: 19 end line: 44 size: 26 LOC McCabe index: 1 number of parameters: 6 id: 13 unit: export function useEmulatedFirebaseApp() file: src/firebase.ts start line: 80 end line: 109 size: 26 LOC McCabe index: 3 number of parameters: 3 id: 14 unit: function getInspectionExpressions() file: src/components/Firestore/Requests/RequestDetails/index.tsx start line: 52 end line: 82 size: 25 LOC McCabe index: 5 number of parameters: 2 id: 15 unit: export function getDetailsRequestData() file: src/components/Firestore/Requests/RequestDetails/index.tsx start line: 95 end line: 120 size: 25 LOC McCabe index: 2 number of parameters: 1 id: 16 unit: function adjustPayloadForArray() file: src/components/Firestore/DocumentPreview/api.tsx start line: 65 end line: 98 size: 25 LOC McCabe index: 8 number of parameters: 3 id: 17 unit: function realtimeToViewModel() file: src/components/Database/DataViewer/common/fetch.ts start line: 88 end line: 114 size: 24 LOC McCabe index: 4 number of parameters: 2 id: 18 unit: export function useTokens() file: src/components/Storage/api/useTokens.tsx start line: 22 end line: 80 size: 24 LOC McCabe index: 3 number of parameters: 1 id: 19 unit: export function getFieldType() file: src/components/Firestore/utils.ts start line: 42 end line: 72 size: 24 LOC McCabe index: 8 number of parameters: 1 id: 20 unit: async function configFetcher() file: src/components/common/EmulatorConfigProvider.tsx start line: 196 end line: 219 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 21 unit: export function getDescendantIds() file: src/components/Firestore/DocumentEditor/utils.ts start line: 193 end line: 214 size: 22 LOC McCabe index: 3 number of parameters: 2 id: 22 unit: function getRestQueryParams() file: src/components/Database/DataViewer/common/fetch.ts start line: 185 end line: 208 size: 21 LOC McCabe index: 8 number of parameters: 1 id: 23 unit: export function defaultValueForPrimitiveType() file: src/components/Firestore/DocumentEditor/utils.ts start line: 170 end line: 191 size: 21 LOC McCabe index: 9 number of parameters: 1 id: 24 unit: function validate() file: src/components/Auth/UserFormDialog/controls/CustomAttributes.tsx start line: 26 end line: 47 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 25 unit: export function usePathContainerWidth() file: src/components/Firestore/Requests/utils.ts start line: 42 end line: 70 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 26 unit: yield all() file: src/store/auth/sagas.ts start line: 75 end line: 95 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 27 unit: export function initDatabase() file: src/firebase.ts start line: 39 end line: 62 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 28 unit: export function createViewModel() file: src/components/Database/DataViewer/common/fetch.ts start line: 50 end line: 68 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 29 unit: export function summarizeMap() file: src/components/Firestore/utils.ts start line: 207 end line: 225 size: 19 LOC McCabe index: 4 number of parameters: 4 id: 30 unit: export function applyQuery() file: src/components/Database/DataViewer/common/fetch.ts start line: 142 end line: 162 size: 18 LOC McCabe index: 9 number of parameters: 2 id: 31 unit: export function fileToStorageFile() file: src/components/Storage/common/fileToStorageFile.ts start line: 19 end line: 36 size: 18 LOC McCabe index: 1 number of parameters: 3 id: 32 unit: function normalizeArray() file: src/components/Firestore/DocumentEditor/utils.ts start line: 75 end line: 105 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 33 unit: function getTableRowRequestData() file: src/components/Firestore/Requests/RequestsCard/Table/TableRow.tsx start line: 39 end line: 56 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 34 unit: function summarizeSegment() file: src/components/Firestore/DocumentPreview/store.tsx start line: 241 end line: 258 size: 18 LOC McCabe index: 6 number of parameters: 2 id: 35 unit: export function useSubCollections() file: src/components/Firestore/FirestoreEmulatedApiProvider.tsx start line: 113 end line: 132 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: function applyAdminAuth() file: src/firebase.ts start line: 111 end line: 132 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 37 unit: async function discoverFirestoreWs() file: server.js start line: 94 end line: 113 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 38 unit: function jsonHandler() file: server.js start line: 136 end line: 152 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 39 unit: export function mockBuckets() file: src/components/Storage/testing/mockBuckets.ts start line: 17 end line: 34 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 40 unit: export function summarizeArray() file: src/components/Firestore/utils.ts start line: 189 end line: 205 size: 17 LOC McCabe index: 4 number of parameters: 4 id: 41 unit: private connect() file: src/reconnectingWebSocket.ts start line: 37 end line: 56 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 42 unit: async function buildTable() file: src/components/Database/DataViewer/NodeTabularDisplay.tsx start line: 150 end line: 171 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 43 unit: function getErrorText() file: src/components/Auth/UserFormDialog/controls/EmailPassword.tsx start line: 32 end line: 48 size: 16 LOC McCabe index: 6 number of parameters: 1 id: 44 unit: export function useBuckets() file: src/components/Storage/api/useBuckets.tsx start line: 26 end line: 45 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 45 unit: linesOutcome: getLinesOutcome() file: src/components/Firestore/Requests/RequestDetails/index.tsx start line: 117 end line: 135 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: export function useRootCollections() file: src/components/Firestore/FirestoreEmulatedApiProvider.tsx start line: 94 end line: 111 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 47 unit: export function useRecursiveDelete() file: src/components/Firestore/FirestoreEmulatedApiProvider.tsx start line: 185 end line: 201 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: deferred: makeDeferred() file: src/components/common/EmulatorConfigProvider.tsx start line: 56 end line: 81 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 49 unit: exports.startServer = function() file: server.js start line: 31 end line: 48 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 50 unit: function restUrl() file: src/components/Database/DataViewer/common/fetch.ts start line: 210 end line: 227 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 51 unit: function lastModified() file: src/components/Storage/Card/Table/Table.tsx start line: 117 end line: 133 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 52 unit: function normalizeMap() file: src/components/Firestore/DocumentEditor/utils.ts start line: 45 end line: 73 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: inspectionExpressions: getInspectionExpressions() file: src/components/Firestore/Requests/RequestDetails/index.tsx start line: 118 end line: 135 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 54 unit: function copyPathToClipboard() file: src/components/Firestore/Requests/RequestPath/index.tsx start line: 25 end line: 39 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 55 unit: protected async postFile() file: src/components/common/rest_api.ts start line: 85 end line: 109 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 56 unit: getOrCompile() file: src/components/LogViewer/CompiledGetterCache.ts start line: 20 end line: 36 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 57 unit: export function map() file: src/store/utils.ts start line: 66 end line: 84 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 58 unit: constructor() file: custom-jest-environment.js start line: 23 end line: 39 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: function nonRealtimeToViewModel() file: src/components/Database/DataViewer/common/fetch.ts start line: 116 end line: 129 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 60 unit: async function deleteFolder() file: src/components/Storage/api/useStorageFiles.tsx start line: 85 end line: 110 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: async function openAllFiles() file: src/components/Storage/api/useStorageFiles.tsx start line: 140 end line: 154 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: function getDocumentFieldType() file: src/components/Firestore/DocumentEditor/index.tsx start line: 453 end line: 466 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 63 unit: uuid: getUniqueId() file: src/components/Firestore/DocumentEditor/store.tsx start line: 58 end line: 71 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 64 unit: export function useFirestoreRequests() file: src/components/Firestore/Requests/FirestoreRequestsProvider.tsx start line: 97 end line: 110 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 65 unit: protected async deleteRequest() file: src/components/common/rest_api.ts start line: 61 end line: 78 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 66 unit: export function useFetcher() file: src/components/common/useRequest.ts start line: 23 end line: 36 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 67 unit: export function useOnChangePromise() file: src/components/common/EmulatorConfigProvider.tsx start line: 44 end line: 62 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 68 unit: hostAndPort: hostAndPort() file: src/components/common/EmulatorConfigProvider.tsx start line: 209 end line: 246 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 69 unit: function fixHostname() file: src/components/common/EmulatorConfigProvider.tsx start line: 239 end line: 256 size: 14 LOC McCabe index: 7 number of parameters: 1 id: 70 unit: export function canDoRealtime() file: src/components/Database/DataViewer/common/fetch.ts start line: 74 end line: 86 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: async fetchUser() file: src/components/Auth/api.ts start line: 65 end line: 78 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 72 unit: async function deleteFiles() file: src/components/Storage/api/useStorageFiles.tsx start line: 125 end line: 138 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: function getLinesOutcome() file: src/components/Firestore/Requests/RequestDetails/index.tsx start line: 38 end line: 50 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 74 unit: export function isSingleValueCollectionFilter() file: src/components/Firestore/models.ts start line: 116 end line: 128 size: 13 LOC McCabe index: 7 number of parameters: 1 id: 75 unit: export function useConfig() file: src/components/common/EmulatorConfigProvider.tsx start line: 128 end line: 142 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 76 unit: export function useIsEmulatorDisabled() file: src/components/common/EmulatorConfigProvider.tsx start line: 158 end line: 172 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 77 unit: function navigate() file: src/components/Storage/Card/Table/Table.tsx start line: 144 end line: 155 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 78 unit: uuid: getUniqueId() file: src/components/Firestore/DocumentEditor/store.tsx start line: 76 end line: 87 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 79 unit: function renderCallout() file: src/components/Firestore/Requests/RequestDetails/CodeViewer/index.tsx start line: 117 end line: 128 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 80 unit: localId: getUniqueId() file: src/store/auth/reducer.tsx start line: 40 end line: 51 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: function fixHostname() file: server.js start line: 123 end line: 134 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 82 unit: export function fakeSnapshot() file: src/components/Database/testing/models.ts start line: 46 end line: 56 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 83 unit: function getHeaders() file: src/components/Database/DataViewer/NodeTabularDisplay.tsx start line: 185 end line: 195 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 84 unit: function fetchNonRealtime() file: src/components/Database/DataViewer/common/fetch.ts start line: 165 end line: 175 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 85 unit: function validateCustomClaims() file: src/components/Auth/UserFormDialog/controls/customClaimsValidation.ts start line: 64 end line: 75 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 86 unit: async uploadFiles() file: src/components/Storage/api/useStorageFiles.tsx start line: 164 end line: 178 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 87 unit: function toggleAllItems() file: src/components/Storage/common/useMultiselect.ts start line: 58 end line: 69 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 88 unit: export function useSelectedFile() file: src/components/Storage/Card/useSelectedFile/useSelectedFile.tsx start line: 21 end line: 33 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 89 unit: uuid: getUniqueId() file: src/components/Firestore/DocumentEditor/utils.ts start line: 57 end line: 67 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: export async function addFieldToMissingDocument() file: src/components/Firestore/DocumentPreview/api.tsx start line: 43 end line: 55 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 91 unit: export function useEjector() file: src/components/Firestore/FirestoreEmulatedApiProvider.tsx start line: 171 end line: 183 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 92 unit: export function isSortableCollectionFilter() file: src/components/Firestore/models.ts start line: 140 end line: 150 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 93 unit: export function useEmulatorConfig() file: src/components/common/EmulatorConfigProvider.tsx start line: 144 end line: 156 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 94 unit: export function map() file: src/store/utils.ts start line: 72 end line: 84 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 95 unit: export default function configureStore() file: src/configureStore.ts start line: 22 end line: 32 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 96 unit: function getTableType() file: src/components/Database/DataViewer/NodeTabularDisplay.tsx start line: 173 end line: 183 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 97 unit: export function validateSerializedCustomClaims() file: src/components/Auth/UserFormDialog/controls/customClaimsValidation.ts start line: 32 end line: 42 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 98 unit: function getErrorText() file: src/components/Auth/UserFormDialog/controls/PhoneControl.tsx start line: 43 end line: 52 size: 10 LOC McCabe index: 4 number of parameters: 0 id: 99 unit: async deleteFiles() file: src/components/Storage/api/useStorageFiles.tsx start line: 192 end line: 203 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: uuid: getUniqueId() file: src/components/Firestore/DocumentEditor/utils.ts start line: 90 end line: 99 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 101 unit: function normalizePrimitive() file: src/components/Firestore/DocumentEditor/utils.ts start line: 107 end line: 117 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 102 unit: title: isTimestamp() file: src/components/Firestore/DocumentPreview/store.tsx start line: 113 end line: 124 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 103 unit: summary: summarizeConstraint() file: src/components/Firestore/DocumentPreview/store.tsx start line: 146 end line: 155 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 104 unit: export function squashOrDefaut() file: src/store/utils.ts start line: 185 end line: 194 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 105 unit: export function replaceIfChanged() file: src/store/utils.ts start line: 198 end line: 207 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 106 unit: export function isArrayLike() file: src/components/Database/DataViewer/NodeTabularDisplay.tsx start line: 197 end line: 208 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 107 unit: function getUploadPath() file: src/components/Database/api.ts start line: 62 end line: 71 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 108 unit: export function useMultiselect() file: src/components/Storage/common/useMultiselect.ts start line: 29 end line: 113 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 109 unit: toggleSingle() file: src/components/Storage/common/useMultiselect.ts start line: 82 end line: 90 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 110 unit: export function normalize() file: src/components/Firestore/DocumentEditor/utils.ts start line: 119 end line: 127 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 111 unit: function dateToLocale() file: src/components/Firestore/DocumentEditor/TimestampEditor.tsx start line: 23 end line: 32 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: export function updateField() file: src/components/Firestore/DocumentPreview/api.tsx start line: 33 end line: 41 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 113 unit: export function useDocumentState() file: src/components/Firestore/DocumentPreview/store.tsx start line: 55 end line: 63 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 114 unit: function summarizeNumber() file: src/components/Firestore/DocumentPreview/store.tsx start line: 221 end line: 231 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 115 unit: function getConditionEntryType() file: src/components/Firestore/CollectionFilter/ConditionEntry.tsx start line: 24 end line: 32 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 116 unit: function useFirestoreRestApi() file: src/components/Firestore/FirestoreEmulatedApiProvider.tsx start line: 83 end line: 92 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 117 unit: export function isMultiValueCollectionFilter() file: src/components/Firestore/models.ts start line: 130 end line: 138 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 118 unit: export function useConfigOptional() file: src/components/common/EmulatorConfigProvider.tsx start line: 178 end line: 186 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 119 unit: export function mapResult() file: src/store/utils.ts start line: 96 end line: 104 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 120 unit: async fetchUsers() file: src/components/Auth/api.ts start line: 55 end line: 63 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 121 unit: async createUser() file: src/components/Auth/api.ts start line: 80 end line: 88 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: async updateConfig() file: src/components/Auth/api.ts start line: 90 end line: 98 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: async updateUser() file: src/components/Auth/api.ts start line: 108 end line: 116 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: Custom claims() file: src/components/Auth/UserFormDialog/controls/CustomAttributes.tsx start line: 57 end line: 64 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: export function mockTokens() file: src/components/Storage/testing/mockTokens.ts start line: 19 end line: 28 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: async function createFolder() file: src/components/Storage/api/useCreateFolder.tsx start line: 33 end line: 49 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 127 unit: function uploadFiles() file: src/components/Storage/api/useStorageFiles.tsx start line: 116 end line: 123 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 128 unit: toggleContinuous() file: src/components/Storage/common/useMultiselect.ts start line: 91 end line: 100 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 129 unit: function selectionIncludesFolders() file: src/components/Storage/Card/Table/Header/ActionHeader/ActionHeader.tsx start line: 33 end line: 40 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 130 unit: async function handleClearData() file: src/components/Firestore/index.tsx start line: 107 end line: 114 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 131 unit: export function deleteField() file: src/components/Firestore/DocumentPreview/api.tsx start line: 24 end line: 31 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 132 unit: const formatNumber = function() file: src/components/common/formatBytes.ts start line: 19 end line: 26 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 133 unit: export function assert() file: src/components/common/asserts.ts start line: 22 end line: 29 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 134 unit: export function jsonIshValue() file: src/components/Database/DataViewer/common/view_model.ts start line: 51 end line: 57 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 135 unit: export function getDbRootUrl() file: src/components/Database/DataViewer/common/view_model.ts start line: 65 end line: 71 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 136 unit: constructor() file: src/components/Database/api.ts start line: 27 end line: 33 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 137 unit: export function useCreateFolder() file: src/components/Storage/api/useCreateFolder.tsx start line: 29 end line: 54 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 138 unit: function importFolder() file: src/components/Storage/api/useStorageFiles.tsx start line: 35 end line: 41 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 139 unit: async deleteAllFiles() file: src/components/Storage/api/useStorageFiles.tsx start line: 179 end line: 185 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 140 unit: function useSelected() file: src/components/Storage/common/useMultiselect.ts start line: 19 end line: 26 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 141 unit: function findBetween() file: src/components/Storage/common/useMultiselect.ts start line: 43 end line: 50 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 142 unit: toggleAll() file: src/components/Storage/common/useMultiselect.ts start line: 105 end line: 111 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 143 unit: export function assertStoreHasRoot() file: src/components/Firestore/DocumentEditor/types.ts start line: 88 end line: 94 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 144 unit: export function assertIsPrimitiveField() file: src/components/Firestore/DocumentEditor/types.ts start line: 96 end line: 102 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 145 unit: function handleSubmit() file: src/components/Firestore/DocumentPreview/InlineEditor.tsx start line: 63 end line: 69 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 146 unit: typeDisp: getFieldType() file: src/components/Firestore/DocumentPreview/store.tsx start line: 116 end line: 124 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 147 unit: function summarizePath() file: src/components/Firestore/DocumentPreview/store.tsx start line: 233 end line: 239 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 148 unit: onErrorRetry() file: src/components/common/EmulatorConfigProvider.tsx start line: 80 end line: 95 size: 7 LOC McCabe index: 2 number of parameters: 5 id: 149 unit: async function jsonFetcher() file: src/components/common/EmulatorConfigProvider.tsx start line: 188 end line: 194 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 150 unit: export function makeDeferred() file: src/components/common/EmulatorConfigProvider.tsx start line: 221 end line: 227 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 151 unit: export function map() file: src/store/utils.ts start line: 78 end line: 84 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 152 unit: export function handle() file: src/store/utils.ts start line: 150 end line: 156 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 153 unit: export function squash() file: src/store/utils.ts start line: 170 end line: 176 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 154 unit: cleanup() file: src/reconnectingWebSocket.ts start line: 58 end line: 63 size: 6 LOC McCabe index: 3 number of parameters: 0 id: 155 unit: function toObservable() file: src/components/Database/DataViewer/common/fetch.ts start line: 135 end line: 140 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 156 unit: async function importFile() file: src/components/Storage/api/useStorageFiles.tsx start line: 28 end line: 33 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 157 unit: export function usePath() file: src/components/Storage/api/usePath.tsx start line: 23 end line: 37 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 158 unit: function setPath() file: src/components/Storage/api/usePath.tsx start line: 28 end line: 34 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 159 unit: function getMarkerElement() file: src/components/Firestore/Requests/RequestDetails/CodeViewer/index.tsx start line: 55 end line: 60 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 160 unit: function renderCodeViewer() file: src/components/Firestore/Requests/RequestDetails/CodeViewer/index.tsx start line: 110 end line: 115 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 161 unit: function isCurrentProject() file: src/components/Firestore/Requests/FirestoreRequestsProvider.tsx start line: 70 end line: 76 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 162 unit: export function useFirestoreRequest() file: src/components/Firestore/Requests/FirestoreRequestsProvider.tsx start line: 117 end line: 122 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: function encodePath() file: src/components/Firestore/FirestoreEmulatedApiProvider.tsx start line: 203 end line: 208 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 164 unit: export function useClipboard() file: src/components/common/CopyButton.tsx start line: 26 end line: 37 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 165 unit: writeText: useCallback() file: src/components/common/CopyButton.tsx start line: 30 end line: 35 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 166 unit: export function createRemoteDataLoaded() file: src/store/utils.ts start line: 106 end line: 111 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 167 unit: yield setContext() file: src/store/auth/sagas.ts start line: 69 end line: 74 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 168 unit: async getConfig() file: src/components/Auth/api.ts start line: 100 end line: 106 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 169 unit: function assert() file: src/components/Auth/UserFormDialog/controls/customClaimsValidation.ts start line: 18 end line: 22 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 170 unit: async function waitForNFiles() file: src/components/Storage/testing/renderWithStorage.tsx start line: 41 end line: 49 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 171 unit: async createFolder() file: src/components/Storage/api/useStorageFiles.tsx start line: 187 end line: 191 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 172 unit: export function useBucket() file: src/components/Storage/api/useBucket.tsx start line: 24 end line: 33 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 173 unit: export function lastFieldName() file: src/components/Firestore/utils.ts start line: 36 end line: 40 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 174 unit: export function isReference() file: src/components/Firestore/utils.ts start line: 78 end line: 82 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 175 unit: export function isTimestamp() file: src/components/Firestore/utils.ts start line: 84 end line: 88 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 176 unit: export function isGeoPoint() file: src/components/Firestore/utils.ts start line: 98 end line: 102 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 177 unit: async function handleChange() file: src/components/Firestore/DocumentEditor/JsonEditor.tsx start line: 53 end line: 57 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 178 unit: export function isPrimitive() file: src/components/Firestore/DocumentEditor/types.ts start line: 62 end line: 66 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 179 unit: export function assertIsMapField() file: src/components/Firestore/DocumentEditor/types.ts start line: 104 end line: 108 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 180 unit: export function assertIsArrayField() file: src/components/Firestore/DocumentEditor/types.ts start line: 110 end line: 114 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 181 unit: async function handleChange() file: src/components/Firestore/DocumentEditor/NumberEditor.tsx start line: 49 end line: 53 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 182 unit: async function handleChange() file: src/components/Firestore/DocumentEditor/ReferenceEditor.tsx start line: 55 end line: 59 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 183 unit: export function useFieldState() file: src/components/Firestore/DocumentPreview/store.tsx start line: 66 end line: 70 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 184 unit: function toFormData() file: src/components/common/rest_api.ts start line: 113 end line: 117 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 185 unit: export function hasData() file: src/store/utils.ts start line: 53 end line: 57 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 186 unit: export function hasError() file: src/store/utils.ts start line: 59 end line: 63 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 187 unit: result: map() file: src/store/utils.ts start line: 102 end line: 107 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 188 unit: constructor() file: src/reconnectingWebSocket.ts start line: 29 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 189 unit: async importFile() file: src/components/Database/api.ts start line: 42 end line: 45 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 190 unit: async nukeUsers() file: src/components/Auth/api.ts start line: 50 end line: 53 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 191 unit: await waitFor() file: src/components/Storage/testing/renderWithStorage.tsx start line: 42 end line: 45 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 192 unit: await act() file: src/components/Storage/testing/renderWithStorage.tsx start line: 54 end line: 57 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 193 unit: await fetch() file: src/components/Storage/api/useCreateFolder.tsx start line: 37 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 194 unit: async function createToken() file: src/components/Storage/api/useTokens.tsx start line: 46 end line: 59 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 195 unit: await fetch() file: src/components/Storage/api/useTokens.tsx start line: 47 end line: 50 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 196 unit: async function deleteToken() file: src/components/Storage/api/useTokens.tsx start line: 61 end line: 73 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 197 unit: await fetch() file: src/components/Storage/api/useTokens.tsx start line: 62 end line: 65 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 198 unit: clearAll() file: src/components/Storage/common/useMultiselect.ts start line: 101 end line: 104 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 199 unit: function formatDate() file: src/components/Storage/Card/SideBar/SideBar.tsx start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 200 unit: export function useIsFirestoreRequestsAvailable() file: src/components/Firestore/Requests/FirestoreRequestsProvider.tsx start line: 112 end line: 115 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 201 unit: function svgIcon() file: src/components/common/icons.tsx start line: 155 end line: 158 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 202 unit: export function useRequest() file: src/components/common/useRequest.ts start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 203 unit: function useQuery() file: src/components/LogViewer/index.tsx start line: 34 end line: 37 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 204 unit: yield put() file: src/store/auth/sagas.ts start line: 121 end line: 124 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 205 unit: yield call() file: src/store/auth/sagas.ts start line: 158 end line: 161 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 206 unit: function getColumnValue() file: src/components/Database/DataViewer/NodeTabularDisplay.tsx start line: 110 end line: 112 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 207 unit: function once() file: src/components/Database/DataViewer/common/fetch.ts start line: 131 end line: 133 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 208 unit: async deleteUser() file: src/components/Auth/api.ts start line: 118 end line: 120 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 209 unit: function validate() file: src/components/Auth/UserFormDialog/controls/PhoneControl.tsx start line: 39 end line: 41 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 210 unit: function validate() file: src/components/Auth/UserFormDialog/controls/EmailPassword.tsx start line: 77 end line: 79 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 211 unit: await act() file: src/components/Storage/testing/renderWithStorage.tsx start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 212 unit: function getLocation() file: src/components/Storage/api/useStorageFiles.tsx start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 213 unit: function getCurrentRef() file: src/components/Storage/api/useStorageFiles.tsx start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 214 unit: async function deleteFile() file: src/components/Storage/api/useStorageFiles.tsx start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 215 unit: async function deleteAllFiles() file: src/components/Storage/api/useStorageFiles.tsx start line: 112 end line: 114 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 216 unit: function setBucket() file: src/components/Storage/api/useBucket.tsx start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 217 unit: export function getFileIcon() file: src/components/Storage/common/StorageFileIcon/StorageFileIcon.tsx start line: 84 end line: 86 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 218 unit: function removeFromStack() file: src/components/Storage/common/useMultiselect.ts start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 219 unit: function addToStack() file: src/components/Storage/common/useMultiselect.ts start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 220 unit: isSelected() file: src/components/Storage/common/useMultiselect.ts start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 221 unit: onDrop: async() file: src/components/Storage/Card/Table/ZeroState/ZeroState.tsx start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 222 unit: onDrop: async() file: src/components/Storage/Card/Table/Header/StorageHeader/UploadButton/UploadButton.tsx start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 223 unit: onDrop: async() file: src/components/Storage/Card/TableDropzoneWrapper/TableDropzoneWrapper.tsx start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 224 unit: export function shouldShowPreview() file: src/components/Storage/Card/SideBar/StoragePreview/usePreviewUrl.ts start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 225 unit: export function getParentPath() file: src/components/Firestore/utils.ts start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 226 unit: export function isBoolean() file: src/components/Firestore/utils.ts start line: 74 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 227 unit: export function isString() file: src/components/Firestore/utils.ts start line: 90 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 228 unit: export function isNumber() file: src/components/Firestore/utils.ts start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 229 unit: export function isMap() file: src/components/Firestore/utils.ts start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 230 unit: export function isArray() file: src/components/Firestore/utils.ts start line: 108 end line: 110 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 231 unit: export function isPrimitive() file: src/components/Firestore/utils.ts start line: 112 end line: 114 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 232 unit: export function summarizeDate() file: src/components/Firestore/utils.ts start line: 183 end line: 187 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 233 unit: export function summarizeLatLng() file: src/components/Firestore/utils.ts start line: 227 end line: 229 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 234 unit: function latStr() file: src/components/Firestore/utils.ts start line: 231 end line: 233 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 235 unit: function longStr() file: src/components/Firestore/utils.ts start line: 235 end line: 237 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 236 unit: export function compareFirestoreKeys() file: src/components/Firestore/utils.ts start line: 239 end line: 242 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 237 unit: export function getUniqueId() file: src/components/Firestore/DocumentEditor/utils.ts start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 238 unit: export function isFirestoreMap() file: src/components/Firestore/DocumentEditor/types.ts start line: 68 end line: 70 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 239 unit: export function isFirestoreArray() file: src/components/Firestore/DocumentEditor/types.ts start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 240 unit: export function isMapField() file: src/components/Firestore/DocumentEditor/types.ts start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 241 unit: export function isArrayField() file: src/components/Firestore/DocumentEditor/types.ts start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 242 unit: export function isJSONField() file: src/components/Firestore/DocumentEditor/types.ts start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 243 unit: export function supportsEditing() file: src/components/Firestore/DocumentEditor/index.tsx start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 244 unit: function handleChange() file: src/components/Firestore/DocumentPreview/InlineEditor.tsx start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 245 unit: function handleCancel() file: src/components/Firestore/DocumentPreview/InlineEditor.tsx start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 246 unit: export function useFieldInfo() file: src/components/Firestore/DocumentPreview/store.tsx start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 247 unit: protected getToken() file: src/components/common/rest_api.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 248 unit: protected async jsonRequest() file: src/components/common/rest_api.ts start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 249 unit: protected async patchRequest() file: src/components/common/rest_api.ts start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 250 unit: deferred: makeDeferred() file: src/components/common/EmulatorConfigProvider.tsx start line: 48 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 251 unit: yield call() file: src/store/auth/sagas.ts start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 252 unit: export function hostAndPort() file: src/store/config/index.ts start line: 19 end line: 22 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 253 unit: headers: getHeaders() file: src/components/Database/DataViewer/NodeTabularDisplay.tsx start line: 168 end line: 169 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 254 unit: export function createStructuredSelector() file: src/store/index.ts start line: 39 end line: 40 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 255 unit: async setup() file: custom-jest-environment.js start line: 41 end line: 41 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 256 unit: async teardown() file: custom-jest-environment.js start line: 43 end line: 43 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 257 unit: await fetch() file: src/components/Auth/api.ts start line: 102 end line: 102 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 258 unit: various access control strategies() file: src/components/Auth/UserFormDialog/controls/CustomAttributes.tsx start line: 73 end line: 73 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 259 unit: getToken: async() file: src/firebase.ts start line: 117 end line: 117 size: 1 LOC McCabe index: 1 number of parameters: 0