id: 1 unit: def get_pipeline() file: src/cloud/pipelines/image_classification/pipeline.py start line: 0 end line: 0 size: 222 LOC McCabe index: 15 number of parameters: 5 id: 2 unit: def get_pipeline() file: src/cloud/pipelines/semantic_segmentation/pipeline.py start line: 0 end line: 0 size: 131 LOC McCabe index: 9 number of parameters: 5 id: 3 unit: def main() file: src/cloud/pipelines/run_pipeline.py start line: 0 end line: 0 size: 64 LOC McCabe index: 4 number of parameters: 0 id: 4 unit: def setup_agent() file: setup/lambda-custom-resource/prepare_dev_package_cr.py start line: 0 end line: 0 size: 58 LOC McCabe index: 7 number of parameters: 2 id: 5 unit: def augment_data() file: src/cloud/pipelines/semantic_segmentation/preprocessing.py start line: 0 end line: 0 size: 56 LOC McCabe index: 5 number of parameters: 2 id: 6 unit: def prepare_device_package() file: setup/lambda-custom-resource/prepare_dev_package_cr.py start line: 0 end line: 0 size: 44 LOC McCabe index: 6 number of parameters: 2 id: 7 unit: def __process_job__() file: src/edge/app/ota.py start line: 0 end line: 0 size: 40 LOC McCabe index: 6 number of parameters: 3 id: 8 unit: def main() file: src/cloud/pipelines/get_pipeline_definition.py start line: 0 end line: 0 size: 39 LOC McCabe index: 4 number of parameters: 0 id: 9 unit: def homepage() file: src/edge/run.py start line: 0 end line: 0 size: 37 LOC McCabe index: 7 number of parameters: 0 id: 10 unit: def lambda_handler() file: setup/lambda-custom-resource/prepare_dev_package_cr.py start line: 0 end line: 0 size: 31 LOC McCabe index: 5 number of parameters: 2 id: 11 unit: def __init__() file: src/edge/app/ota.py start line: 0 end line: 0 size: 30 LOC McCabe index: 3 number of parameters: 8 id: 12 unit: def run_classification_inference() file: src/edge/run.py start line: 0 end line: 0 size: 26 LOC McCabe index: 10 number of parameters: 2 id: 13 unit: def __on_message__() file: src/edge/app/ota.py start line: 0 end line: 0 size: 25 LOC McCabe index: 9 number of parameters: 4 id: 14 unit: def predict() file: src/edge/app/edgeagentclient.py start line: 0 end line: 0 size: 25 LOC McCabe index: 5 number of parameters: 4 id: 15 unit: def cfn_cleanup() file: setup/lambda-custom-resource/prepare_dev_package_cr.py start line: 0 end line: 0 size: 25 LOC McCabe index: 1 number of parameters: 0 id: 16 unit: def run_segmentation_inference() file: src/edge/run.py start line: 0 end line: 0 size: 23 LOC McCabe index: 8 number of parameters: 2 id: 17 unit: def download_config() file: src/edge/install.py start line: 0 end line: 0 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 18 unit: def send_response() file: setup/lambda-custom-resource/prepare_dev_package_cr.py start line: 0 end line: 0 size: 23 LOC McCabe index: 2 number of parameters: 4 id: 19 unit: def load_model() file: src/edge/run.py start line: 0 end line: 0 size: 22 LOC McCabe index: 11 number of parameters: 2 id: 20 unit: def model() file: src/cloud/pipelines/semantic_segmentation/train_tf.py start line: 0 end line: 0 size: 21 LOC McCabe index: 2 number of parameters: 0 id: 21 unit: def get_client() file: src/edge/app/util.py start line: 0 end line: 0 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 22 unit: def split_dataset() file: src/cloud/pipelines/image_classification/preprocessing.py start line: 0 end line: 0 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 23 unit: def __upload_logs__() file: src/edge/app/logger.py start line: 0 end line: 0 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 24 unit: def __update_job_status__() file: src/edge/app/ota.py start line: 0 end line: 0 size: 15 LOC McCabe index: 1 number of parameters: 4 id: 25 unit: def get_aws_credentials() file: src/edge/app/util.py start line: 0 end line: 0 size: 15 LOC McCabe index: 2 number of parameters: 5 id: 26 unit: def get_square_image() file: src/cloud/pipelines/image_classification/preprocessing.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 27 unit: def get_square_image() file: src/edge/run.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 28 unit: def load_model() file: src/edge/app/edgeagentclient.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 29 unit: def get_square_image() file: src/cloud/pipelines/semantic_segmentation/preprocessing.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 4 id: 30 unit: def load_data() file: src/cloud/pipelines/semantic_segmentation/preprocessing.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 31 unit: def __on_connect__() file: src/edge/app/ota.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 5 id: 32 unit: def unload_model() file: src/edge/app/edgeagentclient.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 33 unit: def __init__() file: src/edge/app/logger.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 34 unit: def publish_logs() file: src/edge/app/logger.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 35 unit: def capture_data() file: src/edge/app/edgeagentclient.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 36 unit: def get_session() file: src/cloud/pipelines/semantic_segmentation/pipeline.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 37 unit: def get_session() file: src/cloud/pipelines/image_classification/pipeline.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 38 unit: def create_dataset() file: src/edge/app/util.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 39 unit: def parse_args() file: src/cloud/pipelines/semantic_segmentation/train_tf.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 40 unit: def tf_parse() file: src/cloud/pipelines/semantic_segmentation/train_tf.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 41 unit: def create_tensor() file: src/edge/app/edgeagentclient.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 42 unit: def create_b64_img_from_mask() file: src/edge/app/util.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: def read_mask() file: src/cloud/pipelines/semantic_segmentation/train_tf.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: def get_model_from_name() file: src/edge/run.py start line: 0 end line: 0 size: 7 LOC McCabe index: 4 number of parameters: 2 id: 45 unit: def __run_logs_upload_job__() file: src/edge/app/logger.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: def __del__() file: src/edge/app/ota.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: def replace_pathnames_in_config() file: src/edge/install.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: def resize_images() file: src/cloud/pipelines/semantic_segmentation/preprocessing.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 49 unit: def square_images() file: src/cloud/pipelines/semantic_segmentation/preprocessing.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 4 id: 50 unit: def read_image() file: src/cloud/pipelines/semantic_segmentation/train_tf.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 51 unit: def tf_dataset() file: src/cloud/pipelines/semantic_segmentation/train_tf.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 52 unit: def dice_coef() file: src/cloud/pipelines/semantic_segmentation/train_tf.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: def get_train_data() file: src/cloud/pipelines/semantic_segmentation/train_tf.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 54 unit: def resize_images() file: src/cloud/pipelines/image_classification/preprocessing.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 55 unit: def square_images() file: src/cloud/pipelines/image_classification/preprocessing.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: def preprocess_image() file: src/edge/run.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 57 unit: def __update_credentials() file: src/edge/app/logger.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: def model_update_check() file: src/edge/app/ota.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 59 unit: def __on_disconnect__() file: src/edge/app/ota.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 60 unit: def augment_data() file: src/cloud/pipelines/image_classification/preprocessing.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 61 unit: def get_pipeline_driver() file: src/cloud/pipelines/_utils.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 62 unit: def __init__() file: src/edge/app/edgeagentclient.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 63 unit: def __update_models_list__() file: src/edge/app/edgeagentclient.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 64 unit: def create_model_identifier() file: src/edge/run.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 65 unit: def dice_loss() file: src/cloud/pipelines/semantic_segmentation/train_tf.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 66 unit: def convert_struct() file: src/cloud/pipelines/_utils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 67 unit: def is_model_loaded() file: src/edge/app/edgeagentclient.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2