id: 1 unit: OtaPalStatus_t otaPal_SetPlatformImageState() file: components/ota_pal/source/ota_pal.c start line: 786 end line: 884 size: 77 LOC McCabe index: 15 number of parameters: 2 id: 2 unit: CK_RV PKCS11_PAL_GetObjectValue() file: components/pkcs11_pal/source/core_pkcs11_pal.c start line: 306 end line: 388 size: 73 LOC McCabe index: 12 number of parameters: 4 id: 3 unit: static CK_RV prvGetCertificate() file: components/ota_pal/source/ota_pal.c start line: 376 end line: 459 size: 70 LOC McCabe index: 14 number of parameters: 3 id: 4 unit: OtaPalStatus_t otaPal_CheckFileSignature() file: components/ota_pal/source/ota_pal.c start line: 500 end line: 582 size: 66 LOC McCabe index: 9 number of parameters: 1 id: 5 unit: static CK_RV prvGetCertificateHandle() file: components/ota_pal/source/ota_pal.c start line: 101 end line: 175 size: 64 LOC McCabe index: 7 number of parameters: 4 id: 6 unit: TlsTransportStatus_t TLS_FreeRTOS_Connect() file: components/network_transport/source/tls_freertos.c start line: 42 end line: 109 size: 58 LOC McCabe index: 12 number of parameters: 6 id: 7 unit: OtaPalStatus_t otaPal_CloseFile() file: components/ota_pal/source/ota_pal.c start line: 585 end line: 657 size: 58 LOC McCabe index: 9 number of parameters: 1 id: 8 unit: BaseType_t xPkcs11GenerateRandomNumber() file: components/pkcs11_helpers/source/pkcs11_helpers.c start line: 40 end line: 103 size: 54 LOC McCabe index: 13 number of parameters: 2 id: 9 unit: bool SubscriptionManager_AddSubscription() file: components/mqtt-subscription-manager/source/mqtt_subscription_manager.c start line: 39 end line: 97 size: 53 LOC McCabe index: 12 number of parameters: 5 id: 10 unit: static int prvApplyPatch() file: components/ota_pal/source/ota_pal.c start line: 1017 end line: 1083 size: 53 LOC McCabe index: 5 number of parameters: 1 id: 11 unit: void prvLabelToFilenameHandle() file: components/pkcs11_pal/source/core_pkcs11_pal.c start line: 116 end line: 164 size: 48 LOC McCabe index: 7 number of parameters: 3 id: 12 unit: BaseType_t CRYPTO_SignatureVerificationFinal() file: components/crypto/source/iot_crypto.c start line: 334 end line: 393 size: 45 LOC McCabe index: 7 number of parameters: 5 id: 13 unit: static void initialize_nvs_partition() file: components/pkcs11_pal/source/core_pkcs11_pal.c start line: 61 end line: 113 size: 45 LOC McCabe index: 9 number of parameters: 0 id: 14 unit: CK_RV PKCS11_PAL_DestroyObject() file: components/pkcs11_pal/source/core_pkcs11_pal.c start line: 441 end line: 496 size: 43 LOC McCabe index: 5 number of parameters: 1 id: 15 unit: CK_OBJECT_HANDLE PKCS11_PAL_FindObject() file: components/pkcs11_pal/source/core_pkcs11_pal.c start line: 230 end line: 279 size: 41 LOC McCabe index: 8 number of parameters: 2 id: 16 unit: static BaseType_t prvVerifySignature() file: components/crypto/source/iot_crypto.c start line: 184 end line: 241 size: 38 LOC McCabe index: 5 number of parameters: 7 id: 17 unit: bool SubscriptionManager_HandleIncomingPublishes() file: components/mqtt-subscription-manager/source/mqtt_subscription_manager.c start line: 134 end line: 171 size: 34 LOC McCabe index: 6 number of parameters: 2 id: 18 unit: OtaPalImageState_t otaPal_GetPlatformImageState() file: components/ota_pal/source/ota_pal.c start line: 735 end line: 778 size: 34 LOC McCabe index: 8 number of parameters: 1 id: 19 unit: static CK_RV prvGetCertificateHandle() file: components/ota_pal/source/ota_pal.c start line: 338 end line: 372 size: 30 LOC McCabe index: 4 number of parameters: 4 id: 20 unit: int16_t otaPal_WriteBlock() file: components/ota_pal/source/ota_pal.c start line: 700 end line: 733 size: 30 LOC McCabe index: 4 number of parameters: 4 id: 21 unit: BaseType_t CRYPTO_SignatureVerificationStart() file: components/crypto/source/iot_crypto.c start line: 264 end line: 306 size: 29 LOC McCabe index: 4 number of parameters: 3 id: 22 unit: void SubscriptionManager_RemoveSubscription() file: components/mqtt-subscription-manager/source/mqtt_subscription_manager.c start line: 101 end line: 130 size: 29 LOC McCabe index: 7 number of parameters: 3 id: 23 unit: static OtaPalStatus_t prvCreateOtaFile() file: components/ota_pal/source/ota_pal.c start line: 279 end line: 316 size: 29 LOC McCabe index: 5 number of parameters: 1 id: 24 unit: static int prvfseek() file: components/ota_pal/source/ota_pal.c start line: 898 end line: 930 size: 28 LOC McCabe index: 5 number of parameters: 3 id: 25 unit: esp_err_t aws_esp_ota_set_boot_flags() file: components/ota_pal/source/aws_esp_ota_ops.c start line: 101 end line: 129 size: 28 LOC McCabe index: 5 number of parameters: 2 id: 26 unit: CK_OBJECT_HANDLE PKCS11_PAL_SaveObject() file: components/pkcs11_pal/source/core_pkcs11_pal.c start line: 184 end line: 215 size: 26 LOC McCabe index: 3 number of parameters: 3 id: 27 unit: void prvHandleToLabel() file: components/pkcs11_pal/source/core_pkcs11_pal.c start line: 411 end line: 439 size: 25 LOC McCabe index: 6 number of parameters: 2 id: 28 unit: void Agent_InitializePool() file: components/mqtt-agent-interface/source/freertos_command_pool.c start line: 71 end line: 100 size: 24 LOC McCabe index: 3 number of parameters: 1 id: 29 unit: OtaPalStatus_t otaPal_ActivateNewImage() file: components/ota_pal/source/ota_pal.c start line: 669 end line: 697 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 30 unit: static OtaPalStatus_t prvCreatePatchFile() file: components/ota_pal/source/ota_pal.c start line: 243 end line: 276 size: 23 LOC McCabe index: 2 number of parameters: 1 id: 31 unit: static uint32_t prvGetRunningPartitionSize() file: components/ota_pal/source/ota_pal.c start line: 986 end line: 1014 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 32 unit: static size_t prvfread() file: components/ota_pal/source/ota_pal.c start line: 933 end line: 958 size: 20 LOC McCabe index: 3 number of parameters: 4 id: 33 unit: int32_t TLS_FreeRTOS_recv() file: components/network_transport/source/tls_freertos.c start line: 127 end line: 148 size: 19 LOC McCabe index: 5 number of parameters: 3 id: 34 unit: int32_t TLS_FreeRTOS_send() file: components/network_transport/source/tls_freertos.c start line: 151 end line: 172 size: 19 LOC McCabe index: 5 number of parameters: 3 id: 35 unit: static bool prvIsPatchFile() file: components/ota_pal/source/ota_pal.c start line: 220 end line: 240 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 36 unit: int aws_mbedtls_mutex_lock() file: components/crypto/source/iot_crypto.c start line: 132 end line: 150 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 37 unit: int aws_mbedtls_mutex_unlock() file: components/crypto/source/iot_crypto.c start line: 158 end line: 176 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 38 unit: void CRYPTO_SignatureVerificationUpdate() file: components/crypto/source/iot_crypto.c start line: 312 end line: 329 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 39 unit: bool Agent_ReleaseCommand() file: components/mqtt-agent-interface/source/freertos_command_pool.c start line: 125 end line: 145 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 40 unit: OtaPalStatus_t otaPal_Abort() file: components/ota_pal/source/ota_pal.c start line: 202 end line: 217 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 41 unit: esp_err_t aws_esp_ota_get_boot_flags() file: components/ota_pal/source/aws_esp_ota_ops.c start line: 131 end line: 145 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 42 unit: void aws_mbedtls_mutex_init() file: components/crypto/source/iot_crypto.c start line: 98 end line: 111 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: OtaPalStatus_t otaPal_CreateFileForRx() file: components/ota_pal/source/ota_pal.c start line: 319 end line: 336 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: static size_t prvfwrite() file: components/ota_pal/source/ota_pal.c start line: 961 end line: 977 size: 12 LOC McCabe index: 2 number of parameters: 4 id: 45 unit: bool Agent_MessageSend() file: components/mqtt-agent-interface/source/freertos_agent_message.c start line: 46 end line: 58 size: 11 LOC McCabe index: 4 number of parameters: 3 id: 46 unit: bool Agent_MessageReceive() file: components/mqtt-agent-interface/source/freertos_agent_message.c start line: 62 end line: 74 size: 11 LOC McCabe index: 4 number of parameters: 3 id: 47 unit: void TLS_FreeRTOS_Disconnect() file: components/network_transport/source/tls_freertos.c start line: 112 end line: 124 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: static void prvPatchProgress() file: components/ota_pal/source/ota_pal.c start line: 886 end line: 895 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: void PKCS11_PAL_GetObjectValueCleanup() file: components/pkcs11_pal/source/core_pkcs11_pal.c start line: 398 end line: 408 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 50 unit: void aws_mbedtls_mutex_free() file: components/crypto/source/iot_crypto.c start line: 117 end line: 124 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 51 unit: void app_esp_log_debug_write() file: components/logging/source/logging.c start line: 3 end line: 10 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 52 unit: void app_esp_log_info_write() file: components/logging/source/logging.c start line: 12 end line: 19 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: void app_esp_log_warn_write() file: components/logging/source/logging.c start line: 21 end line: 28 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 54 unit: void app_esp_log_error_write() file: components/logging/source/logging.c start line: 30 end line: 37 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 55 unit: static void _esp_ota_ctx_close() file: components/ota_pal/source/ota_pal.c start line: 190 end line: 199 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: void CRYPTO_ConfigureThreading() file: components/crypto/source/iot_crypto.c start line: 252 end line: 259 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: static void _esp_ota_ctx_clear() file: components/ota_pal/source/ota_pal.c start line: 177 end line: 183 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 58 unit: OtaPalStatus_t IRAM_ATTR otaPal_ResetDevice() file: components/ota_pal/source/ota_pal.c start line: 659 end line: 667 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: CK_RV PKCS11_PAL_Initialize() file: components/pkcs11_pal/source/core_pkcs11_pal.c start line: 166 end line: 171 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: static void disable_rtc_wdt() file: components/ota_pal/source/ota_pal.c start line: 780 end line: 784 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: void CRYPTO_Init() file: components/crypto/source/iot_crypto.c start line: 247 end line: 250 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: static bool _esp_ota_ctx_validate() file: components/ota_pal/source/ota_pal.c start line: 185 end line: 188 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 63 unit: static long int prvftell() file: components/ota_pal/source/ota_pal.c start line: 980 end line: 983 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: static bool ota_select_valid() file: components/ota_pal/source/aws_esp_ota_ops.c start line: 47 end line: 50 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: static esp_err_t esp_ota_set_anti_rollback() file: components/ota_pal/source/aws_esp_ota_ops.c start line: 95 end line: 98 size: 4 LOC McCabe index: 1 number of parameters: 1