aws / ota-for-aws-iot-embedded-sdk
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 28 files with 5,676 lines of code.
    • 1 very long files (2,372 lines of code)
    • 1 long files (823 lines of code)
    • 5 medium size files (1,227 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (440 lines of code)
    • 18 very small files (814 lines of code)
41% | 14% | 21% | 7% | 14%
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
c53% | 18% | 22% | 2% | 2%
h0% | 0% | 24% | 18% | 56%
cfg0% | 0% | 0% | 100% | 0%
cmake0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source60% | 21% | 12% | 2% | 2%
source/portable/os0% | 0% | 91% | 0% | 8%
source/include0% | 0% | 26% | 19% | 53%
tools0% | 0% | 0% | 100% | 0%
tools/cmock0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 28)
File# lines# units
ota.c
in source
2372 60
ota_mqtt.c
in source
823 17
ota_os_posix.c
in source/portable/os
270 10
ota_base64.c
in source
251 4
ota_os_freertos.c
in source/portable/os
246 10
ota_cbor.c
in source
234 3
ota_private.h
in source/include
226 -
ota.h
in source/include
171 -
cfg
uncrustify.cfg
in tools
158 -
ota_http.c
in source
111 4
ota_interface.c
in source
99 2
cmake
otaFilePaths.cmake
in root
83 -
cmake
coverage.cmake
in tools/cmock
78 -
ota_os_interface.h
in source/include
76 -
ota_config_defaults.h
in source/include
76 -
ota_platform_interface.h
in source/include
59 -
ota_interface_private.h
in source/include
40 -
ota_cbor_private.h
in source/include
37 -
ota_appversion32.h
in source/include
36 -
ota_mqtt_interface.h
in source/include
35 -
ota_mqtt_private.h
in source/include
28 -
ota_http_interface.h
in source/include
28 -
ota_base64_private.h
in source/include
27 -
ota_os_posix.h
in source/portable/os
27 -
project.yml
in tools/cmock
25 -
ota_http_private.h
in source/include
22 -
ota_os_freertos.h
in source/portable/os
22 -
manifest.yml
in root
16 -
Files With Most Units (Top 8)
File# lines# units
ota.c
in source
2372 60
ota_mqtt.c
in source
823 17
ota_os_posix.c
in source/portable/os
270 10
ota_os_freertos.c
in source/portable/os
246 10
ota_http.c
in source
111 4
ota_base64.c
in source
251 4
ota_cbor.c
in source
234 3
ota_interface.c
in source
99 2
Files With Long Lines (Top 8)

There are 8 files with lines longer than 120 characters. In total, there are 90 long lines.

File# lines# units# long lines
ota.c
in source
2372 60 54
ota_mqtt.c
in source
823 17 15
ota_private.h
in source/include
226 - 6
ota_platform_interface.h
in source/include
59 - 5
ota_interface.c
in source
99 2 4
ota_http.c
in source
111 4 3
ota_appversion32.h
in source/include
36 - 2
cmake
coverage.cmake
in tools/cmock
78 - 1