freertos / Lab-Project-FreeRTOS-SESIP
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 159 files with 49,638 lines of code.
    • 12 very long files (26,133 lines of code)
    • 13 long files (8,960 lines of code)
    • 26 medium size files (7,635 lines of codeclsfd_ftr_w_mp_ins)
    • 23 small files (3,450 lines of code)
    • 85 very small files (3,460 lines of code)
52% | 18% | 15% | 6% | 6%
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
h61% | 14% | 8% | 6% | 8%
c43% | 23% | 20% | 7% | 5%
py0% | 0% | 100% | 0% | 0%
ld0% | 0% | 100% | 0% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib/nxp/device95% | 0% | 2% | 1% | <1%
lib/nxp/CMSIS61% | 26% | 9% | 1% | <1%
lib/FreeRTOS/FreeRTOS-Plus-Trace56% | 23% | 2% | 6% | 9%
lib/nxp/drivers39% | 17% | 22% | 12% | 7%
lib/nxp/utilities54% | 38% | 0% | 0% | 7%
lib/nxp/component43% | 0% | 39% | 11% | 6%
lib/FreeRTOS/platform30% | 19% | 23% | 12% | 13%
lib/FreeRTOS/provision0% | 97% | 0% | 0% | 2%
lib/nxp/startup0% | 100% | 0% | 0% | 0%
source0% | 23% | 58% | 0% | 18%
tools0% | 0% | 100% | 0% | 0%
lib/nxp/mflash0% | 0% | 67% | 0% | 32%
lib/bootloader0% | 0% | 80% | 0% | 20%
lib/nxp/bootloader0% | 0% | 80% | 0% | 20%
lib/nxp/board0% | 0% | 0% | 78% | 21%
lib/nxp/phy0% | 0% | 0% | 89% | 10%
source/user0% | 0% | 0% | 97% | 2%
lib/nxp/mdio0% | 0% | 0% | 0% | 100%
lib/nxp/freertos0% | 0% | 0% | 0% | 100%
lib/FreeRTOS/Logging0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
LPC54018.h
in lib/nxp/device
9233 1
arm_math.h
in lib/nxp/CMSIS
3067 70
trcKernelPort.h
in lib/FreeRTOS/FreeRTOS-Plus-Trace/Include
1972 1
fsl_clock.c
in lib/nxp/drivers
1886 77
trcSnapshotRecorder.c
in lib/FreeRTOS/FreeRTOS-Plus-Trace
1795 73
fsl_str.c
in lib/nxp/utilities
1301 25
fsl_enet.c
in lib/nxp/drivers
1262 41
core_cm4.h
in lib/nxp/CMSIS
1178 21
cmsis_gcc.h
in lib/nxp/CMSIS
1168 141
serial_manager.c
in lib/nxp/component/serial_manager
1143 31
trcStreamingRecorder.c
in lib/FreeRTOS/FreeRTOS-Plus-Trace
1121 48
mbedtls_error.c
in lib/FreeRTOS/platform/freertos/mbedtls
1007 -
cmsis_armclang_ltm.h
in lib/nxp/CMSIS
940 114
fsl_debug_console.c
in lib/nxp/utilities
913 28
cmsis_iccarm.h
in lib/nxp/CMSIS
768 55
trcRecorder.h
in lib/FreeRTOS/FreeRTOS-Plus-Trace/Include
752 -
fsl_clock.h
in lib/nxp/drivers
739 10
fsl_usart.c
in lib/nxp/drivers
646 20
SEGGER_RTT.c
in lib/FreeRTOS/FreeRTOS-Plus-Trace/streamports/Jlink_RTT
633 27
tls_freertos_pkcs11.c
in lib/FreeRTOS/platform/freertos/transport/src
630 14
trcKernelPort.c
in lib/FreeRTOS/FreeRTOS-Plus-Trace
627 50
cmsis_armclang.h
in lib/nxp/CMSIS
615 57
provision.c
in lib/FreeRTOS/provision
593 10
startup_lpc54018.c
in lib/nxp/startup
577 70
ota_update.c
in source
527 15
usart_adapter.c
in lib/nxp/component/uart
488 26
tls_freertos.c
in lib/FreeRTOS/platform/freertos/transport/src
486 14
fsl_enet.h
in lib/nxp/drivers
440 16
fsl_common.h
in lib/nxp/drivers
400 4
cmsis_armcc.h
in lib/nxp/CMSIS
399 18
main.c
in source
337 13
ld
Demo.ld
in source
313 -
serial_port_uart.c
in lib/nxp/component/serial_manager
310 12
mflash_drv.c
in lib/nxp/mflash/lpc54xxx
296 12
nxp_provision_interface.c
in lib/FreeRTOS/platform/provision_interface
293 10
ota_update.py
in tools
292 11
fsl_emc.c
in lib/nxp/drivers
265 7
arm_common_tables.h
in lib/nxp/CMSIS
264 -
trcHardwarePort.h
in lib/FreeRTOS/FreeRTOS-Plus-Trace/Include
257 3
spifi_boot.c
in lib/bootloader
252 12
spifi_boot.c
in lib/nxp/bootloader
252 12
ota_pal.c
in source
252 10
fsl_usart.h
in lib/nxp/drivers
251 12
system_LPC54018.c
in lib/nxp/device
251 9
generic_list.c
in lib/nxp/component/lists
245 13
fsl_flexcomm.c
in lib/nxp/drivers
239 22
provision.py
in tools
221 25
core_mqtt_agent.c
in source
215 6
fsl_reset.h
in lib/nxp/drivers
206 -
cmsis_compiler.h
in lib/nxp/CMSIS
206 1
Files With Most Units (Top 20)
File# lines# units
cmsis_gcc.h
in lib/nxp/CMSIS
1168 141
cmsis_armclang_ltm.h
in lib/nxp/CMSIS
940 114
fsl_clock.c
in lib/nxp/drivers
1886 77
trcSnapshotRecorder.c
in lib/FreeRTOS/FreeRTOS-Plus-Trace
1795 73
startup_lpc54018.c
in lib/nxp/startup
577 70
arm_math.h
in lib/nxp/CMSIS
3067 70
cmsis_armclang.h
in lib/nxp/CMSIS
615 57
cmsis_iccarm.h
in lib/nxp/CMSIS
768 55
trcKernelPort.c
in lib/FreeRTOS/FreeRTOS-Plus-Trace
627 50
trcStreamingRecorder.c
in lib/FreeRTOS/FreeRTOS-Plus-Trace
1121 48
fsl_enet.c
in lib/nxp/drivers
1262 41
serial_manager.c
in lib/nxp/component/serial_manager
1143 31
fsl_debug_console.c
in lib/nxp/utilities
913 28
SEGGER_RTT.c
in lib/FreeRTOS/FreeRTOS-Plus-Trace/streamports/Jlink_RTT
633 27
usart_adapter.c
in lib/nxp/component/uart
488 26
fsl_str.c
in lib/nxp/utilities
1301 25
provision.py
in tools
221 25
fsl_flexcomm.c
in lib/nxp/drivers
239 22
core_cm4.h
in lib/nxp/CMSIS
1178 21
fsl_usart.c
in lib/nxp/drivers
646 20
Files With Long Lines (Top 20)

