freertos / FreeRTOS
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 122 files with 23,724 lines of code.
    • 5 very long files (7,535 lines of code)
    • 11 long files (7,617 lines of code)
    • 9 medium size files (2,714 lines of codeclsfd_ftr_w_mp_ins)
    • 17 small files (2,655 lines of code)
    • 80 very small files (3,203 lines of code)
31% | 32% | 11% | 11% | 13%
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
c32% | 40% | 11% | 8% | 6%
h34% | 13% | 8% | 13% | 30%
js0% | 0% | 84% | 0% | 15%
py0% | 0% | 0% | 46% | 53%
cfg0% | 0% | 0% | 100% | 0%
yml0% | 0% | 0% | 100% | 0%
html0% | 0% | 0% | 0% | 100%
cmake0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace56% | 23% | 2% | 6% | 9%
FreeRTOS-Plus/Source/Reliance-Edge24% | 34% | 17% | 11% | 11%
FreeRTOS-Plus/Source/Application-Protocols0% | 66% | 13% | 5% | 14%
tools/aws_config_offline/js0% | 0% | 84% | 0% | 15%
FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI0% | 0% | 0% | 89% | 10%
tools/aws_config_quick_start0% | 0% | 0% | 46% | 53%
tools0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 100% | 0%
FreeRTOS-Plus/Source/Utilities0% | 0% | 0% | 0% | 100%
tools/aws_config_offline0% | 0% | 0% | 0% | 100%
tools/cmock0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
trcKernelPort.h
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/Include
1972 1
trcSnapshotRecorder.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace
1795 73
posix.c
in FreeRTOS-Plus/Source/Reliance-Edge/posix
1486 37
inodedata.c
in FreeRTOS-Plus/Source/Reliance-Edge/core/driver
1161 20
trcStreamingRecorder.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace
1121 48
core.c
in FreeRTOS-Plus/Source/Reliance-Edge/core/driver
990 27
osbdev.c
in FreeRTOS-Plus/Source/Reliance-Edge/os/freertos/services
780 31
trcRecorder.h
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/Include
752 -
buffer.c
in FreeRTOS-Plus/Source/Reliance-Edge/core/driver
730 20
inode.c
in FreeRTOS-Plus/Source/Reliance-Edge/core/driver
703 19
using_mbedtls_pkcs11.c
in FreeRTOS-Plus/Source/Application-Protocols/network_transport/using_mbedtls_pkcs11
699 13
SEGGER_RTT.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/streamports/Jlink_RTT
633 27
trcKernelPort.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace
627 50
sockets_wrapper.c
in FreeRTOS-Plus/Source/Application-Protocols/network_transport/sockets_wrapper/cellular
612 13
using_mbedtls.c
in FreeRTOS-Plus/Source/Application-Protocols/network_transport/using_mbedtls
551 14
dir.c
in FreeRTOS-Plus/Source/Reliance-Edge/core/driver
540 9
crc.c
in FreeRTOS-Plus/Source/Reliance-Edge/util
434 4
using_wolfSSL.c
in FreeRTOS-Plus/Source/Application-Protocols/network_transport/using_wolfSSL
381 9
getopt.c
in FreeRTOS-Plus/Source/Reliance-Edge/toolcmn
346 2
volume.c
in FreeRTOS-Plus/Source/Reliance-Edge/core/driver
323 8
fse.c
in FreeRTOS-Plus/Source/Reliance-Edge/fse
272 14
trcHardwarePort.h
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/Include
257 3
redconfigchk.h
in FreeRTOS-Plus/Source/Reliance-Edge/include
250 -
aws_iot_demo_config_template.js
in tools/aws_config_offline/js
235 -
path.c
in FreeRTOS-Plus/Source/Reliance-Edge/posix
216 5
imap.c
in FreeRTOS-Plus/Source/Reliance-Edge/core/driver
200 4
redtests.h
in FreeRTOS-Plus/Source/Reliance-Edge/include
199 -
FreeRTOS_CLI.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI
193 4
trcExtensions.h
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/Include
176 -
SetupAWS.py
in tools/aws_config_quick_start
172 10
redcore.h
in FreeRTOS-Plus/Source/Reliance-Edge/core/include
164 -
string.c
in FreeRTOS-Plus/Source/Reliance-Edge/util
161 8
cfg
uncrustify.cfg
in tools
158 -
memory.c
in FreeRTOS-Plus/Source/Reliance-Edge/util
157 8
imapextern.c
in FreeRTOS-Plus/Source/Reliance-Edge/core/driver
155 5
using_plaintext.c
in FreeRTOS-Plus/Source/Application-Protocols/network_transport/using_plaintext
147 4
format.c
in FreeRTOS-Plus/Source/Reliance-Edge/core/driver
137 1
SEGGER_RTT_Conf.h
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/streamports/Jlink_RTT/include
136 -
trcStreamingPort.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/streamports/USB_CDC
135 8
manifest.yml
in root
131 -
trcStreamingPort.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/streamports/TCPIP_Win32
126 5
redtools.h
in FreeRTOS-Plus/Source/Reliance-Edge/include
108 -
trcStreamingPort.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/streamports/TCPIP
100 6
blockio.c
in FreeRTOS-Plus/Source/Reliance-Edge/core/driver
100 3
rednodes.h
in FreeRTOS-Plus/Source/Reliance-Edge/core/include
99 -
SEGGER_RTT.h
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/streamports/Jlink_RTT/include
96 -
sockets_wrapper.c
in FreeRTOS-Plus/Source/Application-Protocols/network_transport/sockets_wrapper/freertos_plus_tcp
96 2
CertificateConfigurator.html
in tools/aws_config_offline
92 -
redposix.h
in FreeRTOS-Plus/Source/Reliance-Edge/include
90 -
mbedtls_freertos_port.c
in FreeRTOS-Plus/Source/Utilities/mbedtls_freertos
87 7
Files With Most Units (Top 20)
File# lines# units
trcSnapshotRecorder.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace
1795 73
trcKernelPort.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace
627 50
trcStreamingRecorder.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace
1121 48
posix.c
in FreeRTOS-Plus/Source/Reliance-Edge/posix
1486 37
osbdev.c
in FreeRTOS-Plus/Source/Reliance-Edge/os/freertos/services
780 31
SEGGER_RTT.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/streamports/Jlink_RTT
633 27
core.c
in FreeRTOS-Plus/Source/Reliance-Edge/core/driver
990 27
inodedata.c
in FreeRTOS-Plus/Source/Reliance-Edge/core/driver
1161 20
buffer.c
in FreeRTOS-Plus/Source/Reliance-Edge/core/driver
730 20
inode.c
in FreeRTOS-Plus/Source/Reliance-Edge/core/driver
703 19
fse.c
in FreeRTOS-Plus/Source/Reliance-Edge/fse
272 14
using_mbedtls.c
in FreeRTOS-Plus/Source/Application-Protocols/network_transport/using_mbedtls
551 14
using_mbedtls_pkcs11.c
in FreeRTOS-Plus/Source/Application-Protocols/network_transport/using_mbedtls_pkcs11
699 13
sockets_wrapper.c
in FreeRTOS-Plus/Source/Application-Protocols/network_transport/sockets_wrapper/cellular
612 13
certs.py
in tools/aws_config_quick_start
65 12
SetupAWS.py
in tools/aws_config_quick_start
172 10
dir.c
in FreeRTOS-Plus/Source/Reliance-Edge/core/driver
540 9
using_wolfSSL.c
in FreeRTOS-Plus/Source/Application-Protocols/network_transport/using_wolfSSL
381 9
trcStreamingPort.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/streamports/USB_CDC
135 8
string.c
in FreeRTOS-Plus/Source/Reliance-Edge/util
161 8
Files With Long Lines (Top 20)

