freertos / FreeRTOS-Plus-TCP
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 115 files with 39,443 lines of code.
    • 7 very long files (12,799 lines of code)
    • 23 long files (15,316 lines of code)
    • 25 medium size files (7,726 lines of codeclsfd_ftr_w_mp_ins)
    • 17 small files (2,502 lines of code)
    • 43 very small files (1,100 lines of code)
32% | 38% | 19% | 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
c41% | 33% | 20% | 3% | <1%
h0% | 60% | 17% | 12% | 9%
cfg0% | 0% | 0% | 100% | 0%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT84% | 11% | 4% | 0% | <1%
portable/NetworkInterface/STM32Hxx50% | 48% | 0% | 0% | <1%
portable/NetworkInterface/xilinx_ultrascale49% | 0% | 33% | 7% | 9%
portable/NetworkInterface/ATSAM4E0% | 76% | 19% | 3% | 0%
portable/NetworkInterface/STM32Fxx0% | 99% | 0% | 0% | <1%
portable/NetworkInterface/DriverSAM0% | 100% | 0% | 0% | 0%
portable/NetworkInterface/MPS2_AN3850% | 55% | 32% | 10% | <1%
portable/NetworkInterface/ksz8851snl0% | 49% | 49% | 0% | 1%
portable/NetworkInterface/LPC18xx0% | 100% | 0% | 0% | 0%
portable/NetworkInterface/pic32mzef0% | 56% | 32% | 10% | 0%
portable/NetworkInterface/linux0% | 100% | 0% | 0% | 0%
include0% | 23% | 39% | 27% | 10%
portable/NetworkInterface/Common0% | 100% | 0% | 0% | 0%
portable/NetworkInterface/Zynq0% | 32% | 43% | 11% | 12%
tools/tcp_utilities0% | 51% | 34% | 13% | 0%
portable/NetworkInterface/M4870% | 0% | 82% | 17% | 0%
portable/BufferManagement0% | 0% | 100% | 0% | 0%
portable/NetworkInterface/WinPCap0% | 0% | 75% | 24% | 0%
portable/NetworkInterface/RX0% | 0% | 80% | 0% | 19%
portable/NetworkInterface/ATSAME5x0% | 0% | 100% | 0% | 0%
portable/NetworkInterface/LPC540180% | 0% | 100% | 0% | 0%
tools0% | 0% | 0% | 100% | 0%
portable/NetworkInterface/mw300_rd0% | 0% | 0% | 100% | 0%
portable/NetworkInterface/LPC17xx0% | 0% | 0% | 100% | 0%
portable/NetworkInterface/esp320% | 0% | 0% | 100% | 0%
tools/tcp_utilities/include0% | 0% | 0% | 0% | 100%
portable/NetworkInterface/include0% | 0% | 0% | 0% | 100%
portable/NetworkInterface/SH2A0% | 0% | 0% | 0% | 100%
portable/NetworkInterface/board_family0% | 0% | 0% | 0% | 100%
portable/Compiler/Renesas0% | 0% | 0% | 0% | 100%
portable/Compiler/Keil0% | 0% | 0% | 0% | 100%
portable/Compiler/MSVC0% | 0% | 0% | 0% | 100%
portable/Compiler/IAR0% | 0% | 0% | 0% | 100%
portable/Compiler/GCC0% | 0% | 0% | 0% | 100%
portable/Compiler/CompilerName0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
FreeRTOS_Sockets.c
in root
3129 59
FreeRTOS_TCP_IP.c
in root
2377 35
FreeRTOS_IP.c
in root
2245 62
stm32hxx_hal_eth.c
in portable/NetworkInterface/STM32Hxx
1394 51
FreeRTOS_TCP_WIN.c
in root
1331 40
FreeRTOS_DNS.c
in root
1204 29
x_emacpsif_physpeed.c
in portable/NetworkInterface/xilinx_ultrascale
1119 18
stm32fxx_hal_eth.h
in portable/NetworkInterface/STM32Fxx
948 -
smsc9220_eth_drv.c
in portable/NetworkInterface/MPS2_AN385/ether_lan9118
894 37
gmac_SAM.h
in portable/NetworkInterface/DriverSAM
885 79
NetworkInterface.c
in portable/NetworkInterface/STM32Fxx
824 20
stm32hxx_hal_eth.h
in portable/NetworkInterface/STM32Hxx
788 -
gmac.h
in portable/NetworkInterface/ATSAM4E/instance
731 60
gmac.h
in portable/NetworkInterface/ATSAM4E
728 60
FreeRTOS_DHCP.c
in root
726 14
NetworkInterface.c
in portable/NetworkInterface/ksz8851snl
720 16
FreeRTOS_ARP.c
in root
677 18
stm32fxx_hal_eth.c
in portable/NetworkInterface/STM32Fxx
667 30
NetworkInterface.c
in portable/NetworkInterface/LPC18xx
655 16
NetworkInterface_eth.c
in portable/NetworkInterface/pic32mzef
596 20
NetworkInterface.c
in portable/NetworkInterface/DriverSAM
593 20
gmac.h
in portable/NetworkInterface/ATSAM4E/component
591 -
gmac.c
in portable/NetworkInterface/ATSAM4E
579 18
NetworkInterface.c
in portable/NetworkInterface/linux
556 12
gmac_SAM.c
in portable/NetworkInterface/DriverSAM
555 15
NetworkInterface.c
in portable/NetworkInterface/STM32Hxx
551 18
FreeRTOS_IP_Private.h
in include
521 -
phyHandling.c
in portable/NetworkInterface/Common
521 9
x_emacpsif_physpeed.c
in portable/NetworkInterface/Zynq
508 6
tcp_dump_packets.c
in tools/tcp_utilities
502 9
x_emacpsif_dma.c
in portable/NetworkInterface/xilinx_ultrascale
478 13
x_emacpsif_dma.c
in portable/NetworkInterface/Zynq
415 13
NetworkInterface.c
in portable/NetworkInterface/WinPCap
392 11
NetworkInterface.c
in portable/NetworkInterface/ATSAM4E
392 13
FreeRTOSIPConfigDefaults.h
in include
381 -
ksz8851snl.c
in portable/NetworkInterface/ksz8851snl
378 15
BufferAllocation_2.c
in portable/NetworkInterface/pic32mzef
340 10
ksz8851snl_reg.h
in portable/NetworkInterface/ksz8851snl
336 -
tcp_mem_stats.c
in tools/tcp_utilities
330 5
m480_eth.c
in portable/NetworkInterface/M487
329 19
NetworkInterface.c
in portable/NetworkInterface/RX
321 9
FreeRTOS_UDP_IP.c
in root
304 2
NetworkInterface.c
in portable/NetworkInterface/ATSAME5x
292 14
SMM_MPS2.h
in portable/NetworkInterface/MPS2_AN385/ether_lan9118
291 -
FreeRTOS_Sockets.h
in include
286 -
NetworkInterface.c
in portable/NetworkInterface/xilinx_ultrascale
284 8
ethernet_phy.c
in portable/NetworkInterface/ATSAM4E
282 5
NetworkInterface.c
in portable/NetworkInterface/LPC54018
269 7
BufferAllocation_1.c
in portable/BufferManagement
257 10
NetworkInterface.c
in portable/NetworkInterface/Zynq
255 7
Files With Most Units (Top 20)
File# lines# units
gmac_SAM.h
in portable/NetworkInterface/DriverSAM
885 79
FreeRTOS_IP.c
in root
2245 62
gmac.h
in portable/NetworkInterface/ATSAM4E/instance
731 60
gmac.h
in portable/NetworkInterface/ATSAM4E
728 60
FreeRTOS_Sockets.c
in root
3129 59
stm32hxx_hal_eth.c
in portable/NetworkInterface/STM32Hxx
1394 51
FreeRTOS_TCP_WIN.c
in root
1331 40
smsc9220_eth_drv.c
in portable/NetworkInterface/MPS2_AN385/ether_lan9118
894 37
FreeRTOS_TCP_IP.c
in root
2377 35
stm32fxx_hal_eth.c
in portable/NetworkInterface/STM32Fxx
667 30
FreeRTOS_DNS.c
in root
1204 29
NetworkInterface.c
in portable/NetworkInterface/STM32Fxx
824 20
NetworkInterface_eth.c
in portable/NetworkInterface/pic32mzef
596 20
NetworkInterface.c
in portable/NetworkInterface/DriverSAM
593 20
m480_eth.c
in portable/NetworkInterface/M487
329 19
FreeRTOS_ARP.c
in root
677 18
NetworkInterface.c
in portable/NetworkInterface/STM32Hxx
551 18
x_emacpsif_physpeed.c
in portable/NetworkInterface/xilinx_ultrascale
1119 18
gmac.c
in portable/NetworkInterface/ATSAM4E
579 18
NetworkInterface.c
in portable/NetworkInterface/LPC18xx
655 16
Files With Long Lines (Top 20)

