id: 1 unit: def core_connect() file: provisioning_handler.py start line: 0 end line: 0 size: 26 LOC McCabe index: 2 number of parameters: 1 id: 2 unit: public X509Certificate2 LoadX509Certificate() file: dotnet-core/AWS.IoT.FleetProvisioning/Certificates/CertificateLoader.cs start line: 19 end line: 55 size: 26 LOC McCabe index: 3 number of parameters: 3 id: 3 unit: private static IHostBuilder CreateHostBuilder() file: dotnet-core/AWS.IoT.FleetProvisioning/Program.cs start line: 43 end line: 73 size: 26 LOC McCabe index: 1 number of parameters: 1 id: 4 unit: public static async Task Main() file: dotnet-core/AWS.IoT.FleetProvisioning/Program.cs start line: 17 end line: 41 size: 24 LOC McCabe index: 3 number of parameters: 1 id: 5 unit: def on_message_callback() file: provisioning_handler.py start line: 0 end line: 0 size: 19 LOC McCabe index: 5 number of parameters: 2 id: 6 unit: def __init__() file: provisioning_handler.py start line: 0 end line: 0 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 7 unit: private void MessageCallback() file: dotnet-core/AWS.IoT.FleetProvisioning/Provisioning/DeviceProvisioningHandler.cs start line: 89 end line: 111 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 8 unit: def cert_validation_test() file: provisioning_handler.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 9 unit: public async Task BeginProvisioningFlowAsync() file: dotnet-core/AWS.IoT.FleetProvisioning/Provisioning/DeviceProvisioningHandler.cs start line: 45 end line: 70 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 10 unit: private void RegisterThing() file: dotnet-core/AWS.IoT.FleetProvisioning/Provisioning/DeviceProvisioningHandler.cs start line: 140 end line: 159 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 11 unit: def enable_error_monitor() file: provisioning_handler.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 12 unit: def assemble_certificates() file: provisioning_handler.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 13 unit: def register_thing() file: provisioning_handler.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 14 unit: def new_cert_pub_sub() file: provisioning_handler.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 15 unit: private void AssembleCertificates() file: dotnet-core/AWS.IoT.FleetProvisioning/Provisioning/DeviceProvisioningHandler.cs start line: 118 end line: 134 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: def basic_callback() file: provisioning_handler.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 4 id: 17 unit: private void InitializeClient() file: dotnet-core/AWS.IoT.FleetProvisioning/IoTClient/ProvisioningClient.cs start line: 121 end line: 133 size: 11 LOC McCabe index: 1 number of parameters: 5 id: 18 unit: private void ClientOnMqttMsgPublishReceived() file: dotnet-core/AWS.IoT.FleetProvisioning/IoTClient/ProvisioningClient.cs start line: 150 end line: 163 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 19 unit: private void NewCertificatePublishAndSubscribe() file: dotnet-core/AWS.IoT.FleetProvisioning/Provisioning/DeviceProvisioningHandler.cs start line: 180 end line: 191 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 20 unit: def run_provisioning() file: main.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 21 unit: public DeviceProvisioningHandler() file: dotnet-core/AWS.IoT.FleetProvisioning/Provisioning/DeviceProvisioningHandler.cs start line: 27 end line: 36 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 22 unit: private void ValidateCertificate() file: dotnet-core/AWS.IoT.FleetProvisioning/Provisioning/DeviceProvisioningHandler.cs start line: 164 end line: 175 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 23 unit: public ProvisioningClient() file: dotnet-core/AWS.IoT.FleetProvisioning/IoTClient/ProvisioningClient.cs start line: 24 end line: 33 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 24 unit: public void Publish() file: dotnet-core/AWS.IoT.FleetProvisioning/IoTClient/ProvisioningClient.cs start line: 91 end line: 103 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 25 unit: protected void UpdateClient() file: dotnet-core/AWS.IoT.FleetProvisioning/IoTClient/ProvisioningClient.cs start line: 110 end line: 119 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 26 unit: private void EnableErrorMonitor() file: dotnet-core/AWS.IoT.FleetProvisioning/Provisioning/DeviceProvisioningHandler.cs start line: 75 end line: 83 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 27 unit: public void Subscribe() file: dotnet-core/AWS.IoT.FleetProvisioning/IoTClient/ProvisioningClient.cs start line: 73 end line: 83 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 28 unit: def get_current_certs() file: provisioning_handler.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 29 unit: def validate_certs() file: provisioning_handler.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 30 unit: private void Callback() file: dotnet-core/AWS.IoT.FleetProvisioning/ConsoleApplication.cs start line: 26 end line: 32 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 31 unit: private void BasicCallback() file: dotnet-core/AWS.IoT.FleetProvisioning/Provisioning/DeviceProvisioningHandler.cs start line: 197 end line: 204 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 32 unit: public static T FromJson() file: dotnet-core/AWS.IoT.FleetProvisioning/Extensions/JsonExtensions.cs start line: 17 end line: 24 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 33 unit: public static JsonSerializerSettings GetSettings() file: dotnet-core/AWS.IoT.FleetProvisioning/Extensions/JsonExtensions.cs start line: 29 end line: 35 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 34 unit: public void Connect() file: dotnet-core/AWS.IoT.FleetProvisioning/IoTClient/ProvisioningClient.cs start line: 54 end line: 63 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: public void UpdateClientCredentials() file: dotnet-core/AWS.IoT.FleetProvisioning/IoTClient/PermanentClient.cs start line: 17 end line: 25 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 36 unit: public static string ToJson() file: dotnet-core/AWS.IoT.FleetProvisioning/Extensions/JsonExtensions.cs start line: 8 end line: 15 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 37 unit: def get_official_certs() file: provisioning_handler.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 38 unit: def __init__() file: utils/config_loader.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 39 unit: public ConsoleApplication() file: dotnet-core/AWS.IoT.FleetProvisioning/ConsoleApplication.cs start line: 14 end line: 18 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 40 unit: public async Task GetPermanentCertificatesAsync() file: dotnet-core/AWS.IoT.FleetProvisioning/ConsoleApplication.cs start line: 20 end line: 24 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 41 unit: public void OnMessage() file: dotnet-core/AWS.IoT.FleetProvisioning/IoTClient/ProvisioningClient.cs start line: 44 end line: 48 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: public PermanentClient() file: dotnet-core/AWS.IoT.FleetProvisioning/IoTClient/PermanentClient.cs start line: 11 end line: 15 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 43 unit: public CertificateLoader() file: dotnet-core/AWS.IoT.FleetProvisioning/Certificates/CertificateLoader.cs start line: 14 end line: 17 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: private void ClientOnMqttMsgPublished() file: dotnet-core/AWS.IoT.FleetProvisioning/IoTClient/ProvisioningClient.cs start line: 135 end line: 138 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 45 unit: private void ClientOnMqttMsgSubscribed() file: dotnet-core/AWS.IoT.FleetProvisioning/IoTClient/ProvisioningClient.cs start line: 140 end line: 143 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 46 unit: private void ClientOnMqttMsgUnsubscribed() file: dotnet-core/AWS.IoT.FleetProvisioning/IoTClient/ProvisioningClient.cs start line: 145 end line: 148 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 47 unit: def on_connection_interrupted() file: provisioning_handler.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 4 id: 48 unit: def on_connection_resumed() file: provisioning_handler.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 5 id: 49 unit: def get_section() file: utils/config_loader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 50 unit: def callback() file: main.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1