id: 1 unit: bool OTA_CBOR_Decode_GetStreamResponseMessage() file: source/ota_cbor.c start line: 74 end line: 216 size: 116 LOC McCabe index: 25 number of parameters: 7 id: 2 unit: static IngestResult_t ingestDataBlock() file: source/ota.c start line: 123 end line: 511 size: 113 LOC McCabe index: 1 number of parameters: 4 id: 3 unit: bool OTA_CBOR_Encode_GetStreamRequestMessage() file: source/ota_cbor.c start line: 236 end line: 364 size: 103 LOC McCabe index: 20 number of parameters: 10 id: 4 unit: static uint32_t prvBuildStatusMessageFinish() file: source/ota_mqtt.c start line: 696 end line: 833 size: 103 LOC McCabe index: 4 number of parameters: 6 id: 5 unit: static OtaErr_t processDataHandler() file: source/ota.c start line: 1165 end line: 1291 size: 90 LOC McCabe index: 11 number of parameters: 1 id: 6 unit: OtaErr_t requestFileBlock_Mqtt() file: source/ota_mqtt.c start line: 1074 end line: 1174 size: 77 LOC McCabe index: 4 number of parameters: 1 id: 7 unit: static void freeFileContextMem() file: source/ota.c start line: 1393 end line: 1480 size: 76 LOC McCabe index: 13 number of parameters: 1 id: 8 unit: Base64Status_t base64Decode() file: source/ota_base64.c start line: 420 end line: 514 size: 70 LOC McCabe index: 15 number of parameters: 5 id: 9 unit: static Base64Status_t decodeBase64IndexBuffer() file: source/ota_base64.c start line: 316 end line: 402 size: 68 LOC McCabe index: 11 number of parameters: 5 id: 10 unit: OtaErr_t setDataInterface() file: source/ota_interface.c start line: 76 end line: 147 size: 67 LOC McCabe index: 11 number of parameters: 2 id: 11 unit: static void initializeAppBuffers() file: source/ota.c start line: 2974 end line: 3052 size: 66 LOC McCabe index: 15 number of parameters: 1 id: 12 unit: OtaErr_t requestJob_Mqtt() file: source/ota_mqtt.c start line: 840 end line: 934 size: 66 LOC McCabe index: 5 number of parameters: 1 id: 13 unit: static IngestResult_t decodeAndStoreDataBlock() file: source/ota.c start line: 2558 end line: 2630 size: 64 LOC McCabe index: 8 number of parameters: 6 id: 14 unit: static DocParseErr_t parseJSONbyModel() file: source/ota.c start line: 1756 end line: 1833 size: 61 LOC McCabe index: 10 number of parameters: 3 id: 15 unit: static OtaJobParseErr_t handleCustomJob() file: source/ota.c start line: 1952 end line: 2028 size: 60 LOC McCabe index: 7 number of parameters: 2 id: 16 unit: static IngestResult_t processDataBlock() file: source/ota.c start line: 2484 end line: 2555 size: 60 LOC McCabe index: 6 number of parameters: 5 id: 17 unit: OtaOsStatus_t OtaStartTimer_FreeRTOS() file: source/portable/os/ota_os_freertos.c start line: 208 end line: 282 size: 59 LOC McCabe index: 5 number of parameters: 4 id: 18 unit: OtaOsStatus_t Posix_OtaStartTimer() file: source/portable/os/ota_os_posix.c start line: 244 end line: 317 size: 54 LOC McCabe index: 5 number of parameters: 4 id: 19 unit: static OtaErr_t initFileHandler() file: source/ota.c start line: 1012 end line: 1081 size: 53 LOC McCabe index: 6 number of parameters: 1 id: 20 unit: static IngestResult_t ingestDataBlockCleanup() file: source/ota.c start line: 2634 end line: 2699 size: 53 LOC McCabe index: 7 number of parameters: 2 id: 21 unit: static DocParseErr_t extractParameter() file: source/ota.c start line: 1659 end line: 1720 size: 52 LOC McCabe index: 9 number of parameters: 4 id: 22 unit: static OtaMqttStatus_t publishStatusMessage() file: source/ota_mqtt.c start line: 524 end line: 594 size: 52 LOC McCabe index: 3 number of parameters: 4 id: 23 unit: static DocParseErr_t initDocModel() file: source/ota.c start line: 1838 end line: 1898 size: 51 LOC McCabe index: 7 number of parameters: 5 id: 24 unit: static OtaJobParseErr_t verifyActiveJobStatus() file: source/ota.c start line: 2032 end line: 2101 size: 50 LOC McCabe index: 6 number of parameters: 3 id: 25 unit: OtaErr_t OTA_Init() file: source/ota.c start line: 3075 end line: 3164 size: 50 LOC McCabe index: 5 number of parameters: 4 id: 26 unit: static Base64Status_t preprocessBase64Index() file: source/ota_base64.c start line: 192 end line: 250 size: 48 LOC McCabe index: 9 number of parameters: 3 id: 27 unit: static OtaErr_t requestJobHandler() file: source/ota.c start line: 830 end line: 895 size: 48 LOC McCabe index: 5 number of parameters: 1 id: 28 unit: OtaErr_t updateJobStatus_Mqtt() file: source/ota_mqtt.c start line: 940 end line: 1003 size: 48 LOC McCabe index: 5 number of parameters: 4 id: 29 unit: static DocParseErr_t extractAndStoreArray() file: source/ota.c start line: 1592 end line: 1655 size: 47 LOC McCabe index: 6 number of parameters: 5 id: 30 unit: OtaErr_t initFileTransfer_Mqtt() file: source/ota_mqtt.c start line: 1008 end line: 1069 size: 47 LOC McCabe index: 3 number of parameters: 1 id: 31 unit: static void handleJobParsingError() file: source/ota.c start line: 2218 end line: 2283 size: 45 LOC McCabe index: 6 number of parameters: 2 id: 32 unit: OtaState_t OTA_Shutdown() file: source/ota.c start line: 3169 end line: 3231 size: 44 LOC McCabe index: 7 number of parameters: 2 id: 33 unit: static OtaMqttStatus_t publishStatusMessage() file: source/ota_mqtt.c start line: 171 end line: 281 size: 44 LOC McCabe index: 2 number of parameters: 4 id: 34 unit: static OtaMqttStatus_t unsubscribeFromDataStream() file: source/ota_mqtt.c start line: 404 end line: 460 size: 42 LOC McCabe index: 3 number of parameters: 1 id: 35 unit: static uint32_t buildStatusMessageReceiving() file: source/ota_mqtt.c start line: 596 end line: 651 size: 40 LOC McCabe index: 3 number of parameters: 4 id: 36 unit: static OtaErr_t setImageStateWithReason() file: source/ota.c start line: 701 end line: 759 size: 39 LOC McCabe index: 6 number of parameters: 2 id: 37 unit: static OtaErr_t requestDataHandler() file: source/ota.c start line: 1083 end line: 1141 size: 39 LOC McCabe index: 6 number of parameters: 1 id: 38 unit: static OtaMqttStatus_t unsubscribeFromJobNotificationTopic() file: source/ota_mqtt.c start line: 465 end line: 519 size: 39 LOC McCabe index: 3 number of parameters: 1 id: 39 unit: static OtaJobParseErr_t validateAndStartJob() file: source/ota.c start line: 2159 end line: 2215 size: 38 LOC McCabe index: 5 number of parameters: 3 id: 40 unit: static OtaMqttStatus_t subscribeToJobNotificationTopics() file: source/ota_mqtt.c start line: 346 end line: 399 size: 38 LOC McCabe index: 3 number of parameters: 1 id: 41 unit: static OtaErr_t processValidFileContext() file: source/ota.c start line: 925 end line: 978 size: 34 LOC McCabe index: 5 number of parameters: 1 id: 42 unit: static DocParseErr_t decodeAndStoreKey() file: source/ota.c start line: 1547 end line: 1588 size: 34 LOC McCabe index: 2 number of parameters: 3 id: 43 unit: static OtaErr_t updateJobStatusFromImageState() file: source/ota.c start line: 655 end line: 699 size: 33 LOC McCabe index: 4 number of parameters: 2 id: 44 unit: static OtaErr_t validateUpdateVersion() file: source/ota.c start line: 1903 end line: 1949 size: 32 LOC McCabe index: 5 number of parameters: 1 id: 45 unit: bool OTA_SignalEvent() file: source/ota.c start line: 2934 end line: 2972 size: 32 LOC McCabe index: 5 number of parameters: 1 id: 46 unit: static uint32_t prvBuildStatusMessageSelfTest() file: source/ota_mqtt.c start line: 653 end line: 694 size: 32 LOC McCabe index: 2 number of parameters: 4 id: 47 unit: OtaOsStatus_t Posix_OtaStopTimer() file: source/portable/os/ota_os_posix.c start line: 319 end line: 361 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 48 unit: static void receiveAndProcessOtaEvent() file: source/ota.c start line: 2872 end line: 2917 size: 30 LOC McCabe index: 5 number of parameters: 1 id: 49 unit: static void handleSelfTestJobDoc() file: source/ota.c start line: 2104 end line: 2155 size: 29 LOC McCabe index: 5 number of parameters: 1 id: 50 unit: OtaErr_t decodeFileBlock_Mqtt() file: source/ota_mqtt.c start line: 1179 end line: 1213 size: 29 LOC McCabe index: 3 number of parameters: 7 id: 51 unit: OtaOsStatus_t Posix_OtaDeleteTimer() file: source/portable/os/ota_os_posix.c start line: 363 end line: 398 size: 29 LOC McCabe index: 3 number of parameters: 1 id: 52 unit: OtaErr_t decodeFileBlock_Http() file: source/ota_http.c start line: 122 end line: 157 size: 28 LOC McCabe index: 7 number of parameters: 7 id: 53 unit: OtaErr_t OTA_SetImageState() file: source/ota.c start line: 3321 end line: 3373 size: 28 LOC McCabe index: 6 number of parameters: 1 id: 54 unit: OtaOsStatus_t Posix_OtaInitEvent() file: source/portable/os/ota_os_posix.c start line: 71 end line: 113 size: 28 LOC McCabe index: 2 number of parameters: 1 id: 55 unit: OtaOsStatus_t OtaDeleteTimer_FreeRTOS() file: source/portable/os/ota_os_freertos.c start line: 316 end line: 349 size: 28 LOC McCabe index: 3 number of parameters: 1 id: 56 unit: OtaErr_t requestDataBlock_Http() file: source/ota_http.c start line: 78 end line: 116 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 57 unit: static IngestResult_t ingestDataBlock() file: source/ota.c start line: 2703 end line: 2743 size: 27 LOC McCabe index: 5 number of parameters: 4 id: 58 unit: OtaErr_t OTA_Resume() file: source/ota.c start line: 3422 end line: 3460 size: 27 LOC McCabe index: 3 number of parameters: 1 id: 59 unit: OtaOsStatus_t Posix_OtaReceiveEvent() file: source/portable/os/ota_os_posix.c start line: 146 end line: 180 size: 27 LOC McCabe index: 2 number of parameters: 3 id: 60 unit: static OtaErr_t inSelfTestHandler() file: source/ota.c start line: 788 end line: 828 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 61 unit: OtaOsStatus_t OtaStopTimer_FreeRTOS() file: source/portable/os/ota_os_freertos.c start line: 284 end line: 314 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 62 unit: OtaOsStatus_t OtaReceiveEvent_FreeRTOS() file: source/portable/os/ota_os_freertos.c start line: 123 end line: 155 size: 25 LOC McCabe index: 2 number of parameters: 3 id: 63 unit: static DocParseErr_t validateJSON() file: source/ota.c start line: 1514 end line: 1543 size: 24 LOC McCabe index: 4 number of parameters: 2 id: 64 unit: static DocParseErr_t verifyRequiredParamsExtracted() file: source/ota.c start line: 1724 end line: 1752 size: 24 LOC McCabe index: 4 number of parameters: 2 id: 65 unit: static void executeHandler() file: source/ota.c start line: 2821 end line: 2852 size: 24 LOC McCabe index: 2 number of parameters: 2 id: 66 unit: OtaOsStatus_t Posix_OtaSendEvent() file: source/portable/os/ota_os_posix.c start line: 115 end line: 144 size: 24 LOC McCabe index: 2 number of parameters: 3 id: 67 unit: static size_t stringBuilderUInt32Hex() file: source/ota_mqtt.c start line: 312 end line: 341 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 68 unit: OtaOsStatus_t OtaSendEvent_FreeRTOS() file: source/portable/os/ota_os_freertos.c start line: 93 end line: 121 size: 23 LOC McCabe index: 2 number of parameters: 3 id: 69 unit: static size_t stringBuilderUInt32Decimal() file: source/ota_mqtt.c start line: 283 end line: 310 size: 22 LOC McCabe index: 3 number of parameters: 3 id: 70 unit: OtaOsStatus_t OtaInitEvent_FreeRTOS() file: source/portable/os/ota_os_freertos.c start line: 65 end line: 91 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: static void otaTimerCallback() file: source/ota.c start line: 611 end line: 637 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 72 unit: OtaErr_t OTA_Suspend() file: source/ota.c start line: 3386 end line: 3417 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 73 unit: OtaOsStatus_t Posix_OtaDeinitEvent() file: source/portable/os/ota_os_posix.c start line: 182 end line: 208 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 74 unit: static void handleUnexpectedEvents() file: source/ota.c start line: 2783 end line: 2816 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 75 unit: static void updateBase64DecodingBuffer() file: source/ota_base64.c start line: 264 end line: 293 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 76 unit: static OtaErr_t startHandler() file: source/ota.c start line: 761 end line: 786 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 77 unit: OtaErr_t cleanupControl_Mqtt() file: source/ota_mqtt.c start line: 1218 end line: 1241 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 78 unit: OtaErr_t cleanupData_Mqtt() file: source/ota_mqtt.c start line: 1246 end line: 1269 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 79 unit: OtaErr_t initFileTransfer_Http() file: source/ota_http.c start line: 47 end line: 73 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 80 unit: static OtaErr_t processNullFileContext() file: source/ota.c start line: 897 end line: 923 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 81 unit: static OtaErr_t userAbortHandler() file: source/ota.c start line: 1306 end line: 1328 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 82 unit: static bool otaClose() file: source/ota.c start line: 1484 end line: 1511 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 83 unit: static void agentShutdownCleanup() file: source/ota.c start line: 2748 end line: 2778 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 84 unit: static OtaErr_t processJobHandler() file: source/ota.c start line: 980 end line: 1010 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 85 unit: static bool validateDataBlock() file: source/ota.c start line: 2462 end line: 2480 size: 16 LOC McCabe index: 5 number of parameters: 3 id: 86 unit: static uint32_t searchTransition() file: source/ota.c start line: 2854 end line: 2870 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 87 unit: static void dataHandlerCleanup() file: source/ota.c start line: 1143 end line: 1163 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 88 unit: OtaErr_t OTA_ActivateNewImage() file: source/ota.c start line: 3285 end line: 3306 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 89 unit: static void selfTestTimerCallback() file: source/portable/os/ota_os_posix.c start line: 210 end line: 225 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 90 unit: static void requestTimerCallback() file: source/portable/os/ota_os_posix.c start line: 227 end line: 242 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 91 unit: static void selfTestTimerCallback() file: source/portable/os/ota_os_freertos.c start line: 174 end line: 189 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 92 unit: static void requestTimerCallback() file: source/portable/os/ota_os_freertos.c start line: 191 end line: 206 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 93 unit: OtaErr_t OTA_CheckForUpdate() file: source/ota.c start line: 3257 end line: 3278 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 94 unit: static CborError checkDataType() file: source/ota_cbor.c start line: 46 end line: 58 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 95 unit: static OtaErr_t jobNotificationHandler() file: source/ota.c start line: 1369 end line: 1391 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 96 unit: void setControlInterface() file: source/ota_interface.c start line: 63 end line: 74 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: OtaOsStatus_t OtaDeinitEvent_FreeRTOS() file: source/portable/os/ota_os_freertos.c start line: 157 end line: 172 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 98 unit: OtaErr_t OTA_GetStatistics() file: source/ota.c start line: 3244 end line: 3255 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 99 unit: static bool platformInSelftest() file: source/ota.c start line: 640 end line: 653 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 100 unit: static OtaErr_t closeFileHandler() file: source/ota.c start line: 1293 end line: 1304 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: void OTA_EventProcessingTask() file: source/ota.c start line: 2919 end line: 2932 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 102 unit: OtaErr_t cleanupData_Http() file: source/ota_http.c start line: 162 end line: 174 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 103 unit: static OtaErr_t shutdownHandler() file: source/ota.c start line: 1330 end line: 1343 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: static void initializeLocalBuffers() file: source/ota.c start line: 3054 end line: 3065 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: static OtaErr_t resumeHandler() file: source/ota.c start line: 1355 end line: 1367 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 106 unit: static OtaErr_t suspendHandler() file: source/ota.c start line: 1345 end line: 1353 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: OtaState_t OTA_GetState() file: source/ota.c start line: 3236 end line: 3239 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: OtaImageState_t OTA_GetImageState() file: source/ota.c start line: 3375 end line: 3381 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: void STDC_Free() file: source/portable/os/ota_os_posix.c start line: 413 end line: 420 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: void Free_FreeRTOS() file: source/portable/os/ota_os_freertos.c start line: 356 end line: 359 size: 4 LOC McCabe index: 1 number of parameters: 1