freertos / Lab-Project-FreeRTOS-MCUBoot
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 16 files with 2,775 lines of code.
    • 1 very long files (1,781 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (379 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (415 lines of code)
    • 11 very small files (200 lines of code)
64% | 0% | 13% | 14% | 7%
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
ld93% | 0% | 0% | 6% | 0%
c0% | 0% | 54% | 22% | 23%
h0% | 0% | 0% | 93% | 6%
cmake0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
proj/espressif/esp32/bootloader/ld93% | 0% | 0% | 6% | 0%
proj/espressif/esp32/app/main0% | 0% | 91% | 0% | 8%
port/espressif/src0% | 0% | 0% | 55% | 44%
proj/espressif/esp32/bootloader0% | 0% | 0% | 77% | 22%
Longest Files (Top 16)
File# lines# units
ld
rom_32.ld
in proj/espressif/esp32/bootloader/ld
1781 -
start.c
in proj/espressif/esp32/app/main
379 9
boot_serial_port.c
in port/espressif/src
157 7
bootloader_mbedtls_config.h
in proj/espressif/esp32/bootloader
131 -
ld
bootloader.ld
in proj/espressif/esp32/bootloader/ld
127 -
main.c
in proj/espressif/esp32/app/main
35 2
cmake
port.cmake
in proj/espressif/esp32/bootloader
28 -
boot_heap_port.c
in port/espressif/src
26 2
system_port.c
in port/espressif/src
20 4
base64_port.c
in port/espressif/src
20 2
boot_startup_port.c
in port/espressif/src
17 2
boot_wdt_port.c
in port/espressif/src
16 2
crc16_port.c
in port/espressif/src
15 1
sdkconfig.h
in proj/espressif/esp32/bootloader
9 -
boot_assert_port.c
in port/espressif/src
8 1
boot_log_port.c
in port/espressif/src
6 1
Files With Most Units (Top 11)
File# lines# units
start.c
in proj/espressif/esp32/app/main
379 9
boot_serial_port.c
in port/espressif/src
157 7
system_port.c
in port/espressif/src
20 4
boot_heap_port.c
in port/espressif/src
26 2
base64_port.c
in port/espressif/src
20 2
boot_wdt_port.c
in port/espressif/src
16 2
boot_startup_port.c
in port/espressif/src
17 2
main.c
in proj/espressif/esp32/app/main
35 2
crc16_port.c
in port/espressif/src
15 1
boot_assert_port.c
in port/espressif/src
8 1
boot_log_port.c
in port/espressif/src
6 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
ld
bootloader.ld
in proj/espressif/esp32/bootloader/ld
127 - 1