freertos / Lab-Project-FreeRTOS-Cellular-Demo
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 32 files with 8,441 lines of code.
    • 1 very long files (1,007 lines of code)
    • 5 long files (3,711 lines of code)
    • 6 medium size files (2,591 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (547 lines of code)
    • 16 very small files (585 lines of code)
11% | 43% | 30% | 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
c23% | 28% | 32% | 12% | 2%
filters0% | 100% | 0% | 0% | 0%
vcxproj0% | 0% | 100% | 0% | 0%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source/mbedtls83% | 0% | 0% | 8% | 8%
projects/1nce_qgsm_zero_touch_provisioning_demo0% | 67% | 32% | 0% | 0%
projects/1nce_bg96_zero_touch_provisioning_demo0% | 67% | 32% | 0% | 0%
projects/sim70x0_mqtt_mutual_auth_demo0% | 67% | 32% | 0% | 0%
source/coreMQTT0% | 50% | 40% | 0% | 9%
source/cellular0% | 77% | 0% | 16% | 6%
source0% | 0% | 72% | 13% | 13%
source/cellular/qgsm0% | 0% | 0% | 90% | 9%
source/FreeRTOS0% | 0% | 0% | 0% | 100%
source/cellular/sim70x00% | 0% | 0% | 0% | 100%
source/cellular/bg960% | 0% | 0% | 0% | 100%
Longest Files (Top 32)
File# lines# units
mbedtls_error.c
in source/mbedtls
1007 -
filters
WIN32.vcxproj.filters
in projects/1nce_qgsm_zero_touch_provisioning_demo
834 -
filters
WIN32.vcxproj.filters
in projects/1nce_bg96_zero_touch_provisioning_demo
828 -
filters
WIN32.vcxproj.filters
in projects/sim70x0_mqtt_mutual_auth_demo
828 -
sockets_wrapper.c
in source/coreMQTT
612 13
comm_if_windows.c
in source/cellular
609 12
using_mbedtls.c
in source/coreMQTT
494 14
MutualAuthMQTTExample.c
in source
472 12
1nce_zero_touch_provisioning.c
in source
442 5
vcxproj
WIN32.vcxproj
in projects/1nce_bg96_zero_touch_provisioning_demo
395 -
vcxproj
WIN32.vcxproj
in projects/1nce_qgsm_zero_touch_provisioning_demo
395 -
vcxproj
WIN32.vcxproj
in projects/sim70x0_mqtt_mutual_auth_demo
393 -
cellular_setup.c
in source
165 1
cellular_setup_qgsm.c
in source/cellular/qgsm
147 1
cellular_platform.c
in source/cellular
130 8
mbedtls_freertos_port.c
in source/mbedtls
105 9
FreeRTOSConfig.h
in source/FreeRTOS
94 -
main.c
in source
86 6
mbedtls_config.h
in source/mbedtls
73 -
using_mbedtls.h
in source/coreMQTT
68 -
cellular_platform.h
in source/cellular
51 -
logging_stack.h
in source
50 -
sockets_wrapper.h
in source/coreMQTT
36 -
cellular_config.h
in source/cellular/sim70x0
22 -
demo_config.h
in source
21 -
cellular_config.h
in source/cellular/qgsm
15 -
threading_alt.h
in source/mbedtls
14 -
cellular_config.h
in source/cellular/bg96
14 -
mbedtls_error.h
in source/mbedtls
12 -
core_mqtt_config.h
in source/coreMQTT
12 -
1nce_zero_touch_provisioning.h
in source
9 -
logging_levels.h
in source
8 -
Files With Most Units (Top 10)
File# lines# units
using_mbedtls.c
in source/coreMQTT
494 14
sockets_wrapper.c
in source/coreMQTT
612 13
comm_if_windows.c
in source/cellular
609 12
MutualAuthMQTTExample.c
in source
472 12
mbedtls_freertos_port.c
in source/mbedtls
105 9
cellular_platform.c
in source/cellular
130 8
main.c
in source
86 6
1nce_zero_touch_provisioning.c
in source
442 5
cellular_setup_qgsm.c
in source/cellular/qgsm
147 1
cellular_setup.c
in source
165 1
Files With Long Lines (Top 12)

There are 12 files with lines longer than 120 characters. In total, there are 58 long lines.

File# lines# units# long lines
vcxproj
WIN32.vcxproj
in projects/sim70x0_mqtt_mutual_auth_demo
393 - 11
logging_stack.h
in source
50 - 10
vcxproj
WIN32.vcxproj
in projects/1nce_qgsm_zero_touch_provisioning_demo
395 - 9
vcxproj
WIN32.vcxproj
in projects/1nce_bg96_zero_touch_provisioning_demo
395 - 8
sockets_wrapper.c
in source/coreMQTT
612 13 6
mbedtls_error.c
in source/mbedtls
1007 - 3
cellular_setup.c
in source
165 1 3
comm_if_windows.c
in source/cellular
609 12 2
MutualAuthMQTTExample.c
in source
472 12 2
filters
WIN32.vcxproj.filters
in projects/sim70x0_mqtt_mutual_auth_demo
828 - 2
cellular_setup_qgsm.c
in source/cellular/qgsm
147 1 1
filters
WIN32.vcxproj.filters
in projects/1nce_qgsm_zero_touch_provisioning_demo
834 - 1