id: 1 unit: export async function getDocumentLedgerMetadata() file: src/GetMetadata.ts start line: 87 end line: 179 size: 72 LOC McCabe index: 8 number of parameters: 7 id: 2 unit: export async function getDocumentLedgerMetadataByDocIdAndTxId() file: src/GetMetadata.ts start line: 192 end line: 279 size: 66 LOC McCabe index: 8 number of parameters: 6 id: 3 unit: async getValues() file: src/QLDBKVS.ts start line: 300 end line: 371 size: 61 LOC McCabe index: 9 number of parameters: 2 id: 4 unit: export async function upsert() file: src/UpsertDocument.ts start line: 38 end line: 107 size: 57 LOC McCabe index: 10 number of parameters: 5 id: 5 unit: export async function verifyBlock() file: src/GetBlock.ts start line: 85 end line: 145 size: 54 LOC McCabe index: 6 number of parameters: 3 id: 6 unit: async setValues() file: src/QLDBKVS.ts start line: 414 end line: 477 size: 52 LOC McCabe index: 10 number of parameters: 3 id: 7 unit: constructor() file: src/QLDBKVS.ts start line: 59 end line: 119 size: 47 LOC McCabe index: 9 number of parameters: 3 id: 8 unit: export async function verifyDocumentMetadataWithLedgerData() file: src/VerifyLedgerMetadata.ts start line: 41 end line: 96 size: 46 LOC McCabe index: 3 number of parameters: 6 id: 9 unit: export async function verifyDocumentMetadataWithUserData() file: src/VerifyLedgerMetadata.ts start line: 106 end line: 161 size: 44 LOC McCabe index: 4 number of parameters: 3 id: 10 unit: async uploadAsFile() file: src/QLDBKVS.ts start line: 206 end line: 251 size: 40 LOC McCabe index: 5 number of parameters: 2 id: 11 unit: async downloadAsFile() file: src/QLDBKVS.ts start line: 151 end line: 196 size: 39 LOC McCabe index: 7 number of parameters: 2 id: 12 unit: export async function getDocumentHistory() file: src/GetDocumentHistory.ts start line: 73 end line: 111 size: 34 LOC McCabe index: 9 number of parameters: 6 id: 13 unit: export async function getDocumentIdsAndVersions() file: src/GetDocument.ts start line: 178 end line: 214 size: 33 LOC McCabe index: 3 number of parameters: 4 id: 14 unit: async getMetadata() file: src/QLDBKVS.ts start line: 485 end line: 519 size: 30 LOC McCabe index: 5 number of parameters: 1 id: 15 unit: async getHistory() file: src/QLDBKVS.ts start line: 566 end line: 601 size: 30 LOC McCabe index: 5 number of parameters: 3 id: 16 unit: export async function createTableWithIndex() file: src/QLDBHelper.ts start line: 47 end line: 81 size: 28 LOC McCabe index: 4 number of parameters: 3 id: 17 unit: async getValue() file: src/QLDBKVS.ts start line: 259 end line: 292 size: 27 LOC McCabe index: 4 number of parameters: 2 id: 18 unit: async getMetadataByDocIdAndTxId() file: src/QLDBKVS.ts start line: 527 end line: 557 size: 26 LOC McCabe index: 4 number of parameters: 2 id: 19 unit: export async function getByKeyAttributes() file: src/GetDocument.ts start line: 107 end line: 135 size: 24 LOC McCabe index: 5 number of parameters: 4 id: 20 unit: export async function getDocumentRevisionByIdAndBlock() file: src/GetDocumentHistory.ts start line: 34 end line: 60 size: 24 LOC McCabe index: 5 number of parameters: 4 id: 21 unit: export async function getByKeyAttribute() file: src/GetDocument.ts start line: 71 end line: 96 size: 23 LOC McCabe index: 4 number of parameters: 4 id: 22 unit: async getDocumentRevisionByLedgerMetadata() file: src/QLDBKVS.ts start line: 639 end line: 664 size: 23 LOC McCabe index: 2 number of parameters: 1 id: 23 unit: export async function getDocumentById() file: src/GetDocument.ts start line: 145 end line: 169 size: 22 LOC McCabe index: 3 number of parameters: 3 id: 24 unit: async setValue() file: src/QLDBKVS.ts start line: 380 end line: 405 size: 22 LOC McCabe index: 4 number of parameters: 3 id: 25 unit: async verifyLedgerMetadata() file: src/QLDBKVS.ts start line: 608 end line: 632 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 26 unit: export async function getRevision() file: src/GetRevision.ts start line: 36 end line: 55 size: 20 LOC McCabe index: 2 number of parameters: 5 id: 27 unit: export async function lookupBlockAddressAndDocIdForKey() file: src/GetMetadata.ts start line: 52 end line: 74 size: 20 LOC McCabe index: 3 number of parameters: 4 id: 28 unit: async function getBlockWithProof() file: src/GetBlock.ts start line: 57 end line: 75 size: 19 LOC McCabe index: 2 number of parameters: 4 id: 29 unit: function joinHashesPairwise() file: src/VerifyRevisionHash.ts start line: 17 end line: 34 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 30 unit: export function joinHashesPairwise() file: src/Verifier.ts start line: 113 end line: 130 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 31 unit: export async function getRevisionByDocIdAndTxId() file: src/GetRevision.ts start line: 65 end line: 82 size: 17 LOC McCabe index: 3 number of parameters: 4 id: 32 unit: export async function getRevisionMetadataByDocIdAndTxId() file: src/GetRevision.ts start line: 92 end line: 109 size: 17 LOC McCabe index: 3 number of parameters: 4 id: 33 unit: private async assureTableExists() file: src/QLDBKVS.ts start line: 127 end line: 142 size: 15 LOC McCabe index: 6 number of parameters: 1 id: 34 unit: function concatenate() file: src/VerifyRevisionHash.ts start line: 61 end line: 73 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 35 unit: function concatenate() file: src/Verifier.ts start line: 75 end line: 87 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 36 unit: async function getBlock() file: src/GetBlock.ts start line: 35 end line: 47 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 37 unit: export function blockAddressToValueHolder() file: src/BlockAddress.ts start line: 38 end line: 51 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 38 unit: function compareHashValues() file: src/VerifyRevisionHash.ts start line: 43 end line: 54 size: 12 LOC McCabe index: 5 number of parameters: 2 id: 39 unit: function compareHashValues() file: src/Verifier.ts start line: 57 end line: 68 size: 12 LOC McCabe index: 5 number of parameters: 2 id: 40 unit: export function validateRevisionHash() file: src/VerifyRevisionHash.ts start line: 85 end line: 97 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 41 unit: export function getBlockAddressValue() file: src/BlockAddress.ts start line: 92 end line: 102 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 42 unit: export async function listTables() file: src/QLDBHelper.ts start line: 29 end line: 39 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: function getBindParametersString() file: src/GetDocument.ts start line: 48 end line: 60 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 44 unit: export function flipRandomBit() file: src/Verifier.ts start line: 95 end line: 105 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 45 unit: function generateIonHash() file: src/VerifyRevisionHash.ts start line: 75 end line: 83 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 46 unit: function prepareGetDocumentResult() file: src/GetDocument.ts start line: 34 end line: 41 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: export function verifyDocumentMetadata() file: src/Verifier.ts start line: 162 end line: 168 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 48 unit: export function getMetadataId() file: src/BlockAddress.ts start line: 58 end line: 64 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: export function getSequenceNo() file: src/BlockAddress.ts start line: 71 end line: 77 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 50 unit: export function getStrandId() file: src/BlockAddress.ts start line: 84 end line: 90 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 51 unit: export async function getLedgerDigest() file: src/GetDigest.ts start line: 26 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 52 unit: function buildCandidateDigest() file: src/Verifier.ts start line: 33 end line: 37 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: export function parseBlock() file: src/Verifier.ts start line: 137 end line: 141 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: function parseProof() file: src/Verifier.ts start line: 150 end line: 153 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: constructor() file: src/BlockAddress.ts start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 56 unit: async getLedgerDigest() file: src/QLDBKVS.ts start line: 692 end line: 695 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 57 unit: function calculateRootHashFromInternalHash() file: src/Verifier.ts start line: 45 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 58 unit: export function createQldbDriver() file: src/ConnectToLedger.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0