id: 1 unit: async collectExample() file: speech-commands/src/browser_fft_recognizer.ts start line: 667 end line: 821 size: 147 LOC McCabe index: 21 number of parameters: 2 id: 2 unit: async listen() file: speech-commands/src/browser_fft_recognizer.ts start line: 174 end line: 281 size: 91 LOC McCabe index: 19 number of parameters: 2 id: 3 unit: module.exports = function() file: model-playground/karma-ci.conf.js start line: 21 end line: 123 size: 90 LOC McCabe index: 1 number of parameters: 1 id: 4 unit: async estimatePoses() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 149 end line: 284 size: 90 LOC McCabe index: 14 number of parameters: 3 id: 5 unit: export function createSsdAnchors() file: body-segmentation/src/shared/calculators/create_ssd_anchors.ts start line: 23 end line: 117 size: 84 LOC McCabe index: 18 number of parameters: 1 id: 6 unit: export function createSsdAnchors() file: shared/calculators/create_ssd_anchors.ts start line: 23 end line: 117 size: 84 LOC McCabe index: 18 number of parameters: 1 id: 7 unit: export function createSsdAnchors() file: pose-detection/src/shared/calculators/create_ssd_anchors.ts start line: 23 end line: 117 size: 84 LOC McCabe index: 18 number of parameters: 1 id: 8 unit: export function createSsdAnchors() file: face-landmarks-detection/src/shared/calculators/create_ssd_anchors.ts start line: 23 end line: 117 size: 84 LOC McCabe index: 18 number of parameters: 1 id: 9 unit: export function createSsdAnchors() file: hand-pose-detection/src/shared/calculators/create_ssd_anchors.ts start line: 23 end line: 117 size: 84 LOC McCabe index: 18 number of parameters: 1 id: 10 unit: function decodeBoxes() file: body-segmentation/src/shared/calculators/tensors_to_detections.ts start line: 138 end line: 229 size: 82 LOC McCabe index: 6 number of parameters: 3 id: 11 unit: function decodeBoxes() file: shared/calculators/tensors_to_detections.ts start line: 138 end line: 229 size: 82 LOC McCabe index: 6 number of parameters: 3 id: 12 unit: function decodeBoxes() file: pose-detection/src/shared/calculators/tensors_to_detections.ts start line: 138 end line: 229 size: 82 LOC McCabe index: 6 number of parameters: 3 id: 13 unit: function decodeBoxes() file: face-landmarks-detection/src/shared/calculators/tensors_to_detections.ts start line: 138 end line: 229 size: 82 LOC McCabe index: 6 number of parameters: 3 id: 14 unit: function decodeBoxes() file: hand-pose-detection/src/shared/calculators/tensors_to_detections.ts start line: 138 end line: 229 size: 82 LOC McCabe index: 6 number of parameters: 3 id: 15 unit: async getBoundingBoxes() file: blazeface/src/face.ts start line: 228 end line: 325 size: 80 LOC McCabe index: 7 number of parameters: 3 id: 16 unit: async segmentMultiPerson() file: body-segmentation/src/body_pix/impl/body_pix_model.ts start line: 597 end line: 684 size: 79 LOC McCabe index: 2 number of parameters: 2 id: 17 unit: async segmentMultiPersonParts() file: body-segmentation/src/body_pix/impl/body_pix_model.ts start line: 885 end line: 975 size: 79 LOC McCabe index: 1 number of parameters: 2 id: 18 unit: async estimateFaces() file: blazeface/src/face.ts start line: 347 end line: 436 size: 79 LOC McCabe index: 7 number of parameters: 4 id: 19 unit: async segmentMultiPerson() file: body-pix/src/body_pix_model.ts start line: 597 end line: 684 size: 79 LOC McCabe index: 2 number of parameters: 2 id: 20 unit: async segmentMultiPersonParts() file: body-pix/src/body_pix_model.ts start line: 885 end line: 975 size: 79 LOC McCabe index: 1 number of parameters: 2 id: 21 unit: async estimateHand() file: handpose/src/pipeline.ts start line: 144 end line: 246 size: 77 LOC McCabe index: 6 number of parameters: 1 id: 22 unit: async estimateMultiplePoses() file: pose-detection/src/movenet/detector.ts start line: 374 end line: 454 size: 71 LOC McCabe index: 9 number of parameters: 3 id: 23 unit: private process() file: qna/src/question_and_answer.ts start line: 107 end line: 186 size: 70 LOC McCabe index: 10 number of parameters: 5 id: 24 unit: async estimateHands() file: hand-pose-detection/src/tfjs/detector.ts start line: 96 end line: 215 size: 69 LOC McCabe index: 11 number of parameters: 2 id: 25 unit: export function balancedTrainValSplitNumArrays() file: speech-commands/src/training_utils.ts start line: 93 end line: 164 size: 66 LOC McCabe index: 12 number of parameters: 3 id: 26 unit: async segmentPeople() file: body-segmentation/src/body_pix/segmenter.ts start line: 88 end line: 163 size: 65 LOC McCabe index: 7 number of parameters: 2 id: 27 unit: export function getValidWindows() file: speech-commands/src/dataset.ts start line: 875 end line: 944 size: 64 LOC McCabe index: 16 number of parameters: 4 id: 28 unit: private poseLandmarkFiltering() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 659 end line: 732 size: 64 LOC McCabe index: 8 number of parameters: 4 id: 29 unit: async evaluate() file: speech-commands/src/browser_fft_recognizer.ts start line: 1209 end line: 1278 size: 62 LOC McCabe index: 9 number of parameters: 1 id: 30 unit: async recognize() file: speech-commands/src/browser_fft_recognizer.ts start line: 490 end line: 558 size: 60 LOC McCabe index: 10 number of parameters: 2 id: 31 unit: async estimatePoses() file: pose-detection/src/posenet/detector.ts start line: 91 end line: 162 size: 60 LOC McCabe index: 6 number of parameters: 2 id: 32 unit: function flipFaceHorizontal() file: blazeface/src/face.ts start line: 116 end line: 182 size: 58 LOC McCabe index: 8 number of parameters: 2 id: 33 unit: async train() file: speech-commands/src/browser_fft_recognizer.ts start line: 1007 end line: 1064 size: 53 LOC McCabe index: 13 number of parameters: 1 id: 34 unit: export function validateModelConfig() file: pose-detection/src/movenet/detector_utils.ts start line: 24 end line: 84 size: 51 LOC McCabe index: 19 number of parameters: 1 id: 35 unit: function config() file: coco-ssd/rollup.config.js start line: 41 end line: 94 size: 51 LOC McCabe index: 5 number of parameters: 5 id: 36 unit: private augmentByMixingNoise() file: speech-commands/src/dataset.ts start line: 527 end line: 577 size: 49 LOC McCabe index: 10 number of parameters: 3 id: 37 unit: function validateModelConfig() file: posenet/src/posenet_model.ts start line: 108 end line: 164 size: 49 LOC McCabe index: 14 number of parameters: 1 id: 38 unit: export function validateModelConfig() file: pose-detection/src/posenet/detector_utils.ts start line: 24 end line: 83 size: 49 LOC McCabe index: 14 number of parameters: 1 id: 39 unit: async runMultiPersonPoseModel() file: pose-detection/src/movenet/detector.ts start line: 176 end line: 229 size: 49 LOC McCabe index: 8 number of parameters: 1 id: 40 unit: constructor() file: pose-detection/src/blazepose_mediapipe/detector.ts start line: 67 end line: 114 size: 48 LOC McCabe index: 7 number of parameters: 1 id: 41 unit: int findNearestPose() file: body-segmentation/src/body_pix/impl/multi_person/decode_multiple_masks_webgl.ts start line: 95 end line: 149 size: 47 LOC McCabe index: 8 number of parameters: 2 id: 42 unit: int findNearestPose() file: body-pix/src/multi_person/decode_multiple_masks_webgl.ts start line: 95 end line: 149 size: 47 LOC McCabe index: 8 number of parameters: 2 id: 43 unit: export function resizeAndPadTo() file: body-segmentation/src/body_pix/impl/util.ts start line: 148 end line: 203 size: 46 LOC McCabe index: 3 number of parameters: 5 id: 44 unit: export function drawPixelatedMask() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 411 end line: 466 size: 46 LOC McCabe index: 4 number of parameters: 7 id: 45 unit: private async poseLandmarksByRoi() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 400 end line: 469 size: 46 LOC McCabe index: 6 number of parameters: 2 id: 46 unit: export function resizeAndPadTo() file: body-pix/src/util.ts start line: 148 end line: 203 size: 46 LOC McCabe index: 3 number of parameters: 5 id: 47 unit: export function drawPixelatedMask() file: body-pix/src/output_rendering_util.ts start line: 411 end line: 466 size: 46 LOC McCabe index: 4 number of parameters: 7 id: 48 unit: export async function drawPixelatedMask() file: body-segmentation/src/shared/calculators/render_util.ts start line: 515 end line: 569 size: 45 LOC McCabe index: 4 number of parameters: 7 id: 49 unit: export async function drawPixelatedMask() file: shared/calculators/render_util.ts start line: 515 end line: 569 size: 45 LOC McCabe index: 4 number of parameters: 7 id: 50 unit: export async function drawPixelatedMask() file: pose-detection/src/shared/calculators/render_util.ts start line: 515 end line: 569 size: 45 LOC McCabe index: 4 number of parameters: 7 id: 51 unit: export async function drawPixelatedMask() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 515 end line: 569 size: 45 LOC McCabe index: 4 number of parameters: 7 id: 52 unit: export async function drawPixelatedMask() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 515 end line: 569 size: 45 LOC McCabe index: 4 number of parameters: 7 id: 53 unit: private async trainOnTensors() file: speech-commands/src/browser_fft_recognizer.ts start line: 1100 end line: 1146 size: 44 LOC McCabe index: 7 number of parameters: 1 id: 54 unit: async classify() file: toxicity/src/index.ts start line: 95 end line: 151 size: 44 LOC McCabe index: 5 number of parameters: 1 id: 55 unit: private calculateTopClass() file: knn-classifier/src/index.ts start line: 205 end line: 254 size: 44 LOC McCabe index: 9 number of parameters: 2 id: 56 unit: async findAnswers() file: qna/src/question_and_answer.ts start line: 212 end line: 258 size: 43 LOC McCabe index: 4 number of parameters: 2 id: 57 unit: export function balancedTrainValSplit() file: speech-commands/src/training_utils.ts start line: 40 end line: 88 size: 43 LOC McCabe index: 7 number of parameters: 3 id: 58 unit: private async getBoundingBoxes() file: handpose/src/hand.ts start line: 82 end line: 143 size: 43 LOC McCabe index: 3 number of parameters: 1 id: 59 unit: export function decodePose() file: pose-detection/src/posenet/calculators/decode_multiple_poses_util.ts start line: 177 end line: 224 size: 43 LOC McCabe index: 7 number of parameters: 6 id: 60 unit: constructor() file: hand-pose-detection/src/mediapipe/detector.ts start line: 42 end line: 85 size: 43 LOC McCabe index: 6 number of parameters: 1 id: 61 unit: segmentation: toMaskTensor() file: body-segmentation/src/body_pix/impl/body_pix_model.ts start line: 482 end line: 619 size: 41 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: async estimatePoses() file: pose-detection/src/movenet/detector.ts start line: 244 end line: 294 size: 41 LOC McCabe index: 8 number of parameters: 3 id: 63 unit: async estimateSinglePose() file: pose-detection/src/movenet/detector.ts start line: 305 end line: 363 size: 41 LOC McCabe index: 6 number of parameters: 3 id: 64 unit: export function validateModelConfig() file: hand-pose-detection/src/tfjs/detector_utils.ts start line: 21 end line: 69 size: 41 LOC McCabe index: 12 number of parameters: 1 id: 65 unit: segmentation: toMaskTensor() file: body-pix/src/body_pix_model.ts start line: 482 end line: 619 size: 41 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: export async function convertToDetections() file: body-segmentation/src/shared/calculators/tensors_to_detections.ts start line: 69 end line: 115 size: 40 LOC McCabe index: 9 number of parameters: 3 id: 67 unit: export async function convertToDetections() file: shared/calculators/tensors_to_detections.ts start line: 69 end line: 115 size: 40 LOC McCabe index: 9 number of parameters: 3 id: 68 unit: export async function convertToDetections() file: pose-detection/src/shared/calculators/tensors_to_detections.ts start line: 69 end line: 115 size: 40 LOC McCabe index: 9 number of parameters: 3 id: 69 unit: private async tensorsToPoseLandmarksAndSegmentation() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 546 end line: 625 size: 40 LOC McCabe index: 4 number of parameters: 1 id: 70 unit: export async function convertToDetections() file: face-landmarks-detection/src/shared/calculators/tensors_to_detections.ts start line: 69 end line: 115 size: 40 LOC McCabe index: 9 number of parameters: 3 id: 71 unit: export async function convertToDetections() file: hand-pose-detection/src/shared/calculators/tensors_to_detections.ts start line: 69 end line: 115 size: 40 LOC McCabe index: 9 number of parameters: 3 id: 72 unit: constructor() file: speech-commands/src/browser_fft_extractor.ts start line: 129 end line: 174 size: 39 LOC McCabe index: 11 number of parameters: 1 id: 73 unit: export function smoothSegmentation() file: body-segmentation/src/shared/calculators/segmentation_smoothing.ts start line: 34 end line: 91 size: 39 LOC McCabe index: 2 number of parameters: 3 id: 74 unit: function validateModelConfig() file: body-segmentation/src/body_pix/impl/body_pix_model.ts start line: 104 end line: 146 size: 39 LOC McCabe index: 10 number of parameters: 1 id: 75 unit: function validateMultiPersonInstanceInferenceConfig() file: body-segmentation/src/body_pix/impl/body_pix_model.ts start line: 275 end line: 319 size: 39 LOC McCabe index: 7 number of parameters: 1 id: 76 unit: export function smoothSegmentation() file: shared/calculators/segmentation_smoothing.ts start line: 34 end line: 91 size: 39 LOC McCabe index: 2 number of parameters: 3 id: 77 unit: function traverseToTargetKeypoint() file: pose-detection/src/posenet/calculators/decode_multiple_poses_util.ts start line: 125 end line: 170 size: 39 LOC McCabe index: 3 number of parameters: 8 id: 78 unit: export function smoothSegmentation() file: pose-detection/src/shared/calculators/segmentation_smoothing.ts start line: 34 end line: 91 size: 39 LOC McCabe index: 2 number of parameters: 3 id: 79 unit: export function smoothSegmentation() file: face-landmarks-detection/src/shared/calculators/segmentation_smoothing.ts start line: 34 end line: 91 size: 39 LOC McCabe index: 2 number of parameters: 3 id: 80 unit: async predict() file: tasks/src/tasks/image_segmentation/tflite_common.ts start line: 31 end line: 69 size: 39 LOC McCabe index: 6 number of parameters: 2 id: 81 unit: export function smoothSegmentation() file: hand-pose-detection/src/shared/calculators/segmentation_smoothing.ts start line: 34 end line: 91 size: 39 LOC McCabe index: 2 number of parameters: 3 id: 82 unit: function validateModelConfig() file: body-pix/src/body_pix_model.ts start line: 104 end line: 146 size: 39 LOC McCabe index: 10 number of parameters: 1 id: 83 unit: function validateMultiPersonInstanceInferenceConfig() file: body-pix/src/body_pix_model.ts start line: 275 end line: 319 size: 39 LOC McCabe index: 7 number of parameters: 1 id: 84 unit: export function transformNormalizedRect() file: body-segmentation/src/shared/calculators/transform_rect.ts start line: 32 end line: 73 size: 38 LOC McCabe index: 6 number of parameters: 3 id: 85 unit: export function transformNormalizedRect() file: shared/calculators/transform_rect.ts start line: 32 end line: 73 size: 38 LOC McCabe index: 6 number of parameters: 3 id: 86 unit: export function transformNormalizedRect() file: pose-detection/src/shared/calculators/transform_rect.ts start line: 32 end line: 73 size: 38 LOC McCabe index: 6 number of parameters: 3 id: 87 unit: export function validateModelConfig() file: pose-detection/src/blazepose_tfjs/detector_utils.ts start line: 21 end line: 65 size: 38 LOC McCabe index: 11 number of parameters: 1 id: 88 unit: export function transformNormalizedRect() file: face-landmarks-detection/src/shared/calculators/transform_rect.ts start line: 32 end line: 73 size: 38 LOC McCabe index: 6 number of parameters: 3 id: 89 unit: private async handLandmarks() file: hand-pose-detection/src/tfjs/detector.ts start line: 305 end line: 394 size: 38 LOC McCabe index: 3 number of parameters: 2 id: 90 unit: export function transformNormalizedRect() file: hand-pose-detection/src/shared/calculators/transform_rect.ts start line: 32 end line: 73 size: 38 LOC McCabe index: 6 number of parameters: 3 id: 91 unit: export function toColoredPartMask() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 293 end line: 332 size: 37 LOC McCabe index: 9 number of parameters: 2 id: 92 unit: export async function decodePersonInstancePartMasks() file: body-segmentation/src/body_pix/impl/multi_person/decode_instance_masks.ts start line: 87 end line: 130 size: 37 LOC McCabe index: 2 number of parameters: 15 id: 93 unit: async segmentPerson() file: body-segmentation/src/body_pix/impl/body_pix_model.ts start line: 527 end line: 572 size: 37 LOC McCabe index: 1 number of parameters: 2 id: 94 unit: async segmentPersonParts() file: body-segmentation/src/body_pix/impl/body_pix_model.ts start line: 817 end line: 860 size: 37 LOC McCabe index: 1 number of parameters: 2 id: 95 unit: async poseLandmarksAndSegmentationInverseProjection() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 470 end line: 544 size: 37 LOC McCabe index: 2 number of parameters: 8 id: 96 unit: private async infer() file: coco-ssd/src/index.ts start line: 111 end line: 164 size: 37 LOC McCabe index: 4 number of parameters: 3 id: 97 unit: export function toColoredPartMask() file: body-pix/src/output_rendering_util.ts start line: 293 end line: 332 size: 37 LOC McCabe index: 9 number of parameters: 2 id: 98 unit: export async function decodePersonInstancePartMasks() file: body-pix/src/multi_person/decode_instance_masks.ts start line: 87 end line: 130 size: 37 LOC McCabe index: 2 number of parameters: 15 id: 99 unit: async segmentPerson() file: body-pix/src/body_pix_model.ts start line: 527 end line: 572 size: 37 LOC McCabe index: 1 number of parameters: 2 id: 100 unit: async segmentPersonParts() file: body-pix/src/body_pix_model.ts start line: 817 end line: 860 size: 37 LOC McCabe index: 1 number of parameters: 2 id: 101 unit: export function decodeMultipleMasksWebGl() file: body-segmentation/src/body_pix/impl/multi_person/decode_multiple_masks_webgl.ts start line: 25 end line: 161 size: 36 LOC McCabe index: 3 number of parameters: 13 id: 102 unit: export async function load() file: mobilenet/src/index.ts start line: 115 end line: 152 size: 36 LOC McCabe index: 8 number of parameters: 2 id: 103 unit: export function decodeMultipleMasksWebGl() file: body-pix/src/multi_person/decode_multiple_masks_webgl.ts start line: 25 end line: 161 size: 36 LOC McCabe index: 3 number of parameters: 13 id: 104 unit: export function convertImageToTensor() file: body-segmentation/src/shared/calculators/convert_image_to_tensor.ts start line: 44 end line: 89 size: 35 LOC McCabe index: 3 number of parameters: 3 id: 105 unit: async estimateMultiplePoses() file: posenet/src/posenet_model.ts start line: 279 end line: 324 size: 35 LOC McCabe index: 1 number of parameters: 2 id: 106 unit: export function convertImageToTensor() file: shared/calculators/convert_image_to_tensor.ts start line: 44 end line: 89 size: 35 LOC McCabe index: 3 number of parameters: 3 id: 107 unit: export function convertImageToTensor() file: pose-detection/src/shared/calculators/convert_image_to_tensor.ts start line: 44 end line: 89 size: 35 LOC McCabe index: 3 number of parameters: 3 id: 108 unit: async runSinglePersonPoseModel() file: pose-detection/src/movenet/detector.ts start line: 121 end line: 165 size: 35 LOC McCabe index: 10 number of parameters: 1 id: 109 unit: export function convertImageToTensor() file: face-landmarks-detection/src/shared/calculators/convert_image_to_tensor.ts start line: 44 end line: 89 size: 35 LOC McCabe index: 3 number of parameters: 3 id: 110 unit: export function convertImageToTensor() file: hand-pose-detection/src/shared/calculators/convert_image_to_tensor.ts start line: 44 end line: 89 size: 35 LOC McCabe index: 3 number of parameters: 3 id: 111 unit: export async function decodePersonInstanceMasks() file: body-segmentation/src/body_pix/impl/multi_person/decode_instance_masks.ts start line: 44 end line: 85 size: 34 LOC McCabe index: 2 number of parameters: 14 id: 112 unit: async segmentPeople() file: body-segmentation/src/selfie_segmentation_tfjs/segmenter.ts start line: 87 end line: 141 size: 34 LOC McCabe index: 3 number of parameters: 2 id: 113 unit: export function getTFJSModelDependencyPackages() file: tasks/src/tasks/common.ts start line: 76 end line: 109 size: 34 LOC McCabe index: 4 number of parameters: 2 id: 114 unit: export async function decodePersonInstanceMasks() file: body-pix/src/multi_person/decode_instance_masks.ts start line: 44 end line: 85 size: 34 LOC McCabe index: 2 number of parameters: 14 id: 115 unit: private async onAudioFrame() file: speech-commands/src/browser_fft_extractor.ts start line: 208 end line: 241 size: 33 LOC McCabe index: 7 number of parameters: 0 id: 116 unit: constructor() file: body-segmentation/src/selfie_segmentation_mediapipe/segmenter.ts start line: 67 end line: 99 size: 33 LOC McCabe index: 4 number of parameters: 1 id: 117 unit: export function padRoi() file: body-segmentation/src/shared/calculators/image_utils.ts start line: 87 end line: 126 size: 33 LOC McCabe index: 3 number of parameters: 3 id: 118 unit: export function padRoi() file: shared/calculators/image_utils.ts start line: 87 end line: 126 size: 33 LOC McCabe index: 3 number of parameters: 3 id: 119 unit: export function padRoi() file: pose-detection/src/shared/calculators/image_utils.ts start line: 87 end line: 126 size: 33 LOC McCabe index: 3 number of parameters: 3 id: 120 unit: export function validateTrackerConfig() file: pose-detection/src/calculators/tracker_utils.ts start line: 20 end line: 53 size: 33 LOC McCabe index: 9 number of parameters: 1 id: 121 unit: export function padRoi() file: face-landmarks-detection/src/shared/calculators/image_utils.ts start line: 87 end line: 126 size: 33 LOC McCabe index: 3 number of parameters: 3 id: 122 unit: export function getNLClassifierOptions() file: tasks/src/tasks/nl_classification/tflite_common.ts start line: 60 end line: 92 size: 33 LOC McCabe index: 8 number of parameters: 1 id: 123 unit: export function padRoi() file: hand-pose-detection/src/shared/calculators/image_utils.ts start line: 87 end line: 126 size: 33 LOC McCabe index: 3 number of parameters: 3 id: 124 unit: private createTransferModelFromBaseModel() file: speech-commands/src/browser_fft_recognizer.ts start line: 1286 end line: 1320 size: 32 LOC McCabe index: 5 number of parameters: 0 id: 125 unit: export async function createSegmenter() file: body-segmentation/src/create_segmenter.ts start line: 33 end line: 64 size: 32 LOC McCabe index: 6 number of parameters: 2 id: 126 unit: async estimateHands() file: handpose/src/index.ts start line: 130 end line: 167 size: 32 LOC McCabe index: 5 number of parameters: 2 id: 127 unit: private transformRawCoords() file: handpose/src/pipeline.ts start line: 106 end line: 142 size: 32 LOC McCabe index: 1 number of parameters: 4 id: 128 unit: constructor() file: face-landmarks-detection/src/mediapipe/detector.ts start line: 44 end line: 76 size: 32 LOC McCabe index: 4 number of parameters: 1 id: 129 unit: export function getRotatedSubRectToRectTransformMatrix() file: body-segmentation/src/shared/calculators/get_rotated_sub_rect_to_rect_transformation_matrix.ts start line: 33 end line: 123 size: 31 LOC McCabe index: 2 number of parameters: 4 id: 130 unit: export function removeDetectionLetterbox() file: body-segmentation/src/shared/calculators/remove_detection_letterbox.ts start line: 35 end line: 69 size: 31 LOC McCabe index: 3 number of parameters: 2 id: 131 unit: export function tensorsToSegmentation() file: body-segmentation/src/shared/calculators/tensors_to_segmentation.ts start line: 31 end line: 69 size: 31 LOC McCabe index: 6 number of parameters: 3 id: 132 unit: function traverseToTargetKeypoint() file: body-segmentation/src/body_pix/impl/multi_person/decode_pose.ts start line: 61 end line: 97 size: 31 LOC McCabe index: 3 number of parameters: 8 id: 133 unit: function traverseToTargetKeypoint() file: posenet/src/multi_pose/decode_pose.ts start line: 61 end line: 97 size: 31 LOC McCabe index: 3 number of parameters: 8 id: 134 unit: export function getRotatedSubRectToRectTransformMatrix() file: shared/calculators/get_rotated_sub_rect_to_rect_transformation_matrix.ts start line: 33 end line: 123 size: 31 LOC McCabe index: 2 number of parameters: 4 id: 135 unit: export function removeDetectionLetterbox() file: shared/calculators/remove_detection_letterbox.ts start line: 35 end line: 69 size: 31 LOC McCabe index: 3 number of parameters: 2 id: 136 unit: export function tensorsToSegmentation() file: shared/calculators/tensors_to_segmentation.ts start line: 31 end line: 69 size: 31 LOC McCabe index: 6 number of parameters: 3 id: 137 unit: export function getRotatedSubRectToRectTransformMatrix() file: pose-detection/src/shared/calculators/get_rotated_sub_rect_to_rect_transformation_matrix.ts start line: 33 end line: 123 size: 31 LOC McCabe index: 2 number of parameters: 4 id: 138 unit: export function removeDetectionLetterbox() file: pose-detection/src/shared/calculators/remove_detection_letterbox.ts start line: 35 end line: 69 size: 31 LOC McCabe index: 3 number of parameters: 2 id: 139 unit: export function tensorsToSegmentation() file: pose-detection/src/shared/calculators/tensors_to_segmentation.ts start line: 31 end line: 69 size: 31 LOC McCabe index: 6 number of parameters: 3 id: 140 unit: export function getRotatedSubRectToRectTransformMatrix() file: face-landmarks-detection/src/shared/calculators/get_rotated_sub_rect_to_rect_transformation_matrix.ts start line: 33 end line: 123 size: 31 LOC McCabe index: 2 number of parameters: 4 id: 141 unit: export function removeDetectionLetterbox() file: face-landmarks-detection/src/shared/calculators/remove_detection_letterbox.ts start line: 35 end line: 69 size: 31 LOC McCabe index: 3 number of parameters: 2 id: 142 unit: export function tensorsToSegmentation() file: face-landmarks-detection/src/shared/calculators/tensors_to_segmentation.ts start line: 31 end line: 69 size: 31 LOC McCabe index: 6 number of parameters: 3 id: 143 unit: export function getRotatedSubRectToRectTransformMatrix() file: hand-pose-detection/src/shared/calculators/get_rotated_sub_rect_to_rect_transformation_matrix.ts start line: 33 end line: 123 size: 31 LOC McCabe index: 2 number of parameters: 4 id: 144 unit: export function removeDetectionLetterbox() file: hand-pose-detection/src/shared/calculators/remove_detection_letterbox.ts start line: 35 end line: 69 size: 31 LOC McCabe index: 3 number of parameters: 2 id: 145 unit: export function tensorsToSegmentation() file: hand-pose-detection/src/shared/calculators/tensors_to_segmentation.ts start line: 31 end line: 69 size: 31 LOC McCabe index: 6 number of parameters: 3 id: 146 unit: function traverseToTargetKeypoint() file: body-pix/src/multi_person/decode_pose.ts start line: 61 end line: 97 size: 31 LOC McCabe index: 3 number of parameters: 8 id: 147 unit: async ensureModelLoaded() file: speech-commands/src/browser_fft_recognizer.ts start line: 288 end line: 322 size: 30 LOC McCabe index: 6 number of parameters: 0 id: 148 unit: export async function createDetector() file: pose-detection/src/create_detector.ts start line: 34 end line: 63 size: 30 LOC McCabe index: 7 number of parameters: 2 id: 149 unit: async predict() file: tasks/src/tasks/sentiment_detection/movie_review_tflite.ts start line: 115 end line: 145 size: 30 LOC McCabe index: 4 number of parameters: 2 id: 150 unit: async start() file: speech-commands/src/browser_fft_extractor.ts start line: 176 end line: 206 size: 29 LOC McCabe index: 3 number of parameters: 1 id: 151 unit: private async trainOnDataset() file: speech-commands/src/browser_fft_recognizer.ts start line: 1067 end line: 1097 size: 29 LOC McCabe index: 7 number of parameters: 1 id: 152 unit: void main() file: body-segmentation/src/shared/calculators/segmentation_smoothing.ts start line: 101 end line: 134 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 153 unit: private predictForMultiPersonInstanceSegmentationAndPart() file: body-segmentation/src/body_pix/impl/body_pix_model.ts start line: 377 end line: 405 size: 29 LOC McCabe index: 1 number of parameters: 1 id: 154 unit: void main() file: shared/calculators/segmentation_smoothing.ts start line: 101 end line: 134 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 155 unit: void main() file: pose-detection/src/shared/calculators/segmentation_smoothing.ts start line: 101 end line: 134 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 156 unit: void main() file: face-landmarks-detection/src/shared/calculators/segmentation_smoothing.ts start line: 101 end line: 134 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 157 unit: void main() file: hand-pose-detection/src/shared/calculators/segmentation_smoothing.ts start line: 101 end line: 134 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 158 unit: private predictForMultiPersonInstanceSegmentationAndPart() file: body-pix/src/body_pix_model.ts start line: 377 end line: 405 size: 29 LOC McCabe index: 1 number of parameters: 1 id: 159 unit: private createModel() file: speech-commands/training/soft-fft/audio_model.ts start line: 61 end line: 89 size: 28 LOC McCabe index: 1 number of parameters: 1 id: 160 unit: function config() file: body-segmentation/rollup.config.js start line: 39 end line: 67 size: 28 LOC McCabe index: 1 number of parameters: 3 id: 161 unit: export function validateModelConfig() file: body-segmentation/src/selfie_segmentation_tfjs/segmenter_utils.ts start line: 21 end line: 54 size: 28 LOC McCabe index: 8 number of parameters: 1 id: 162 unit: function config() file: face-landmarks-detection/rollup.config.js start line: 39 end line: 67 size: 28 LOC McCabe index: 1 number of parameters: 3 id: 163 unit: async predict() file: tasks/src/tasks/object_detection/cocossd_tfjs.ts start line: 113 end line: 140 size: 28 LOC McCabe index: 4 number of parameters: 2 id: 164 unit: function config() file: hand-pose-detection/rollup.config.js start line: 39 end line: 67 size: 28 LOC McCabe index: 1 number of parameters: 3 id: 165 unit: function config() file: deeplab/rollup.config.js start line: 54 end line: 81 size: 28 LOC McCabe index: 1 number of parameters: 2 id: 166 unit: private cleanText() file: qna/src/bert_tokenizer.ts start line: 171 end line: 198 size: 27 LOC McCabe index: 6 number of parameters: 2 id: 167 unit: export function calculateAlignmentPointsRects() file: body-segmentation/src/shared/calculators/calculate_alignment_points_rects.ts start line: 26 end line: 59 size: 27 LOC McCabe index: 1 number of parameters: 3 id: 168 unit: function matchEmbeddingToInstance() file: body-segmentation/src/body_pix/impl/multi_person/decode_multiple_masks_cpu.ts start line: 80 end line: 109 size: 27 LOC McCabe index: 4 number of parameters: 16 id: 169 unit: export function padAndResizeTo() file: posenet/src/util.ts start line: 220 end line: 249 size: 27 LOC McCabe index: 2 number of parameters: 4 id: 170 unit: export function calculateAlignmentPointsRects() file: shared/calculators/calculate_alignment_points_rects.ts start line: 26 end line: 59 size: 27 LOC McCabe index: 1 number of parameters: 3 id: 171 unit: export function calculateAlignmentPointsRects() file: pose-detection/src/shared/calculators/calculate_alignment_points_rects.ts start line: 26 end line: 59 size: 27 LOC McCabe index: 1 number of parameters: 3 id: 172 unit: export function calculateAlignmentPointsRects() file: face-landmarks-detection/src/shared/calculators/calculate_alignment_points_rects.ts start line: 26 end line: 59 size: 27 LOC McCabe index: 1 number of parameters: 3 id: 173 unit: export function calculateAlignmentPointsRects() file: hand-pose-detection/src/shared/calculators/calculate_alignment_points_rects.ts start line: 26 end line: 59 size: 27 LOC McCabe index: 1 number of parameters: 3 id: 174 unit: function matchEmbeddingToInstance() file: body-pix/src/multi_person/decode_multiple_masks_cpu.ts start line: 80 end line: 109 size: 27 LOC McCabe index: 4 number of parameters: 16 id: 175 unit: export function create() file: speech-commands/src/index.ts start line: 52 end line: 78 size: 26 LOC McCabe index: 7 number of parameters: 4 id: 176 unit: export function blurBodyPart() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 586 end line: 625 size: 26 LOC McCabe index: 4 number of parameters: 8 id: 177 unit: function config() file: handpose/rollup.config.js start line: 39 end line: 65 size: 26 LOC McCabe index: 1 number of parameters: 3 id: 178 unit: export async function load() file: blazeface/src/index.ts start line: 46 end line: 72 size: 26 LOC McCabe index: 2 number of parameters: 7 id: 179 unit: private buildDetectedObjects() file: coco-ssd/src/index.ts start line: 166 end line: 191 size: 26 LOC McCabe index: 3 number of parameters: 6 id: 180 unit: private async loadPackage() file: tasks/src/package_loader.ts start line: 59 end line: 89 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 181 unit: export async function createDetector() file: hand-pose-detection/src/create_detector.ts start line: 31 end line: 56 size: 26 LOC McCabe index: 5 number of parameters: 2 id: 182 unit: export function blurBodyPart() file: body-pix/src/output_rendering_util.ts start line: 586 end line: 625 size: 26 LOC McCabe index: 4 number of parameters: 8 id: 183 unit: private similarities() file: knn-classifier/src/index.ts start line: 96 end line: 127 size: 26 LOC McCabe index: 4 number of parameters: 1 id: 184 unit: private async fineTuningUsingTensors() file: speech-commands/src/browser_fft_recognizer.ts start line: 1174 end line: 1200 size: 25 LOC McCabe index: 3 number of parameters: 5 id: 185 unit: export async function drawBokehEffect() file: body-segmentation/src/shared/calculators/render_util.ts start line: 612 end line: 651 size: 25 LOC McCabe index: 4 number of parameters: 7 id: 186 unit: export async function blurBodyPart() file: body-segmentation/src/shared/calculators/render_util.ts start line: 698 end line: 736 size: 25 LOC McCabe index: 4 number of parameters: 8 id: 187 unit: export function padAndResizeTo() file: body-segmentation/src/body_pix/impl/util.ts start line: 255 end line: 284 size: 25 LOC McCabe index: 2 number of parameters: 4 id: 188 unit: export function cpuBlur() file: body-segmentation/src/body_pix/impl/blur.ts start line: 19 end line: 44 size: 25 LOC McCabe index: 6 number of parameters: 3 id: 189 unit: export function drawBokehEffect() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 505 end line: 544 size: 25 LOC McCabe index: 4 number of parameters: 6 id: 190 unit: private predictForPersonSegmentationAndPart() file: body-segmentation/src/body_pix/impl/body_pix_model.ts start line: 351 end line: 375 size: 25 LOC McCabe index: 1 number of parameters: 1 id: 191 unit: export async function drawBokehEffect() file: shared/calculators/render_util.ts start line: 612 end line: 651 size: 25 LOC McCabe index: 4 number of parameters: 7 id: 192 unit: export async function blurBodyPart() file: shared/calculators/render_util.ts start line: 698 end line: 736 size: 25 LOC McCabe index: 4 number of parameters: 8 id: 193 unit: export async function drawBokehEffect() file: pose-detection/src/shared/calculators/render_util.ts start line: 612 end line: 651 size: 25 LOC McCabe index: 4 number of parameters: 7 id: 194 unit: export async function blurBodyPart() file: pose-detection/src/shared/calculators/render_util.ts start line: 698 end line: 736 size: 25 LOC McCabe index: 4 number of parameters: 8 id: 195 unit: export async function load() file: pose-detection/src/movenet/detector.ts start line: 506 end line: 545 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 196 unit: export async function drawBokehEffect() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 612 end line: 651 size: 25 LOC McCabe index: 4 number of parameters: 7 id: 197 unit: export async function blurBodyPart() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 698 end line: 736 size: 25 LOC McCabe index: 4 number of parameters: 8 id: 198 unit: export async function createDetector() file: face-landmarks-detection/src/create_detector.ts start line: 29 end line: 53 size: 25 LOC McCabe index: 5 number of parameters: 2 id: 199 unit: async predict() file: tasks/src/tasks/image_segmentation/deeplab_tfjs.ts start line: 111 end line: 135 size: 25 LOC McCabe index: 3 number of parameters: 2 id: 200 unit: protected async transformSourceModel() file: tasks/src/tasks/image_classification/mobilenet_tflite.ts start line: 64 end line: 91 size: 25 LOC McCabe index: 7 number of parameters: 2 id: 201 unit: export async function drawBokehEffect() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 612 end line: 651 size: 25 LOC McCabe index: 4 number of parameters: 7 id: 202 unit: export async function blurBodyPart() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 698 end line: 736 size: 25 LOC McCabe index: 4 number of parameters: 8 id: 203 unit: export function padAndResizeTo() file: body-pix/src/util.ts start line: 255 end line: 284 size: 25 LOC McCabe index: 2 number of parameters: 4 id: 204 unit: export function cpuBlur() file: body-pix/src/blur.ts start line: 19 end line: 44 size: 25 LOC McCabe index: 6 number of parameters: 3 id: 205 unit: export function drawBokehEffect() file: body-pix/src/output_rendering_util.ts start line: 505 end line: 544 size: 25 LOC McCabe index: 4 number of parameters: 6 id: 206 unit: private predictForPersonSegmentationAndPart() file: body-pix/src/body_pix_model.ts start line: 351 end line: 375 size: 25 LOC McCabe index: 1 number of parameters: 1 id: 207 unit: async loadAll() file: speech-commands/training/soft-fft/audio_model.ts start line: 98 end line: 123 size: 24 LOC McCabe index: 1 number of parameters: 2 id: 208 unit: export function arrayBuffer2SerializedExamples() file: speech-commands/src/dataset.ts start line: 831 end line: 855 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 209 unit: protected async ensureModelWithEmbeddingOutputCreated() file: speech-commands/src/browser_fft_recognizer.ts start line: 360 end line: 384 size: 24 LOC McCabe index: 5 number of parameters: 0 id: 210 unit: export async function tensorsToDetections() file: body-segmentation/src/shared/calculators/tensors_to_detections.ts start line: 36 end line: 67 size: 24 LOC McCabe index: 3 number of parameters: 4 id: 211 unit: y: clamp() file: body-segmentation/src/body_pix/impl/multi_person/decode_pose.ts start line: 49 end line: 76 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 212 unit: async estimateHandBounds() file: handpose/src/hand.ts start line: 151 end line: 181 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 213 unit: async estimateSinglePose() file: posenet/src/posenet_model.ts start line: 344 end line: 376 size: 24 LOC McCabe index: 1 number of parameters: 2 id: 214 unit: y: clamp() file: posenet/src/multi_pose/decode_pose.ts start line: 49 end line: 76 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 215 unit: export async function tensorsToDetections() file: shared/calculators/tensors_to_detections.ts start line: 36 end line: 67 size: 24 LOC McCabe index: 3 number of parameters: 4 id: 216 unit: export async function tensorsToDetections() file: pose-detection/src/shared/calculators/tensors_to_detections.ts start line: 36 end line: 67 size: 24 LOC McCabe index: 3 number of parameters: 4 id: 217 unit: export async function tensorsToDetections() file: face-landmarks-detection/src/shared/calculators/tensors_to_detections.ts start line: 36 end line: 67 size: 24 LOC McCabe index: 3 number of parameters: 4 id: 218 unit: export async function tensorsToDetections() file: hand-pose-detection/src/shared/calculators/tensors_to_detections.ts start line: 36 end line: 67 size: 24 LOC McCabe index: 3 number of parameters: 4 id: 219 unit: y: clamp() file: body-pix/src/multi_person/decode_pose.ts start line: 49 end line: 76 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 220 unit: function config() file: speech-commands/rollup.config.js start line: 42 end line: 64 size: 23 LOC McCabe index: 1 number of parameters: 2 id: 221 unit: export function deserializeExample() file: speech-commands/src/dataset.ts start line: 778 end line: 800 size: 23 LOC McCabe index: 3 number of parameters: 2 id: 222 unit: private async recognizeOnline() file: speech-commands/src/browser_fft_recognizer.ts start line: 560 end line: 582 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 223 unit: private async fineTuningUsingTfDatasets() file: speech-commands/src/browser_fft_recognizer.ts start line: 1148 end line: 1172 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 224 unit: export function calculateLandmarkProjection() file: body-segmentation/src/shared/calculators/calculate_landmark_projection.ts start line: 31 end line: 59 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 225 unit: export function buildPartWithScoreQueue() file: body-segmentation/src/body_pix/impl/multi_person/build_part_with_score_queue.ts start line: 52 end line: 82 size: 23 LOC McCabe index: 6 number of parameters: 3 id: 226 unit: function getEmbedding() file: body-segmentation/src/body_pix/impl/multi_person/decode_multiple_masks_cpu.ts start line: 54 end line: 78 size: 23 LOC McCabe index: 2 number of parameters: 3 id: 227 unit: x: clamp() file: body-segmentation/src/body_pix/impl/multi_person/decode_pose.ts start line: 50 end line: 76 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 228 unit: export function buildPartWithScoreQueue() file: posenet/src/multi_pose/build_part_with_score_queue.ts start line: 52 end line: 82 size: 23 LOC McCabe index: 6 number of parameters: 3 id: 229 unit: x: clamp() file: posenet/src/multi_pose/decode_pose.ts start line: 50 end line: 76 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 230 unit: export function calculateLandmarkProjection() file: shared/calculators/calculate_landmark_projection.ts start line: 31 end line: 59 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 231 unit: function config() file: pose-detection/rollup.config.js start line: 39 end line: 62 size: 23 LOC McCabe index: 1 number of parameters: 3 id: 232 unit: export function buildPartWithScoreQueue() file: pose-detection/src/posenet/calculators/build_part_with_score_queue.ts start line: 52 end line: 82 size: 23 LOC McCabe index: 6 number of parameters: 3 id: 233 unit: export function calculateLandmarkProjection() file: pose-detection/src/shared/calculators/calculate_landmark_projection.ts start line: 31 end line: 59 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 234 unit: export function validateModelConfig() file: pose-detection/src/blazepose_mediapipe/detector_utils.ts start line: 21 end line: 50 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 235 unit: export function validateEstimationConfig() file: pose-detection/src/blazepose_mediapipe/detector_utils.ts start line: 52 end line: 80 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 236 unit: export function calculateLandmarkProjection() file: face-landmarks-detection/src/shared/calculators/calculate_landmark_projection.ts start line: 31 end line: 59 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 237 unit: export function calculateLandmarkProjection() file: hand-pose-detection/src/shared/calculators/calculate_landmark_projection.ts start line: 31 end line: 59 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 238 unit: export function buildPartWithScoreQueue() file: body-pix/src/multi_person/build_part_with_score_queue.ts start line: 52 end line: 82 size: 23 LOC McCabe index: 6 number of parameters: 3 id: 239 unit: function getEmbedding() file: body-pix/src/multi_person/decode_multiple_masks_cpu.ts start line: 54 end line: 78 size: 23 LOC McCabe index: 2 number of parameters: 3 id: 240 unit: x: clamp() file: body-pix/src/multi_person/decode_pose.ts start line: 50 end line: 76 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 241 unit: function config() file: qna/rollup.config.js start line: 47 end line: 68 size: 22 LOC McCabe index: 1 number of parameters: 2 id: 242 unit: async function cpuBlur() file: body-segmentation/src/shared/calculators/render_util.ts start line: 188 end line: 210 size: 22 LOC McCabe index: 6 number of parameters: 3 id: 243 unit: function isSegmentationBoundary() file: body-segmentation/src/shared/calculators/render_util.ts start line: 263 end line: 284 size: 22 LOC McCabe index: 7 number of parameters: 7 id: 244 unit: export async function drawMask() file: body-segmentation/src/shared/calculators/render_util.ts start line: 465 end line: 491 size: 22 LOC McCabe index: 3 number of parameters: 6 id: 245 unit: nameOutputResults() file: body-segmentation/src/body_pix/impl/mobilenet.ts start line: 28 end line: 49 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 246 unit: function toInternalResolutionPercentage() file: body-segmentation/src/body_pix/impl/util.ts start line: 102 end line: 125 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 247 unit: nameOutputResults() file: body-segmentation/src/body_pix/impl/resnet.ts start line: 29 end line: 50 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 248 unit: export function drawMask() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 361 end line: 387 size: 22 LOC McCabe index: 3 number of parameters: 6 id: 249 unit: function scoreIsMaximumInLocalWindow() file: body-segmentation/src/body_pix/impl/multi_person/build_part_with_score_queue.ts start line: 22 end line: 45 size: 22 LOC McCabe index: 5 number of parameters: 6 id: 250 unit: function validatePersonInferenceConfig() file: body-segmentation/src/body_pix/impl/body_pix_model.ts start line: 248 end line: 273 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 251 unit: private predictForPersonSegmentation() file: body-segmentation/src/body_pix/impl/body_pix_model.ts start line: 328 end line: 349 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 252 unit: function config() file: posenet/rollup.config.js start line: 43 end line: 64 size: 22 LOC McCabe index: 1 number of parameters: 2 id: 253 unit: function scoreIsMaximumInLocalWindow() file: posenet/src/multi_pose/build_part_with_score_queue.ts start line: 22 end line: 45 size: 22 LOC McCabe index: 5 number of parameters: 6 id: 254 unit: async function cpuBlur() file: shared/calculators/render_util.ts start line: 188 end line: 210 size: 22 LOC McCabe index: 6 number of parameters: 3 id: 255 unit: function isSegmentationBoundary() file: shared/calculators/render_util.ts start line: 263 end line: 284 size: 22 LOC McCabe index: 7 number of parameters: 7 id: 256 unit: export async function drawMask() file: shared/calculators/render_util.ts start line: 465 end line: 491 size: 22 LOC McCabe index: 3 number of parameters: 6 id: 257 unit: export function validateEstimationConfig() file: pose-detection/src/posenet/detector_utils.ts start line: 110 end line: 139 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 258 unit: function scoreIsMaximumInLocalWindow() file: pose-detection/src/posenet/calculators/build_part_with_score_queue.ts start line: 22 end line: 45 size: 22 LOC McCabe index: 5 number of parameters: 6 id: 259 unit: async function cpuBlur() file: pose-detection/src/shared/calculators/render_util.ts start line: 188 end line: 210 size: 22 LOC McCabe index: 6 number of parameters: 3 id: 260 unit: function isSegmentationBoundary() file: pose-detection/src/shared/calculators/render_util.ts start line: 263 end line: 284 size: 22 LOC McCabe index: 7 number of parameters: 7 id: 261 unit: export async function drawMask() file: pose-detection/src/shared/calculators/render_util.ts start line: 465 end line: 491 size: 22 LOC McCabe index: 3 number of parameters: 6 id: 262 unit: private async detectPose() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 325 end line: 362 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 263 unit: export function validateEstimationConfig() file: pose-detection/src/blazepose_tfjs/detector_utils.ts start line: 67 end line: 93 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 264 unit: export function mergeKeypointTrackerConfig() file: pose-detection/src/movenet/detector_utils.ts start line: 115 end line: 139 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 265 unit: private translateOutput() file: pose-detection/src/blazepose_mediapipe/detector.ts start line: 116 end line: 139 size: 22 LOC McCabe index: 2 number of parameters: 2 id: 266 unit: private oks() file: pose-detection/src/calculators/keypoint_tracker.ts start line: 85 end line: 106 size: 22 LOC McCabe index: 5 number of parameters: 2 id: 267 unit: async function cpuBlur() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 188 end line: 210 size: 22 LOC McCabe index: 6 number of parameters: 3 id: 268 unit: function isSegmentationBoundary() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 263 end line: 284 size: 22 LOC McCabe index: 7 number of parameters: 7 id: 269 unit: export async function drawMask() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 465 end line: 491 size: 22 LOC McCabe index: 3 number of parameters: 6 id: 270 unit: private async detectPalm() file: hand-pose-detection/src/tfjs/detector.ts start line: 234 end line: 271 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 271 unit: async function cpuBlur() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 188 end line: 210 size: 22 LOC McCabe index: 6 number of parameters: 3 id: 272 unit: function isSegmentationBoundary() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 263 end line: 284 size: 22 LOC McCabe index: 7 number of parameters: 7 id: 273 unit: export async function drawMask() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 465 end line: 491 size: 22 LOC McCabe index: 3 number of parameters: 6 id: 274 unit: function config() file: body-pix/rollup.config.js start line: 43 end line: 64 size: 22 LOC McCabe index: 1 number of parameters: 2 id: 275 unit: nameOutputResults() file: body-pix/src/mobilenet.ts start line: 28 end line: 49 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 276 unit: function toInternalResolutionPercentage() file: body-pix/src/util.ts start line: 102 end line: 125 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 277 unit: nameOutputResults() file: body-pix/src/resnet.ts start line: 29 end line: 50 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 278 unit: export function drawMask() file: body-pix/src/output_rendering_util.ts start line: 361 end line: 387 size: 22 LOC McCabe index: 3 number of parameters: 6 id: 279 unit: function scoreIsMaximumInLocalWindow() file: body-pix/src/multi_person/build_part_with_score_queue.ts start line: 22 end line: 45 size: 22 LOC McCabe index: 5 number of parameters: 6 id: 280 unit: function validatePersonInferenceConfig() file: body-pix/src/body_pix_model.ts start line: 248 end line: 273 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 281 unit: private predictForPersonSegmentation() file: body-pix/src/body_pix_model.ts start line: 328 end line: 349 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 282 unit: function config() file: universal-sentence-encoder/rollup.config.js start line: 43 end line: 63 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 283 unit: async embed() file: universal-sentence-encoder/src/index.ts start line: 75 end line: 102 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 284 unit: private runSplitOnPunc() file: qna/src/bert_tokenizer.ts start line: 201 end line: 221 size: 21 LOC McCabe index: 4 number of parameters: 3 id: 285 unit: export async function loadMetadataJson() file: speech-commands/src/browser_fft_utils.ts start line: 23 end line: 45 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 286 unit: export function serializeExample() file: speech-commands/src/dataset.ts start line: 753 end line: 775 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 287 unit: export async function nonMaxSuppression() file: body-segmentation/src/shared/calculators/non_max_suppression.ts start line: 20 end line: 49 size: 21 LOC McCabe index: 1 number of parameters: 4 id: 288 unit: function isSegmentationBoundary() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 216 end line: 236 size: 21 LOC McCabe index: 6 number of parameters: 6 id: 289 unit: function config() file: blazeface/rollup.config.js start line: 43 end line: 63 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 290 unit: export async function nonMaxSuppression() file: shared/calculators/non_max_suppression.ts start line: 20 end line: 49 size: 21 LOC McCabe index: 1 number of parameters: 4 id: 291 unit: export function scalePoses() file: pose-detection/src/posenet/calculators/scale_poses.ts start line: 21 end line: 45 size: 21 LOC McCabe index: 7 number of parameters: 4 id: 292 unit: export async function nonMaxSuppression() file: pose-detection/src/shared/calculators/non_max_suppression.ts start line: 20 end line: 49 size: 21 LOC McCabe index: 1 number of parameters: 4 id: 293 unit: function config() file: toxicity/rollup.config.js start line: 43 end line: 63 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 294 unit: function config() file: mobilenet/rollup.config.js start line: 43 end line: 63 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 295 unit: export async function nonMaxSuppression() file: face-landmarks-detection/src/shared/calculators/non_max_suppression.ts start line: 20 end line: 49 size: 21 LOC McCabe index: 1 number of parameters: 4 id: 296 unit: async predict() file: tasks/src/tasks/image_classification/mobilenet_tfjs.ts start line: 104 end line: 124 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 297 unit: export async function nonMaxSuppression() file: hand-pose-detection/src/shared/calculators/non_max_suppression.ts start line: 20 end line: 49 size: 21 LOC McCabe index: 1 number of parameters: 4 id: 298 unit: function isSegmentationBoundary() file: body-pix/src/output_rendering_util.ts start line: 216 end line: 236 size: 21 LOC McCabe index: 6 number of parameters: 6 id: 299 unit: async segmentPeople() file: body-segmentation/src/selfie_segmentation_mediapipe/segmenter.ts start line: 117 end line: 137 size: 20 LOC McCabe index: 5 number of parameters: 2 id: 300 unit: function getInputSize() file: body-segmentation/src/shared/calculators/render_util.ts start line: 84 end line: 103 size: 20 LOC McCabe index: 12 number of parameters: 1 id: 301 unit: function drawStroke() file: body-segmentation/src/shared/calculators/render_util.ts start line: 242 end line: 261 size: 20 LOC McCabe index: 5 number of parameters: 9 id: 302 unit: export function landmarksToDetection() file: body-segmentation/src/shared/calculators/landmarks_to_detection.ts start line: 30 end line: 54 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 303 unit: function normRectFromKeypoints() file: body-segmentation/src/shared/calculators/detection_to_rect.ts start line: 59 end line: 80 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 304 unit: export function getInputSize() file: body-segmentation/src/body_pix/impl/util.ts start line: 50 end line: 69 size: 20 LOC McCabe index: 12 number of parameters: 1 id: 305 unit: function generateAnchors() file: blazeface/src/face.ts start line: 62 end line: 84 size: 20 LOC McCabe index: 5 number of parameters: 3 id: 306 unit: function getInputSize() file: shared/calculators/render_util.ts start line: 84 end line: 103 size: 20 LOC McCabe index: 12 number of parameters: 1 id: 307 unit: function drawStroke() file: shared/calculators/render_util.ts start line: 242 end line: 261 size: 20 LOC McCabe index: 5 number of parameters: 9 id: 308 unit: export function landmarksToDetection() file: shared/calculators/landmarks_to_detection.ts start line: 30 end line: 54 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 309 unit: function normRectFromKeypoints() file: shared/calculators/detection_to_rect.ts start line: 59 end line: 80 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 310 unit: await toTensorBuffers3D() file: pose-detection/src/posenet/calculators/decode_multiple_poses.ts start line: 87 end line: 120 size: 20 LOC McCabe index: 4 number of parameters: 4 id: 311 unit: function getInputSize() file: pose-detection/src/shared/calculators/render_util.ts start line: 84 end line: 103 size: 20 LOC McCabe index: 12 number of parameters: 1 id: 312 unit: function drawStroke() file: pose-detection/src/shared/calculators/render_util.ts start line: 242 end line: 261 size: 20 LOC McCabe index: 5 number of parameters: 9 id: 313 unit: export function landmarksToDetection() file: pose-detection/src/shared/calculators/landmarks_to_detection.ts start line: 30 end line: 54 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 314 unit: function normRectFromKeypoints() file: pose-detection/src/shared/calculators/detection_to_rect.ts start line: 59 end line: 80 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 315 unit: function getInputSize() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 84 end line: 103 size: 20 LOC McCabe index: 12 number of parameters: 1 id: 316 unit: function drawStroke() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 242 end line: 261 size: 20 LOC McCabe index: 5 number of parameters: 9 id: 317 unit: export function landmarksToDetection() file: face-landmarks-detection/src/shared/calculators/landmarks_to_detection.ts start line: 30 end line: 54 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 318 unit: function normRectFromKeypoints() file: face-landmarks-detection/src/shared/calculators/detection_to_rect.ts start line: 59 end line: 80 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 319 unit: async predict() file: tasks/src/tasks/object_detection/tflite_common.ts start line: 32 end line: 51 size: 20 LOC McCabe index: 3 number of parameters: 2 id: 320 unit: function getInputSize() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 84 end line: 103 size: 20 LOC McCabe index: 12 number of parameters: 1 id: 321 unit: function drawStroke() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 242 end line: 261 size: 20 LOC McCabe index: 5 number of parameters: 9 id: 322 unit: export function landmarksToDetection() file: hand-pose-detection/src/shared/calculators/landmarks_to_detection.ts start line: 30 end line: 54 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 323 unit: function normRectFromKeypoints() file: hand-pose-detection/src/shared/calculators/detection_to_rect.ts start line: 59 end line: 80 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 324 unit: export function getInputSize() file: body-pix/src/util.ts start line: 50 end line: 69 size: 20 LOC McCabe index: 12 number of parameters: 1 id: 325 unit: function config() file: knn-classifier/rollup.config.js start line: 43 end line: 62 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 326 unit: async predictClass() file: knn-classifier/src/index.ts start line: 137 end line: 157 size: 20 LOC McCabe index: 3 number of parameters: 2 id: 327 unit: insert() file: qna/src/bert_tokenizer.ts start line: 64 end line: 86 size: 19 LOC McCabe index: 5 number of parameters: 3 id: 328 unit: private loadDataArray() file: speech-commands/training/soft-fft/audio_model.ts start line: 140 end line: 158 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 329 unit: constructor() file: speech-commands/src/dataset.ts start line: 195 end line: 214 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 330 unit: export function getRoi() file: body-segmentation/src/shared/calculators/image_utils.ts start line: 137 end line: 155 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 331 unit: function smoothSegmentationWebGL() file: body-segmentation/src/shared/calculators/segmentation_smoothing.ts start line: 93 end line: 146 size: 19 LOC McCabe index: 1 number of parameters: 3 id: 332 unit: export function computeRotation() file: body-segmentation/src/shared/calculators/detection_to_rect.ts start line: 25 end line: 48 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 333 unit: function detectionToRect() file: body-segmentation/src/shared/calculators/detection_to_rect.ts start line: 90 end line: 111 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 334 unit: export function removePaddingAndResizeBack() file: body-segmentation/src/body_pix/impl/util.ts start line: 225 end line: 243 size: 19 LOC McCabe index: 1 number of parameters: 11 id: 335 unit: export function getRoi() file: shared/calculators/image_utils.ts start line: 137 end line: 155 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 336 unit: function smoothSegmentationWebGL() file: shared/calculators/segmentation_smoothing.ts start line: 93 end line: 146 size: 19 LOC McCabe index: 1 number of parameters: 3 id: 337 unit: export function computeRotation() file: shared/calculators/detection_to_rect.ts start line: 25 end line: 48 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 338 unit: function detectionToRect() file: shared/calculators/detection_to_rect.ts start line: 90 end line: 111 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 339 unit: export function getRoi() file: pose-detection/src/shared/calculators/image_utils.ts start line: 137 end line: 155 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 340 unit: function smoothSegmentationWebGL() file: pose-detection/src/shared/calculators/segmentation_smoothing.ts start line: 93 end line: 146 size: 19 LOC McCabe index: 1 number of parameters: 3 id: 341 unit: export function computeRotation() file: pose-detection/src/shared/calculators/detection_to_rect.ts start line: 25 end line: 48 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 342 unit: function detectionToRect() file: pose-detection/src/shared/calculators/detection_to_rect.ts start line: 90 end line: 111 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 343 unit: export function getRoi() file: face-landmarks-detection/src/shared/calculators/image_utils.ts start line: 137 end line: 155 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 344 unit: function smoothSegmentationWebGL() file: face-landmarks-detection/src/shared/calculators/segmentation_smoothing.ts start line: 93 end line: 146 size: 19 LOC McCabe index: 1 number of parameters: 3 id: 345 unit: export function computeRotation() file: face-landmarks-detection/src/shared/calculators/detection_to_rect.ts start line: 25 end line: 48 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 346 unit: function detectionToRect() file: face-landmarks-detection/src/shared/calculators/detection_to_rect.ts start line: 90 end line: 111 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 347 unit: export async function load() file: coco-ssd/src/index.ts start line: 55 end line: 74 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 348 unit: private calculateMaxScores() file: coco-ssd/src/index.ts start line: 193 end line: 211 size: 19 LOC McCabe index: 4 number of parameters: 3 id: 349 unit: async predict() file: tasks/src/tasks/image_classification/tflite_common.ts start line: 33 end line: 51 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 350 unit: export function getRoi() file: hand-pose-detection/src/shared/calculators/image_utils.ts start line: 137 end line: 155 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 351 unit: function smoothSegmentationWebGL() file: hand-pose-detection/src/shared/calculators/segmentation_smoothing.ts start line: 93 end line: 146 size: 19 LOC McCabe index: 1 number of parameters: 3 id: 352 unit: export function computeRotation() file: hand-pose-detection/src/shared/calculators/detection_to_rect.ts start line: 25 end line: 48 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 353 unit: function detectionToRect() file: hand-pose-detection/src/shared/calculators/detection_to_rect.ts start line: 90 end line: 111 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 354 unit: export function removePaddingAndResizeBack() file: body-pix/src/util.ts start line: 225 end line: 243 size: 19 LOC McCabe index: 1 number of parameters: 11 id: 355 unit: addExample() file: speech-commands/training/soft-fft/utils/dataset.ts start line: 34 end line: 59 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 356 unit: async load() file: speech-commands/src/browser_fft_recognizer.ts start line: 1358 end line: 1377 size: 18 LOC McCabe index: 7 number of parameters: 1 id: 357 unit: function convertToDetection() file: body-segmentation/src/shared/calculators/tensors_to_detections.ts start line: 117 end line: 134 size: 18 LOC McCabe index: 3 number of parameters: 7 id: 358 unit: export async function toHTMLCanvasElementLossy() file: body-segmentation/src/shared/calculators/mask_util.ts start line: 32 end line: 52 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 359 unit: function decodeBounds() file: blazeface/src/face.ts start line: 86 end line: 107 size: 18 LOC McCabe index: 1 number of parameters: 3 id: 360 unit: function convertToDetection() file: shared/calculators/tensors_to_detections.ts start line: 117 end line: 134 size: 18 LOC McCabe index: 3 number of parameters: 7 id: 361 unit: export async function toHTMLCanvasElementLossy() file: shared/calculators/mask_util.ts start line: 32 end line: 52 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 362 unit: export function getKeypointIndexByName() file: pose-detection/src/util.ts start line: 44 end line: 61 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 363 unit: function convertToDetection() file: pose-detection/src/shared/calculators/tensors_to_detections.ts start line: 117 end line: 134 size: 18 LOC McCabe index: 3 number of parameters: 7 id: 364 unit: export async function toHTMLCanvasElementLossy() file: pose-detection/src/shared/calculators/mask_util.ts start line: 32 end line: 52 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 365 unit: function mergeBaseTrackerConfig() file: pose-detection/src/movenet/detector_utils.ts start line: 94 end line: 113 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 366 unit: async estimatePoses() file: pose-detection/src/blazepose_mediapipe/detector.ts start line: 169 end line: 187 size: 18 LOC McCabe index: 5 number of parameters: 3 id: 367 unit: function convertToDetection() file: face-landmarks-detection/src/shared/calculators/tensors_to_detections.ts start line: 117 end line: 134 size: 18 LOC McCabe index: 3 number of parameters: 7 id: 368 unit: export async function toHTMLCanvasElementLossy() file: face-landmarks-detection/src/shared/calculators/mask_util.ts start line: 32 end line: 52 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 369 unit: async estimateFaces() file: face-landmarks-detection/src/mediapipe/detector.ts start line: 115 end line: 133 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 370 unit: async predict() file: tasks/src/tasks/nl_classification/tflite_common.ts start line: 32 end line: 49 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 371 unit: function convertToDetection() file: hand-pose-detection/src/shared/calculators/tensors_to_detections.ts start line: 117 end line: 134 size: 18 LOC McCabe index: 3 number of parameters: 7 id: 372 unit: export async function toHTMLCanvasElementLossy() file: hand-pose-detection/src/shared/calculators/mask_util.ts start line: 32 end line: 52 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 373 unit: private translateOutput() file: hand-pose-detection/src/mediapipe/detector.ts start line: 87 end line: 104 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 374 unit: async estimateHands() file: hand-pose-detection/src/mediapipe/detector.ts start line: 126 end line: 144 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 375 unit: insert() file: universal-sentence-encoder/src/tokenizer/trie.ts start line: 47 end line: 66 size: 17 LOC McCabe index: 4 number of parameters: 3 id: 376 unit: popBuffer() file: speech-commands/training/soft-fft/utils/circular_audio_buffer.ts start line: 67 end line: 86 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 377 unit: private melSpectrogramToInput() file: speech-commands/training/soft-fft/audio_model.ts start line: 209 end line: 228 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 378 unit: private collectTransferDataAsTfDataset() file: speech-commands/src/browser_fft_recognizer.ts start line: 973 end line: 989 size: 17 LOC McCabe index: 3 number of parameters: 4 id: 379 unit: async function drawImage() file: body-segmentation/src/shared/calculators/render_util.ts start line: 144 end line: 160 size: 17 LOC McCabe index: 5 number of parameters: 6 id: 380 unit: export function scaleAndCropToInputTensorShape() file: body-segmentation/src/body_pix/impl/util.ts start line: 205 end line: 223 size: 17 LOC McCabe index: 2 number of parameters: 15 id: 381 unit: function computeDistance() file: body-segmentation/src/body_pix/impl/multi_person/decode_multiple_masks_cpu.ts start line: 28 end line: 44 size: 17 LOC McCabe index: 4 number of parameters: 3 id: 382 unit: export async function load() file: handpose/src/index.ts start line: 71 end line: 89 size: 17 LOC McCabe index: 1 number of parameters: 4 id: 383 unit: export function invertTransformMatrix() file: handpose/src/util.ts start line: 87 end line: 104 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 384 unit: export function validateInputResolution() file: posenet/src/util.ts start line: 127 end line: 144 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 385 unit: async function loadMobileNet() file: posenet/src/posenet_model.ts start line: 396 end line: 415 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 386 unit: async function drawImage() file: shared/calculators/render_util.ts start line: 144 end line: 160 size: 17 LOC McCabe index: 5 number of parameters: 6 id: 387 unit: async function drawImage() file: pose-detection/src/shared/calculators/render_util.ts start line: 144 end line: 160 size: 17 LOC McCabe index: 5 number of parameters: 6 id: 388 unit: export async function load() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 742 end line: 761 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 389 unit: async load() file: toxicity/src/index.ts start line: 66 end line: 85 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 390 unit: async function drawImage() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 144 end line: 160 size: 17 LOC McCabe index: 5 number of parameters: 6 id: 391 unit: async function drawImage() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 144 end line: 160 size: 17 LOC McCabe index: 5 number of parameters: 6 id: 392 unit: export function scaleAndCropToInputTensorShape() file: body-pix/src/util.ts start line: 205 end line: 223 size: 17 LOC McCabe index: 2 number of parameters: 15 id: 393 unit: function computeDistance() file: body-pix/src/multi_person/decode_multiple_masks_cpu.ts start line: 28 end line: 44 size: 17 LOC McCabe index: 4 number of parameters: 3 id: 394 unit: export function createPascalColormap() file: deeplab/src/utils.ts start line: 23 end line: 44 size: 17 LOC McCabe index: 5 number of parameters: 0 id: 395 unit: export function topK() file: knn-classifier/src/util.ts start line: 32 end line: 48 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 396 unit: export function normalizeFloat32Array() file: speech-commands/src/browser_fft_utils.ts start line: 77 end line: 92 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 397 unit: private getSortedUniqueNumFrames() file: speech-commands/src/dataset.ts start line: 579 end line: 594 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 398 unit: await loadMetadataJson() file: speech-commands/src/browser_fft_recognizer.ts start line: 401 end line: 417 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 399 unit: async function drawAndBlurImageOnCanvas() file: body-segmentation/src/shared/calculators/render_util.ts start line: 212 end line: 228 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 400 unit: export function calculateWorldLandmarkProjection() file: body-segmentation/src/shared/calculators/calculate_world_landmark_projection.ts start line: 35 end line: 54 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 401 unit: export function decodePartSegmentation() file: body-segmentation/src/body_pix/impl/decode_part_map.ts start line: 75 end line: 94 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 402 unit: export function scaleAndFlipPoses() file: body-segmentation/src/body_pix/impl/util.ts start line: 334 end line: 351 size: 16 LOC McCabe index: 2 number of parameters: 9 id: 403 unit: function drawAndBlurImageOnCanvas() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 78 end line: 94 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 404 unit: function flipHandHorizontal() file: handpose/src/index.ts start line: 98 end line: 113 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 405 unit: export function getBoundingBox() file: posenet/src/util.ts start line: 45 end line: 60 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 406 unit: export function getValidInputResolutionDimensions() file: posenet/src/util.ts start line: 146 end line: 161 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 407 unit: function validateMultiPersonInputConfig() file: posenet/src/posenet_model.ts start line: 227 end line: 245 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 408 unit: async function loadResNet() file: posenet/src/posenet_model.ts start line: 417 end line: 433 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 409 unit: async function drawAndBlurImageOnCanvas() file: shared/calculators/render_util.ts start line: 212 end line: 228 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 410 unit: export function calculateWorldLandmarkProjection() file: shared/calculators/calculate_world_landmark_projection.ts start line: 35 end line: 54 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 411 unit: async function drawAndBlurImageOnCanvas() file: pose-detection/src/shared/calculators/render_util.ts start line: 212 end line: 228 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 412 unit: export function calculateWorldLandmarkProjection() file: pose-detection/src/shared/calculators/calculate_world_landmark_projection.ts start line: 35 end line: 54 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 413 unit: private poseDetectionToRoi() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 369 end line: 393 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 414 unit: async function drawAndBlurImageOnCanvas() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 212 end line: 228 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 415 unit: export function calculateWorldLandmarkProjection() file: face-landmarks-detection/src/shared/calculators/calculate_world_landmark_projection.ts start line: 35 end line: 54 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 416 unit: export function validateModelConfig() file: face-landmarks-detection/src/mediapipe/detector_utils.ts start line: 21 end line: 41 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 417 unit: export function validateEstimationConfig() file: face-landmarks-detection/src/mediapipe/detector_utils.ts start line: 43 end line: 62 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 418 unit: function config() file: tasks/rollup.config.js start line: 43 end line: 58 size: 16 LOC McCabe index: 1 number of parameters: 3 id: 419 unit: async loadPackagesAndGetGlobalNamespace() file: tasks/src/package_loader.ts start line: 41 end line: 57 size: 16 LOC McCabe index: 4 number of parameters: 3 id: 420 unit: async predict() file: tasks/src/tasks/sentiment_detection/toxicity_tfjs.ts start line: 126 end line: 141 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 421 unit: async predict() file: tasks/src/tasks/question_and_answer/tflite_common.ts start line: 31 end line: 47 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 422 unit: export async function load() file: hand-pose-detection/src/tfjs/detector.ts start line: 438 end line: 456 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 423 unit: async function drawAndBlurImageOnCanvas() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 212 end line: 228 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 424 unit: export function calculateWorldLandmarkProjection() file: hand-pose-detection/src/shared/calculators/calculate_world_landmark_projection.ts start line: 35 end line: 54 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 425 unit: export function validateModelConfig() file: hand-pose-detection/src/mediapipe/detector_utils.ts start line: 21 end line: 41 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 426 unit: export function decodePartSegmentation() file: body-pix/src/decode_part_map.ts start line: 75 end line: 94 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 427 unit: export function scaleAndFlipPoses() file: body-pix/src/util.ts start line: 334 end line: 351 size: 16 LOC McCabe index: 2 number of parameters: 9 id: 428 unit: function drawAndBlurImageOnCanvas() file: body-pix/src/output_rendering_util.ts start line: 78 end line: 94 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 429 unit: async load() file: qna/src/question_and_answer.ts start line: 188 end line: 204 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 430 unit: fft() file: speech-commands/training/soft-fft/utils/audio_utils.ts start line: 51 end line: 65 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 431 unit: playbackArrayBuffer() file: speech-commands/training/soft-fft/utils/audio_utils.ts start line: 209 end line: 224 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 432 unit: config() file: speech-commands/training/soft-fft/wav_file_feature_extractor.ts start line: 25 end line: 41 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 433 unit: private checkInputTensorShape() file: speech-commands/src/browser_fft_recognizer.ts start line: 609 end line: 623 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 434 unit: async save() file: speech-commands/src/browser_fft_recognizer.ts start line: 1340 end line: 1356 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 435 unit: export function validateModelConfig() file: body-segmentation/src/selfie_segmentation_mediapipe/segmenter_utils.ts start line: 21 end line: 39 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 436 unit: async function createPersonMask() file: body-segmentation/src/shared/calculators/render_util.ts start line: 571 end line: 586 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 437 unit: async function createBodyPartMask() file: body-segmentation/src/shared/calculators/render_util.ts start line: 653 end line: 668 size: 15 LOC McCabe index: 2 number of parameters: 4 id: 438 unit: export function getProjectiveTransformMatrix() file: body-segmentation/src/shared/calculators/image_utils.ts start line: 167 end line: 188 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 439 unit: export function scalePose() file: body-segmentation/src/body_pix/impl/util.ts start line: 291 end line: 305 size: 15 LOC McCabe index: 1 number of parameters: 5 id: 440 unit: function drawStroke() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 200 end line: 214 size: 15 LOC McCabe index: 5 number of parameters: 9 id: 441 unit: function createPersonMask() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 468 end line: 483 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 442 unit: function createBodyPartMask() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 546 end line: 561 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 443 unit: float sampleLongOffsets() file: body-segmentation/src/body_pix/impl/multi_person/decode_multiple_masks_webgl.ts start line: 79 end line: 93 size: 15 LOC McCabe index: 1 number of parameters: 4 id: 444 unit: async function loadMobileNet() file: body-segmentation/src/body_pix/impl/body_pix_model.ts start line: 985 end line: 1000 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 445 unit: export function scalePose() file: posenet/src/util.ts start line: 75 end line: 89 size: 15 LOC McCabe index: 1 number of parameters: 5 id: 446 unit: export function assertValidResolution() file: posenet/src/util.ts start line: 178 end line: 194 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 447 unit: async function createPersonMask() file: shared/calculators/render_util.ts start line: 571 end line: 586 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 448 unit: async function createBodyPartMask() file: shared/calculators/render_util.ts start line: 653 end line: 668 size: 15 LOC McCabe index: 2 number of parameters: 4 id: 449 unit: export function getProjectiveTransformMatrix() file: shared/calculators/image_utils.ts start line: 167 end line: 188 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 450 unit: export async function load() file: pose-detection/src/posenet/detector.ts start line: 185 end line: 204 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 451 unit: async function createPersonMask() file: pose-detection/src/shared/calculators/render_util.ts start line: 571 end line: 586 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 452 unit: async function createBodyPartMask() file: pose-detection/src/shared/calculators/render_util.ts start line: 653 end line: 668 size: 15 LOC McCabe index: 2 number of parameters: 4 id: 453 unit: export function getProjectiveTransformMatrix() file: pose-detection/src/shared/calculators/image_utils.ts start line: 167 end line: 188 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 454 unit: async load() file: mobilenet/src/index.ts start line: 184 end line: 199 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 455 unit: async function createPersonMask() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 571 end line: 586 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 456 unit: async function createBodyPartMask() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 653 end line: 668 size: 15 LOC McCabe index: 2 number of parameters: 4 id: 457 unit: export function getProjectiveTransformMatrix() file: face-landmarks-detection/src/shared/calculators/image_utils.ts start line: 167 end line: 188 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 458 unit: export function validateEstimationConfig() file: hand-pose-detection/src/tfjs/detector_utils.ts start line: 71 end line: 89 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 459 unit: function computeRotation() file: hand-pose-detection/src/tfjs/calculators/hand_landmarks_to_rect.ts start line: 27 end line: 43 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 460 unit: async function createPersonMask() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 571 end line: 586 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 461 unit: async function createBodyPartMask() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 653 end line: 668 size: 15 LOC McCabe index: 2 number of parameters: 4 id: 462 unit: export function getProjectiveTransformMatrix() file: hand-pose-detection/src/shared/calculators/image_utils.ts start line: 167 end line: 188 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 463 unit: export function validateEstimationConfig() file: hand-pose-detection/src/mediapipe/detector_utils.ts start line: 43 end line: 61 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 464 unit: export function scalePose() file: body-pix/src/util.ts start line: 291 end line: 305 size: 15 LOC McCabe index: 1 number of parameters: 5 id: 465 unit: function drawStroke() file: body-pix/src/output_rendering_util.ts start line: 200 end line: 214 size: 15 LOC McCabe index: 5 number of parameters: 9 id: 466 unit: function createPersonMask() file: body-pix/src/output_rendering_util.ts start line: 468 end line: 483 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 467 unit: function createBodyPartMask() file: body-pix/src/output_rendering_util.ts start line: 546 end line: 561 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 468 unit: float sampleLongOffsets() file: body-pix/src/multi_person/decode_multiple_masks_webgl.ts start line: 79 end line: 93 size: 15 LOC McCabe index: 1 number of parameters: 4 id: 469 unit: async function loadMobileNet() file: body-pix/src/body_pix_model.ts start line: 985 end line: 1000 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 470 unit: export function validateSegmentationConfig() file: body-segmentation/src/selfie_segmentation_mediapipe/segmenter_utils.ts start line: 41 end line: 57 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 471 unit: export function normalizedKeypointsToKeypoints() file: body-segmentation/src/shared/calculators/normalized_keypoints_to_keypoints.ts start line: 19 end line: 35 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 472 unit: export async function toImageDataLossy() file: body-segmentation/src/shared/calculators/mask_util.ts start line: 63 end line: 78 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 473 unit: async function loadResNet() file: body-segmentation/src/body_pix/impl/body_pix_model.ts start line: 1005 end line: 1019 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 474 unit: private normalizeBoxes() file: handpose/src/hand.ts start line: 53 end line: 68 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 475 unit: private getBoxForPalmLandmarks() file: handpose/src/pipeline.ts start line: 66 end line: 82 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 476 unit: function assertPeerDepSatisfied() file: presubmit.ts start line: 34 end line: 49 size: 14 LOC McCabe index: 4 number of parameters: 4 id: 477 unit: export function normalizedKeypointsToKeypoints() file: shared/calculators/normalized_keypoints_to_keypoints.ts start line: 19 end line: 35 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 478 unit: export async function toImageDataLossy() file: shared/calculators/mask_util.ts start line: 63 end line: 78 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 479 unit: export function getOffsetPoints() file: pose-detection/src/posenet/calculators/decode_single_pose_util.ts start line: 59 end line: 73 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 480 unit: export function normalizedKeypointsToKeypoints() file: pose-detection/src/shared/calculators/normalized_keypoints_to_keypoints.ts start line: 19 end line: 35 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 481 unit: export async function toImageDataLossy() file: pose-detection/src/shared/calculators/mask_util.ts start line: 63 end line: 78 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 482 unit: export function normalizedKeypointsToKeypoints() file: face-landmarks-detection/src/shared/calculators/normalized_keypoints_to_keypoints.ts start line: 19 end line: 35 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 483 unit: export async function toImageDataLossy() file: face-landmarks-detection/src/shared/calculators/mask_util.ts start line: 63 end line: 78 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 484 unit: private translateOutput() file: face-landmarks-detection/src/mediapipe/detector.ts start line: 78 end line: 93 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 485 unit: export function getAllModelLoaders() file: tasks/src/tasks/all_tasks.ts start line: 134 end line: 148 size: 14 LOC McCabe index: 4 number of parameters: 0 id: 486 unit: protected async transformSourceModel() file: tasks/src/tasks/image_segmentation/deeplab_tfjs.ts start line: 56 end line: 69 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 487 unit: export function normalizedKeypointsToKeypoints() file: hand-pose-detection/src/shared/calculators/normalized_keypoints_to_keypoints.ts start line: 19 end line: 35 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 488 unit: export async function toImageDataLossy() file: hand-pose-detection/src/shared/calculators/mask_util.ts start line: 63 end line: 78 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 489 unit: async function loadResNet() file: body-pix/src/body_pix_model.ts start line: 1005 end line: 1019 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 490 unit: addExamples() file: speech-commands/training/soft-fft/dataset.ts start line: 36 end line: 53 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 491 unit: async stop() file: speech-commands/src/browser_fft_extractor.ts start line: 243 end line: 255 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 492 unit: setExampleKeyFrameIndex() file: speech-commands/src/dataset.ts start line: 624 end line: 636 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 493 unit: export function concatenateArrayBuffers() file: speech-commands/src/generic_utils.ts start line: 24 end line: 37 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 494 unit: export async function deleteSavedTransferModel() file: speech-commands/src/browser_fft_recognizer.ts start line: 1418 end line: 1431 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 495 unit: export function calculateScoreCopy() file: body-segmentation/src/shared/calculators/calculate_score_copy.ts start line: 34 end line: 51 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 496 unit: export function transformValueRange() file: body-segmentation/src/shared/calculators/image_utils.ts start line: 46 end line: 60 size: 13 LOC McCabe index: 2 number of parameters: 4 id: 497 unit: function getSizeFromImageLikeElement() file: body-segmentation/src/body_pix/impl/util.ts start line: 25 end line: 37 size: 13 LOC McCabe index: 7 number of parameters: 1 id: 498 unit: export function toInputResolutionHeightAndWidth() file: body-segmentation/src/body_pix/impl/util.ts start line: 127 end line: 140 size: 13 LOC McCabe index: 1 number of parameters: 5 id: 499 unit: export function getOffsetVectors() file: body-segmentation/src/body_pix/impl/single_person/util.ts start line: 46 end line: 62 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 500 unit: function getInstanceScore() file: body-segmentation/src/body_pix/impl/multi_person/decode_multiple_poses.ts start line: 39 end line: 52 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 501 unit: export function validateSegmentationConfig() file: body-segmentation/src/selfie_segmentation_tfjs/segmenter_utils.ts start line: 56 end line: 71 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 502 unit: export function scaleBoxCoordinates() file: handpose/src/box.ts start line: 54 end line: 67 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 503 unit: export function buildRotationMatrix() file: handpose/src/util.ts start line: 71 end line: 85 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 504 unit: private getBoxForHandLandmarks() file: handpose/src/pipeline.ts start line: 85 end line: 102 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 505 unit: export function getAdjacentKeyPoints() file: posenet/src/util.ts start line: 28 end line: 42 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 506 unit: function getInstanceScore() file: posenet/src/multi_pose/decode_multiple_poses.ts start line: 39 end line: 52 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 507 unit: export function getOffsetVectors() file: posenet/src/single_pose/util.ts start line: 46 end line: 62 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 508 unit: export function calculateScoreCopy() file: shared/calculators/calculate_score_copy.ts start line: 34 end line: 51 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 509 unit: export function transformValueRange() file: shared/calculators/image_utils.ts start line: 46 end line: 60 size: 13 LOC McCabe index: 2 number of parameters: 4 id: 510 unit: export function getInstanceScore() file: pose-detection/src/posenet/calculators/decode_multiple_poses_util.ts start line: 230 end line: 243 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 511 unit: export function getOffsetVectors() file: pose-detection/src/posenet/calculators/decode_single_pose_util.ts start line: 75 end line: 91 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 512 unit: export function calculateScoreCopy() file: pose-detection/src/shared/calculators/calculate_score_copy.ts start line: 34 end line: 51 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 513 unit: export function transformValueRange() file: pose-detection/src/shared/calculators/image_utils.ts start line: 46 end line: 60 size: 13 LOC McCabe index: 2 number of parameters: 4 id: 514 unit: poseSegmentationFiltering() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 286 end line: 298 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 515 unit: private poseLandmarksToRoi() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 632 end line: 653 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 516 unit: export function torsoVisible() file: pose-detection/src/movenet/crop_utils.ts start line: 32 end line: 44 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 517 unit: export function calculateScoreCopy() file: face-landmarks-detection/src/shared/calculators/calculate_score_copy.ts start line: 34 end line: 51 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 518 unit: export function transformValueRange() file: face-landmarks-detection/src/shared/calculators/image_utils.ts start line: 46 end line: 60 size: 13 LOC McCabe index: 2 number of parameters: 4 id: 519 unit: protected async transformSourceModel() file: tasks/src/tasks/sentiment_detection/movie_review_tflite.ts start line: 56 end line: 68 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 520 unit: protected async transformSourceModel() file: tasks/src/tasks/question_and_answer/bert_qa_tfjs.ts start line: 56 end line: 68 size: 13 LOC McCabe index: 6 number of parameters: 2 id: 521 unit: private palmDetectionToRoi() file: hand-pose-detection/src/tfjs/detector.ts start line: 277 end line: 299 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 522 unit: export function calculateScoreCopy() file: hand-pose-detection/src/shared/calculators/calculate_score_copy.ts start line: 34 end line: 51 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 523 unit: export function transformValueRange() file: hand-pose-detection/src/shared/calculators/image_utils.ts start line: 46 end line: 60 size: 13 LOC McCabe index: 2 number of parameters: 4 id: 524 unit: function getSizeFromImageLikeElement() file: body-pix/src/util.ts start line: 25 end line: 37 size: 13 LOC McCabe index: 7 number of parameters: 1 id: 525 unit: export function toInputResolutionHeightAndWidth() file: body-pix/src/util.ts start line: 127 end line: 140 size: 13 LOC McCabe index: 1 number of parameters: 5 id: 526 unit: export function getOffsetVectors() file: body-pix/src/single_person/util.ts start line: 46 end line: 62 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 527 unit: function getInstanceScore() file: body-pix/src/multi_person/decode_multiple_poses.ts start line: 39 end line: 52 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 528 unit: export function getColormap() file: deeplab/src/utils.ts start line: 86 end line: 98 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 529 unit: export function getLabels() file: deeplab/src/utils.ts start line: 109 end line: 121 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 530 unit: function serializedExamples2ArrayBuffer() file: speech-commands/src/dataset.ts start line: 815 end line: 828 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 531 unit: private collectTransferDataAsTensors() file: speech-commands/src/browser_fft_recognizer.ts start line: 943 end line: 954 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 532 unit: function getSizeFromImageLikeElement() file: body-segmentation/src/shared/calculators/render_util.ts start line: 60 end line: 71 size: 12 LOC McCabe index: 7 number of parameters: 1 id: 533 unit: export function detectorInference() file: body-segmentation/src/shared/calculators/detector_inference.ts start line: 26 end line: 40 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 534 unit: export function getPointsConfidence() file: body-segmentation/src/body_pix/impl/single_person/util.ts start line: 22 end line: 35 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 535 unit: function multiplyTransformMatrices() file: handpose/src/util.ts start line: 55 end line: 69 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 536 unit: export function toResizedInputTensor() file: posenet/src/util.ts start line: 206 end line: 218 size: 12 LOC McCabe index: 2 number of parameters: 4 id: 537 unit: export function getPointsConfidence() file: posenet/src/single_pose/util.ts start line: 22 end line: 35 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 538 unit: export function getOffsetPoints() file: posenet/src/single_pose/util.ts start line: 64 end line: 76 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 539 unit: function scaleBoxFromPrediction() file: blazeface/src/face.ts start line: 184 end line: 195 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 540 unit: function getSizeFromImageLikeElement() file: shared/calculators/render_util.ts start line: 60 end line: 71 size: 12 LOC McCabe index: 7 number of parameters: 1 id: 541 unit: export function detectorInference() file: shared/calculators/detector_inference.ts start line: 26 end line: 40 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 542 unit: export function getKeypointIndexBySide() file: pose-detection/src/util.ts start line: 20 end line: 31 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 543 unit: export function getPointsConfidence() file: pose-detection/src/posenet/calculators/decode_single_pose_util.ts start line: 44 end line: 57 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 544 unit: function getSizeFromImageLikeElement() file: pose-detection/src/shared/calculators/render_util.ts start line: 60 end line: 71 size: 12 LOC McCabe index: 7 number of parameters: 1 id: 545 unit: export function detectorInference() file: pose-detection/src/shared/calculators/detector_inference.ts start line: 26 end line: 40 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 546 unit: function getSizeFromImageLikeElement() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 60 end line: 71 size: 12 LOC McCabe index: 7 number of parameters: 1 id: 547 unit: export function detectorInference() file: face-landmarks-detection/src/shared/calculators/detector_inference.ts start line: 26 end line: 40 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 548 unit: export async function ensureTFJSBackend() file: tasks/src/tasks/common.ts start line: 122 end line: 134 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 549 unit: function getSizeFromImageLikeElement() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 60 end line: 71 size: 12 LOC McCabe index: 7 number of parameters: 1 id: 550 unit: export function detectorInference() file: hand-pose-detection/src/shared/calculators/detector_inference.ts start line: 26 end line: 40 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 551 unit: export function getPointsConfidence() file: body-pix/src/single_person/util.ts start line: 22 end line: 35 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 552 unit: export function toInputTensor() file: deeplab/src/utils.ts start line: 133 end line: 144 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 553 unit: export function concatWithNulls() file: knn-classifier/src/util.ts start line: 19 end line: 30 size: 12 LOC McCabe index: 5 number of parameters: 2 id: 554 unit: private shiftTokens() file: universal-sentence-encoder/src/use_qna.ts start line: 129 end line: 139 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 555 unit: addBuffer() file: speech-commands/training/soft-fft/utils/circular_audio_buffer.ts start line: 36 end line: 47 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 556 unit: getBuffer() file: speech-commands/training/soft-fft/utils/circular_audio_buffer.ts start line: 91 end line: 102 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 557 unit: export function concatenateFloat32Arrays() file: speech-commands/src/generic_utils.ts start line: 45 end line: 55 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 558 unit: export function string2ArrayBuffer() file: speech-commands/src/generic_utils.ts start line: 58 end line: 70 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 559 unit: async function drawAndBlurImageOnOffScreenCanvas() file: body-segmentation/src/shared/calculators/render_util.ts start line: 230 end line: 240 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 560 unit: export function arrayToMatrix4x4() file: body-segmentation/src/shared/calculators/calculate_inverse_matrix.ts start line: 26 end line: 36 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 561 unit: constructor() file: body-segmentation/src/shared/filters/keypoints_smoothing.ts start line: 34 end line: 44 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 562 unit: constructor() file: body-segmentation/src/shared/filters/one_euro_filter.ts start line: 43 end line: 53 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 563 unit: export function decodeOnlyPartSegmentation() file: body-segmentation/src/body_pix/impl/decode_part_map.ts start line: 96 end line: 108 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 564 unit: export function mobileNetSavedModel() file: body-segmentation/src/body_pix/impl/saved_models.ts start line: 37 end line: 48 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 565 unit: export function flipPoseHorizontal() file: body-segmentation/src/body_pix/impl/util.ts start line: 315 end line: 325 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 566 unit: function drawAndBlurImageOnOffScreenCanvas() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 96 end line: 106 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 567 unit: export async function load() file: body-segmentation/src/body_pix/impl/body_pix_model.ts start line: 1033 end line: 1043 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 568 unit: export function flipPoseHorizontal() file: posenet/src/util.ts start line: 99 end line: 109 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 569 unit: export function mobileNetCheckpoint() file: posenet/src/checkpoints.ts start line: 37 end line: 48 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 570 unit: async estimatePoses() file: posenet/src/posenet_model.ts start line: 379 end line: 389 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 571 unit: export async function load() file: posenet/src/posenet_model.ts start line: 447 end line: 457 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 572 unit: async function drawAndBlurImageOnOffScreenCanvas() file: shared/calculators/render_util.ts start line: 230 end line: 240 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 573 unit: export function arrayToMatrix4x4() file: shared/calculators/calculate_inverse_matrix.ts start line: 26 end line: 36 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 574 unit: constructor() file: shared/filters/keypoints_smoothing.ts start line: 34 end line: 44 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 575 unit: constructor() file: shared/filters/one_euro_filter.ts start line: 43 end line: 53 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 576 unit: export function getAdjacentPairs() file: pose-detection/src/util.ts start line: 32 end line: 42 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 577 unit: export function mobileNetCheckpoint() file: pose-detection/src/posenet/load_utils.ts start line: 40 end line: 51 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 578 unit: export function assertValidResolution() file: pose-detection/src/posenet/detector_utils.ts start line: 97 end line: 108 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 579 unit: async function drawAndBlurImageOnOffScreenCanvas() file: pose-detection/src/shared/calculators/render_util.ts start line: 230 end line: 240 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 580 unit: export function arrayToMatrix4x4() file: pose-detection/src/shared/calculators/calculate_inverse_matrix.ts start line: 26 end line: 36 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 581 unit: constructor() file: pose-detection/src/shared/filters/keypoints_smoothing.ts start line: 34 end line: 44 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 582 unit: constructor() file: pose-detection/src/shared/filters/one_euro_filter.ts start line: 43 end line: 53 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 583 unit: reset() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 309 end line: 319 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 584 unit: async function drawAndBlurImageOnOffScreenCanvas() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 230 end line: 240 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 585 unit: export function arrayToMatrix4x4() file: face-landmarks-detection/src/shared/calculators/calculate_inverse_matrix.ts start line: 26 end line: 36 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 586 unit: constructor() file: face-landmarks-detection/src/shared/filters/keypoints_smoothing.ts start line: 34 end line: 44 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 587 unit: constructor() file: face-landmarks-detection/src/shared/filters/one_euro_filter.ts start line: 43 end line: 53 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 588 unit: async load() file: tasks/src/task_model.ts start line: 173 end line: 190 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 589 unit: protected async loadSourceModelGlobalNamespace() file: tasks/src/task_model.ts start line: 200 end line: 214 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 590 unit: protected async transformSourceModel() file: tasks/src/tasks/sentiment_detection/toxicity_tfjs.ts start line: 63 end line: 73 size: 11 LOC McCabe index: 5 number of parameters: 2 id: 591 unit: async predict() file: tasks/src/tasks/question_and_answer/bert_qa_tfjs.ts start line: 105 end line: 115 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 592 unit: private handLandmarksToRoi() file: hand-pose-detection/src/tfjs/detector.ts start line: 401 end line: 427 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 593 unit: async function drawAndBlurImageOnOffScreenCanvas() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 230 end line: 240 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 594 unit: export function arrayToMatrix4x4() file: hand-pose-detection/src/shared/calculators/calculate_inverse_matrix.ts start line: 26 end line: 36 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 595 unit: constructor() file: hand-pose-detection/src/shared/filters/keypoints_smoothing.ts start line: 34 end line: 44 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 596 unit: constructor() file: hand-pose-detection/src/shared/filters/one_euro_filter.ts start line: 43 end line: 53 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 597 unit: export function decodeOnlyPartSegmentation() file: body-pix/src/decode_part_map.ts start line: 96 end line: 108 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 598 unit: export function mobileNetSavedModel() file: body-pix/src/saved_models.ts start line: 37 end line: 48 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 599 unit: export function flipPoseHorizontal() file: body-pix/src/util.ts start line: 315 end line: 325 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 600 unit: function drawAndBlurImageOnOffScreenCanvas() file: body-pix/src/output_rendering_util.ts start line: 96 end line: 106 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 601 unit: export async function load() file: body-pix/src/body_pix_model.ts start line: 1033 end line: 1043 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 602 unit: function minify() file: deeplab/rollup.config.js start line: 42 end line: 52 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 603 unit: private getFullBuffers() file: speech-commands/training/soft-fft/wav_file_feature_extractor.ts start line: 83 end line: 94 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 604 unit: private splitSpecs() file: speech-commands/training/soft-fft/audio_model.ts start line: 198 end line: 207 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 605 unit: export async function listSavedTransferModels() file: speech-commands/src/browser_fft_recognizer.ts start line: 1402 end line: 1411 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 606 unit: function overlapSimilarity() file: body-segmentation/src/shared/calculators/association_norm_rect.ts start line: 49 end line: 58 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 607 unit: abstract nameOutputResults() file: body-segmentation/src/body_pix/impl/base_model.ts start line: 96 end line: 105 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 608 unit: export function argmax2d() file: body-segmentation/src/body_pix/impl/single_person/argmax2d.ts start line: 28 end line: 40 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 609 unit: export async function load() file: body-segmentation/src/selfie_segmentation_tfjs/segmenter.ts start line: 158 end line: 170 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 610 unit: export function cutBoxFromImageAndResize() file: handpose/src/box.ts start line: 41 end line: 52 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 611 unit: export function enlargeBox() file: handpose/src/box.ts start line: 69 end line: 80 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 612 unit: private normalizeLandmarks() file: handpose/src/hand.ts start line: 70 end line: 80 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 613 unit: function assertCaretDep() file: presubmit.ts start line: 51 end line: 60 size: 10 LOC McCabe index: 4 number of parameters: 4 id: 614 unit: export function argmax2d() file: posenet/src/single_pose/argmax2d.ts start line: 28 end line: 40 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 615 unit: function overlapSimilarity() file: shared/calculators/association_norm_rect.ts start line: 49 end line: 58 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 616 unit: export function getImageCoords() file: pose-detection/src/posenet/calculators/decode_multiple_poses_util.ts start line: 39 end line: 48 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 617 unit: export function argmax2d() file: pose-detection/src/posenet/calculators/decode_single_pose_util.ts start line: 30 end line: 42 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 618 unit: function overlapSimilarity() file: pose-detection/src/shared/calculators/association_norm_rect.ts start line: 49 end line: 58 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 619 unit: function overlapSimilarity() file: face-landmarks-detection/src/shared/calculators/association_norm_rect.ts start line: 49 end line: 58 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 620 unit: function filterModelLoaders() file: tasks/src/tasks/all_tasks.ts start line: 150 end line: 159 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 621 unit: function overlapSimilarity() file: hand-pose-detection/src/shared/calculators/association_norm_rect.ts start line: 49 end line: 58 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 622 unit: abstract nameOutputResults() file: body-pix/src/base_model.ts start line: 96 end line: 105 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 623 unit: export function argmax2d() file: body-pix/src/single_person/argmax2d.ts start line: 28 end line: 40 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 624 unit: registerAllModelItems() file: model-playground/src/app/services/model_item_service.ts start line: 38 end line: 46 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 625 unit: async train() file: speech-commands/training/soft-fft/audio_model.ts start line: 171 end line: 179 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 626 unit: export function normalize() file: speech-commands/src/browser_fft_utils.ts start line: 58 end line: 67 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 627 unit: function createOffScreenCanvas() file: body-segmentation/src/shared/calculators/render_util.ts start line: 105 end line: 113 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 628 unit: function calculateScale() file: body-segmentation/src/shared/calculators/create_ssd_anchors.ts start line: 119 end line: 127 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 629 unit: export function assertMaskValue() file: body-segmentation/src/shared/calculators/mask_util.ts start line: 98 end line: 106 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 630 unit: function intersect() file: body-segmentation/src/shared/calculators/association_norm_rect.ts start line: 30 end line: 39 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 631 unit: export function resize2d() file: body-segmentation/src/body_pix/impl/util.ts start line: 245 end line: 253 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 632 unit: function createOffScreenCanvas() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 61 end line: 69 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 633 unit: export function toMask() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 166 end line: 174 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 634 unit: export function getOffsetPoints() file: body-segmentation/src/body_pix/impl/single_person/util.ts start line: 64 end line: 73 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 635 unit: export function getScale() file: body-segmentation/src/body_pix/impl/multi_person/util.ts start line: 21 end line: 29 size: 9 LOC McCabe index: 1 number of parameters: 7 id: 636 unit: export function getImageCoords() file: body-segmentation/src/body_pix/impl/multi_person/util.ts start line: 39 end line: 47 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 637 unit: export function clamp() file: body-segmentation/src/body_pix/impl/multi_person/util.ts start line: 59 end line: 67 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 638 unit: export function bodyPixMaskValueToRainbowColor() file: body-segmentation/src/body_pix/constants.ts start line: 29 end line: 37 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 639 unit: export function getImageCoords() file: posenet/src/multi_pose/util.ts start line: 29 end line: 37 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 640 unit: export function clamp() file: posenet/src/multi_pose/util.ts start line: 49 end line: 57 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 641 unit: function createOffScreenCanvas() file: shared/calculators/render_util.ts start line: 105 end line: 113 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 642 unit: function calculateScale() file: shared/calculators/create_ssd_anchors.ts start line: 119 end line: 127 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 643 unit: export function assertMaskValue() file: shared/calculators/mask_util.ts start line: 98 end line: 106 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 644 unit: function intersect() file: shared/calculators/association_norm_rect.ts start line: 30 end line: 39 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 645 unit: export function flipPosesHorizontal() file: pose-detection/src/posenet/calculators/flip_poses.ts start line: 21 end line: 30 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 646 unit: function clamp() file: pose-detection/src/posenet/calculators/decode_multiple_poses_util.ts start line: 85 end line: 93 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 647 unit: y: clamp() file: pose-detection/src/posenet/calculators/decode_multiple_poses_util.ts start line: 99 end line: 108 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 648 unit: function getDisplacement() file: pose-detection/src/posenet/calculators/decode_multiple_poses_util.ts start line: 104 end line: 112 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 649 unit: function createOffScreenCanvas() file: pose-detection/src/shared/calculators/render_util.ts start line: 105 end line: 113 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 650 unit: function calculateScale() file: pose-detection/src/shared/calculators/create_ssd_anchors.ts start line: 119 end line: 127 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 651 unit: export function assertMaskValue() file: pose-detection/src/shared/calculators/mask_util.ts start line: 98 end line: 106 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 652 unit: function intersect() file: pose-detection/src/shared/calculators/association_norm_rect.ts start line: 30 end line: 39 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 653 unit: private area() file: pose-detection/src/calculators/keypoint_tracker.ts start line: 113 end line: 121 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 654 unit: export function getKeypointIndexByContour() file: face-landmarks-detection/src/util.ts start line: 20 end line: 28 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 655 unit: function createOffScreenCanvas() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 105 end line: 113 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 656 unit: function calculateScale() file: face-landmarks-detection/src/shared/calculators/create_ssd_anchors.ts start line: 119 end line: 127 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 657 unit: export function assertMaskValue() file: face-landmarks-detection/src/shared/calculators/mask_util.ts start line: 98 end line: 106 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 658 unit: function intersect() file: face-landmarks-detection/src/shared/calculators/association_norm_rect.ts start line: 30 end line: 39 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 659 unit: protected async transformSourceModel() file: tasks/src/tasks/object_detection/cocossd_tflite.ts start line: 52 end line: 60 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 660 unit: protected async transformSourceModel() file: tasks/src/tasks/image_segmentation/deeplab_tflite.ts start line: 52 end line: 60 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 661 unit: protected async transformSourceModel() file: tasks/src/tasks/image_classification/custom_model_tflite.ts start line: 62 end line: 70 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 662 unit: function createOffScreenCanvas() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 105 end line: 113 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 663 unit: function calculateScale() file: hand-pose-detection/src/shared/calculators/create_ssd_anchors.ts start line: 119 end line: 127 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 664 unit: export function assertMaskValue() file: hand-pose-detection/src/shared/calculators/mask_util.ts start line: 98 end line: 106 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 665 unit: function intersect() file: hand-pose-detection/src/shared/calculators/association_norm_rect.ts start line: 30 end line: 39 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 666 unit: export function resize2d() file: body-pix/src/util.ts start line: 245 end line: 253 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 667 unit: function createOffScreenCanvas() file: body-pix/src/output_rendering_util.ts start line: 61 end line: 69 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 668 unit: export function toMask() file: body-pix/src/output_rendering_util.ts start line: 166 end line: 174 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 669 unit: export function getOffsetPoints() file: body-pix/src/single_person/util.ts start line: 64 end line: 73 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 670 unit: export function getScale() file: body-pix/src/multi_person/util.ts start line: 21 end line: 29 size: 9 LOC McCabe index: 1 number of parameters: 7 id: 671 unit: export function getImageCoords() file: body-pix/src/multi_person/util.ts start line: 39 end line: 47 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 672 unit: export function clamp() file: body-pix/src/multi_person/util.ts start line: 59 end line: 67 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 673 unit: export function getURL() file: deeplab/src/utils.ts start line: 62 end line: 74 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 674 unit: clearClass() file: knn-classifier/src/index.ts start line: 162 end line: 171 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 675 unit: function exec() file: scripts/test-util.js start line: 18 end line: 25 size: 8 LOC McCabe index: 3 number of parameters: 3 id: 676 unit: async loadModel() file: universal-sentence-encoder/src/index.ts start line: 49 end line: 56 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 677 unit: async load() file: universal-sentence-encoder/src/index.ts start line: 58 end line: 66 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 678 unit: async load() file: universal-sentence-encoder/src/use_qna.ts start line: 75 end line: 83 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 679 unit: handleClick() file: model-playground/src/app/components/navigation_tree/navigation_tree.component.ts start line: 44 end line: 51 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 680 unit: export function allModelItemsReducer() file: model-playground/src/app/store/reducers.ts start line: 26 end line: 35 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 681 unit: async load() file: qna/src/bert_tokenizer.ts start line: 135 end line: 144 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 682 unit: constructor() file: qna/src/question_and_answer.ts start line: 99 end line: 106 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 683 unit: constructor() file: speech-commands/src/browser_fft_extractor.ts start line: 302 end line: 310 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 684 unit: export function spectrogram2IntensityCurve() file: speech-commands/src/dataset.ts start line: 956 end line: 963 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 685 unit: private warmUpModel() file: speech-commands/src/browser_fft_recognizer.ts start line: 386 end line: 393 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 686 unit: export async function load() file: body-segmentation/src/selfie_segmentation_mediapipe/segmenter.ts start line: 162 end line: 169 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 687 unit: export async function toColoredMask() file: body-segmentation/src/shared/calculators/render_util.ts start line: 400 end line: 407 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 688 unit: export async function toTensorLossy() file: body-segmentation/src/shared/calculators/mask_util.ts start line: 89 end line: 96 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 689 unit: export function splitDetectionResult() file: body-segmentation/src/shared/calculators/split_detection_result.ts start line: 19 end line: 30 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 690 unit: function rectFromBox() file: body-segmentation/src/shared/calculators/detection_to_rect.ts start line: 50 end line: 57 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 691 unit: export function resNet50SavedModel() file: body-segmentation/src/body_pix/impl/saved_models.ts start line: 25 end line: 33 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 692 unit: function getOffsetPoint() file: body-segmentation/src/body_pix/impl/single_person/util.ts start line: 37 end line: 44 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 693 unit: function getDisplacement() file: body-segmentation/src/body_pix/impl/multi_person/decode_pose.ts start line: 36 end line: 43 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 694 unit: function getStridedIndexNearPoint() file: body-segmentation/src/body_pix/impl/multi_person/decode_pose.ts start line: 45 end line: 52 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 695 unit: export function getColumnFrom2DArr() file: handpose/src/util.ts start line: 44 end line: 53 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 696 unit: export function rotatePoint() file: handpose/src/util.ts start line: 106 end line: 113 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 697 unit: export function assertValidOutputStride() file: posenet/src/util.ts start line: 164 end line: 171 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 698 unit: export function resNet50Checkpoint() file: posenet/src/checkpoints.ts start line: 25 end line: 33 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 699 unit: function getDisplacement() file: posenet/src/multi_pose/decode_pose.ts start line: 36 end line: 43 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 700 unit: function getStridedIndexNearPoint() file: posenet/src/multi_pose/decode_pose.ts start line: 45 end line: 52 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 701 unit: function getOffsetPoint() file: posenet/src/single_pose/util.ts start line: 37 end line: 44 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 702 unit: export async function toColoredMask() file: shared/calculators/render_util.ts start line: 400 end line: 407 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 703 unit: export async function toTensorLossy() file: shared/calculators/mask_util.ts start line: 89 end line: 96 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 704 unit: export function splitDetectionResult() file: shared/calculators/split_detection_result.ts start line: 19 end line: 30 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 705 unit: function rectFromBox() file: shared/calculators/detection_to_rect.ts start line: 50 end line: 57 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 706 unit: export function resNet50Checkpoint() file: pose-detection/src/posenet/load_utils.ts start line: 28 end line: 36 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 707 unit: export function getValidInputResolutionDimensions() file: pose-detection/src/posenet/load_utils.ts start line: 53 end line: 60 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 708 unit: export function getOffsetPoint() file: pose-detection/src/posenet/calculators/decode_multiple_poses_util.ts start line: 30 end line: 37 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 709 unit: function getStridedIndexNearPoint() file: pose-detection/src/posenet/calculators/decode_multiple_poses_util.ts start line: 95 end line: 102 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 710 unit: x: clamp() file: pose-detection/src/posenet/calculators/decode_multiple_poses_util.ts start line: 100 end line: 108 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 711 unit: function getOffsetPoint() file: pose-detection/src/posenet/calculators/decode_single_pose_util.ts start line: 93 end line: 100 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 712 unit: export async function decodeMultiplePoses() file: pose-detection/src/posenet/calculators/decode_multiple_poses.ts start line: 80 end line: 123 size: 8 LOC McCabe index: 1 number of parameters: 8 id: 713 unit: export async function toColoredMask() file: pose-detection/src/shared/calculators/render_util.ts start line: 400 end line: 407 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 714 unit: export async function toTensorLossy() file: pose-detection/src/shared/calculators/mask_util.ts start line: 89 end line: 96 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 715 unit: export function splitDetectionResult() file: pose-detection/src/shared/calculators/split_detection_result.ts start line: 19 end line: 30 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 716 unit: function rectFromBox() file: pose-detection/src/shared/calculators/detection_to_rect.ts start line: 50 end line: 57 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 717 unit: dispose() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 300 end line: 307 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 718 unit: constructor() file: pose-detection/src/calculators/tracker.ts start line: 36 end line: 43 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 719 unit: export function getAdjacentPairs() file: face-landmarks-detection/src/util.ts start line: 30 end line: 37 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 720 unit: export async function toColoredMask() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 400 end line: 407 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 721 unit: export async function toTensorLossy() file: face-landmarks-detection/src/shared/calculators/mask_util.ts start line: 89 end line: 96 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 722 unit: export function splitDetectionResult() file: face-landmarks-detection/src/shared/calculators/split_detection_result.ts start line: 19 end line: 30 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 723 unit: function rectFromBox() file: face-landmarks-detection/src/shared/calculators/detection_to_rect.ts start line: 50 end line: 57 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 724 unit: async load() file: coco-ssd/src/index.ts start line: 89 end line: 98 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 725 unit: protected async transformSourceModel() file: tasks/src/tasks/nl_classification/custom_model_tflite.ts start line: 61 end line: 68 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 726 unit: protected async transformSourceModel() file: tasks/src/tasks/question_and_answer/custom_model_tflite.ts start line: 63 end line: 70 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 727 unit: protected async transformSourceModel() file: tasks/src/tasks/question_and_answer/bert_qa_tflite.ts start line: 55 end line: 62 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 728 unit: protected async transformSourceModel() file: tasks/src/tasks/object_detection/custom_model_tflite.ts start line: 62 end line: 69 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 729 unit: protected async transformSourceModel() file: tasks/src/tasks/image_segmentation/custom_model_tflite.ts start line: 62 end line: 69 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 730 unit: dispose() file: hand-pose-detection/src/tfjs/detector.ts start line: 217 end line: 224 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 731 unit: export async function toColoredMask() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 400 end line: 407 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 732 unit: export async function toTensorLossy() file: hand-pose-detection/src/shared/calculators/mask_util.ts start line: 89 end line: 96 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 733 unit: export function splitDetectionResult() file: hand-pose-detection/src/shared/calculators/split_detection_result.ts start line: 19 end line: 30 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 734 unit: function rectFromBox() file: hand-pose-detection/src/shared/calculators/detection_to_rect.ts start line: 50 end line: 57 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 735 unit: export function resNet50SavedModel() file: body-pix/src/saved_models.ts start line: 25 end line: 33 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 736 unit: function getOffsetPoint() file: body-pix/src/single_person/util.ts start line: 37 end line: 44 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 737 unit: function getDisplacement() file: body-pix/src/multi_person/decode_pose.ts start line: 36 end line: 43 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 738 unit: function getStridedIndexNearPoint() file: body-pix/src/multi_person/decode_pose.ts start line: 45 end line: 52 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 739 unit: function minify() file: qna/rollup.config.js start line: 39 end line: 45 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 740 unit: onEpochEnd: async() file: speech-commands/training/soft-fft/cli.ts start line: 119 end line: 125 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 741 unit: async loadData() file: speech-commands/training/soft-fft/audio_model.ts start line: 132 end line: 138 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 742 unit: export function getInputTensorFromFrequencyData() file: speech-commands/src/browser_fft_extractor.ts start line: 277 end line: 283 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 743 unit: export async function getAudioMediaStream() file: speech-commands/src/browser_fft_utils.ts start line: 99 end line: 105 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 744 unit: export function arrayBuffer2String() file: speech-commands/src/generic_utils.ts start line: 73 end line: 79 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 745 unit: async stopListening() file: speech-commands/src/browser_fft_recognizer.ts start line: 425 end line: 431 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 746 unit: function getSizeFromVideoElement() file: body-segmentation/src/shared/calculators/render_util.ts start line: 73 end line: 82 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 747 unit: async function renderImageToCanvas() file: body-segmentation/src/shared/calculators/render_util.ts start line: 165 end line: 172 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 748 unit: export async function toBinaryMask() file: body-segmentation/src/shared/calculators/render_util.ts start line: 318 end line: 324 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 749 unit: export function shiftImageValue() file: body-segmentation/src/shared/calculators/shift_image_value.ts start line: 20 end line: 29 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 750 unit: function cofactor4x4() file: body-segmentation/src/shared/calculators/calculate_inverse_matrix.ts start line: 45 end line: 51 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 751 unit: export function getImageSize() file: body-segmentation/src/shared/calculators/image_utils.ts start line: 23 end line: 29 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 752 unit: function getBoundingBox() file: body-segmentation/src/shared/calculators/association_norm_rect.ts start line: 41 end line: 47 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 753 unit: function detectionToNormalizedRect() file: body-segmentation/src/shared/calculators/detection_to_rect.ts start line: 82 end line: 88 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 754 unit: export function toMaskTensor() file: body-segmentation/src/body_pix/impl/decode_part_map.ts start line: 52 end line: 58 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 755 unit: function getSizeFromVideoElement() file: body-segmentation/src/body_pix/impl/util.ts start line: 39 end line: 48 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 756 unit: export function toValidInputResolution() file: body-segmentation/src/body_pix/impl/util.ts start line: 76 end line: 83 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 757 unit: export function scalePoses() file: body-segmentation/src/body_pix/impl/util.ts start line: 307 end line: 313 size: 7 LOC McCabe index: 5 number of parameters: 5 id: 758 unit: function drawWithCompositing() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 53 end line: 59 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 759 unit: function renderImageToCanvas() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 108 end line: 115 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 760 unit: export function getOffsetPoint() file: body-segmentation/src/body_pix/impl/multi_person/util.ts start line: 31 end line: 37 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 761 unit: export function fillArray() file: body-segmentation/src/body_pix/impl/multi_person/util.ts start line: 49 end line: 57 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 762 unit: function convertToPositionInOuput() file: body-segmentation/src/body_pix/impl/multi_person/decode_multiple_masks_cpu.ts start line: 46 end line: 52 size: 7 LOC McCabe index: 1 number of parameters: 8 id: 763 unit: function singleMaskValueToLabel() file: body-segmentation/src/body_pix/segmenter.ts start line: 45 end line: 51 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 764 unit: function multiMaskValueToLabel() file: body-segmentation/src/body_pix/segmenter.ts start line: 53 end line: 59 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 765 unit: export function dot() file: handpose/src/util.ts start line: 36 end line: 42 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 766 unit: private calculateLandmarksBoundingBox() file: handpose/src/pipeline.ts start line: 248 end line: 254 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 767 unit: export function getBoundingBoxPoints() file: posenet/src/util.ts start line: 62 end line: 68 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 768 unit: export function scalePoses() file: posenet/src/util.ts start line: 91 end line: 97 size: 7 LOC McCabe index: 5 number of parameters: 5 id: 769 unit: export function toValidInputResolution() file: posenet/src/util.ts start line: 118 end line: 125 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 770 unit: export function getOffsetPoint() file: posenet/src/multi_pose/util.ts start line: 21 end line: 27 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 771 unit: export function fillArray() file: posenet/src/multi_pose/util.ts start line: 39 end line: 47 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 772 unit: function getSizeFromVideoElement() file: shared/calculators/render_util.ts start line: 73 end line: 82 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 773 unit: async function renderImageToCanvas() file: shared/calculators/render_util.ts start line: 165 end line: 172 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 774 unit: export async function toBinaryMask() file: shared/calculators/render_util.ts start line: 318 end line: 324 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 775 unit: export function shiftImageValue() file: shared/calculators/shift_image_value.ts start line: 20 end line: 29 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 776 unit: function cofactor4x4() file: shared/calculators/calculate_inverse_matrix.ts start line: 45 end line: 51 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 777 unit: export function getImageSize() file: shared/calculators/image_utils.ts start line: 23 end line: 29 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 778 unit: function getBoundingBox() file: shared/calculators/association_norm_rect.ts start line: 41 end line: 47 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 779 unit: function detectionToNormalizedRect() file: shared/calculators/detection_to_rect.ts start line: 82 end line: 88 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 780 unit: height: toValidInputResolution() file: pose-detection/src/posenet/load_utils.ts start line: 57 end line: 64 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 781 unit: function getSizeFromVideoElement() file: pose-detection/src/shared/calculators/render_util.ts start line: 73 end line: 82 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 782 unit: async function renderImageToCanvas() file: pose-detection/src/shared/calculators/render_util.ts start line: 165 end line: 172 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 783 unit: export async function toBinaryMask() file: pose-detection/src/shared/calculators/render_util.ts start line: 318 end line: 324 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 784 unit: export function shiftImageValue() file: pose-detection/src/shared/calculators/shift_image_value.ts start line: 20 end line: 29 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 785 unit: function cofactor4x4() file: pose-detection/src/shared/calculators/calculate_inverse_matrix.ts start line: 45 end line: 51 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 786 unit: export function getImageSize() file: pose-detection/src/shared/calculators/image_utils.ts start line: 23 end line: 29 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 787 unit: function getBoundingBox() file: pose-detection/src/shared/calculators/association_norm_rect.ts start line: 41 end line: 47 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 788 unit: function detectionToNormalizedRect() file: pose-detection/src/shared/calculators/detection_to_rect.ts start line: 82 end line: 88 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 789 unit: resetFilters() file: pose-detection/src/movenet/detector.ts start line: 488 end line: 494 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 790 unit: export async function load() file: pose-detection/src/blazepose_mediapipe/detector.ts start line: 209 end line: 215 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 791 unit: constructor() file: pose-detection/src/calculators/keypoint_tracker.ts start line: 36 end line: 42 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 792 unit: function getSizeFromVideoElement() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 73 end line: 82 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 793 unit: async function renderImageToCanvas() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 165 end line: 172 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 794 unit: export async function toBinaryMask() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 318 end line: 324 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 795 unit: export function shiftImageValue() file: face-landmarks-detection/src/shared/calculators/shift_image_value.ts start line: 20 end line: 29 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 796 unit: function cofactor4x4() file: face-landmarks-detection/src/shared/calculators/calculate_inverse_matrix.ts start line: 45 end line: 51 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 797 unit: export function getImageSize() file: face-landmarks-detection/src/shared/calculators/image_utils.ts start line: 23 end line: 29 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 798 unit: function getBoundingBox() file: face-landmarks-detection/src/shared/calculators/association_norm_rect.ts start line: 41 end line: 47 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 799 unit: function detectionToNormalizedRect() file: face-landmarks-detection/src/shared/calculators/detection_to_rect.ts start line: 82 end line: 88 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 800 unit: reset() file: face-landmarks-detection/src/mediapipe/detector.ts start line: 139 end line: 145 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 801 unit: export async function load() file: face-landmarks-detection/src/mediapipe/detector.ts start line: 160 end line: 166 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 802 unit: function getSizeFromVideoElement() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 73 end line: 82 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 803 unit: async function renderImageToCanvas() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 165 end line: 172 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 804 unit: export async function toBinaryMask() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 318 end line: 324 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 805 unit: export function shiftImageValue() file: hand-pose-detection/src/shared/calculators/shift_image_value.ts start line: 20 end line: 29 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 806 unit: function cofactor4x4() file: hand-pose-detection/src/shared/calculators/calculate_inverse_matrix.ts start line: 45 end line: 51 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 807 unit: export function getImageSize() file: hand-pose-detection/src/shared/calculators/image_utils.ts start line: 23 end line: 29 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 808 unit: function getBoundingBox() file: hand-pose-detection/src/shared/calculators/association_norm_rect.ts start line: 41 end line: 47 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 809 unit: function detectionToNormalizedRect() file: hand-pose-detection/src/shared/calculators/detection_to_rect.ts start line: 82 end line: 88 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 810 unit: reset() file: hand-pose-detection/src/mediapipe/detector.ts start line: 150 end line: 156 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 811 unit: export async function load() file: hand-pose-detection/src/mediapipe/detector.ts start line: 171 end line: 177 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 812 unit: export function toMaskTensor() file: body-pix/src/decode_part_map.ts start line: 52 end line: 58 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 813 unit: function getSizeFromVideoElement() file: body-pix/src/util.ts start line: 39 end line: 48 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 814 unit: export function toValidInputResolution() file: body-pix/src/util.ts start line: 76 end line: 83 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 815 unit: export function scalePoses() file: body-pix/src/util.ts start line: 307 end line: 313 size: 7 LOC McCabe index: 5 number of parameters: 5 id: 816 unit: function drawWithCompositing() file: body-pix/src/output_rendering_util.ts start line: 53 end line: 59 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 817 unit: function renderImageToCanvas() file: body-pix/src/output_rendering_util.ts start line: 108 end line: 115 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 818 unit: export function getOffsetPoint() file: body-pix/src/multi_person/util.ts start line: 31 end line: 37 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 819 unit: export function fillArray() file: body-pix/src/multi_person/util.ts start line: 49 end line: 57 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 820 unit: function convertToPositionInOuput() file: body-pix/src/multi_person/decode_multiple_masks_cpu.ts start line: 46 end line: 52 size: 7 LOC McCabe index: 1 number of parameters: 8 id: 821 unit: setClassifierDataset() file: knn-classifier/src/index.ts start line: 191 end line: 198 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 822 unit: function processInput() file: universal-sentence-encoder/src/tokenizer/index.ts start line: 34 end line: 39 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 823 unit: constructor() file: universal-sentence-encoder/src/tokenizer/trie.ts start line: 29 end line: 34 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 824 unit: export async function load() file: qna/src/question_and_answer.ts start line: 353 end line: 358 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 825 unit: export function flattenQueue() file: speech-commands/src/browser_fft_extractor.ts start line: 270 end line: 275 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 826 unit: private async ensureMetadataLoaded() file: speech-commands/src/browser_fft_recognizer.ts start line: 395 end line: 418 size: 6 LOC McCabe index: 3 number of parameters: 0 id: 827 unit: function ensureOffscreenCanvasCreated() file: body-segmentation/src/shared/calculators/render_util.ts start line: 115 end line: 120 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 828 unit: function renderImageDataToCanvas() file: body-segmentation/src/shared/calculators/render_util.ts start line: 125 end line: 131 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 829 unit: function renderImageDataToOffScreenCanvas() file: body-segmentation/src/shared/calculators/render_util.ts start line: 133 end line: 139 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 830 unit: async function drawWithCompositing() file: body-segmentation/src/shared/calculators/render_util.ts start line: 180 end line: 185 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 831 unit: function generalDet3Helper() file: body-segmentation/src/shared/calculators/calculate_inverse_matrix.ts start line: 38 end line: 43 size: 6 LOC McCabe index: 1 number of parameters: 7 id: 832 unit: function toFlattenedOneHotPartMap() file: body-segmentation/src/body_pix/impl/decode_part_map.ts start line: 26 end line: 33 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 833 unit: export function flipPosesHorizontal() file: body-segmentation/src/body_pix/impl/util.ts start line: 327 end line: 332 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 834 unit: function ensureOffscreenCanvasCreated() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 71 end line: 76 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 835 unit: function renderImageDataToCanvas() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 119 end line: 125 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 836 unit: function renderImageDataToOffScreenCanvas() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 127 end line: 133 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 837 unit: function mod() file: body-segmentation/src/body_pix/impl/single_person/argmax2d.ts start line: 20 end line: 26 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 838 unit: export function squaredDistance() file: body-segmentation/src/body_pix/impl/multi_person/util.ts start line: 69 end line: 74 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 839 unit: export function toPersonKSegmentation() file: body-segmentation/src/body_pix/impl/multi_person/decode_instance_masks.ts start line: 26 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 840 unit: export function toPersonKPartSegmentation() file: body-segmentation/src/body_pix/impl/multi_person/decode_instance_masks.ts start line: 33 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 841 unit: export function getBoxSize() file: handpose/src/box.ts start line: 27 end line: 32 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 842 unit: export function getBoxCenter() file: handpose/src/box.ts start line: 34 end line: 39 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 843 unit: async function loadAnchors() file: handpose/src/index.ts start line: 45 end line: 50 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 844 unit: function getInputTensorDimensions() file: handpose/src/index.ts start line: 91 end line: 96 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 845 unit: export function computeRotation() file: handpose/src/util.ts start line: 26 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 846 unit: abstract nameOutputResults() file: posenet/src/base_model.ts start line: 83 end line: 88 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 847 unit: export function flipPosesHorizontal() file: posenet/src/util.ts start line: 111 end line: 116 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 848 unit: constructor() file: posenet/src/posenet_model.ts start line: 251 end line: 257 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 849 unit: export function squaredDistance() file: posenet/src/multi_pose/util.ts start line: 59 end line: 64 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 850 unit: function mod() file: posenet/src/single_pose/argmax2d.ts start line: 20 end line: 26 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 851 unit: function getInputTensorDimensions() file: blazeface/src/face.ts start line: 109 end line: 114 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 852 unit: function ensureOffscreenCanvasCreated() file: shared/calculators/render_util.ts start line: 115 end line: 120 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 853 unit: function renderImageDataToCanvas() file: shared/calculators/render_util.ts start line: 125 end line: 131 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 854 unit: function renderImageDataToOffScreenCanvas() file: shared/calculators/render_util.ts start line: 133 end line: 139 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 855 unit: async function drawWithCompositing() file: shared/calculators/render_util.ts start line: 180 end line: 185 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 856 unit: function generalDet3Helper() file: shared/calculators/calculate_inverse_matrix.ts start line: 38 end line: 43 size: 6 LOC McCabe index: 1 number of parameters: 7 id: 857 unit: width: toValidInputResolution() file: pose-detection/src/posenet/load_utils.ts start line: 58 end line: 64 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 858 unit: export function assertValidOutputStride() file: pose-detection/src/posenet/detector_utils.ts start line: 85 end line: 90 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 859 unit: export function squaredDistance() file: pose-detection/src/posenet/calculators/decode_multiple_poses_util.ts start line: 50 end line: 55 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 860 unit: function mod() file: pose-detection/src/posenet/calculators/decode_single_pose_util.ts start line: 22 end line: 28 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 861 unit: function ensureOffscreenCanvasCreated() file: pose-detection/src/shared/calculators/render_util.ts start line: 115 end line: 120 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 862 unit: function renderImageDataToCanvas() file: pose-detection/src/shared/calculators/render_util.ts start line: 125 end line: 131 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 863 unit: function renderImageDataToOffScreenCanvas() file: pose-detection/src/shared/calculators/render_util.ts start line: 133 end line: 139 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 864 unit: async function drawWithCompositing() file: pose-detection/src/shared/calculators/render_util.ts start line: 180 end line: 185 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 865 unit: function generalDet3Helper() file: pose-detection/src/shared/calculators/calculate_inverse_matrix.ts start line: 38 end line: 43 size: 6 LOC McCabe index: 1 number of parameters: 7 id: 866 unit: export function validateEstimationConfig() file: pose-detection/src/movenet/detector_utils.ts start line: 86 end line: 92 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 867 unit: export function mergeBoundingBoxTrackerConfig() file: pose-detection/src/movenet/detector_utils.ts start line: 141 end line: 147 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 868 unit: function ensureOffscreenCanvasCreated() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 115 end line: 120 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 869 unit: function renderImageDataToCanvas() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 125 end line: 131 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 870 unit: function renderImageDataToOffScreenCanvas() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 133 end line: 139 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 871 unit: async function drawWithCompositing() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 180 end line: 185 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 872 unit: function generalDet3Helper() file: face-landmarks-detection/src/shared/calculators/calculate_inverse_matrix.ts start line: 38 end line: 43 size: 6 LOC McCabe index: 1 number of parameters: 7 id: 873 unit: async detect() file: coco-ssd/src/index.ts start line: 225 end line: 230 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 874 unit: cleanUp() file: tasks/src/tasks/nl_classification/tflite_common.ts start line: 51 end line: 56 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 875 unit: cleanUp() file: tasks/src/tasks/question_and_answer/tflite_common.ts start line: 49 end line: 54 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 876 unit: cleanUp() file: tasks/src/tasks/object_detection/tflite_common.ts start line: 53 end line: 58 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 877 unit: protected async transformSourceModel() file: tasks/src/tasks/object_detection/cocossd_tfjs.ts start line: 66 end line: 71 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 878 unit: cleanUp() file: tasks/src/tasks/object_detection/cocossd_tfjs.ts start line: 142 end line: 147 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 879 unit: cleanUp() file: tasks/src/tasks/image_segmentation/tflite_common.ts start line: 71 end line: 76 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 880 unit: cleanUp() file: tasks/src/tasks/image_segmentation/deeplab_tfjs.ts start line: 137 end line: 142 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 881 unit: cleanUp() file: tasks/src/tasks/image_classification/tflite_common.ts start line: 53 end line: 58 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 882 unit: protected async transformSourceModel() file: tasks/src/tasks/image_classification/mobilenet_tfjs.ts start line: 57 end line: 62 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 883 unit: function ensureOffscreenCanvasCreated() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 115 end line: 120 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 884 unit: function renderImageDataToCanvas() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 125 end line: 131 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 885 unit: function renderImageDataToOffScreenCanvas() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 133 end line: 139 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 886 unit: async function drawWithCompositing() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 180 end line: 185 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 887 unit: function generalDet3Helper() file: hand-pose-detection/src/shared/calculators/calculate_inverse_matrix.ts start line: 38 end line: 43 size: 6 LOC McCabe index: 1 number of parameters: 7 id: 888 unit: function toFlattenedOneHotPartMap() file: body-pix/src/decode_part_map.ts start line: 26 end line: 33 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 889 unit: export function flipPosesHorizontal() file: body-pix/src/util.ts start line: 327 end line: 332 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 890 unit: function ensureOffscreenCanvasCreated() file: body-pix/src/output_rendering_util.ts start line: 71 end line: 76 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 891 unit: function renderImageDataToCanvas() file: body-pix/src/output_rendering_util.ts start line: 119 end line: 125 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 892 unit: function renderImageDataToOffScreenCanvas() file: body-pix/src/output_rendering_util.ts start line: 127 end line: 133 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 893 unit: function mod() file: body-pix/src/single_person/argmax2d.ts start line: 20 end line: 26 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 894 unit: export function squaredDistance() file: body-pix/src/multi_person/util.ts start line: 69 end line: 74 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 895 unit: export function toPersonKSegmentation() file: body-pix/src/multi_person/decode_instance_masks.ts start line: 26 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 896 unit: export function toPersonKPartSegmentation() file: body-pix/src/multi_person/decode_instance_masks.ts start line: 33 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 897 unit: public predict() file: deeplab/src/index.ts start line: 127 end line: 132 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 898 unit: private clearTrainDatasetMatrix() file: knn-classifier/src/index.ts start line: 260 end line: 265 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 899 unit: export async function load() file: universal-sentence-encoder/src/index.ts start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 900 unit: export async function loadTokenizer() file: universal-sentence-encoder/src/tokenizer/index.ts start line: 144 end line: 148 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 901 unit: export async function loadQnA() file: universal-sentence-encoder/src/use_qna.ts start line: 61 end line: 65 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 902 unit: private tokenizeStrings() file: universal-sentence-encoder/src/use_qna.ts start line: 123 end line: 127 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 903 unit: export async function loadTokenizer() file: qna/src/bert_tokenizer.ts start line: 288 end line: 292 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 904 unit: protected freezeModel() file: speech-commands/src/browser_fft_recognizer.ts start line: 603 end line: 607 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 905 unit: reset() file: body-segmentation/src/selfie_segmentation_mediapipe/segmenter.ts start line: 143 end line: 147 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 906 unit: function flipCanvasHorizontal() file: body-segmentation/src/shared/calculators/render_util.ts start line: 174 end line: 178 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 907 unit: await toHTMLCanvasElementLossy() file: body-segmentation/src/shared/calculators/mask_util.ts start line: 93 end line: 98 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 908 unit: function intersects() file: body-segmentation/src/shared/calculators/association_norm_rect.ts start line: 24 end line: 28 size: 5 LOC McCabe index: 4 number of parameters: 2 id: 909 unit: reset() file: body-segmentation/src/shared/filters/keypoints_one_euro_filter.ts start line: 76 end line: 80 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 910 unit: reset() file: body-segmentation/src/shared/filters/keypoints_velocity_filter.ts start line: 74 end line: 78 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 911 unit: export function toInputTensor() file: body-segmentation/src/body_pix/impl/util.ts start line: 142 end line: 146 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 912 unit: function flipCanvasHorizontal() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 47 end line: 51 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 913 unit: void main() file: body-segmentation/src/body_pix/impl/multi_person/decode_multiple_masks_webgl.ts start line: 151 end line: 155 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 914 unit: async function loadHandDetectorModel() file: handpose/src/index.ts start line: 26 end line: 30 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 915 unit: async function loadHandPoseModel() file: handpose/src/index.ts start line: 36 end line: 40 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 916 unit: export function getInputTensorDimensions() file: posenet/src/util.ts start line: 196 end line: 200 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 917 unit: dispose() file: posenet/src/model_weights.ts start line: 44 end line: 48 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 918 unit: function flipCanvasHorizontal() file: shared/calculators/render_util.ts start line: 174 end line: 178 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 919 unit: await toHTMLCanvasElementLossy() file: shared/calculators/mask_util.ts start line: 93 end line: 98 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 920 unit: function intersects() file: shared/calculators/association_norm_rect.ts start line: 24 end line: 28 size: 5 LOC McCabe index: 4 number of parameters: 2 id: 921 unit: reset() file: shared/filters/keypoints_one_euro_filter.ts start line: 76 end line: 80 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 922 unit: reset() file: shared/filters/keypoints_velocity_filter.ts start line: 74 end line: 78 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 923 unit: function flipCanvasHorizontal() file: pose-detection/src/shared/calculators/render_util.ts start line: 174 end line: 178 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 924 unit: await toHTMLCanvasElementLossy() file: pose-detection/src/shared/calculators/mask_util.ts start line: 93 end line: 98 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 925 unit: function intersects() file: pose-detection/src/shared/calculators/association_norm_rect.ts start line: 24 end line: 28 size: 5 LOC McCabe index: 4 number of parameters: 2 id: 926 unit: reset() file: pose-detection/src/shared/filters/keypoints_one_euro_filter.ts start line: 76 end line: 80 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 927 unit: reset() file: pose-detection/src/shared/filters/keypoints_velocity_filter.ts start line: 74 end line: 78 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 928 unit: nextTrackID() file: pose-detection/src/calculators/tracker.ts start line: 188 end line: 192 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 929 unit: export async function load() file: toxicity/src/index.ts start line: 38 end line: 42 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 930 unit: async loadModel() file: toxicity/src/index.ts start line: 56 end line: 60 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 931 unit: function connectionsToIndices() file: face-landmarks-detection/src/constants.ts start line: 22 end line: 26 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 932 unit: function flipCanvasHorizontal() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 174 end line: 178 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 933 unit: await toHTMLCanvasElementLossy() file: face-landmarks-detection/src/shared/calculators/mask_util.ts start line: 93 end line: 98 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 934 unit: function intersects() file: face-landmarks-detection/src/shared/calculators/association_norm_rect.ts start line: 24 end line: 28 size: 5 LOC McCabe index: 4 number of parameters: 2 id: 935 unit: reset() file: face-landmarks-detection/src/shared/filters/keypoints_one_euro_filter.ts start line: 76 end line: 80 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 936 unit: reset() file: face-landmarks-detection/src/shared/filters/keypoints_velocity_filter.ts start line: 74 end line: 78 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 937 unit: dispose() file: coco-ssd/src/index.ts start line: 236 end line: 240 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 938 unit: export function getModelLoadersByRuntime() file: tasks/src/tasks/all_tasks.ts start line: 127 end line: 131 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 939 unit: function flipCanvasHorizontal() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 174 end line: 178 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 940 unit: await toHTMLCanvasElementLossy() file: hand-pose-detection/src/shared/calculators/mask_util.ts start line: 93 end line: 98 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 941 unit: function intersects() file: hand-pose-detection/src/shared/calculators/association_norm_rect.ts start line: 24 end line: 28 size: 5 LOC McCabe index: 4 number of parameters: 2 id: 942 unit: reset() file: hand-pose-detection/src/shared/filters/keypoints_one_euro_filter.ts start line: 76 end line: 80 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 943 unit: reset() file: hand-pose-detection/src/shared/filters/keypoints_velocity_filter.ts start line: 74 end line: 78 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 944 unit: export function toInputTensor() file: body-pix/src/util.ts start line: 142 end line: 146 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 945 unit: function flipCanvasHorizontal() file: body-pix/src/output_rendering_util.ts start line: 47 end line: 51 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 946 unit: void main() file: body-pix/src/multi_person/decode_multiple_masks_webgl.ts start line: 151 end line: 155 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 947 unit: export async function load() file: deeplab/src/index.ts start line: 64 end line: 68 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 948 unit: public async dispose() file: deeplab/src/index.ts start line: 213 end line: 217 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 949 unit: clearAllClasses() file: knn-classifier/src/index.ts start line: 173 end line: 177 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 950 unit: export async function loadVocabulary() file: universal-sentence-encoder/src/tokenizer/index.ts start line: 156 end line: 159 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 951 unit: onBatchEnd: async() file: speech-commands/training/soft-fft/cli.ts start line: 115 end line: 118 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 952 unit: export function nextPowerOfTwo() file: speech-commands/training/soft-fft/utils/audio_utils.ts start line: 256 end line: 259 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 953 unit: constructor() file: speech-commands/training/soft-fft/utils/circular_audio_buffer.ts start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 954 unit: clear() file: speech-commands/training/soft-fft/utils/circular_audio_buffer.ts start line: 104 end line: 107 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 955 unit: private decode() file: speech-commands/training/soft-fft/audio_model.ts start line: 160 end line: 163 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 956 unit: setConfig() file: speech-commands/src/browser_fft_extractor.ts start line: 257 end line: 260 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 957 unit: export function getAudioContextConstructor() file: speech-commands/src/browser_fft_utils.ts start line: 94 end line: 97 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 958 unit: export function getUID() file: speech-commands/src/generic_utils.ts start line: 82 end line: 88 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 959 unit: export function getMajorAndMinorVersion() file: speech-commands/src/browser_fft_recognizer.ts start line: 44 end line: 47 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 960 unit: function maskValueToLabel() file: body-segmentation/src/selfie_segmentation_mediapipe/segmenter.ts start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 961 unit: function validateSize() file: body-segmentation/src/shared/calculators/image_utils.ts start line: 190 end line: 193 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 962 unit: private getAlpha() file: body-segmentation/src/shared/filters/one_euro_filter.ts start line: 96 end line: 101 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 963 unit: function isValidInputResolution() file: body-segmentation/src/body_pix/impl/util.ts start line: 71 end line: 74 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 964 unit: export async function toTensorBuffers3D() file: body-segmentation/src/body_pix/impl/util.ts start line: 286 end line: 289 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 965 unit: float convertToPositionInOutputFloat() file: body-segmentation/src/body_pix/impl/multi_person/decode_multiple_masks_webgl.ts start line: 70 end line: 73 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 966 unit: export async function load() file: body-segmentation/src/body_pix/segmenter.ts start line: 180 end line: 183 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 967 unit: function maskValueToLabel() file: body-segmentation/src/selfie_segmentation_tfjs/segmenter.ts start line: 55 end line: 58 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 968 unit: nameOutputResults() file: posenet/src/mobilenet.ts start line: 27 end line: 30 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 969 unit: function eitherPointDoesntMeetConfidence() file: posenet/src/util.ts start line: 23 end line: 26 size: 4 LOC McCabe index: 2 number of parameters: 3 id: 970 unit: export async function toTensorBuffers3D() file: posenet/src/util.ts start line: 70 end line: 73 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 971 unit: function isValidInputResolution() file: posenet/src/util.ts start line: 173 end line: 176 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 972 unit: depthwiseWeights() file: posenet/src/model_weights.ts start line: 39 end line: 42 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 973 unit: nameOutputResults() file: posenet/src/resnet.ts start line: 29 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 974 unit: function validateSize() file: shared/calculators/image_utils.ts start line: 190 end line: 193 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 975 unit: private getAlpha() file: shared/filters/one_euro_filter.ts start line: 96 end line: 101 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 976 unit: function isValidInputResolution() file: pose-detection/src/posenet/detector_utils.ts start line: 92 end line: 95 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 977 unit: export async function toTensorBuffers3D() file: pose-detection/src/posenet/calculators/decode_multiple_poses_util.ts start line: 25 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 978 unit: function validateSize() file: pose-detection/src/shared/calculators/image_utils.ts start line: 190 end line: 193 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 979 unit: private getAlpha() file: pose-detection/src/shared/filters/one_euro_filter.ts start line: 96 end line: 101 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 980 unit: function maskValueToLabel() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 86 end line: 89 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 981 unit: reset() file: pose-detection/src/movenet/detector.ts start line: 483 end line: 486 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 982 unit: function maskValueToLabel() file: pose-detection/src/blazepose_mediapipe/detector.ts start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 983 unit: constructor() file: toxicity/src/index.ts start line: 51 end line: 54 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 984 unit: function validateSize() file: face-landmarks-detection/src/shared/calculators/image_utils.ts start line: 190 end line: 193 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 985 unit: private getAlpha() file: face-landmarks-detection/src/shared/filters/one_euro_filter.ts start line: 96 end line: 101 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 986 unit: constructor() file: coco-ssd/src/index.ts start line: 80 end line: 83 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 987 unit: protected async transformSourceModel() file: tasks/src/task_model.ts start line: 229 end line: 232 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 988 unit: abstract predict() file: tasks/src/tasks/object_detection/common.ts start line: 43 end line: 52 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 989 unit: abstract predict() file: tasks/src/tasks/image_segmentation/common.ts start line: 42 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 990 unit: abstract predict() file: tasks/src/tasks/image_classification/common.ts start line: 43 end line: 52 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 991 unit: function validateSize() file: hand-pose-detection/src/shared/calculators/image_utils.ts start line: 190 end line: 193 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 992 unit: private getAlpha() file: hand-pose-detection/src/shared/filters/one_euro_filter.ts start line: 96 end line: 101 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 993 unit: function isValidInputResolution() file: body-pix/src/util.ts start line: 71 end line: 74 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 994 unit: export async function toTensorBuffers3D() file: body-pix/src/util.ts start line: 286 end line: 289 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 995 unit: float convertToPositionInOutputFloat() file: body-pix/src/multi_person/decode_multiple_masks_webgl.ts start line: 70 end line: 73 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 996 unit: function minify() file: universal-sentence-encoder/rollup.config.js start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 997 unit: constructor() file: universal-sentence-encoder/src/tokenizer/trie.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 998 unit: async loadModel() file: universal-sentence-encoder/src/use_qna.ts start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 999 unit: dir: require() file: model-playground/karma-ci.conf.js start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1000 unit: constructor() file: model-playground/src/app/models/object_detection/cocossd_tfjs.ts start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1001 unit: constructor() file: model-playground/src/app/models/image_classification/mobilenet_tflite.ts start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1002 unit: constructor() file: model-playground/src/app/models/image_classification/mobilenet_tfjs.ts start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1003 unit: function isWhitespace() file: qna/src/bert_tokenizer.ts start line: 106 end line: 108 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1004 unit: function isInvalid() file: qna/src/bert_tokenizer.ts start line: 110 end line: 112 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1005 unit: function isPunctuation() file: qna/src/bert_tokenizer.ts start line: 117 end line: 119 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1006 unit: private async loadVocab() file: qna/src/bert_tokenizer.ts start line: 146 end line: 148 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1007 unit: function minify() file: speech-commands/rollup.config.js start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1008 unit: private hzToMel() file: speech-commands/training/soft-fft/utils/audio_utils.ts start line: 191 end line: 193 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1009 unit: cepstrumFromEnergySpectrum() file: speech-commands/training/soft-fft/utils/audio_utils.ts start line: 200 end line: 202 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1010 unit: getLength() file: speech-commands/training/soft-fft/utils/circular_audio_buffer.ts start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1011 unit: getRemainingLength() file: speech-commands/training/soft-fft/utils/circular_audio_buffer.ts start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1012 unit: transform() file: speech-commands/training/soft-fft/wav_file_feature_extractor.ts start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1013 unit: static createInstance() file: speech-commands/src/browser_test_utils.ts start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1014 unit: createMediaStreamSource() file: speech-commands/src/browser_test_utils.ts start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1015 unit: createAnalyser() file: speech-commands/src/browser_test_utils.ts start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1016 unit: constructor() file: speech-commands/src/browser_test_utils.ts start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1017 unit: function s4() file: speech-commands/src/generic_utils.ts start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1018 unit: export function getRandomInteger() file: speech-commands/src/generic_utils.ts start line: 90 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1019 unit: private collateTransferWords() file: speech-commands/src/browser_fft_recognizer.ts start line: 927 end line: 929 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1020 unit: function getCanonicalSavePath() file: speech-commands/src/browser_fft_recognizer.ts start line: 1392 end line: 1394 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1021 unit: async toCanvasImageSource() file: body-segmentation/src/selfie_segmentation_mediapipe/segmenter.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1022 unit: async toImageData() file: body-segmentation/src/selfie_segmentation_mediapipe/segmenter.ts start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1023 unit: async toTensor() file: body-segmentation/src/selfie_segmentation_mediapipe/segmenter.ts start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1024 unit: getUnderlyingType() file: body-segmentation/src/selfie_segmentation_mediapipe/segmenter.ts start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1025 unit: dispose() file: body-segmentation/src/selfie_segmentation_mediapipe/segmenter.ts start line: 139 end line: 141 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1026 unit: function isSafari() file: body-segmentation/src/shared/calculators/render_util.ts start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1027 unit: function applyActivation() file: body-segmentation/src/shared/calculators/tensors_to_landmarks.ts start line: 24 end line: 26 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 1028 unit: export function matrix4x4ToArray() file: body-segmentation/src/shared/calculators/calculate_inverse_matrix.ts start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1029 unit: export function normalizeRadians() file: body-segmentation/src/shared/calculators/image_utils.ts start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1030 unit: export function toImageTensor() file: body-segmentation/src/shared/calculators/image_utils.ts start line: 69 end line: 71 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1031 unit: export function isVideo() file: body-segmentation/src/shared/calculators/is_video.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1032 unit: function toNumber() file: body-segmentation/src/shared/calculators/mask_util.ts start line: 19 end line: 21 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1033 unit: function area() file: body-segmentation/src/shared/calculators/association_norm_rect.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1034 unit: constructor() file: body-segmentation/src/shared/filters/visibility_smoothing.ts start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1035 unit: function clipByMask2d() file: body-segmentation/src/body_pix/impl/decode_part_map.ts start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1036 unit: dispose() file: body-segmentation/src/body_pix/impl/base_model.ts start line: 110 end line: 112 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1037 unit: function isSafari() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1038 unit: export function addVectors() file: body-segmentation/src/body_pix/impl/multi_person/util.ts start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1039 unit: export function clampVector() file: body-segmentation/src/body_pix/impl/multi_person/util.ts start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1040 unit: int convertToPositionInOutput() file: body-segmentation/src/body_pix/impl/multi_person/decode_multiple_masks_webgl.ts start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1041 unit: float dist() file: body-segmentation/src/body_pix/impl/multi_person/decode_multiple_masks_webgl.ts start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1042 unit: function isWebGlBackend() file: body-segmentation/src/body_pix/impl/multi_person/decode_instance_masks.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1043 unit: constructor() file: body-segmentation/src/body_pix/impl/body_pix_model.ts start line: 324 end line: 326 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1044 unit: public dispose() file: body-segmentation/src/body_pix/impl/body_pix_model.ts start line: 977 end line: 979 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1045 unit: async toCanvasImageSource() file: body-segmentation/src/body_pix/segmenter.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1046 unit: async toImageData() file: body-segmentation/src/body_pix/segmenter.ts start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1047 unit: async toTensor() file: body-segmentation/src/body_pix/segmenter.ts start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1048 unit: getUnderlyingType() file: body-segmentation/src/body_pix/segmenter.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1049 unit: constructor() file: body-segmentation/src/body_pix/segmenter.ts start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1050 unit: dispose() file: body-segmentation/src/body_pix/segmenter.ts start line: 165 end line: 167 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1051 unit: async toCanvasImageSource() file: body-segmentation/src/selfie_segmentation_tfjs/segmenter.ts start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1052 unit: async toImageData() file: body-segmentation/src/selfie_segmentation_tfjs/segmenter.ts start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1053 unit: async toTensor() file: body-segmentation/src/selfie_segmentation_tfjs/segmenter.ts start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1054 unit: getUnderlyingType() file: body-segmentation/src/selfie_segmentation_tfjs/segmenter.ts start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1055 unit: dispose() file: body-segmentation/src/selfie_segmentation_tfjs/segmenter.ts start line: 143 end line: 145 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1056 unit: static getAnnotations() file: handpose/src/index.ts start line: 118 end line: 120 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1057 unit: export function normalizeRadians() file: handpose/src/util.ts start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1058 unit: function minify() file: posenet/rollup.config.js start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1059 unit: dispose() file: posenet/src/base_model.ts start line: 93 end line: 95 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1060 unit: export function toInputTensor() file: posenet/src/util.ts start line: 202 end line: 204 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1061 unit: constructor() file: posenet/src/model_weights.ts start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1062 unit: weights() file: posenet/src/model_weights.ts start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1063 unit: depthwiseBias() file: posenet/src/model_weights.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1064 unit: convBias() file: posenet/src/model_weights.ts start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1065 unit: public dispose() file: posenet/src/posenet_model.ts start line: 391 end line: 393 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1066 unit: export function addVectors() file: posenet/src/multi_pose/util.ts start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1067 unit: export function clampVector() file: posenet/src/multi_pose/util.ts start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1068 unit: function minify() file: blazeface/rollup.config.js start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1069 unit: function isSafari() file: shared/calculators/render_util.ts start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1070 unit: function applyActivation() file: shared/calculators/tensors_to_landmarks.ts start line: 24 end line: 26 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 1071 unit: export function matrix4x4ToArray() file: shared/calculators/calculate_inverse_matrix.ts start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1072 unit: export function normalizeRadians() file: shared/calculators/image_utils.ts start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1073 unit: export function toImageTensor() file: shared/calculators/image_utils.ts start line: 69 end line: 71 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1074 unit: export function isVideo() file: shared/calculators/is_video.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1075 unit: function toNumber() file: shared/calculators/mask_util.ts start line: 19 end line: 21 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1076 unit: function area() file: shared/calculators/association_norm_rect.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1077 unit: constructor() file: shared/filters/visibility_smoothing.ts start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1078 unit: dispose() file: pose-detection/src/posenet/detector.ts start line: 164 end line: 166 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1079 unit: export function addVectors() file: pose-detection/src/posenet/calculators/decode_multiple_poses_util.ts start line: 114 end line: 116 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1080 unit: function isSafari() file: pose-detection/src/shared/calculators/render_util.ts start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1081 unit: function applyActivation() file: pose-detection/src/shared/calculators/tensors_to_landmarks.ts start line: 24 end line: 26 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 1082 unit: export function matrix4x4ToArray() file: pose-detection/src/shared/calculators/calculate_inverse_matrix.ts start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1083 unit: export function normalizeRadians() file: pose-detection/src/shared/calculators/image_utils.ts start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1084 unit: export function toImageTensor() file: pose-detection/src/shared/calculators/image_utils.ts start line: 69 end line: 71 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1085 unit: export function isVideo() file: pose-detection/src/shared/calculators/is_video.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1086 unit: function toNumber() file: pose-detection/src/shared/calculators/mask_util.ts start line: 19 end line: 21 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1087 unit: function area() file: pose-detection/src/shared/calculators/association_norm_rect.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1088 unit: constructor() file: pose-detection/src/shared/filters/visibility_smoothing.ts start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1089 unit: async toCanvasImageSource() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1090 unit: async toImageData() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1091 unit: async toTensor() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 77 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1092 unit: getUnderlyingType() file: pose-detection/src/blazepose_tfjs/detector.ts start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1093 unit: export function determineNextCropRegion() file: pose-detection/src/movenet/crop_utils.ts start line: 115 end line: 117 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1094 unit: dispose() file: pose-detection/src/movenet/detector.ts start line: 479 end line: 481 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1095 unit: async toCanvasImageSource() file: pose-detection/src/blazepose_mediapipe/detector.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1096 unit: async toImageData() file: pose-detection/src/blazepose_mediapipe/detector.ts start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1097 unit: async toTensor() file: pose-detection/src/blazepose_mediapipe/detector.ts start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1098 unit: getUnderlyingType() file: pose-detection/src/blazepose_mediapipe/detector.ts start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1099 unit: dispose() file: pose-detection/src/blazepose_mediapipe/detector.ts start line: 189 end line: 191 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1100 unit: reset() file: pose-detection/src/blazepose_mediapipe/detector.ts start line: 193 end line: 195 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1101 unit: constructor() file: pose-detection/src/calculators/bounding_box_tracker.ts start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1102 unit: function minify() file: toxicity/rollup.config.js start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1103 unit: async loadTokenizer() file: toxicity/src/index.ts start line: 62 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1104 unit: function minify() file: mobilenet/rollup.config.js start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1105 unit: function isSafari() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1106 unit: function applyActivation() file: face-landmarks-detection/src/shared/calculators/tensors_to_landmarks.ts start line: 24 end line: 26 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 1107 unit: export function matrix4x4ToArray() file: face-landmarks-detection/src/shared/calculators/calculate_inverse_matrix.ts start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1108 unit: export function normalizeRadians() file: face-landmarks-detection/src/shared/calculators/image_utils.ts start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1109 unit: export function toImageTensor() file: face-landmarks-detection/src/shared/calculators/image_utils.ts start line: 69 end line: 71 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1110 unit: export function isVideo() file: face-landmarks-detection/src/shared/calculators/is_video.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1111 unit: function toNumber() file: face-landmarks-detection/src/shared/calculators/mask_util.ts start line: 19 end line: 21 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1112 unit: function area() file: face-landmarks-detection/src/shared/calculators/association_norm_rect.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1113 unit: constructor() file: face-landmarks-detection/src/shared/filters/visibility_smoothing.ts start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1114 unit: dispose() file: face-landmarks-detection/src/mediapipe/detector.ts start line: 135 end line: 137 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1115 unit: private getPrefix() file: coco-ssd/src/index.ts start line: 85 end line: 87 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1116 unit: function minify() file: tasks/rollup.config.js start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1117 unit: export function isWebWorker() file: tasks/src/utils.ts start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1118 unit: constructor() file: tasks/src/tasks/nl_classification/tflite_common.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1119 unit: abstract predict() file: tasks/src/tasks/sentiment_detection/common.ts start line: 41 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1120 unit: constructor() file: tasks/src/tasks/question_and_answer/tflite_common.ts start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1121 unit: abstract predict() file: tasks/src/tasks/question_and_answer/common.ts start line: 41 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1122 unit: constructor() file: tasks/src/tasks/object_detection/tflite_common.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1123 unit: constructor() file: tasks/src/tasks/image_segmentation/tflite_common.ts start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1124 unit: constructor() file: tasks/src/tasks/image_classification/tflite_common.ts start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1125 unit: reset() file: hand-pose-detection/src/tfjs/detector.ts start line: 226 end line: 228 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1126 unit: function isSafari() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1127 unit: function applyActivation() file: hand-pose-detection/src/shared/calculators/tensors_to_landmarks.ts start line: 24 end line: 26 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 1128 unit: export function matrix4x4ToArray() file: hand-pose-detection/src/shared/calculators/calculate_inverse_matrix.ts start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1129 unit: export function normalizeRadians() file: hand-pose-detection/src/shared/calculators/image_utils.ts start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1130 unit: export function toImageTensor() file: hand-pose-detection/src/shared/calculators/image_utils.ts start line: 69 end line: 71 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1131 unit: export function isVideo() file: hand-pose-detection/src/shared/calculators/is_video.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1132 unit: function toNumber() file: hand-pose-detection/src/shared/calculators/mask_util.ts start line: 19 end line: 21 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1133 unit: function area() file: hand-pose-detection/src/shared/calculators/association_norm_rect.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1134 unit: constructor() file: hand-pose-detection/src/shared/filters/visibility_smoothing.ts start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1135 unit: dispose() file: hand-pose-detection/src/mediapipe/detector.ts start line: 146 end line: 148 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1136 unit: function minify() file: body-pix/rollup.config.js start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1137 unit: function clipByMask2d() file: body-pix/src/decode_part_map.ts start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1138 unit: dispose() file: body-pix/src/base_model.ts start line: 110 end line: 112 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1139 unit: function isSafari() file: body-pix/src/output_rendering_util.ts start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1140 unit: export function addVectors() file: body-pix/src/multi_person/util.ts start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1141 unit: export function clampVector() file: body-pix/src/multi_person/util.ts start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1142 unit: int convertToPositionInOutput() file: body-pix/src/multi_person/decode_multiple_masks_webgl.ts start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1143 unit: float dist() file: body-pix/src/multi_person/decode_multiple_masks_webgl.ts start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1144 unit: function isWebGlBackend() file: body-pix/src/multi_person/decode_instance_masks.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1145 unit: constructor() file: body-pix/src/body_pix_model.ts start line: 324 end line: 326 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1146 unit: public dispose() file: body-pix/src/body_pix_model.ts start line: 977 end line: 979 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1147 unit: function minify() file: knn-classifier/rollup.config.js start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1148 unit: function assertSameDimensions() file: body-segmentation/src/shared/calculators/render_util.ts start line: 50 end line: 51 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1149 unit: function assertSameDimensions() file: body-segmentation/src/body_pix/impl/output_rendering_util.ts start line: 37 end line: 38 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1150 unit: function withinNmsRadiusOfCorrespondingPoint() file: body-segmentation/src/body_pix/impl/multi_person/decode_multiple_poses.ts start line: 24 end line: 25 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1151 unit: function validateSinglePersonInferenceConfig() file: posenet/src/posenet_model.ts start line: 224 end line: 225 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1152 unit: function withinNmsRadiusOfCorrespondingPoint() file: posenet/src/multi_pose/decode_multiple_poses.ts start line: 24 end line: 25 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1153 unit: function assertSameDimensions() file: shared/calculators/render_util.ts start line: 50 end line: 51 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1154 unit: reset() file: pose-detection/src/posenet/detector.ts start line: 168 end line: 170 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1155 unit: export function withinNmsRadiusOfCorrespondingPoint() file: pose-detection/src/posenet/calculators/decode_multiple_poses_util.ts start line: 57 end line: 58 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1156 unit: function assertSameDimensions() file: pose-detection/src/shared/calculators/render_util.ts start line: 50 end line: 51 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1157 unit: function determineTorsoAndBodyRange() file: pose-detection/src/movenet/crop_utils.ts start line: 61 end line: 62 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1158 unit: function assertSameDimensions() file: face-landmarks-detection/src/shared/calculators/render_util.ts start line: 50 end line: 51 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1159 unit: function assertSameDimensions() file: hand-pose-detection/src/shared/calculators/render_util.ts start line: 50 end line: 51 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1160 unit: function assertSameDimensions() file: body-pix/src/output_rendering_util.ts start line: 37 end line: 38 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1161 unit: function withinNmsRadiusOfCorrespondingPoint() file: body-pix/src/multi_person/decode_multiple_poses.ts start line: 24 end line: 25 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1162 unit: public async segment() file: deeplab/src/index.ts start line: 182 end line: 182 size: 1 LOC McCabe index: 1 number of parameters: 2