There are 35 files with lines longer than 120 characters. In total, there are 2775 long lines.

File# lines# units# long lines
LPC54018.h
in lib/nxp/device
9233 1 2459
trcKernelPort.h
in lib/FreeRTOS/FreeRTOS-Plus-Trace/Include
1972 1 144
trcSnapshotRecorder.c
in lib/FreeRTOS/FreeRTOS-Plus-Trace
1795 73 27
trcKernelPort.c
in lib/FreeRTOS/FreeRTOS-Plus-Trace
627 50 22
trcRecorder.h
in lib/FreeRTOS/FreeRTOS-Plus-Trace/Include
752 - 16
logging_stack.h
in lib/FreeRTOS/Logging
50 - 10
trcStreamingRecorder.c
in lib/FreeRTOS/FreeRTOS-Plus-Trace
1121 48 10
cmsis_armclang_ltm.h
in lib/nxp/CMSIS
940 114 8
core_cm4.h
in lib/nxp/CMSIS
1178 21 8
cmsis_gcc.h
in lib/nxp/CMSIS
1168 141 8
main.c
in source
337 13 7
trcHardwarePort.h
in lib/FreeRTOS/FreeRTOS-Plus-Trace/Include
257 3 6
provision.py
in tools
221 25 5
demo-restrictions.c
in source/user
166 5 5
fsl_common.h
in lib/nxp/drivers
400 4 4
mpu_armv7.h
in lib/nxp/CMSIS
122 7 4
SEGGER_RTT.c
in lib/FreeRTOS/FreeRTOS-Plus-Trace/streamports/Jlink_RTT
633 27 3
mbedtls_error.c
in lib/FreeRTOS/platform/freertos/mbedtls
1007 - 3
ld
Demo.ld
in source
313 - 3
system_LPC54018.c
in lib/nxp/device
251 9 2