microsoft / devkit-sdk
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 843 files with 111,524 lines of code.
    • 15 very long files (33,867 lines of code)
    • 23 long files (15,374 lines of code)
    • 83 medium size files (25,542 lines of codeclsfd_ftr_w_mp_ins)
    • 99 small files (14,142 lines of code)
    • 623 very small files (22,599 lines of code)
30% | 13% | 22% | 12% | 20%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
h31% | 14% | 18% | 12% | 22%
c40% | 11% | 36% | 4% | 6%
cpp13% | 12% | 39% | 19% | 15%
cs0% | 0% | 64% | 22% | 13%
vcxproj0% | 0% | 0% | 100% | 0%
ld0% | 0% | 0% | 100% | 0%
js0% | 0% | 0% | 51% | 48%
filters0% | 0% | 0% | 100% | 0%
ps10% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
AZ3166/src/system/mbed-os39% | 16% | 19% | 9% | 15%
AZ3166/src/libraries/Sensors69% | 0% | 12% | 7% | 9%
AZ3166/src/cores/arduino17% | 10% | 32% | 13% | 25%
AZ3166/tools/dice_device_enrollment/src21% | 0% | 43% | 19% | 15%
AZ3166/src/system/az3166-driver0% | 14% | 24% | 29% | 30%
AZ3166/src/libraries/AzureIoT0% | 56% | 23% | 10% | 9%
AZ3166/src/libraries/MQTT0% | 26% | 31% | 5% | 36%
AZ3166/src/libraries/Audio0% | 28% | 43% | 15% | 12%
AZ3166/src/libraries/AudioV20% | 28% | 43% | 15% | 12%
AZ3166/jenkins/DevKitTestTool0% | 0% | 66% | 22% | 11%
AZ3166/src/libraries/WebSocket0% | 0% | 84% | 0% | 15%
AZ3166/src/libraries/WiFi0% | 0% | 30% | 31% | 37%
AZ3166/src/libraries/Wire0% | 0% | 77% | 0% | 22%
AZ3166/src/system/azure-iot-sdk-c0% | 0% | 0% | 14% | 85%
AZ3166/src/variants/MXChip_AZ31660% | 0% | 0% | 84% | 15%
AZ3166/jenkins/InstallationPackageScript/src0% | 0% | 0% | 61% | 38%
AZ3166/src/libraries/FileSystem0% | 0% | 0% | 57% | 42%
AZ3166/jenkins/deployment0% | 0% | 0% | 0% | 100%
AZ3166/src/libraries/SPI0% | 0% | 0% | 0% | 100%
AZ3166/jenkins/InstallationPackageScript0% | 0% | 0% | 0% | 100%
AZ3166/src/system0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
AZ3166/jenkins/DevKitTestTool/Properties0% | 0% | 0% | 0% | 100%
AZ3166/src/system/utilities0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
stm32f412zx.h
in AZ3166/src/system/mbed-os/targets/TARGET_MXCHIP/TARGET_AZ3166/device
5739 -
stm32f4xx_hal_rcc_ex.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device
3731 -
LSM6DSL_acc_gyro_driver.c
in AZ3166/src/libraries/Sensors/src/utility
2949 300
arm_math.h
in AZ3166/src/system/mbed-os/cmsis
2935 57
compat-1.3.h
in AZ3166/src/system/mbed-os/features/mbedtls/inc/mbedtls
2487 -
Callback.h
in AZ3166/src/system/mbed-os/platform
2358 252
stm32_hal_legacy.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device
2286 -
Event.h
in AZ3166/src/system/mbed-os/events
2085 270
http_parser.c
in AZ3166/src/cores/arduino/httpclient/http_parser
1850 1
core_cm7.h
in AZ3166/src/system/mbed-os/cmsis
1380 29
LSM6DSLSensor.cpp
in AZ3166/src/libraries/Sensors/src
1365 58
LSM6DSL_acc_gyro_driver.h
in AZ3166/src/libraries/Sensors/src/utility
1320 -
EventQueue.h
in AZ3166/src/system/mbed-os/events
1176 129
RiotEcc.c
in AZ3166/tools/dice_device_enrollment/src/dice_device_enrollment/RIoT/Core/RIoTCrypt
1141 -
core_cm4.h
in AZ3166/src/system/mbed-os/cmsis
1065 17
core_cm3.h
in AZ3166/src/system/mbed-os/cmsis
948 17
core_sc300.h
in AZ3166/src/system/mbed-os/cmsis
901 17
ssl.h
in AZ3166/src/system/mbed-os/features/mbedtls/inc/mbedtls
889 -
stm32f4xx_hal_eth.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device
802 -
bn_mul.h
in AZ3166/src/system/mbed-os/features/mbedtls/inc/mbedtls
741 -
opt.h
in AZ3166/src/system/az3166-driver/mico/net/LwIP/lwip-ver1.4.0.rc1/src/include/lwip
729 -
core_caFunc.h
in AZ3166/src/system/mbed-os/cmsis
706 54
dhm.h
in AZ3166/src/system/mbed-os/features/mbedtls/inc/mbedtls
700 -
stm32f4xx_hal_gpio_ex.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device
695 -
stm32f4xx_hal_tim.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device
687 -
DevKitMQTTClient.cpp
in AZ3166/src/libraries/AzureIoT/src
686 27
MQTTClient.h
in AZ3166/src/libraries/MQTT/src
629 23
WString.cpp
in AZ3166/src/cores/arduino
606 45
mbed_rtx.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM
602 -
stm32412g_discovery_audio.c
in AZ3166/src/libraries/Audio/src
591 37
stm32412g_discovery_audio.c
in AZ3166/src/libraries/AudioV2/src
584 40
stm32f4xx_hal_rcc.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device
582 -
unity_internals.h
in AZ3166/src/system/mbed-os/features/frameworks/unity/unity
573 -
crypto.h
in AZ3166/src/system/mbed-os/features/mbedtls/inc/psa
562 -
stm32f4xx_hal_flash_ex.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device
553 -
mico_common.h
in AZ3166/src/system/az3166-driver/mico/include
545 4
check_config.h
in AZ3166/src/system/mbed-os/features/mbedtls/inc/mbedtls
533 -
httpd_wsgi.c
in AZ3166/src/cores/arduino/httpserver
530 17
core_cmSimd.h
in AZ3166/src/system/mbed-os/cmsis
494 -
console_cli.cpp
in AZ3166/src/cores/arduino/cli
485 16
core_ca_mmu.h
in AZ3166/src/system/mbed-os/cmsis
477 21
Program.cs
in AZ3166/jenkins/DevKitTestTool
476 14
stm32f4xx_hal_dsi.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device
461 -
core_cm4_simd.h
in AZ3166/src/system/mbed-os/cmsis
457 -
ssl_internal.h
in AZ3166/src/system/mbed-os/features/mbedtls/inc/mbedtls
457 4
WebSocketClient.cpp
in AZ3166/src/libraries/WebSocket/src
452 11
HTS221_driver.c
in AZ3166/src/libraries/Sensors/src/utility
444 38
dice_device_enrollment.cpp
in AZ3166/tools/dice_device_enrollment/src/dice_device_enrollment
442 14
http_parse.c
in AZ3166/src/cores/arduino/httpserver
434 10
RiotDerEnc.c
in AZ3166/tools/dice_device_enrollment/src/dice_device_enrollment/RIoT/Core/RIoTCrypt
434 -
Files With Most Units (Top 20)
File# lines# units
LSM6DSL_acc_gyro_driver.c
in AZ3166/src/libraries/Sensors/src/utility
2949 300
Event.h
in AZ3166/src/system/mbed-os/events
2085 270
Callback.h
in AZ3166/src/system/mbed-os/platform
2358 252
EventQueue.h
in AZ3166/src/system/mbed-os/events
1176 129
LSM6DSLSensor.cpp
in AZ3166/src/libraries/Sensors/src
1365 58
arm_math.h
in AZ3166/src/system/mbed-os/cmsis
2935 57
core_caFunc.h
in AZ3166/src/system/mbed-os/cmsis
706 54
WString.cpp
in AZ3166/src/cores/arduino
606 45
stm32412g_discovery_audio.c
in AZ3166/src/libraries/AudioV2/src
584 40
HTS221_driver.c
in AZ3166/src/libraries/Sensors/src/utility
444 38
stm32412g_discovery_audio.c
in AZ3166/src/libraries/Audio/src
591 37
stm32412g_discovery.c
in AZ3166/src/libraries/Audio/src
356 29
core_cm7.h
in AZ3166/src/system/mbed-os/cmsis
1380 29
Print.cpp
in AZ3166/src/cores/arduino
215 28
stm32412g_discovery.c
in AZ3166/src/libraries/AudioV2/src
348 28
DevKitMQTTClient.cpp
in AZ3166/src/libraries/AzureIoT/src
686 27
RTX_CM_lib.h
in AZ3166/src/system/mbed-os/rtos/rtx/TARGET_CORTEX_M
432 25
MQTTClient.h
in AZ3166/src/libraries/MQTT/src
629 23
IoT_DevKit_HW.cpp
in AZ3166/src/libraries/Sensors/src
318 23
http_response_parser.cpp
in AZ3166/src/cores/arduino/httpclient
129 22
Files With Long Lines (Top 20)

