id: 1 unit: export async function verifyBlock() file: src/GetBlock.ts start line: 91 end line: 146 size: 52 LOC McCabe index: 6 number of parameters: 3 id: 2 unit: export async function verifyRegistration() file: src/GetRevision.ts start line: 86 end line: 143 size: 51 LOC McCabe index: 4 number of parameters: 4 id: 3 unit: async function createExportRole() file: src/ExportJournal.ts start line: 174 end line: 220 size: 46 LOC McCabe index: 3 number of parameters: 4 id: 4 unit: export async function readExport() file: src/qldb/JournalS3ExportReader.ts start line: 126 end line: 176 size: 44 LOC McCabe index: 2 number of parameters: 2 id: 5 unit: async function createExport() file: src/ExportJournal.ts start line: 85 end line: 118 size: 34 LOC McCabe index: 3 number of parameters: 8 id: 6 unit: export async function createExportAndWaitForCompletion() file: src/ExportJournal.ts start line: 130 end line: 163 size: 33 LOC McCabe index: 4 number of parameters: 6 id: 7 unit: async function updateRecordAndVerifyType() file: src/InsertIonTypes.ts start line: 51 end line: 80 size: 25 LOC McCabe index: 3 number of parameters: 3 id: 8 unit: export async function isSecondaryOwnerForVehicle() file: src/AddSecondaryOwner.ts start line: 71 end line: 96 size: 22 LOC McCabe index: 4 number of parameters: 3 id: 9 unit: export async function waitForDeleted() file: src/DeleteLedger.ts start line: 51 end line: 70 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 10 unit: async function waitForExportToComplete() file: src/ExportJournal.ts start line: 284 end line: 303 size: 20 LOC McCabe index: 6 number of parameters: 3 id: 11 unit: async function getBlockWithProof() file: src/GetBlock.ts start line: 63 end line: 81 size: 19 LOC McCabe index: 2 number of parameters: 4 id: 12 unit: export async function getDocumentId() file: src/qldb/Util.ts start line: 84 end line: 103 size: 19 LOC McCabe index: 2 number of parameters: 4 id: 13 unit: export function joinHashesPairwise() file: src/qldb/Verifier.ts start line: 114 end line: 131 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 14 unit: async function listJournalExports() file: src/ListJournalExports.ts start line: 56 end line: 75 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 15 unit: async function createJournalExport() file: src/ValidateQldbHashchain.ts start line: 64 end line: 83 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: export async function findPrimaryOwnerForVehicle() file: src/TransferVehicleOwnership.ts start line: 54 end line: 71 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 17 unit: export async function validateAndUpdateRegistration() file: src/TransferVehicleOwnership.ts start line: 100 end line: 116 size: 17 LOC McCabe index: 3 number of parameters: 4 id: 18 unit: export function fromIon() file: src/qldb/JournalBlock.ts start line: 76 end line: 93 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 19 unit: async function getRevision() file: src/GetRevision.ts start line: 43 end line: 58 size: 16 LOC McCabe index: 1 number of parameters: 5 id: 20 unit: async function getPersonIdFromLicenseNumber() file: src/RenewDriversLicense.ts start line: 33 end line: 50 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 21 unit: export async function addSecondaryOwner() file: src/AddSecondaryOwner.ts start line: 36 end line: 51 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 22 unit: async function previousPrimaryOwners() file: src/QueryHistory.ts start line: 35 end line: 51 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 23 unit: export async function createS3BucketIfNotExists() file: src/ExportJournal.ts start line: 228 end line: 242 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 24 unit: export async function waitForActive() file: src/CreateLedger.ts start line: 57 end line: 71 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 25 unit: export function blockResponseToString() file: src/qldb/Util.ts start line: 41 end line: 54 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 26 unit: export function digestResponseToString() file: src/qldb/Util.ts start line: 61 end line: 74 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 27 unit: export async function describeJournalExport() file: src/DescribeJournalExport.ts start line: 35 end line: 48 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 28 unit: async function listAllJournalExports() file: src/ListJournalExports.ts start line: 37 end line: 50 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 29 unit: export async function renewDriversLicense() file: src/RenewDriversLicense.ts start line: 60 end line: 74 size: 14 LOC McCabe index: 1 number of parameters: 4 id: 30 unit: async function getBlock() file: src/GetBlock.ts start line: 41 end line: 53 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 31 unit: function concatenate() file: src/qldb/Verifier.ts start line: 76 end line: 88 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 32 unit: async function updateAndInsertDocuments() file: src/InsertDocument.ts start line: 54 end line: 68 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 33 unit: function compareJournalBlocks() file: src/ValidateQldbHashchain.ts start line: 45 end line: 57 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 34 unit: export async function listLedgers() file: src/ListLedgers.ts start line: 29 end line: 41 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 35 unit: export async function setDeletionProtection() file: src/DeletionProtection.ts start line: 58 end line: 70 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 36 unit: function compareHashValues() file: src/qldb/Verifier.ts start line: 58 end line: 69 size: 12 LOC McCabe index: 5 number of parameters: 2 id: 37 unit: function compareKeyWithContentRange() file: src/qldb/JournalS3ExportReader.ts start line: 41 end line: 53 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 38 unit: async function doesBucketExist() file: src/ExportJournal.ts start line: 250 end line: 261 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 39 unit: export async function findPersonFromDocumentId() file: src/TransferVehicleOwnership.ts start line: 34 end line: 46 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 40 unit: async function verifyDriverFromLicenseNumber() file: src/RenewDriversLicense.ts start line: 82 end line: 94 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 41 unit: async function createWithTags() file: src/TagResources.ts start line: 49 end line: 59 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 42 unit: export function getBlockAddressValue() file: src/qldb/BlockAddress.ts start line: 86 end line: 96 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 43 unit: async function personAlreadyExists() file: src/RegisterDriversLicense.ts start line: 34 end line: 45 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 44 unit: export async function createIndex() file: src/CreateIndex.ts start line: 42 end line: 52 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 45 unit: export async function deregisterDriversLicense() file: src/DeregisterDriversLicense.ts start line: 32 end line: 43 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 46 unit: async function updateVehicleRegistration() file: src/TransferVehicleOwnership.ts start line: 80 end line: 91 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 47 unit: export function flipRandomBit() file: src/qldb/Verifier.ts start line: 96 end line: 106 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: async function registerNewDriversLicense() file: src/RegisterDriversLicense.ts start line: 88 end line: 97 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 49 unit: async function findVehiclesForOwner() file: src/FindVehicles.ts start line: 35 end line: 45 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 50 unit: async function createWithDeletionProtection() file: src/DeletionProtection.ts start line: 40 end line: 49 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 51 unit: export async function createLedger() file: src/CreateLedger.ts start line: 40 end line: 49 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 52 unit: export async function listTags() file: src/TagResources.ts start line: 67 end line: 75 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 53 unit: export async function tagResource() file: src/TagResources.ts start line: 84 end line: 92 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 54 unit: export async function untagResource() file: src/TagResources.ts start line: 101 end line: 109 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 55 unit: function getDataFileKeysFromManifest() file: src/qldb/JournalS3ExportReader.ts start line: 98 end line: 106 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: function _prepend() file: src/qldb/LogUtil.ts start line: 51 end line: 59 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 57 unit: export async function insertDocument() file: src/InsertDocument.ts start line: 39 end line: 47 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 58 unit: export async function lookupRegistrationForVin() file: src/GetRevision.ts start line: 66 end line: 75 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 59 unit: export function blockAddressToValueHolder() file: src/qldb/BlockAddress.ts start line: 38 end line: 45 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: export async function describeLedger() file: src/DescribeLedger.ts start line: 31 end line: 38 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 61 unit: export async function deleteLedger() file: src/DeleteLedger.ts start line: 36 end line: 43 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 62 unit: function filterForCompletedManifest() file: src/qldb/JournalS3ExportReader.ts start line: 61 end line: 67 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 63 unit: function filterForInitialManifest() file: src/qldb/JournalS3ExportReader.ts start line: 76 end line: 82 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 64 unit: export function getMetadataId() file: src/qldb/BlockAddress.ts start line: 52 end line: 58 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 65 unit: export function getSequenceNo() file: src/qldb/BlockAddress.ts start line: 65 end line: 71 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: export function getStrandId() file: src/qldb/BlockAddress.ts start line: 78 end line: 84 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 67 unit: export function getBlobValue() file: src/qldb/Util.ts start line: 121 end line: 127 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 68 unit: export function valueHolderToString() file: src/qldb/Util.ts start line: 134 end line: 140 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: export function updatePersonId() file: src/InsertDocument.ts start line: 74 end line: 80 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: export async function createTable() file: src/CreateTable.ts start line: 36 end line: 42 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 71 unit: export async function scanTableForDocuments() file: src/ScanTable.ts start line: 39 end line: 45 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 72 unit: export function setUpS3EncryptionConfiguration() file: src/ExportJournal.ts start line: 268 end line: 274 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: export async function getDigestResult() file: src/GetDigest.ts start line: 32 end line: 38 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 74 unit: function verify() file: src/ValidateQldbHashchain.ts start line: 90 end line: 95 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: export async function deleteTable() file: src/InsertIonTypes.ts start line: 36 end line: 41 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 76 unit: function buildCandidateDigest() file: src/qldb/Verifier.ts start line: 34 end line: 38 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 77 unit: export function parseBlock() file: src/qldb/Verifier.ts start line: 138 end line: 142 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: function getJournalBlocks() file: src/qldb/JournalS3ExportReader.ts start line: 114 end line: 118 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: export function error() file: src/qldb/LogUtil.ts start line: 22 end line: 26 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: export function log() file: src/qldb/LogUtil.ts start line: 32 end line: 36 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 81 unit: export async function lookUpDriversLicenseForPerson() file: src/RegisterDriversLicense.ts start line: 53 end line: 57 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 82 unit: await deleteLedger() file: src/DeletionProtection.ts start line: 81 end line: 85 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 83 unit: function calculateRootHashFromInternalHash() file: src/qldb/Verifier.ts start line: 46 end line: 49 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 84 unit: function parseProof() file: src/qldb/Verifier.ts start line: 151 end line: 154 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: export function verifyDocument() file: src/qldb/Verifier.ts start line: 163 end line: 166 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 86 unit: constructor() file: src/qldb/BlockAddress.ts start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 87 unit: async function personHasDriversLicense() file: src/RegisterDriversLicense.ts start line: 65 end line: 68 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 88 unit: async function registerNewDriver() file: src/RegisterDriversLicense.ts start line: 76 end line: 79 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 89 unit: export async function getDocumentIdByGovId() file: src/AddSecondaryOwner.ts start line: 59 end line: 62 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 90 unit: export function sleep() file: src/qldb/Util.ts start line: 110 end line: 112 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: export function isLoggerSet() file: src/qldb/LogUtil.ts start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 92 unit: export function createQldbDriver() file: src/ConnectToLedger.ts start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 93 unit: export function getQldbDriver() file: src/ConnectToLedger.ts start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 94 unit: export function prettyPrintResultList() file: src/ScanTable.ts start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 1