id: 1 unit: function _rawCallbackContext() file: src/Runtime/CallbackContext.ts start line: 60 end line: 129 size: 56 LOC McCabe index: 8 number of parameters: 3 id: 2 unit: Napi::Value Next() file: src/RuntimeClient/runtime-client.cc start line: 45 end line: 97 size: 46 LOC McCabe index: 5 number of parameters: 1 id: 3 unit: constructor() file: src/Errors/XRayError.ts start line: 67 end line: 114 size: 39 LOC McCabe index: 7 number of parameters: 1 id: 4 unit: export function run() file: src/index.ts start line: 24 end line: 65 size: 36 LOC McCabe index: 3 number of parameters: 2 id: 5 unit: async nextInvocation() file: src/RuntimeClient/RuntimeClient.ts start line: 149 end line: 185 size: 36 LOC McCabe index: 2 number of parameters: 0 id: 6 unit: export function toRuntimeResponse() file: src/Errors/index.ts start line: 35 end line: 61 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 7 unit: async handleOnce() file: src/Runtime/Runtime.ts start line: 62 end line: 91 size: 26 LOC McCabe index: 3 number of parameters: 0 id: 8 unit: function _patchConsoleWith() file: src/utils/LogPatch.ts start line: 68 end line: 90 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 9 unit: Napi::Value Error() file: src/RuntimeClient/runtime-client.cc start line: 121 end line: 142 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 10 unit: Napi::Value Done() file: src/RuntimeClient/runtime-client.cc start line: 99 end line: 119 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 11 unit: export const load = function() file: src/utils/UserFunction.ts start line: 140 end line: 165 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 12 unit: function _withEnumerableProperties() file: src/Errors/index.ts start line: 83 end line: 101 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 13 unit: Napi::Value InitializeClient() file: src/RuntimeClient/runtime-client.cc start line: 25 end line: 43 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 14 unit: function _loadUserApp() file: src/utils/UserFunction.ts start line: 95 end line: 111 size: 17 LOC McCabe index: 5 number of parameters: 3 id: 15 unit: const _logToFd = function() file: src/utils/LogPatch.ts start line: 48 end line: 62 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: private getHeaderValue() file: src/Runtime/InvokeContext.ts start line: 30 end line: 45 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 17 unit: clientContext: _parseJson() file: src/Runtime/InvokeContext.ts start line: 114 end line: 126 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 18 unit: private _setErrorCallbacks() file: src/Runtime/Runtime.ts start line: 97 end line: 108 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 19 unit: export function isError() file: src/Errors/index.ts start line: 13 end line: 23 size: 11 LOC McCabe index: 7 number of parameters: 1 id: 20 unit: function _tryRequire() file: src/utils/UserFunction.ts start line: 75 end line: 87 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 21 unit: function _parseJson() file: src/Runtime/InvokeContext.ts start line: 151 end line: 161 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 22 unit: function _wrappedCallbackContext() file: src/Runtime/CallbackContext.ts start line: 143 end line: 164 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 23 unit: private _environmentalData() file: src/Runtime/InvokeContext.ts start line: 95 end line: 103 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 24 unit: identity: _parseJson() file: src/Runtime/InvokeContext.ts start line: 118 end line: 126 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 25 unit: private _forwardXRay() file: src/Runtime/InvokeContext.ts start line: 133 end line: 141 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 26 unit: Napi::Object Init() file: src/RuntimeClient/runtime-client.cc start line: 144 end line: 151 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 27 unit: function _moduleRootAndHandler() file: src/utils/UserFunction.ts start line: 30 end line: 37 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 28 unit: export const build = function() file: src/Runtime/CallbackContext.ts start line: 32 end line: 39 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 29 unit: const onlyAllowFirstCall = function() file: src/Runtime/CallbackContext.ts start line: 149 end line: 157 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 30 unit: function _enforceLowercaseKeys() file: src/Runtime/InvokeContext.ts start line: 166 end line: 173 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 31 unit: function _trySerializeResponse() file: src/RuntimeClient/RuntimeClient.ts start line: 241 end line: 247 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 32 unit: function _splitHandlerString() file: src/utils/UserFunction.ts start line: 43 end line: 49 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 33 unit: function _throwIfInvalidHandler() file: src/utils/UserFunction.ts start line: 113 end line: 119 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 34 unit: function _homogeneousError() file: src/Runtime/CallbackContext.ts start line: 41 end line: 47 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 35 unit: private _setDefaultExitListener() file: src/Runtime/Runtime.ts start line: 115 end line: 121 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 36 unit: constructor() file: src/Errors/index.ts start line: 120 end line: 124 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 37 unit: function _resolveHandler() file: src/utils/UserFunction.ts start line: 54 end line: 58 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 38 unit: get invokeId() file: src/Runtime/InvokeContext.ts start line: 50 end line: 54 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 39 unit: constructor() file: src/Errors/index.ts start line: 109 end line: 112 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 40 unit: function userAgent() file: src/RuntimeClient/RuntimeClient.ts start line: 49 end line: 54 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 41 unit: private _headerData() file: src/Runtime/InvokeContext.ts start line: 109 end line: 128 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 42 unit: function _canLoadAsFile() file: src/utils/UserFunction.ts start line: 66 end line: 68 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: get callbackWaitsForEmptyEventLoop() file: src/Runtime/CallbackContext.ts start line: 117 end line: 119 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 44 unit: set callbackWaitsForEmptyEventLoop() file: src/Runtime/CallbackContext.ts start line: 120 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: function _isPromise() file: src/Runtime/Runtime.ts start line: 124 end line: 126 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: constructor() file: src/Runtime/InvokeContext.ts start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: get headerData() file: src/Runtime/InvokeContext.ts start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: getRemainingTimeInMillis: function() file: src/Runtime/InvokeContext.ts start line: 124 end line: 126 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 49 unit: constructor() file: src/Runtime/BeforeExitListener.ts start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 50 unit: export function isHandlerFunction() file: src/Common/index.ts start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 1