id: 1 unit: def create_lambda_role() file: src/lambda/iam_helper.py start line: 0 end line: 0 size: 51 LOC McCabe index: 3 number of parameters: 1 id: 2 unit: def inference() file: src/src/predictor.py start line: 0 end line: 0 size: 32 LOC McCabe index: 2 number of parameters: 0 id: 3 unit: def lambda_handler() file: src/lambda-inference/app.py start line: 0 end line: 0 size: 32 LOC McCabe index: 1 number of parameters: 2 id: 4 unit: func applyEffect() file: application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/EffectApplyViewController.swift start line: 171 end line: 209 size: 32 LOC McCabe index: 1 number of parameters: 1 id: 5 unit: def lambda_handler() file: src/lambda/create_endpoint.py start line: 0 end line: 0 size: 26 LOC McCabe index: 1 number of parameters: 2 id: 6 unit: func checkRecordState() file: application/PhotoToSketch/PhotoToSketch/CameraScreen/CameraViewController.swift start line: 46 end line: 70 size: 25 LOC McCabe index: 5 number of parameters: 0 id: 7 unit: def lambda_handler() file: src/lambda/create_model.py start line: 0 end line: 0 size: 24 LOC McCabe index: 1 number of parameters: 2 id: 8 unit: func collectionView() file: application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/EffectApplyViewController.swift start line: 144 end line: 163 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 9 unit: func checkIntensityView() file: application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/EffectApplyViewController.swift start line: 79 end line: 97 size: 19 LOC McCabe index: 3 number of parameters: 0 id: 10 unit: func asImage() file: application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/EffectApplyViewController.swift start line: 250 end line: 263 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 11 unit: func rotate() file: application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/EffectApplyViewController.swift start line: 267 end line: 287 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 12 unit: def load_img() file: src/src/predictor.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 13 unit: def load_img() file: src/lambda-inference/app.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 14 unit: func collectionView() file: application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/EffectApplyViewController.swift start line: 211 end line: 222 size: 11 LOC McCabe index: 4 number of parameters: 3 id: 15 unit: func topViewController() file: application/PhotoToSketch/PhotoToSketch/Helpers/PhotoToSketchLoader.swift start line: 32 end line: 42 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 16 unit: func handleDenied() file: application/PhotoToSketch/PhotoToSketch/CameraScreen/CameraViewController.swift start line: 212 end line: 221 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 17 unit: func photoOutput() file: application/PhotoToSketch/PhotoToSketch/CameraScreen/CameraViewController.swift start line: 258 end line: 267 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 18 unit: func cameraWithPosition() file: application/PhotoToSketch/PhotoToSketch/CameraScreen/CameraViewController.swift start line: 112 end line: 120 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 19 unit: func imagePickerController() file: application/PhotoToSketch/PhotoToSketch/CameraScreen/CameraViewController.swift start line: 163 end line: 172 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 20 unit: func scrollViewDidScroll() file: application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/EffectApplyViewController.swift start line: 127 end line: 134 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 21 unit: func showLoader() file: application/PhotoToSketch/PhotoToSketch/Helpers/PhotoToSketchLoader.swift start line: 17 end line: 24 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 22 unit: def tensor_to_image() file: src/src/predictor.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 23 unit: def tensor_to_image() file: src/lambda-inference/app.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 24 unit: func collectionView() file: application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/EffectApplyViewController.swift start line: 136 end line: 142 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 25 unit: def read_image_from_s3() file: src/src/predictor.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 26 unit: def read_image_from_s3() file: src/lambda-inference/app.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 27 unit: func decodeBase64() file: application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/EffectApplyViewController.swift start line: 229 end line: 234 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 28 unit: func setMaskingIntensity() file: application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/EffectApplyViewController.swift start line: 236 end line: 241 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 29 unit: def get_model() file: src/src/predictor.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 30 unit: def upload_s3() file: src/lambda-inference/app.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 31 unit: func collectionView() file: application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/EffectApplyViewController.swift start line: 165 end line: 169 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 32 unit: func hideLoader() file: application/PhotoToSketch/PhotoToSketch/Helpers/PhotoToSketchLoader.swift start line: 26 end line: 30 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 33 unit: def ping() file: src/src/predictor.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 34 unit: func setupViews() file: application/PhotoToSketch/PhotoToSketch/CameraScreen/CameraViewController.swift start line: 37 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 35 unit: func imagePickerControllerDidCancel() file: application/PhotoToSketch/PhotoToSketch/CameraScreen/CameraViewController.swift start line: 174 end line: 177 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 36 unit: func setupViews() file: application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/EffectApplyViewController.swift start line: 69 end line: 72 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 37 unit: func setupLabels() file: application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/EffectApplyViewController.swift start line: 74 end line: 77 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: def predict() file: src/src/predictor.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 39 unit: func setupLabels() file: application/PhotoToSketch/PhotoToSketch/CameraScreen/CameraViewController.swift start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 40 unit: func scene() file: application/PhotoToSketch/PhotoToSketch/SceneDelegate.swift start line: 15 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 41 unit: func application() file: application/PhotoToSketch/PhotoToSketch/AppDelegate.swift start line: 15 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 42 unit: func application() file: application/PhotoToSketch/PhotoToSketch/AppDelegate.swift start line: 22 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 43 unit: func sceneDidDisconnect() file: application/PhotoToSketch/PhotoToSketch/SceneDelegate.swift start line: 22 end line: 27 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: func sceneDidBecomeActive() file: application/PhotoToSketch/PhotoToSketch/SceneDelegate.swift start line: 29 end line: 32 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: func sceneWillResignActive() file: application/PhotoToSketch/PhotoToSketch/SceneDelegate.swift start line: 34 end line: 37 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: func sceneWillEnterForeground() file: application/PhotoToSketch/PhotoToSketch/SceneDelegate.swift start line: 39 end line: 42 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: func sceneDidEnterBackground() file: application/PhotoToSketch/PhotoToSketch/SceneDelegate.swift start line: 44 end line: 48 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: func application() file: application/PhotoToSketch/PhotoToSketch/AppDelegate.swift start line: 28 end line: 32 size: 2 LOC McCabe index: 1 number of parameters: 2