id: 1 unit: function createResponseStream() file: src/ResponseStream.js start line: 123 end line: 285 size: 83 LOC McCabe index: 7 number of parameters: 1 id: 2 unit: function writableStreamOnly() file: src/ResponseStream.js start line: 36 end line: 117 size: 62 LOC McCabe index: 1 number of parameters: 1 id: 3 unit: function _patchConsoleWith() file: src/LogPatch.js start line: 150 end line: 202 size: 52 LOC McCabe index: 6 number of parameters: 1 id: 4 unit: async handleOnceStreaming() file: src/Runtime.js start line: 93 end line: 157 size: 51 LOC McCabe index: 7 number of parameters: 0 id: 5 unit: function _rawCallbackContext() file: src/CallbackContext.js start line: 21 end line: 96 size: 45 LOC McCabe index: 6 number of parameters: 3 id: 6 unit: module.exports.build = function() file: src/StreamingContext.js start line: 28 end line: 83 size: 43 LOC McCabe index: 3 number of parameters: 4 id: 7 unit: constructor() file: src/XRayError.js start line: 48 end line: 93 size: 39 LOC McCabe index: 7 number of parameters: 1 id: 8 unit: async function _tryRequire() file: src/UserFunction.js start line: 138 end line: 194 size: 39 LOC McCabe index: 8 number of parameters: 3 id: 9 unit: void OnOK() file: src/rapid-client.cc start line: 52 end line: 91 size: 35 LOC McCabe index: 3 number of parameters: 0 id: 10 unit: async nextInvocation() file: src/RAPIDClient.js start line: 124 end line: 157 size: 33 LOC McCabe index: 2 number of parameters: 0 id: 11 unit: _post() file: src/RAPIDClient.js start line: 169 end line: 200 size: 32 LOC McCabe index: 2 number of parameters: 4 id: 12 unit: function _hasFolderPackageJsonTypeModule() file: src/UserFunction.js start line: 87 end line: 123 size: 30 LOC McCabe index: 8 number of parameters: 1 id: 13 unit: req.write = function() file: src/ResponseStream.js start line: 224 end line: 259 size: 29 LOC McCabe index: 7 number of parameters: 3 id: 14 unit: function formatJsonMessage() file: src/LogPatch.js start line: 31 end line: 59 size: 27 LOC McCabe index: 6 number of parameters: 4 id: 15 unit: async handleOnceNonStreaming() file: src/Runtime.js start line: 59 end line: 88 size: 26 LOC McCabe index: 3 number of parameters: 0 id: 16 unit: async function _loadUserApp() file: src/UserFunction.js start line: 202 end line: 228 size: 26 LOC McCabe index: 7 number of parameters: 3 id: 17 unit: getStreamForInvocationResponse() file: src/RAPIDClient.js start line: 60 end line: 84 size: 24 LOC McCabe index: 2 number of parameters: 3 id: 18 unit: function toRapidResponse() file: src/Errors.js start line: 37 end line: 59 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 19 unit: let logJsonToFd = function() file: src/LogPatch.js start line: 122 end line: 143 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 20 unit: let logTextToFd = function() file: src/LogPatch.js start line: 102 end line: 120 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 21 unit: function _withEnumerableProperties() file: src/Errors.js start line: 83 end line: 100 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 22 unit: Napi::Value Error() file: src/rapid-client.cc start line: 129 end line: 146 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 23 unit: Napi::Value Done() file: src/rapid-client.cc start line: 111 end line: 127 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 24 unit: function _isHandlerStreaming() file: src/UserFunction.js start line: 238 end line: 254 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 25 unit: const callback = function() file: src/CallbackContext.js start line: 41 end line: 56 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 26 unit: constructor() file: src/RAPIDClient.js start line: 20 end line: 34 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 27 unit: clientContext: _parseJson() file: src/InvokeContext.js start line: 84 end line: 96 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 28 unit: scheduleIteration() file: src/Runtime.js start line: 33 end line: 54 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 29 unit: _setErrorCallbacks() file: src/Runtime.js start line: 163 end line: 174 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 30 unit: function _highWaterMark() file: src/UserFunction.js start line: 256 end line: 267 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 31 unit: function _isError() file: src/Errors.js start line: 11 end line: 21 size: 11 LOC McCabe index: 7 number of parameters: 1 id: 32 unit: function _parseJson() file: src/InvokeContext.js start line: 119 end line: 129 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 33 unit: addFailWeakProp() file: src/ResponseStream.js start line: 264 end line: 278 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 34 unit: constructor() file: src/Runtime.js start line: 18 end line: 27 size: 10 LOC McCabe index: 2 number of parameters: 4 id: 35 unit: void Execute() file: src/rapid-client.cc start line: 35 end line: 46 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 36 unit: postInitError() file: src/RAPIDClient.js start line: 92 end line: 100 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 37 unit: static from() file: src/HttpResponseStream.js start line: 16 end line: 30 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 38 unit: _environmentalData() file: src/InvokeContext.js start line: 67 end line: 75 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 39 unit: identity: _parseJson() file: src/InvokeContext.js start line: 88 end line: 96 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 40 unit: verbose: function() file: src/VerboseLog.js start line: 24 end line: 31 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 41 unit: vverbose: function() file: src/VerboseLog.js start line: 32 end line: 39 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 42 unit: vvverbose: function() file: src/VerboseLog.js start line: 40 end line: 47 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 43 unit: _setDefaultExitListener() file: src/Runtime.js start line: 181 end line: 188 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 44 unit: function _moduleRootAndHandler() file: src/UserFunction.js start line: 40 end line: 47 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: async function _tryAwaitImport() file: src/UserFunction.js start line: 76 end line: 85 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 46 unit: const onlyAllowFirstCall = function() file: src/CallbackContext.js start line: 112 end line: 119 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 47 unit: attachEnvironmentData() file: src/InvokeContext.js start line: 54 end line: 61 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: function tryCallFail() file: src/ResponseStream.js start line: 27 end line: 34 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 49 unit: postInvocationError() file: src/RAPIDClient.js start line: 110 end line: 116 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 50 unit: function _trySerializeResponse() file: src/RAPIDClient.js start line: 207 end line: 213 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 51 unit: function _splitHandlerString() file: src/UserFunction.js start line: 53 end line: 59 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 52 unit: function _throwIfInvalidHandler() file: src/UserFunction.js start line: 230 end line: 236 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 53 unit: function _wrappedCallbackContext() file: src/CallbackContext.js start line: 110 end line: 126 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 54 unit: function intoError() file: src/Errors.js start line: 23 end line: 29 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 55 unit: _forwardXRay() file: src/InvokeContext.js start line: 103 end line: 109 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 56 unit: Napi::Value Next() file: src/rapid-client.cc start line: 103 end line: 109 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: Napi::Object Init() file: src/rapid-client.cc start line: 148 end line: 154 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 58 unit: function _hasPackageJsonTypeModule() file: src/UserFunction.js start line: 125 end line: 131 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 59 unit: module.exports.getHandlerMetadata = function() file: src/UserFunction.js start line: 314 end line: 319 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: function _enforceLowercaseKeys() file: src/InvokeContext.js start line: 134 end line: 139 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: req.setContentType = function() file: src/ResponseStream.js start line: 216 end line: 221 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: postInvocationResponse() file: src/RAPIDClient.js start line: 45 end line: 49 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 63 unit: _setStreamingExitListener() file: src/Runtime.js start line: 195 end line: 199 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: function _resolveHandler() file: src/UserFunction.js start line: 64 end line: 68 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 65 unit: function _tryRequireFile() file: src/UserFunction.js start line: 70 end line: 74 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 66 unit: constructor() file: src/Errors.js start line: 110 end line: 114 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 67 unit: get invokeId() file: src/InvokeContext.js start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 68 unit: exports.logger = function() file: src/VerboseLog.js start line: 22 end line: 49 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: module.exports.build = function() file: src/CallbackContext.js start line: 143 end line: 146 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 70 unit: function _isPromise() file: src/Runtime.js start line: 202 end line: 204 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 71 unit: module.exports.isHandlerFunction = function() file: src/UserFunction.js start line: 310 end line: 312 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: get callbackWaitsForEmptyEventLoop() file: src/CallbackContext.js start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: set callbackWaitsForEmptyEventLoop() file: src/CallbackContext.js start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: function() file: src/CallbackContext.js start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: get callbackWaitsForEmptyEventLoop() file: src/StreamingContext.js start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: set callbackWaitsForEmptyEventLoop() file: src/StreamingContext.js start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: constructor() file: src/InvokeContext.js start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: updateLoggingContext() file: src/InvokeContext.js start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 79 unit: getRemainingTimeInMillis: function() file: src/InvokeContext.js start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: Napi::Value Promise() file: src/rapid-client.cc start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: void OnError() file: src/rapid-client.cc start line: 93 end line: 95 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: function addFailWeakProp() file: src/ResponseStream.js start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 83 unit: get() file: src/ResponseStream.js start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 84 unit: set() file: src/ResponseStream.js start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: get() file: src/ResponseStream.js start line: 108 end line: 110 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 86 unit: req.end = function() file: src/ResponseStream.js start line: 212 end line: 214 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: _headerData() file: src/InvokeContext.js start line: 81 end line: 98 size: 2 LOC McCabe index: 1 number of parameters: 0