There are 220 files with lines longer than 120 characters. In total, there are 2087 long lines.

File# lines# units# long lines
Event.h
in AZ3166/src/system/mbed-os/events
2085 270 233
EventQueue.h
in AZ3166/src/system/mbed-os/events
1176 129 187
unity.h
in AZ3166/src/system/mbed-os/features/frameworks/unity/unity
196 - 179
stm32_hal_legacy.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device
2286 - 124
unity_internals.h
in AZ3166/src/system/mbed-os/features/frameworks/unity/unity
573 - 106
stm32f4xx_hal_eth.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device
802 - 50
xlogging.h
in AZ3166/src/system/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility
184 - 45
stm32f4xx_hal_cryp.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device
154 - 45
stm32f4xx_hal_dsi.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device
461 - 34
stm32f4xx_hal_rcc_ex.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device
3731 - 32
stm32f4xx_hal_fmpi2c.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device
223 - 31
stm32f4xx_hal_i2c.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device
214 - 29
stm32f4xx_hal_rtc_ex.h
in AZ3166/src/system/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device
264 - 27
iothub_client_core.h
in AZ3166/src/system/azure-iot-sdk-c/iothub_client/inc
47 - 23
iothub_client_core_ll.h
in AZ3166/src/system/azure-iot-sdk-c/iothub_client/inc
45 - 23
iothub_client.h
in AZ3166/src/system/azure-iot-sdk-c/iothub_client/inc
44 - 19
iothub_client_ll.h
in AZ3166/src/system/azure-iot-sdk-c/iothub_client/inc
40 - 19
iothub_device_client_ll.h
in AZ3166/src/system/azure-iot-sdk-c/iothub_client/inc
40 - 19
MQTTAsync.h
in AZ3166/src/libraries/MQTT/src
429 18 18
iothub_device_client.h
in AZ3166/src/system/azure-iot-sdk-c/iothub_client/inc
43 - 18