freertos / Labs-Project-Espressif-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 26 files with 2,197 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (823 lines of code)
    • 2 medium size files (571 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (347 lines of code)
    • 20 very small files (456 lines of code)
0% | 37% | 25% | 15% | 20%
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
c0% | 42% | 29% | 18% | 9%
h0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
components/ota_pal0% | 84% | 0% | 12% | 3%
components/pkcs11_pal0% | 0% | 100% | 0% | 0%
components/crypto0% | 0% | 90% | 0% | 9%
components/mqtt-subscription-manager0% | 0% | 0% | 77% | 22%
components/network_transport0% | 0% | 0% | 66% | 33%
components/mqtt-agent-interface0% | 0% | 0% | 0% | 100%
components/logging0% | 0% | 0% | 0% | 100%
components/pkcs11_helpers0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
components/FreeRTOS-Wrapper0% | 0% | 0% | 0% | 100%
Longest Files (Top 26)
File# lines# units
ota_pal.c
in components/ota_pal/source
823 26
core_pkcs11_pal.c
in components/pkcs11_pal/source
344 9
iot_crypto.c
in components/crypto/source
227 10
aws_esp_ota_ops.c
in components/ota_pal/source
119 4
mqtt_subscription_manager.c
in components/mqtt-subscription-manager/source
118 3
tls_freertos.c
in components/network_transport/source
110 4
freertos_command_pool.c
in components/mqtt-agent-interface/source
61 2
pkcs11_helpers.c
in components/pkcs11_helpers/source
58 1
tls_freertos.h
in components/network_transport/include
55 -
logging_stack.h
in components/logging/include
48 -
manifest.yml
in root
34 -
mqtt_subscription_manager.h
in components/mqtt-subscription-manager/include
34 -
logging.c
in components/logging/source
33 4
freertos_agent_message.c
in components/mqtt-agent-interface/source
28 2
iot_crypto.h
in components/crypto/include
23 -
freertos_agent_message.h
in components/mqtt-agent-interface/include
19 -
aws_esp_ota_ops.h
in components/ota_pal/include
18 -
ota_pal.h
in components/ota_pal/include
16 -
freertos_command_pool.h
in components/mqtt-agent-interface/include
10 -
logging_levels.h
in components/logging/include
8 -
pkcs11_helpers.h
in components/pkcs11_helpers/include
6 -
timers.h
in components/FreeRTOS-Wrapper/include
1 -
FreeRTOS.h
in components/FreeRTOS-Wrapper/include
1 -
task.h
in components/FreeRTOS-Wrapper/include
1 -
queue.h
in components/FreeRTOS-Wrapper/include
1 -
semphr.h
in components/FreeRTOS-Wrapper/include
1 -
Files With Most Units (Top 10)
File# lines# units
ota_pal.c
in components/ota_pal/source
823 26
iot_crypto.c
in components/crypto/source
227 10
core_pkcs11_pal.c
in components/pkcs11_pal/source
344 9
tls_freertos.c
in components/network_transport/source
110 4
logging.c
in components/logging/source
33 4
aws_esp_ota_ops.c
in components/ota_pal/source
119 4
mqtt_subscription_manager.c
in components/mqtt-subscription-manager/source
118 3
freertos_command_pool.c
in components/mqtt-agent-interface/source
61 2
freertos_agent_message.c
in components/mqtt-agent-interface/source
28 2
pkcs11_helpers.c
in components/pkcs11_helpers/source
58 1
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 11 long lines.

File# lines# units# long lines
mqtt_subscription_manager.c
in components/mqtt-subscription-manager/source
118 3 4
ota_pal.c
in components/ota_pal/source
823 26 4
tls_freertos.c
in components/network_transport/source
110 4 3