There are 40 files with lines longer than 120 characters. In total, there are 316 long lines.

File# lines# units# long lines
trcKernelPort.h
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/Include
1972 1 144
trcSnapshotRecorder.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace
1795 73 27
trcKernelPort.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace
627 50 22
trcRecorder.h
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/Include
752 - 16
trcStreamingRecorder.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace
1121 48 10
logging_stack.h
in FreeRTOS-Plus/Source/Utilities/logging
53 - 10
redtests.h
in FreeRTOS-Plus/Source/Reliance-Edge/include
199 - 8
FreeRTOS_CLI.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI
193 4 7
osbdev.c
in FreeRTOS-Plus/Source/Reliance-Edge/os/freertos/services
780 31 7
trcHardwarePort.h
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/Include
257 3 6
sockets_wrapper.c
in FreeRTOS-Plus/Source/Application-Protocols/network_transport/sockets_wrapper/cellular
612 13 6
SEGGER_RTT.c
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/streamports/Jlink_RTT
633 27 3
FreeRTOS_CLI.h
in FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI
22 - 3
posix.c
in FreeRTOS-Plus/Source/Reliance-Edge/posix
1486 37 3
endian.c
in FreeRTOS-Plus/Source/Reliance-Edge/util
26 3 3
dir.c
in FreeRTOS-Plus/Source/Reliance-Edge/core/driver
540 9 3
redconfigchk.h
in FreeRTOS-Plus/Source/Reliance-Edge/include
250 - 3
SEGGER_RTT.h
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/streamports/Jlink_RTT/include
96 - 2
trcStreamingPort.h
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/streamports/Jlink_RTT/include
57 - 2
aws_secure_sockets.tzext.h
in FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace/Include
33 3 2