freertos / Lab-Project-FreeRTOS-LoRaWAN
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 237 files with 97,986 lines of code.
    • 21 very long files (52,642 lines of code)
    • 24 long files (16,959 lines of code)
    • 62 medium size files (19,598 lines of codeclsfd_ftr_w_mp_ins)
    • 29 small files (4,266 lines of code)
    • 101 very small files (4,521 lines of code)
53% | 17% | 20% | 4% | 4%
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
h52% | 15% | 22% | 4% | 5%
c55% | 21% | 15% | 4% | 2%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
boards/STM32L475_Discovery/STM32L4xx_HAL_Driver47% | 19% | 24% | 5% | 2%
boards/STM32L475_Discovery/CMSIS79% | 12% | 5% | 0% | 1%
boards/STM32L475_Discovery/BSP48% | 13% | 13% | 9% | 15%
boards/STM32L475_Discovery/common_io0% | 67% | 30% | 0% | 1%
boards/Nordic_NRF52/common_io0% | 0% | 94% | 0% | 5%
boards/STM32L475_Discovery0% | 0% | 94% | 0% | 5%
boards/Nordic_NRF520% | 0% | 93% | 0% | 6%
freertos_osal0% | 0% | 0% | 92% | 7%
logging0% | 0% | 0% | 100% | 0%
common_io/include0% | 0% | 0% | 0% | 100%
boards0% | 0% | 0% | 0% | 100%
logging/include0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
stm32l475xx.h
in boards/STM32L475_Discovery/CMSIS/Device/ST/STM32L4xx/Include
16085 -
stm32l4xx_hal_tim.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
3216 111
arm_math.h
in boards/STM32L475_Discovery/CMSIS/Include
2923 57
stm32l4xx_hal_rcc.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
2492 -
stm32l4xx_hal_i2c.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
2442 73
stm32_hal_legacy.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc/Legacy
2437 -
stm32l4xx_hal_spi.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
2174 60
vl53l0x_api.c
in boards/STM32L475_Discovery/BSP/Components/vl53l0x
2155 99
stm32l4xx_ll_adc.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
1862 188
stm32l4xx_ll_rcc.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
1787 231
es_wifi.c
in boards/STM32L475_Discovery/BSP/Components/es_wifi
1713 65
stm32l4xx_hal_rcc_ex.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
1624 29
vl53l0x_api_core.c
in boards/STM32L475_Discovery/BSP/Components/vl53l0x
1514 25
stm32l4xx_ll_tim.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
1442 202
stm32l4xx_ll_usart.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
1439 257
core_cm7.h
in boards/STM32L475_Discovery/CMSIS/Include
1435 29
stm32l4xx_hal_uart.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
1267 58
stm32l4xx_hal_rcc_ex.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
1216 -
stm32l4xx_ll_rtc.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
1207 200
stm32l4xx_hal_qspi.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
1140 41
core_cm4.h
in boards/STM32L475_Discovery/CMSIS/Include
1072 17
core_cm3.h
in boards/STM32L475_Discovery/CMSIS/Include
948 17
stm32l4xx_ll_lpuart.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
945 167
core_sc300.h
in boards/STM32L475_Discovery/CMSIS/Include
935 17
stm32l4xx_hal_tim.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
923 -
cmsis_armcc_V6.h
in boards/STM32L475_Discovery/CMSIS/Include
880 -
vl53l0x_api_calibration.c
in boards/STM32L475_Discovery/BSP/Components/vl53l0x
853 23
stm32l4xx_hal_tim_ex.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
836 40
stm32l4xx_hal_rtc_ex.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
787 37
stm32l4xx_ll_dma.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
775 98
stm32l4xx_hal_rcc.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
743 14
cmsis_gcc.h
in boards/STM32L475_Discovery/CMSIS/Include
734 -
stm32l4xx_hal_rtc.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
695 20
stm32l4xx_ll_i2c.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
669 134
stm32l4xx_ll_dma2d.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
633 124
stm32l475e_iot01_qspi.c
in boards/STM32L475_Discovery/BSP/B-L475E-IOT01
629 21
stm32l4xx_hal_adc_ex.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
601 -
stm32l4xx_hal_pwr_ex.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
595 38
iot_spi.c
in boards/STM32L475_Discovery/common_io
562 18
stm32l4xx_hal_flash_ex.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
555 15
stm32l4xx_ll_system.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
551 82
iot_i2c.c
in boards/STM32L475_Discovery/common_io
545 22
stm32l4xx_ll_dac.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
540 59
stm32l4xx_hal_uart_ex.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
524 -
stm32l4xx_ll_sdmmc.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
501 -
iot_uart.c
in boards/STM32L475_Discovery/common_io
498 17
stm32l4xx_hal_uart.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
484 -
stm32l4xx_ll_pwr.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
478 86
stm32l4xx_hal_adc.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
477 -
iot_spi.c
in boards/Nordic_NRF52/common_io
471 15
Files With Most Units (Top 20)
File# lines# units
stm32l4xx_ll_usart.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
1439 257
stm32l4xx_ll_rcc.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
1787 231
stm32l4xx_ll_tim.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
1442 202
stm32l4xx_ll_rtc.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
1207 200
stm32l4xx_ll_adc.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
1862 188
stm32l4xx_ll_lpuart.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
945 167
stm32l4xx_ll_i2c.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
669 134
stm32l4xx_ll_dma2d.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
633 124
stm32l4xx_hal_tim.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
3216 111
vl53l0x_api.c
in boards/STM32L475_Discovery/BSP/Components/vl53l0x
2155 99
stm32l4xx_ll_dma.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
775 98
stm32l4xx_ll_pwr.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
478 86
stm32l4xx_ll_system.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
551 82
stm32l4xx_ll_lptim.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
395 75
stm32l4xx_hal_i2c.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
2442 73
stm32l4xx_ll_spi.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
405 73
stm32l4xx_ll_swpmi.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
360 71
es_wifi.c
in boards/STM32L475_Discovery/BSP/Components/es_wifi
1713 65
stm32l4xx_hal_spi.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
2174 60
stm32l4xx_ll_dac.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
540 59
Files With Long Lines (Top 20)

There are 116 files with lines longer than 120 characters. In total, there are 1556 long lines.

File# lines# units# long lines
stm32l4xx_ll_adc.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
1862 188 192
stm32_hal_legacy.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc/Legacy
2437 - 123
stm32l4xx_ll_rcc.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
1787 231 86
stm32l4xx_hal_flash.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
420 - 58
stm32l4xx_hal_rcc_ex.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
1624 29 50
stm32l4xx_ll_dma.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
775 98 49
stm32l4xx_hal_comp.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
240 - 44
stm32l4xx_hal_adc_ex.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
601 - 42
stm32l4xx_ll_sdmmc.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
501 - 40
stm32l4xx_hal_tim.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
3216 111 36
stm32l4xx_hal_i2c.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
2442 73 33
stm32l4xx_hal_rtc_ex.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
308 - 33
stm32l4xx_hal_rcc_ex.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
1216 - 31
stm32l4xx_hal_rtc_ex.c
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver
787 37 30
stm32l4xx_hal_i2c.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
221 - 25
stm32l4xx_hal_cryp.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
197 - 24
stm32l4xx_ll_rtc.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
1207 200 21
stm32l4xx_hal_rcc.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
2492 - 20
stm32l4xx_hal_dma2d.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
211 - 18
stm32l4xx_ll_usart.h
in boards/STM32L475_Discovery/STM32L4xx_HAL_Driver/Inc
1439 257 18