There are 50 files with lines longer than 120 characters. In total, there are 585 long lines.

File# lines# units# long lines
FreeRTOS_TCP_IP.c
in root
2377 35 94
stm32hxx_hal_eth.c
in portable/NetworkInterface/STM32Hxx
1394 51 55
FreeRTOS_TCP_WIN.c
in root
1331 40 52
stm32fxx_hal_eth.h
in portable/NetworkInterface/STM32Fxx
948 - 51
FreeRTOS_Sockets.c
in root
3129 59 43
FreeRTOS_IP.c
in root
2245 62 39
FreeRTOS_DNS.c
in root
1204 29 35
FreeRTOS_DHCP.c
in root
726 14 22
NetworkInterface_eth.c
in portable/NetworkInterface/pic32mzef
596 20 16
FreeRTOS_ARP.c
in root
677 18 14
FreeRTOS_UDP_IP.c
in root
304 2 14
NetworkInterface.c
in portable/NetworkInterface/LPC18xx
655 16 13
stm32hxx_hal_eth.h
in portable/NetworkInterface/STM32Hxx
788 - 12
NetworkInterface.c
in portable/NetworkInterface/WinPCap
392 11 10
NetworkInterface.c
in portable/NetworkInterface/DriverSAM
593 20 8
NetworkInterface.c
in portable/NetworkInterface/STM32Fxx
824 20 7
NetworkInterface.c
in portable/NetworkInterface/ATSAM4E
392 13 7
NetworkInterface.c
in portable/NetworkInterface/xilinx_ultrascale
284 8 6
NetworkInterface.c
in portable/NetworkInterface/ATSAME5x
292 14 6
NetworkInterface.c
in portable/NetworkInterface/STM32Hxx
551 18 5