id: 1 unit: def lambda_handler() file: source/lambda/iot-dr-launch-solution/lambda_function.py start line: 0 end line: 0 size: 118 LOC McCabe index: 9 number of parameters: 2 id: 2 unit: def create_thing_with_cert_and_policy() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 102 LOC McCabe index: 13 number of parameters: 7 id: 3 unit: def lambda_handler() file: source/lambda/iot-dr-r53-health-check/iot-dr-r53-health-checker.py start line: 0 end line: 0 size: 94 LOC McCabe index: 17 number of parameters: 2 id: 4 unit: def lambda_handler() file: source/lambda/sfn-iot-mr-thing-crud/lambda_function.py start line: 0 end line: 0 size: 86 LOC McCabe index: 18 number of parameters: 2 id: 5 unit: def create_thing() file: source/lambda/iot-dr-create-r53-checker/lambda_function.py start line: 0 end line: 0 size: 69 LOC McCabe index: 2 number of parameters: 5 id: 6 unit: def delete_thing() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 69 LOC McCabe index: 4 number of parameters: 3 id: 7 unit: def lambda_handler() file: source/lambda/sfn-iot-mr-thing-group-crud/lambda_function.py start line: 0 end line: 0 size: 57 LOC McCabe index: 18 number of parameters: 2 id: 8 unit: def create_iot_policy() file: source/lambda/iot-mr-jitr/lambda_function.py start line: 0 end line: 0 size: 54 LOC McCabe index: 4 number of parameters: 2 id: 9 unit: def connection_start() file: source/tools/iot-dr-pubsub.py start line: 0 end line: 0 size: 46 LOC McCabe index: 3 number of parameters: 1 id: 10 unit: def lambda_handler() file: source/lambda/iot-dr-custom-launch-solution/lambda_function.py start line: 0 end line: 0 size: 46 LOC McCabe index: 7 number of parameters: 2 id: 11 unit: def lambda_handler() file: source/lambda/iot-dr-create-r53-checker/lambda_function.py start line: 0 end line: 0 size: 45 LOC McCabe index: 5 number of parameters: 2 id: 12 unit: def compare_shadow() file: source/tools/iot-dr-shadow-cmp.py start line: 0 end line: 0 size: 43 LOC McCabe index: 10 number of parameters: 4 id: 13 unit: def create_thing() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 42 LOC McCabe index: 10 number of parameters: 5 id: 14 unit: def lambda_handler() file: source/lambda/iot-dr-region-syncer/iot-region-to-region-syncer.py start line: 0 end line: 0 size: 37 LOC McCabe index: 5 number of parameters: 2 id: 15 unit: def lambda_handler() file: source/lambda/sfn-iot-mr-thing-type-crud/lambda_function.py start line: 0 end line: 0 size: 35 LOC McCabe index: 13 number of parameters: 2 id: 16 unit: def create_registry_event() file: source/lambda/iot-dr-region-syncer/iot-region-to-ddb-syncer.py start line: 0 end line: 0 size: 34 LOC McCabe index: 7 number of parameters: 4 id: 17 unit: def search_things() file: source/tools/iot-search-devices.py start line: 0 end line: 0 size: 32 LOC McCabe index: 5 number of parameters: 1 id: 18 unit: def cfnresponse_send() file: source/lambda/iot-dr-launch-solution/lambda_function.py start line: 0 end line: 0 size: 32 LOC McCabe index: 4 number of parameters: 6 id: 19 unit: def get_and_create_policy() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 32 LOC McCabe index: 3 number of parameters: 3 id: 20 unit: def delete_policy() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 32 LOC McCabe index: 6 number of parameters: 2 id: 21 unit: def sync_thing() file: source/lambda/iot-dr-region-syncer/iot-region-to-region-syncer.py start line: 0 end line: 0 size: 31 LOC McCabe index: 8 number of parameters: 3 id: 22 unit: def cfnresponse_send() file: source/lambda/iot-dr-create-r53-checker/lambda_function.py start line: 0 end line: 0 size: 30 LOC McCabe index: 3 number of parameters: 6 id: 23 unit: def cfnresponse_send() file: source/lambda/iot-dr-custom-launch-solution/lambda_function.py start line: 0 end line: 0 size: 30 LOC McCabe index: 3 number of parameters: 6 id: 24 unit: def compare_device() file: source/tools/iot-devices-cmp.py start line: 0 end line: 0 size: 29 LOC McCabe index: 9 number of parameters: 1 id: 25 unit: def dr_custom_endpoint_verifier() file: source/tools/iot-dr-pubsub.py start line: 0 end line: 0 size: 28 LOC McCabe index: 6 number of parameters: 2 id: 26 unit: def mqtt_connection_start() file: source/tools/test-dr-deployment.py start line: 0 end line: 0 size: 28 LOC McCabe index: 1 number of parameters: 3 id: 27 unit: def lambda_handler() file: source/lambda/sfn-iot-mr-shadow-syncer/lambda_function.py start line: 0 end line: 0 size: 28 LOC McCabe index: 4 number of parameters: 2 id: 28 unit: def createCertificate() file: source/tools/test-dr-deployment.py start line: 0 end line: 0 size: 27 LOC McCabe index: 2 number of parameters: 1 id: 29 unit: def pubSubTests() file: source/tools/test-dr-deployment.py start line: 0 end line: 0 size: 27 LOC McCabe index: 4 number of parameters: 5 id: 30 unit: def lambda_handler() file: source/lambda/iot-dr-region-syncer/iot-region-to-ddb-syncer.py start line: 0 end line: 0 size: 27 LOC McCabe index: 3 number of parameters: 2 id: 31 unit: def dr_endpoint_verifier() file: source/tools/iot-dr-pubsub.py start line: 0 end line: 0 size: 26 LOC McCabe index: 6 number of parameters: 2 id: 32 unit: def get_search_things() file: source/tools/list-all-things.py start line: 0 end line: 0 size: 26 LOC McCabe index: 5 number of parameters: 3 id: 33 unit: def verify_events_indexing_enabled() file: source/lambda/iot-dr-launch-solution/lambda_function.py start line: 0 end line: 0 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 34 unit: def lambda_handler() file: source/lambda/iot-mr-jitr/lambda_function.py start line: 0 end line: 0 size: 26 LOC McCabe index: 3 number of parameters: 2 id: 35 unit: def lambda_handler() file: source/lambda/sfn-iot-mr-dynamo-trigger/lambda_function.py start line: 0 end line: 0 size: 26 LOC McCabe index: 4 number of parameters: 2 id: 36 unit: def update_thing() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 26 LOC McCabe index: 3 number of parameters: 6 id: 37 unit: def get_device_status() file: source/tools/iot-devices-cmp.py start line: 0 end line: 0 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 38 unit: def get_search_things() file: source/tools/iot-devices-cmp.py start line: 0 end line: 0 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 39 unit: def checkThingCertPolicySync() file: source/tools/test-dr-deployment.py start line: 0 end line: 0 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 40 unit: def get_search_things() file: source/lambda/iot-dr-region-syncer/iot-region-to-region-syncer.py start line: 0 end line: 0 size: 23 LOC McCabe index: 5 number of parameters: 5 id: 41 unit: def get_search_things() file: source/lambda/iot-dr-region-syncer/iot-region-to-ddb-syncer.py start line: 0 end line: 0 size: 23 LOC McCabe index: 5 number of parameters: 6 id: 42 unit: def get_iot_data_endpoint() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 22 LOC McCabe index: 5 number of parameters: 2 id: 43 unit: def cleanup() file: source/tools/test-dr-deployment.py start line: 0 end line: 0 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 44 unit: def create_thing_group() file: source/lambda/sfn-iot-mr-thing-group-crud/lambda_function.py start line: 0 end line: 0 size: 21 LOC McCabe index: 3 number of parameters: 5 id: 45 unit: def find_orphaned_things() file: source/lambda/iot-dr-missing-device-replication/lambda_function.py start line: 0 end line: 0 size: 21 LOC McCabe index: 6 number of parameters: 3 id: 46 unit: def get_iot_data_endpoint() file: source/lambda/sfn-iot-mr-shadow-syncer/lambda_function.py start line: 0 end line: 0 size: 19 LOC McCabe index: 5 number of parameters: 2 id: 47 unit: def update_thing_group() file: source/lambda/sfn-iot-mr-thing-group-crud/lambda_function.py start line: 0 end line: 0 size: 19 LOC McCabe index: 2 number of parameters: 5 id: 48 unit: def post_provision_thing() file: source/lambda/iot-dr-missing-device-replication/lambda_function.py start line: 0 end line: 0 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 49 unit: def update_shadow() file: source/tools/iot-dr-shadow-cmp.py start line: 0 end line: 0 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 50 unit: def update_thing_type() file: source/lambda/sfn-iot-mr-thing-type-crud/lambda_function.py start line: 0 end line: 0 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 51 unit: def list_all_things() file: source/tools/list-all-things.py start line: 0 end line: 0 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 52 unit: def createPolicy() file: source/tools/test-dr-deployment.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 53 unit: def delete_shadow() file: source/tools/iot-dr-shadow-cmp.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 54 unit: def delete_cfn_stack() file: source/lambda/iot-dr-launch-solution/lambda_function.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 55 unit: def update_table_create_thing_error() file: source/lambda/sfn-iot-mr-thing-crud/lambda_function.py start line: 0 end line: 0 size: 15 LOC McCabe index: 2 number of parameters: 4 id: 56 unit: def get_shadow() file: source/tools/iot-dr-shadow-cmp.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 57 unit: def empty_and_delete_bucket() file: source/lambda/iot-dr-launch-solution/lambda_function.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 58 unit: def verify_regions() file: source/lambda/iot-dr-launch-solution/lambda_function.py start line: 0 end line: 0 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 59 unit: def delete_shadow() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 60 unit: def get_list_things() file: source/tools/list-all-things.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 61 unit: def getShadow() file: source/tools/test-dr-deployment.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 62 unit: def attach_policy() file: source/lambda/iot-mr-jitr/lambda_function.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 4 id: 63 unit: def create_thing_type() file: source/lambda/sfn-iot-mr-thing-type-crud/lambda_function.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 64 unit: def add_thing_to_group() file: source/lambda/sfn-iot-mr-thing-group-crud/lambda_function.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 65 unit: def thing_exists() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 66 unit: def policy_exists() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 67 unit: def certificate_exists() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 68 unit: def thing_type_exists() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 69 unit: def updateShadow() file: source/tools/test-dr-deployment.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 70 unit: def stack_exists() file: source/lambda/iot-dr-launch-solution/lambda_function.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 71 unit: def update_shadow() file: source/lambda/sfn-iot-mr-shadow-syncer/lambda_function.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 72 unit: def get_thing_name() file: source/lambda/iot-mr-jitr/lambda_function.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 73 unit: def thing_exists() file: source/lambda/iot-mr-jitr/lambda_function.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 74 unit: def create_thing() file: source/lambda/iot-mr-jitr/lambda_function.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 75 unit: def policy_exists() file: source/lambda/iot-mr-jitr/lambda_function.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 76 unit: def thing_type_exists() file: source/lambda/sfn-iot-mr-thing-type-crud/lambda_function.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 77 unit: def thing_group_exists() file: source/lambda/sfn-iot-mr-thing-group-crud/lambda_function.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 78 unit: def update_event() file: source/lambda/iot-dr-region-syncer/iot-region-to-ddb-syncer.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 79 unit: def resolve_txt() file: source/tools/iot-dr-pubsub.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: def registry_indexing_enabled() file: source/tools/iot-search-devices.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 81 unit: def registry_indexing_enabled() file: source/tools/iot-devices-cmp.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 82 unit: def registry_indexing_enabled() file: source/tools/list-all-things.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 83 unit: def deprecate_type() file: source/lambda/sfn-iot-mr-thing-type-crud/lambda_function.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 84 unit: def delete_type() file: source/lambda/sfn-iot-mr-thing-type-crud/lambda_function.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 85 unit: def remove_thing_from_group() file: source/lambda/sfn-iot-mr-thing-group-crud/lambda_function.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 86 unit: def get_root_ca() file: source/lambda/iot-dr-create-r53-checker/lambda_function.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 87 unit: def registry_indexing_enabled() file: source/lambda/iot-dr-region-syncer/iot-region-to-region-syncer.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 88 unit: def registry_indexing_enabled() file: source/lambda/iot-dr-region-syncer/iot-region-to-ddb-syncer.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 89 unit: def get_attached_policies() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 90 unit: def register_cert() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 91 unit: def delete_thing_create_error() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 92 unit: def resolve_cname() file: source/tools/iot-dr-pubsub.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 93 unit: def write_lambda_function() file: source/lambda/iot-dr-create-r53-checker/lambda_function.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 94 unit: def get_list_things() file: source/lambda/iot-dr-region-syncer/iot-region-to-region-syncer.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 95 unit: def get_list_things() file: source/lambda/iot-dr-region-syncer/iot-region-to-ddb-syncer.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 4 id: 96 unit: def process_results() file: source/tools/bulk-result.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 97 unit: def activate_certificate() file: source/lambda/iot-mr-jitr/lambda_function.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 98 unit: def delete_thing_group() file: source/lambda/sfn-iot-mr-thing-group-crud/lambda_function.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 99 unit: def create_thing_type() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 100 unit: def get_thing_principals() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 101 unit: def process_line() file: source/tools/bulk-result.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: def get_principal_things() file: source/lambda/iot-dr-layer/device_replication.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 103 unit: def on_connection_resumed() file: source/tools/iot-dr-pubsub.py start line: 0 end line: 0 size: 7 LOC McCabe index: 4 number of parameters: 4 id: 104 unit: def lambda_handler() file: source/lambda/iot-dr-missing-device-replication/lambda_function.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 105 unit: def lambda_handler() file: source/lambda/iot-mr-cross-region/lambda_function.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 106 unit: def on_resubscribe_complete() file: source/tools/iot-dr-pubsub.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 107 unit: def on_message_received() file: source/tools/iot-dr-pubsub.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 108 unit: def on_resubscribe_complete() file: source/tools/test-dr-deployment.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 109 unit: def on_connection_resumed() file: source/tools/test-dr-deployment.py start line: 0 end line: 0 size: 6 LOC McCabe index: 4 number of parameters: 4 id: 110 unit: def on_message_received() file: source/tools/test-dr-deployment.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 111 unit: def on_connection_resumed() file: source/lambda/iot-dr-r53-health-check/iot-dr-r53-health-checker.py start line: 0 end line: 0 size: 6 LOC McCabe index: 4 number of parameters: 4 id: 112 unit: def on_resubscribe_complete() file: source/lambda/iot-dr-r53-health-check/iot-dr-r53-health-checker.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 113 unit: def on_message_received() file: source/lambda/iot-dr-r53-health-check/iot-dr-r53-health-checker.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 114 unit: def get_next_token() file: source/tools/iot-search-devices.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 115 unit: def get_next_token() file: source/tools/iot-devices-cmp.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 116 unit: def get_next_token() file: source/tools/list-all-things.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 117 unit: def main() file: source/tools/bulk-result.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 118 unit: def createThing() file: source/tools/test-dr-deployment.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: def get_next_token() file: source/lambda/iot-dr-region-syncer/iot-region-to-region-syncer.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 120 unit: def get_next_token() file: source/lambda/iot-dr-region-syncer/iot-region-to-ddb-syncer.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 121 unit: def print_response() file: source/tools/iot-search-devices.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: def print_response() file: source/tools/iot-devices-cmp.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: def print_response() file: source/tools/list-thing.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: def on_connection_interrupted() file: source/tools/iot-dr-pubsub.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 125 unit: def on_connection_interrupted() file: source/tools/test-dr-deployment.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 126 unit: def on_connection_interrupted() file: source/lambda/iot-dr-r53-health-check/iot-dr-r53-health-checker.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3