freertos / Lab-Project-FreeRTOS-FAT
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 67 files with 29,811 lines of code.
    • 10 very long files (16,833 lines of code)
    • 10 long files (6,829 lines of code)
    • 12 medium size files (3,267 lines of codeclsfd_ftr_w_mp_ins)
    • 13 small files (2,079 lines of code)
    • 22 very small files (803 lines of code)
56% | 22% | 10% | 6% | 2%
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
c66% | 21% | 8% | 2% | <1%
h0% | 31% | 25% | 28% | 14%
cfg0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT78% | 10% | 4% | 6% | <1%
portable/Zynq.2019.358% | 31% | 5% | 2% | 1%
portable/STM32F7xx64% | 26% | 9% | 0% | 0%
portable/STM32F4xx65% | 25% | 9% | 0% | 0%
portable/Zynq32% | 56% | 6% | 0% | 4%
portable/ATSAM4E0% | 60% | 39% | 0% | 0%
include0% | 0% | 23% | 55% | 20%
portable/lpc18xx0% | 0% | 100% | 0% | 0%
portable/avr32_uc30% | 0% | 77% | 0% | 22%
portable/common0% | 0% | 87% | 0% | 12%
tools0% | 0% | 0% | 100% | 0%
Longest Files (Top 50)
File# lines# units
ff_dir.c
in root
2784 44
ff_file.c
in root
2229 32
stm32f7xx_hal_sd.c
in portable/STM32F7xx
2073 45
stm32f4xx_hal_sd.c
in portable/STM32F4xx
2040 45
xsdps.c
in portable/Zynq.2019.3
1659 19
ff_stdio.c
in root
1468 29
ff_ioman.c
in root
1306 22
ff_fat.c
in root
1169 24
xsdps.c
in portable/Zynq
1087 14
xsdps_options.c
in portable/Zynq.2019.3
1018 18
ff_sddisk.c
in portable/STM32F7xx
844 26
ff_sddisk.c
in portable/STM32F4xx
791 22
ff_sddisk.c
in portable/Zynq.2019.3
734 16
xsdps_hw.h
in portable/Zynq.2019.3
726 4
ff_format.c
in root
701 11
ff_sddisk.c
in portable/Zynq
683 16
xsdps_options.c
in portable/Zynq
626 10
ff_sddisk.c
in portable/ATSAM4E
605 17
xsdps_hw.h
in portable/Zynq
598 -
ff_string.c
in root
521 16
ff_sddisk_r.c
in portable/ATSAM4E
397 12
ff_sddisk.c
in portable/lpc18xx
376 13
stm32f7xx_hal_sd.h
in portable/STM32F7xx
305 -
stm32f4xx_hal_sd.h
in portable/STM32F4xx
305 -
ff_locking.c
in portable/avr32_uc3
262 17
ff_ramdisk.c
in portable/common
260 7
ff_ioman.h
in include
241 1
ff_error.c
in root
235 -
xsdps_info.c
in portable/Zynq
230 4
xsdps_info.c
in portable/Zynq.2019.3
230 4
ff_locking.c
in root
225 14
ff_dir.h
in include
201 3
ff_sys.c
in root
198 6
ff_crc.c
in root
186 3
ff_dev_support.c
in root
184 7
FreeRTOSFATConfigDefaults.h
in include
178 1
ff_stdio.h
in include
177 4
ff_old_config_defines.h
in include
168 -
ff_time.c
in root
167 5
ff_error.h
in include
167 -
cfg
uncrustify.cfg
in tools
158 -
ff_file.h
in include
143 1
xsdps.h
in portable/Zynq.2019.3
127 -
ff_fat.h
in include
113 2
ff_memory.h
in include
113 6
ff_string.h
in include
84 -
xsdps.h
in portable/Zynq
84 -
ff_flush.c
in portable/avr32_uc3
60 2
ff_memory.c
in root
56 6
ff_fatdef.h
in include
55 -
Files With Most Units (Top 20)
File# lines# units
stm32f7xx_hal_sd.c
in portable/STM32F7xx
2073 45
stm32f4xx_hal_sd.c
in portable/STM32F4xx
2040 45
ff_dir.c
in root
2784 44
ff_file.c
in root
2229 32
ff_stdio.c
in root
1468 29
ff_sddisk.c
in portable/STM32F7xx
844 26
ff_fat.c
in root
1169 24
ff_ioman.c
in root
1306 22
ff_sddisk.c
in portable/STM32F4xx
791 22
xsdps.c
in portable/Zynq.2019.3
1659 19
xsdps_options.c
in portable/Zynq.2019.3
1018 18
ff_locking.c
in portable/avr32_uc3
262 17
ff_sddisk.c
in portable/ATSAM4E
605 17
ff_string.c
in root
521 16
ff_sddisk.c
in portable/Zynq
683 16
ff_sddisk.c
in portable/Zynq.2019.3
734 16
ff_locking.c
in root
225 14
xsdps.c
in portable/Zynq
1087 14
ff_sddisk.c
in portable/lpc18xx
376 13
ff_sddisk_r.c
in portable/ATSAM4E
397 12
Files With Long Lines (Top 20)

There are 23 files with lines longer than 120 characters. In total, there are 303 long lines.

File# lines# units# long lines
ff_dir.c
in root
2784 44 52
ff_sddisk.c
in portable/STM32F7xx
844 26 52
ff_sddisk.c
in portable/STM32F4xx
791 22 52
ff_format.c
in root
701 11 29
ff_ioman.c
in root
1306 22 26
ff_file.c
in root
2229 32 23
stm32f4xx_hal_sd.c
in portable/STM32F4xx
2040 45 13
stm32f7xx_hal_sd.c
in portable/STM32F7xx
2073 45 12
ff_stdio.c
in root
1468 29 8
stm32f7xx_hal_sd.h
in portable/STM32F7xx
305 - 6
stm32f4xx_hal_sd.h
in portable/STM32F4xx
305 - 6
ff_sddisk.c
in portable/ATSAM4E
605 17 4
FreeRTOSFATConfigDefaults.h
in include
178 1 3
ff_sddisk.c
in portable/lpc18xx
376 13 3
ff_sddisk_r.c
in portable/ATSAM4E
397 12 3
ff_sddisk.c
in portable/Zynq.2019.3
734 16 3
ff_fat.c
in root
1169 24 2
ff_error.c
in root
235 - 1
ff_sys.c
in root
198 6 1
ff_string.c
in root
521 16 1