freertos / FreeRTOS-Community-Supported-Demos
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 221 files with 34,423 lines of code.
    • 5 very long files (9,889 lines of code)
    • 9 long files (5,863 lines of code)
    • 25 medium size files (7,544 lines of codeclsfd_ftr_w_mp_ins)
    • 33 small files (5,106 lines of code)
    • 149 very small files (6,021 lines of code)
28% | 17% | 21% | 14% | 17%
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
h47% | 9% | 13% | 8% | 19%
c7% | 27% | 29% | 19% | 15%
s0% | 0% | 100% | 0% | 0%
S0% | 0% | 0% | 81% | 18%
ld0% | 0% | 0% | 100% | 0%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
CORTEX_M0_FT32F072_KEIL/Source43% | 15% | 22% | 10% | 8%
RISC-V_RV32_THEAD_SMART_CDS/csi_core63% | 34% | 0% | 0% | 1%
RISC-V_RV32_THEAD_SMART_CDS/csi_kernel0% | 78% | 0% | 17% | 4%
RISC-V_RV32_THEAD_SMART_CDS/libs0% | 30% | 22% | 10% | 36%
RISC-V_RV32_THEAD_SMART_CDS/csi_driver0% | 15% | 15% | 26% | 42%
shakti/bsp0% | 0% | 32% | 37% | 29%
shakti/parashu0% | 0% | 85% | 0% | 14%
shakti/vajra0% | 0% | 85% | 0% | 14%
RISC-V_RV32_THEAD_SMART_CDS/board0% | 0% | 0% | 69% | 30%
RISC-V_RV32_THEAD_SMART_CDS/projects0% | 0% | 0% | 0% | 100%
shakti/pinaka0% | 0% | 0% | 0% | 100%
CORTEX_M0_FT32F072_KEIL0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
ft32f030x8.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/CMSIS/FT32F0xx/Include
2534 -
ft32f072x8.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/CMSIS/FT32F0xx/Include
2529 -
ft32f030x6.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/CMSIS/FT32F0xx/Include
2513 -
csi_rv32_gcc.h
in RISC-V_RV32_THEAD_SMART_CDS/csi_core/include
1169 183
ft32f0xx_tim.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
1144 93
ft32f0xx_rtc.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
890 47
csi_freertos.c
in RISC-V_RV32_THEAD_SMART_CDS/csi_kernel/freertosv10.3.1/adapter
840 74
printf.c
in RISC-V_RV32_THEAD_SMART_CDS/libs/libc
730 32
core_rv32.h
in RISC-V_RV32_THEAD_SMART_CDS/csi_core/include
626 48
ft32f0xx_tim.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Inc
593 -
ck_usart.c
in RISC-V_RV32_THEAD_SMART_CDS/csi_driver/smartl_rv32
586 34
ft32f0xx_dma.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Inc
568 -
ft32f0xx_rcc.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
516 40
ft32f0xx_i2c.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
514 41
ft32f0xx_flash.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
494 28
ft32f0xx_usart.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
482 37
qspi_micron.c
in shakti/bsp/drivers/qspi
455 36
core_cm0plus.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/CMSIS/FT32F0xx/Include
395 9
i2c_driver.c
in shakti/bsp/drivers/i2c
381 12
ft32f0xx_adc.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
357 31
dw_gpio.c
in RISC-V_RV32_THEAD_SMART_CDS/csi_driver/smartl_rv32
341 22
ft32f0xx_rcc.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Inc
332 -
core_cm0.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/CMSIS/FT32F0xx/Include
325 9
ft32f0xx_spi.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
315 28
ft32f0xx_rtc.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Inc
308 -
main.c
in shakti/parashu
285 12
main.c
in shakti/vajra
285 12
mm.h
in RISC-V_RV32_THEAD_SMART_CDS/libs/include
280 5
mm_leak.c
in RISC-V_RV32_THEAD_SMART_CDS/libs/mm
276 26
gpio_i2c.c
in shakti/bsp/drivers/i2c
252 19
dw_timer.c
in RISC-V_RV32_THEAD_SMART_CDS/csi_driver/smartl_rv32
238 17
ft32f0xx_spi.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Inc
237 -
ft32f0xx_usart.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Inc
237 -
core_cmFunc.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/CMSIS/FT32F0xx/Include
231 17
ft32f0xx_adc.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Inc
210 -
s
startup_ft32f072xb.s
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/CMSIS/FT32F0xx/source/arm
208 -
s
startup_ft32f030x6.s
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/CMSIS/FT32F0xx/source/arm
208 -
s
startup_ft32f030x8.s
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/CMSIS/FT32F0xx/source/arm
208 -
uart.c
in shakti/bsp/drivers/uart
204 14
ft32f0xx_i2c.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Inc
199 -
Peripheral.c
in CORTEX_M0_FT32F072_KEIL/Source/Driver/src
198 9
spi_flash_w25q32.c
in shakti/bsp/drivers/spi
194 20
core_cmInstr.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/CMSIS/FT32F0xx/Include
193 -
spi_spansion.c
in shakti/bsp/drivers/spi
190 20
ft32f0xx_dma.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
189 11
plic_driver.c
in shakti/bsp/drivers/plic
188 11
S
vectors.S
in RISC-V_RV32_THEAD_SMART_CDS/csi_driver/smartl_rv32
186 -
ft32f0xx_gpio.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Inc
184 -
csi_kernel.h
in RISC-V_RV32_THEAD_SMART_CDS/csi_kernel/include
184 -
devices.c
in RISC-V_RV32_THEAD_SMART_CDS/csi_driver/smartl_rv32
180 5
Files With Most Units (Top 20)
File# lines# units
csi_rv32_gcc.h
in RISC-V_RV32_THEAD_SMART_CDS/csi_core/include
1169 183
ft32f0xx_tim.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
1144 93
csi_freertos.c
in RISC-V_RV32_THEAD_SMART_CDS/csi_kernel/freertosv10.3.1/adapter
840 74
core_rv32.h
in RISC-V_RV32_THEAD_SMART_CDS/csi_core/include
626 48
ft32f0xx_rtc.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
890 47
ft32f0xx_i2c.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
514 41
ft32f0xx_rcc.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
516 40
ft32f0xx_usart.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
482 37
qspi_micron.c
in shakti/bsp/drivers/qspi
455 36
ck_usart.c
in RISC-V_RV32_THEAD_SMART_CDS/csi_driver/smartl_rv32
586 34
printf.c
in RISC-V_RV32_THEAD_SMART_CDS/libs/libc
730 32
ft32f0xx_adc.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
357 31
ft32f0xx_spi.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
315 28
ft32f0xx_flash.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
494 28
mm_leak.c
in RISC-V_RV32_THEAD_SMART_CDS/libs/mm
276 26
dw_gpio.c
in RISC-V_RV32_THEAD_SMART_CDS/csi_driver/smartl_rv32
341 22
isr.c
in RISC-V_RV32_THEAD_SMART_CDS/csi_driver/smartl_rv32
174 22
spi_spansion.c
in shakti/bsp/drivers/spi
190 20
spi_flash_w25q32.c
in shakti/bsp/drivers/spi
194 20
gpio_i2c.c
in shakti/bsp/drivers/i2c
252 19
Files With Long Lines (Top 20)

