id: 1 unit: registerNewUserWithIdCard: async function() file: amplify/backend/function/idvworkflowfn/src/idvfunctions.js start line: 302 end line: 458 size: 125 LOC McCabe index: 16 number of parameters: 3 id: 2 unit: registerNewUser: async function() file: amplify/backend/function/idvworkflowfn/src/idvfunctions.js start line: 185 end line: 300 size: 88 LOC McCabe index: 11 number of parameters: 1 id: 3 unit: function reducer() file: components/register-new-user-with-idcard.tsx start line: 74 end line: 147 size: 74 LOC McCabe index: 15 number of parameters: 2 id: 4 unit: async function submitUser() file: components/register-new-user.tsx start line: 111 end line: 194 size: 66 LOC McCabe index: 6 number of parameters: 2 id: 5 unit: async function submitUser() file: components/register-new-user-with-idcard.tsx start line: 195 end line: 284 size: 63 LOC McCabe index: 6 number of parameters: 2 id: 6 unit: deleteUser: async function() file: amplify/backend/function/idvworkflowfn/src/idvfunctions.js start line: 532 end line: 604 size: 61 LOC McCabe index: 10 number of parameters: 1 id: 7 unit: updateExistingUserPhoto: async function() file: amplify/backend/function/idvworkflowfn/src/idvfunctions.js start line: 460 end line: 530 size: 59 LOC McCabe index: 10 number of parameters: 2 id: 8 unit: export async function setDefaultCollection() file: common/common-types.ts start line: 66 end line: 121 size: 49 LOC McCabe index: 8 number of parameters: 2 id: 9 unit: function reducer() file: components/register-new-user.tsx start line: 50 end line: 97 size: 48 LOC McCabe index: 10 number of parameters: 2 id: 10 unit: loginUser: async function() file: amplify/backend/function/idvworkflowfn/src/idvfunctions.js start line: 606 end line: 661 size: 46 LOC McCabe index: 8 number of parameters: 1 id: 11 unit: async function insertImageWithSigning() file: amplify/backend/function/S3Triggerb6cacc90/src/index.js start line: 56 end line: 121 size: 44 LOC McCabe index: 1 number of parameters: 1 id: 12 unit: query UserInfoByFaceId() file: amplify/backend/function/idvworkflowfn/src/graphqlhelpers.js start line: 24 end line: 55 size: 32 LOC McCabe index: 1 number of parameters: 1 id: 13 unit: query ListUserInfos() file: src/graphql/queries.ts start line: 68 end line: 99 size: 32 LOC McCabe index: 1 number of parameters: 1 id: 14 unit: query UserInfoByFaceId() file: src/graphql/queries.ts start line: 102 end line: 133 size: 32 LOC McCabe index: 1 number of parameters: 1 id: 15 unit: query UserInfoByRegStatus() file: src/graphql/queries.ts start line: 136 end line: 167 size: 32 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: async function updateUserInfo() file: amplify/backend/function/idvworkflowfn/src/idvfunctions.js start line: 5 end line: 39 size: 31 LOC McCabe index: 5 number of parameters: 4 id: 17 unit: deleteCollection: async function() file: amplify/backend/function/idvworkflowfn/src/idvfunctions.js start line: 107 end line: 142 size: 31 LOC McCabe index: 6 number of parameters: 1 id: 18 unit: createCollection: async function() file: amplify/backend/function/idvworkflowfn/src/idvfunctions.js start line: 69 end line: 105 size: 29 LOC McCabe index: 3 number of parameters: 1 id: 19 unit: query ListCachedCollectionLists() file: amplify/backend/function/idvworkflowfn/src/graphqlhelpers.js start line: 93 end line: 120 size: 28 LOC McCabe index: 1 number of parameters: 1 id: 20 unit: query ListCachedCollectionLists() file: src/graphql/queries.ts start line: 225 end line: 252 size: 28 LOC McCabe index: 1 number of parameters: 1 id: 21 unit: async function fetchCollections() file: components/collections.tsx start line: 33 end line: 63 size: 28 LOC McCabe index: 4 number of parameters: 0 id: 22 unit: async function doLogin() file: components/login-user.tsx start line: 58 end line: 88 size: 28 LOC McCabe index: 1 number of parameters: 2 id: 23 unit: validateDetectFacesResponse: function() file: amplify/backend/function/idvworkflowfn/src/validateidvflows.js start line: 4 end line: 42 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 24 unit: detectTextInIdCard: async function() file: amplify/backend/function/idvworkflowfn/src/idvfunctions.js start line: 663 end line: 695 size: 27 LOC McCabe index: 4 number of parameters: 1 id: 25 unit: async function fetchTextInCard() file: components/register-new-user-with-idcard.tsx start line: 162 end line: 193 size: 27 LOC McCabe index: 5 number of parameters: 3 id: 26 unit: async function issueGQL() file: amplify/backend/function/idvworkflowfn/src/graphqlhelpers.js start line: 145 end line: 184 size: 26 LOC McCabe index: 1 number of parameters: 3 id: 27 unit: query ListConfigEntries() file: src/graphql/queries.ts start line: 181 end line: 206 size: 26 LOC McCabe index: 1 number of parameters: 1 id: 28 unit: export async function deletecollectionFunc() file: common/common-types.ts start line: 123 end line: 151 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 29 unit: testRek: async function() file: amplify/backend/function/idvworkflowfn/src/idvfunctions.js start line: 43 end line: 67 size: 24 LOC McCabe index: 3 number of parameters: 2 id: 30 unit: createCachedCollection: async function() file: amplify/backend/function/idvworkflowfn/src/graphqlhelpers.js start line: 220 end line: 248 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 31 unit: deleteCachedCollection: async function() file: amplify/backend/function/idvworkflowfn/src/graphqlhelpers.js start line: 250 end line: 274 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 32 unit: describeCollection: async function() file: amplify/backend/function/idvworkflowfn/src/idvfunctions.js start line: 163 end line: 183 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 33 unit: validateDuplicateCheck: function() file: amplify/backend/function/idvworkflowfn/src/validateidvflows.js start line: 43 end line: 62 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 34 unit: validateFaceComparison: function() file: amplify/backend/function/idvworkflowfn/src/validateidvflows.js start line: 71 end line: 90 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 35 unit: function getSignedRequest() file: amplify/backend/function/idvworkflowfn/src/graphqlhelpers.js start line: 123 end line: 143 size: 17 LOC McCabe index: 1 number of parameters: 4 id: 36 unit: mutation Registernewuserwithidcard() file: src/graphql/mutations.ts start line: 36 end line: 52 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 37 unit: createIngestedImage() file: amplify/backend/function/S3Triggerb6cacc90/src/index.js start line: 37 end line: 52 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 38 unit: listCollections: async function() file: amplify/backend/function/idvworkflowfn/src/idvfunctions.js start line: 144 end line: 161 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 39 unit: async function fetchUsers() file: components/browse-users.tsx start line: 48 end line: 66 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 40 unit: getActiveCollection: async function() file: amplify/backend/function/idvworkflowfn/src/graphqlhelpers.js start line: 203 end line: 218 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 41 unit: query GetCachedCollectionList() file: src/graphql/queries.ts start line: 209 end line: 222 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 42 unit: mutation Updateexistinguserphoto() file: src/graphql/mutations.ts start line: 55 end line: 68 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: export async function getDefaultCollection() file: common/common-types.ts start line: 48 end line: 64 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 44 unit: query: print() file: amplify/backend/function/idvworkflowfn/src/graphqlhelpers.js start line: 133 end line: 156 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: getUserInfoByFaceId: async function() file: amplify/backend/function/idvworkflowfn/src/graphqlhelpers.js start line: 187 end line: 201 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 46 unit: loginuser() file: src/graphql/queries.ts start line: 26 end line: 38 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: getUserInfo() file: src/graphql/queries.ts start line: 52 end line: 64 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 48 unit: createUserInfo() file: src/graphql/mutations.ts start line: 88 end line: 100 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 49 unit: updateUserInfo() file: src/graphql/mutations.ts start line: 108 end line: 120 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 50 unit: deleteUserInfo() file: src/graphql/mutations.ts start line: 128 end line: 140 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 51 unit: async function deleteUser() file: components/browse-users.tsx start line: 33 end line: 46 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 52 unit: function validateFields() file: components/register-new-user-with-idcard.tsx start line: 149 end line: 160 size: 11 LOC McCabe index: 7 number of parameters: 1 id: 53 unit: function validateFields() file: components/register-new-user.tsx start line: 99 end line: 109 size: 10 LOC McCabe index: 6 number of parameters: 1 id: 54 unit: createCachedCollectionList() file: amplify/backend/function/idvworkflowfn/src/graphqlhelpers.js start line: 63 end line: 71 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 55 unit: deleteCachedCollectionList() file: amplify/backend/function/idvworkflowfn/src/graphqlhelpers.js start line: 80 end line: 88 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 56 unit: deleteuser() file: src/graphql/mutations.ts start line: 72 end line: 80 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: createCachedCollectionList() file: src/graphql/mutations.ts start line: 190 end line: 198 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 58 unit: updateCachedCollectionList() file: src/graphql/mutations.ts start line: 206 end line: 214 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 59 unit: deleteCachedCollectionList() file: src/graphql/mutations.ts start line: 222 end line: 230 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 60 unit: function handleCollectionIdChange() file: components/collections.tsx start line: 23 end line: 31 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 61 unit: validateDuplicateCheckForMultipleSearches: async function() file: amplify/backend/function/idvworkflowfn/src/validateidvflows.js start line: 63 end line: 70 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: getConfigEntry() file: amplify/backend/function/idvworkflowfn/src/graphqlhelpers.js start line: 13 end line: 19 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 63 unit: describecollection() file: src/graphql/queries.ts start line: 15 end line: 21 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: getConfigEntry() file: src/graphql/queries.ts start line: 171 end line: 177 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 65 unit: registernewuser() file: src/graphql/mutations.ts start line: 26 end line: 32 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: createConfigEntry() file: src/graphql/mutations.ts start line: 148 end line: 154 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 67 unit: updateConfigEntry() file: src/graphql/mutations.ts start line: 162 end line: 168 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 68 unit: deleteConfigEntry() file: src/graphql/mutations.ts start line: 176 end line: 182 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 69 unit: createcollection() file: src/graphql/mutations.ts start line: 7 end line: 12 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: export default function handler() file: pages/api/hello.ts start line: 8 end line: 13 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 71 unit: mutation CreateIngestedImage() file: amplify/backend/function/S3Triggerb6cacc90/src/index.js start line: 33 end line: 53 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: query: print() file: amplify/backend/function/S3Triggerb6cacc90/src/index.js start line: 81 end line: 86 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: mutation CreateCachedCollectionList() file: amplify/backend/function/idvworkflowfn/src/graphqlhelpers.js start line: 59 end line: 72 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: mutation DeleteCachedCollectionList() file: amplify/backend/function/idvworkflowfn/src/graphqlhelpers.js start line: 76 end line: 89 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: detecttextinidcard() file: src/graphql/queries.ts start line: 43 end line: 47 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: deletecollection() file: src/graphql/mutations.ts start line: 17 end line: 21 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: mutation CreateUserInfo() file: src/graphql/mutations.ts start line: 84 end line: 101 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: mutation UpdateUserInfo() file: src/graphql/mutations.ts start line: 104 end line: 121 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: mutation DeleteUserInfo() file: src/graphql/mutations.ts start line: 124 end line: 141 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: mutation CreateConfigEntry() file: src/graphql/mutations.ts start line: 144 end line: 155 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: mutation UpdateConfigEntry() file: src/graphql/mutations.ts start line: 158 end line: 169 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: mutation DeleteConfigEntry() file: src/graphql/mutations.ts start line: 172 end line: 183 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: mutation CreateCachedCollectionList() file: src/graphql/mutations.ts start line: 186 end line: 199 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: mutation UpdateCachedCollectionList() file: src/graphql/mutations.ts start line: 202 end line: 215 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: mutation DeleteCachedCollectionList() file: src/graphql/mutations.ts start line: 218 end line: 231 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: faceImageDataBase64: getImageFromUploadComponent() file: components/register-new-user-with-idcard.tsx start line: 249 end line: 254 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: listcollections() file: src/graphql/queries.ts start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: idImageDataBase64: getImageFromUploadComponent() file: components/register-new-user-with-idcard.tsx start line: 250 end line: 254 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: constructor() file: components/sidebar.tsx start line: 15 end line: 18 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: describecollection: async() file: amplify/backend/function/idvworkflowfn/src/index.js start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: listcollections: async() file: amplify/backend/function/idvworkflowfn/src/index.js start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: loginuser: async() file: amplify/backend/function/idvworkflowfn/src/index.js start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: detecttextinidcard: async() file: amplify/backend/function/idvworkflowfn/src/index.js start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: createcollection: async() file: amplify/backend/function/idvworkflowfn/src/index.js start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: deletecollection: async() file: amplify/backend/function/idvworkflowfn/src/index.js start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: registernewuser: async() file: amplify/backend/function/idvworkflowfn/src/index.js start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: registernewuserwithidcard: async() file: amplify/backend/function/idvworkflowfn/src/index.js start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: updateexistinguserphoto: async() file: amplify/backend/function/idvworkflowfn/src/index.js start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: deleteuser: async() file: amplify/backend/function/idvworkflowfn/src/index.js start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: constructor() file: infra/lib/infra-stack.ts start line: 4 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 101 unit: export async function callGraphQL() file: common/common-types.ts start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: export async function callGraphQLSimpleQuery() file: common/common-types.ts start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: export async function callGraphQLWithSimpleInput() file: common/common-types.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: export async function callGraphQLWithSSR() file: common/common-types.ts start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 105 unit: export function getImageFromUploadComponent() file: common/image-capture-helpers.ts start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: constructor() file: components/sidebar-item.tsx start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: progressCallback() file: components/register-new-user-with-idcard.tsx start line: 234 end line: 236 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: progressCallback() file: components/register-new-user.tsx start line: 150 end line: 152 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: function handleLinkClick() file: pages/index.tsx start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 110 unit: query GetConfigEntry() file: amplify/backend/function/idvworkflowfn/src/graphqlhelpers.js start line: 12 end line: 20 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 111 unit: query Listcollections() file: src/graphql/queries.ts start line: 6 end line: 11 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: query Describecollection() file: src/graphql/queries.ts start line: 14 end line: 22 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: query Loginuser() file: src/graphql/queries.ts start line: 25 end line: 39 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: query Detecttextinidcard() file: src/graphql/queries.ts start line: 42 end line: 48 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: query GetUserInfo() file: src/graphql/queries.ts start line: 51 end line: 65 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 116 unit: query GetConfigEntry() file: src/graphql/queries.ts start line: 170 end line: 178 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 117 unit: mutation Createcollection() file: src/graphql/mutations.ts start line: 6 end line: 13 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: mutation Deletecollection() file: src/graphql/mutations.ts start line: 16 end line: 22 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: mutation Registernewuser() file: src/graphql/mutations.ts start line: 25 end line: 33 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: mutation Deleteuser() file: src/graphql/mutations.ts start line: 71 end line: 81 size: 2 LOC McCabe index: 1 number of parameters: 1