id: 1 unit: async runWithInputs() file: src/nodes/server/chat-completion.ts start line: 38 end line: 148 size: 93 LOC McCabe index: 18 number of parameters: 1 id: 2 unit: async runWithInputs() file: src/nodes/server/image-classification.ts start line: 34 end line: 112 size: 71 LOC McCabe index: 9 number of parameters: 2 id: 3 unit: async runWithInputs() file: src/nodes/server/text-to-image.ts start line: 34 end line: 111 size: 70 LOC McCabe index: 8 number of parameters: 1 id: 4 unit: async runWithInputs() file: src/nodes/shared/chat-template-generator.ts start line: 44 end line: 121 size: 70 LOC McCabe index: 12 number of parameters: 1 id: 5 unit: async runWithInputs() file: src/nodes/shared/image-segmentation-viewer.ts start line: 256 end line: 324 size: 65 LOC McCabe index: 9 number of parameters: 2 id: 6 unit: async runWithInputs() file: src/nodes/shared/depth-estimation-viewer.ts start line: 142 end line: 217 size: 65 LOC McCabe index: 11 number of parameters: 2 id: 7 unit: async runWithInputs() file: src/nodes/server/token-classification.ts start line: 26 end line: 96 size: 64 LOC McCabe index: 8 number of parameters: 1 id: 8 unit: async runWithInputs() file: src/nodes/server/text-generation.ts start line: 32 end line: 98 size: 60 LOC McCabe index: 8 number of parameters: 1 id: 9 unit: async runWithInputs() file: src/nodes/client/background-removal.ts start line: 85 end line: 159 size: 50 LOC McCabe index: 5 number of parameters: 2 id: 10 unit: async runWithInputs() file: src/nodes/server/fill-mask.ts start line: 29 end line: 84 size: 49 LOC McCabe index: 8 number of parameters: 1 id: 11 unit: async runWithInputs() file: src/nodes/server/text-classification.ts start line: 29 end line: 84 size: 49 LOC McCabe index: 8 number of parameters: 1 id: 12 unit: async runWithInputs() file: src/nodes/client/object-detection.ts start line: 40 end line: 99 size: 48 LOC McCabe index: 5 number of parameters: 2 id: 13 unit: async runWithInputs() file: src/nodes/client/token-classification.ts start line: 92 end line: 143 size: 47 LOC McCabe index: 5 number of parameters: 1 id: 14 unit: async runWithInputs() file: src/nodes/client/translation.ts start line: 41 end line: 95 size: 47 LOC McCabe index: 5 number of parameters: 1 id: 15 unit: async runWithInputs() file: src/nodes/server/summarization.ts start line: 29 end line: 81 size: 47 LOC McCabe index: 8 number of parameters: 1 id: 16 unit: async runWithInputs() file: src/nodes/client/image-classification.ts start line: 38 end line: 88 size: 42 LOC McCabe index: 5 number of parameters: 2 id: 17 unit: async runWithInputs() file: src/nodes/client/text-to-text.ts start line: 34 end line: 78 size: 40 LOC McCabe index: 5 number of parameters: 1 id: 18 unit: async runWithInputs() file: src/nodes/client/text-classification.ts start line: 36 end line: 83 size: 40 LOC McCabe index: 5 number of parameters: 1 id: 19 unit: static async getInstance() file: src/backends/client/base.ts start line: 30 end line: 68 size: 37 LOC McCabe index: 5 number of parameters: 4 id: 20 unit: static async getInstance() file: src/nodes/client/background-removal.ts start line: 34 end line: 73 size: 37 LOC McCabe index: 4 number of parameters: 4 id: 21 unit: async runWithInputs() file: src/nodes/client/depth-estimation.ts start line: 44 end line: 89 size: 34 LOC McCabe index: 5 number of parameters: 2 id: 22 unit: onPointerDown() file: src/nodes/shared/image-segmentation-viewer.ts start line: 89 end line: 132 size: 34 LOC McCabe index: 6 number of parameters: 1 id: 23 unit: onPointerMove() file: src/nodes/shared/image-segmentation-viewer.ts start line: 162 end line: 202 size: 32 LOC McCabe index: 6 number of parameters: 1 id: 24 unit: async runWithInputs() file: src/nodes/client/image-segmentation.ts start line: 46 end line: 85 size: 30 LOC McCabe index: 4 number of parameters: 2 id: 25 unit: async runWithInputs() file: src/nodes/server/hf-hub-login.ts start line: 137 end line: 162 size: 26 LOC McCabe index: 5 number of parameters: 1 id: 26 unit: processTokens() file: src/nodes/shared/token-classification-viewer.ts start line: 68 end line: 93 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 27 unit: render() file: src/nodes/server/hf-hub-login.ts start line: 59 end line: 81 size: 22 LOC McCabe index: 6 number of parameters: 0 id: 28 unit: cutImage() file: src/nodes/shared/image-segmentation-viewer.ts start line: 134 end line: 160 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 29 unit: async _handleOAuthFlow() file: src/nodes/server/hf-hub-login.ts start line: 98 end line: 120 size: 21 LOC McCabe index: 6 number of parameters: 0 id: 30 unit: render() file: src/nodes/shared/image-segmentation-viewer.ts start line: 69 end line: 88 size: 20 LOC McCabe index: 2 number of parameters: 0 id: 31 unit: onPointerLeave() file: src/nodes/shared/image-segmentation-viewer.ts start line: 203 end line: 217 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 32 unit: render() file: src/nodes/shared/depth-estimation-viewer.ts start line: 62 end line: 74 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 33 unit: render() file: src/nodes/shared/token-classification-viewer.ts start line: 54 end line: 66 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 34 unit: updateOutputImage() file: src/nodes/shared/depth-estimation-viewer.ts start line: 130 end line: 141 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 35 unit: for await() file: src/nodes/server/chat-completion.ts start line: 119 end line: 129 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 36 unit: async downloadFile() file: src/nodes/shared/chat-template-generator.ts start line: 32 end line: 42 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 37 unit: defaultValue: isWebGPUAvailable() file: src/nodes/client/depth-estimation-spec.ts start line: 24 end line: 32 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 38 unit: defaultValue: isWebGPUAvailable() file: src/nodes/client/text-to-text-specs.ts start line: 24 end line: 32 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 39 unit: defaultValue: isWebGPUAvailable() file: src/nodes/client/background-removal-spec.ts start line: 24 end line: 32 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 40 unit: defaultValue: isWebGPUAvailable() file: src/nodes/client/text-classification-specs.ts start line: 25 end line: 33 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 41 unit: defaultValue: isWebGPUAvailable() file: src/nodes/client/token-classification-specs.ts start line: 23 end line: 31 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 42 unit: defaultValue: isWebGPUAvailable() file: src/nodes/client/object-detection-spec.ts start line: 26 end line: 34 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 43 unit: defaultValue: isWebGPUAvailable() file: src/nodes/client/image-segmentation-spec.ts start line: 26 end line: 34 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 44 unit: defaultValue: isWebGPUAvailable() file: src/nodes/client/image-classification-specs.ts start line: 24 end line: 32 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 45 unit: async _login() file: src/nodes/server/hf-hub-login.ts start line: 121 end line: 128 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 46 unit: export function blobToBase64() file: src/utils.ts start line: 6 end line: 12 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: async _logout() file: src/nodes/server/hf-hub-login.ts start line: 129 end line: 135 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: async runWithInputs() file: src/nodes/shared/token-classification-viewer.ts start line: 95 end line: 101 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: constructor() file: src/nodes/server/chat-completion.ts start line: 29 end line: 33 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 50 unit: constructor() file: src/backends/client/base.ts start line: 73 end line: 76 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 51 unit: constructor() file: src/nodes/server/summarization.ts start line: 21 end line: 24 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 52 unit: constructor() file: src/nodes/server/token-classification.ts start line: 18 end line: 21 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 53 unit: constructor() file: src/nodes/server/hf-hub-login.ts start line: 54 end line: 57 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 54 unit: constructor() file: src/nodes/server/text-generation.ts start line: 24 end line: 27 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 55 unit: constructor() file: src/nodes/server/fill-mask.ts start line: 21 end line: 24 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 56 unit: constructor() file: src/nodes/server/text-classification.ts start line: 21 end line: 24 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 57 unit: constructor() file: src/nodes/server/text-to-image.ts start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 58 unit: constructor() file: src/nodes/server/image-classification.ts start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: async runWithInputs() file: src/backends/client/base.ts start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 60 unit: export function clamp() file: src/utils.ts start line: 2 end line: 4 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 61 unit: export function compareObjects() file: src/utils.ts start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 62 unit: export function isWebGPUAvailable() file: src/utils.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: constructor() file: src/nodes/client/token-classification.ts start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 64 unit: constructor() file: src/nodes/client/text-to-text.ts start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 65 unit: constructor() file: src/nodes/client/image-segmentation.ts start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: constructor() file: src/nodes/client/depth-estimation.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 67 unit: constructor() file: src/nodes/client/object-detection.ts start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 68 unit: constructor() file: src/nodes/client/translation.ts start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: constructor() file: src/nodes/client/text-classification.ts start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 70 unit: constructor() file: src/nodes/client/background-removal.ts start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 71 unit: constructor() file: src/nodes/client/image-classification.ts start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 72 unit: constructor() file: src/nodes/shared/image-segmentation-viewer.ts start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: constructor() file: src/nodes/shared/depth-estimation-viewer.ts start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 74 unit: onPointerDown() file: src/nodes/shared/depth-estimation-viewer.ts start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: constructor() file: src/nodes/shared/chat-template-generator.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: constructor() file: src/nodes/shared/token-classification-viewer.ts start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: render() file: src/nodes/server/summarization.ts start line: 26 end line: 28 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: render() file: src/nodes/server/token-classification.ts start line: 23 end line: 25 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 79 unit: render() file: src/nodes/server/chat-completion.ts start line: 35 end line: 37 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: render() file: src/nodes/server/text-generation.ts start line: 29 end line: 31 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: render() file: src/nodes/server/fill-mask.ts start line: 26 end line: 28 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 82 unit: render() file: src/nodes/server/text-classification.ts start line: 26 end line: 28 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 83 unit: render() file: src/nodes/server/text-to-image.ts start line: 31 end line: 33 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 84 unit: render() file: src/nodes/server/image-classification.ts start line: 31 end line: 33 size: 2 LOC McCabe index: 1 number of parameters: 0