There are 24 files with lines longer than 120 characters. In total, there are 74 long lines.

File# lines# units# long lines
qspi_micron.c
in shakti/bsp/drivers/qspi
455 36 20
printf.c
in RISC-V_RV32_THEAD_SMART_CDS/libs/libc
730 32 17
i2c_driver.c
in shakti/bsp/drivers/i2c
381 12 5
drv_rsa.h
in RISC-V_RV32_THEAD_SMART_CDS/csi_driver/include
80 - 4
drv_aes.h
in RISC-V_RV32_THEAD_SMART_CDS/csi_driver/include
77 - 4
core_rv32.h
in RISC-V_RV32_THEAD_SMART_CDS/csi_core/include
626 48 3
main.c
in shakti/parashu
285 12 2
main.c
in shakti/vajra
285 12 2
ft32f0xx_i2c.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
514 41 2
burnFlash.py
in shakti/bsp/utils/uploader
80 6 1
ft32f0xx_opa.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
102 6 1
ft32f0xx_tim.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
1144 93 1
ft32f0xx_rtc.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
890 47 1
ft32f0xx_misc.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
44 3 1
ft32f0xx_syscfg.c
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Src
65 7 1
ft32f0xx_i2c.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Inc
199 - 1
ft32f0xx_comp.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Inc
92 - 1
ft32f0xx_dma.h
in CORTEX_M0_FT32F072_KEIL/Source/Libraries/FT32F0xx_Driver/Inc
568 - 1
board_init.c
in RISC-V_RV32_THEAD_SMART_CDS/board/smartl_e906_evb
22 1 1
csi_core.h
in RISC-V_RV32_THEAD_SMART_CDS/csi_core/include
36 - 1