id: 1 unit: private async _startSubscriptionWithAWSAppSyncRealTime() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 225 end line: 343 size: 101 LOC McCabe index: 5 number of parameters: 3 id: 2 unit: private async _initializeHandshake() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 541 end line: 645 size: 81 LOC McCabe index: 6 number of parameters: 1 id: 3 unit: private _handleIncomingSubscriptionMessage() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 647 end line: 736 size: 81 LOC McCabe index: 15 number of parameters: 1 id: 4 unit: request() file: packages/aws-appsync-subscription-link/src/subscription-handshake-link.ts start line: 53 end line: 133 size: 69 LOC McCabe index: 6 number of parameters: 1 id: 5 unit: request() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 76 end line: 150 size: 59 LOC McCabe index: 9 number of parameters: 1 id: 6 unit: private _initializeWebSocketConnection() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 345 end line: 408 size: 58 LOC McCabe index: 6 number of parameters: 6 id: 7 unit: function createSubscriptionHandshakeLink() file: packages/aws-appsync-subscription-link/src/index.ts start line: 16 end line: 75 size: 54 LOC McCabe index: 6 number of parameters: 2 id: 8 unit: function createSubscriptionHandshakeLink() file: packages/aws-appsync-subscription-link/src/index.ts start line: 20 end line: 75 size: 50 LOC McCabe index: 6 number of parameters: 2 id: 9 unit: function createSubscriptionHandshakeLink() file: packages/aws-appsync-subscription-link/src/index.ts start line: 24 end line: 75 size: 46 LOC McCabe index: 6 number of parameters: 2 id: 10 unit: var sign = function() file: packages/aws-appsync-auth-link/src/signer/signer.ts start line: 225 end line: 277 size: 41 LOC McCabe index: 4 number of parameters: 3 id: 11 unit: private async _awsRealTimeHeaderBasedAuth() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 410 end line: 454 size: 40 LOC McCabe index: 2 number of parameters: 9 id: 12 unit: private async _awsRealTimeIAMHeader() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 487 end line: 532 size: 40 LOC McCabe index: 6 number of parameters: 5 id: 13 unit: async connectNewClient() file: packages/aws-appsync-subscription-link/src/subscription-handshake-link.ts start line: 159 end line: 190 size: 26 LOC McCabe index: 3 number of parameters: 3 id: 14 unit: private _timeoutStartSubscriptionAck() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 755 end line: 784 size: 26 LOC McCabe index: 5 number of parameters: 1 id: 15 unit: export async function retry() file: packages/aws-appsync-subscription-link/src/utils/retry.ts start line: 28 end line: 53 size: 25 LOC McCabe index: 5 number of parameters: 4 id: 16 unit: private async _verifySubscriptionAlreadyStarted() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 152 end line: 175 size: 23 LOC McCabe index: 2 number of parameters: 1 id: 17 unit: async connectNewClients() file: packages/aws-appsync-subscription-link/src/subscription-handshake-link.ts start line: 135 end line: 157 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 18 unit: private _sendUnsubscriptionMessage() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 177 end line: 198 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 19 unit: subscribeToTopic() file: packages/aws-appsync-subscription-link/src/subscription-handshake-link.ts start line: 196 end line: 215 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 20 unit: var canonical_headers = function() file: packages/aws-appsync-auth-link/src/signer/signer.ts start line: 43 end line: 60 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 21 unit: private _closeSocketWhenFlushed() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 208 end line: 223 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 22 unit: private _errorDisconnect() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 738 end line: 753 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 23 unit: private async _awsRealTimeAuthorizationHeader() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 456 end line: 469 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 24 unit: private async _awsRealTimeApiKeyHeader() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 471 end line: 485 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 25 unit: var parse_service_info = function() file: packages/aws-appsync-auth-link/src/signer/signer.ts start line: 101 end line: 116 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 26 unit: var canonical_request = function() file: packages/aws-appsync-auth-link/src/signer/signer.ts start line: 88 end line: 99 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: query: print() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 108 end line: 118 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 28 unit: function checkAckOk() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 621 end line: 629 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 29 unit: var encrypt = function() file: packages/aws-appsync-auth-link/src/signer/signer.ts start line: 15 end line: 23 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 30 unit: function jitteredBackoff() file: packages/aws-appsync-subscription-link/src/utils/retry.ts start line: 55 end line: 63 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 31 unit: var credential_scope = function() file: packages/aws-appsync-auth-link/src/signer/signer.ts start line: 118 end line: 125 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 32 unit: var string_to_sign = function() file: packages/aws-appsync-auth-link/src/signer/signer.ts start line: 140 end line: 147 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 33 unit: var get_signing_key = function() file: packages/aws-appsync-auth-link/src/signer/signer.ts start line: 162 end line: 170 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 34 unit: private static _discoverAppSyncRealTimeEndpoint() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 790 end line: 796 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: var get_authorization_header = function() file: packages/aws-appsync-auth-link/src/signer/signer.ts start line: 181 end line: 187 size: 7 LOC McCabe index: 1 number of parameters: 5 id: 36 unit: constructor() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 69 end line: 74 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 37 unit: private _removeSubscriptionObserver() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 200 end line: 206 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 38 unit: const extend = function() file: packages/aws-appsync-subscription-link/src/utils/logger.ts start line: 9 end line: 16 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: var hash = function() file: packages/aws-appsync-auth-link/src/signer/signer.ts start line: 25 end line: 30 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 40 unit: var signed_headers = function() file: packages/aws-appsync-auth-link/src/signer/signer.ts start line: 66 end line: 71 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 41 unit: constructor() file: packages/aws-appsync-subscription-link/src/non-terminating-link.ts start line: 15 end line: 20 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 42 unit: constructor() file: packages/aws-appsync-subscription-link/src/subscription-handshake-link.ts start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: constructor() file: packages/aws-appsync-subscription-link/src/non-terminating-http-link.ts start line: 9 end line: 13 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 44 unit: private async _initializeRetryableHandshake() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 534 end line: 539 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: constructor() file: packages/aws-appsync-auth-link/src/auth-link.ts start line: 37 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: variables: removeTemporaryVariables() file: packages/aws-appsync-auth-link/src/auth-link.ts start line: 189 end line: 193 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: subscribeToTopics() file: packages/aws-appsync-subscription-link/src/subscription-handshake-link.ts start line: 192 end line: 194 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 48 unit: static createWebSocket() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 786 end line: 788 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 49 unit: constructor() file: packages/aws-appsync-subscription-link/src/utils/retry.ts start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: var get_signature = function() file: packages/aws-appsync-auth-link/src/signer/signer.ts start line: 172 end line: 174 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 51 unit: request() file: packages/aws-appsync-auth-link/src/auth-link.ts start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 52 unit: query: print() file: packages/aws-appsync-auth-link/src/auth-link.ts start line: 190 end line: 193 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: await jitteredExponentialRetry() file: packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts start line: 536 end line: 537 size: 2 LOC McCabe index: 1 number of parameters: 1