aws / aws-iot-device-sdk-embedded-C
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 45 files with 5,711 lines of code.
    • 0 very long files (0 lines of code)
    • 5 long files (3,046 lines of code)
    • 3 medium size files (779 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (747 lines of code)
    • 32 very small files (1,139 lines of code)
0% | 53% | 13% | 13% | 19%
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% | 75% | 12% | 8% | 3%
py0% | 0% | 78% | 0% | 21%
cmake0% | 0% | 0% | 69% | 30%
cfg0% | 0% | 0% | 100% | 0%
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
platform/posix0% | 66% | 11% | 7% | 14%
tools/release0% | 0% | 100% | 0% | 0%
tools/cmake0% | 0% | 0% | 100% | 0%
tools0% | 0% | 0% | 100% | 0%
tools/cmock0% | 0% | 0% | 0% | 100%
integration-test/custom_test_runner0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
tools/doxygen0% | 0% | 0% | 0% | 100%
integration-test/shadow0% | 0% | 0% | 0% | 100%
integration-test/mqtt0% | 0% | 0% | 0% | 100%
platform/include0% | 0% | 0% | 0% | 100%
integration-test/http0% | 0% | 0% | 0% | 100%
Longest Files (Top 45)
File# lines# units
ota_pal_posix_utest.c
in platform/posix/ota_pal/utest
738 51
openssl_utest.c
in platform/posix/transport/utest
643 24
mbedtls_pkcs11_posix.c
in platform/posix/transport/src
610 15
openssl_posix.c
in platform/posix/transport/src
550 13
ota_pal_posix.c
in platform/posix/ota_pal/source
505 14
sockets_posix.c
in platform/posix/transport/src
268 6
release-verify.py
in tools/release
266 10
sockets_utest.c
in platform/posix/transport/utest
245 14
plaintext_utest.c
in platform/posix/transport/utest
196 18
cfg
uncrustify.cfg
in tools
158 -
plaintext_posix.c
in platform/posix/transport/src
143 5
cmake
install.cmake
in tools/cmake
138 -
cmake
utility.cmake
in tools/cmake
112 -
openssl_api.h
in platform/posix/transport/utest/mocks
79 -
manifest.yml
in root
76 -
openssl_api.h
in platform/posix/ota_pal/utest/mocks
73 -
generate_docs.py
in tools/doxygen
72 3
mbedtls_pkcs11_posix.h
in platform/posix/transport/include
71 -
mbedtls_config.h
in platform/posix/include
71 -
clock_utest.c
in platform/posix/utest
69 8
cmake
coverage.cmake
in tools/cmock
65 -
openssl_posix.h
in platform/posix/transport/include
58 -
custom_unity_runner.c
in integration-test/custom_test_runner
57 4
transport.yml
in tools/cmock
39 -
sockets_posix.h
in platform/posix/transport/include
38 -
plaintext_posix.h
in platform/posix/transport/include
34 -
project.yml
in tools/cmock
32 -
ota.yml
in tools/cmock
31 -
custom_unity_runner.h
in integration-test/custom_test_runner
31 -
ota_pal_posix.h
in platform/posix/ota_pal/source/include
29 -
cmake
cmock_dependencies.cmake
in tools/cmock
24 -
clock_posix.c
in platform/posix
24 2
stdio_api.h
in platform/posix/ota_pal/utest/mocks
24 -
cmake
posixFilePaths.cmake
in platform/posix
22 -
ota_config.h
in platform/posix/ota_pal/utest
19 -
core_mqtt_config.h
in integration-test/shadow
13 -
core_mqtt_config.h
in integration-test/mqtt
13 -
stdio_api.h
in platform/posix/transport/utest/mocks
12 -
clock.h
in platform/include
12 -
shadow_config.h
in integration-test/shadow
11 -
core_http_config.h
in integration-test/http
11 -
time_api.h
in platform/posix/utest/mocks
9 -
select_api.h
in platform/posix/transport/utest/mocks
9 -
unistd_api.h
in platform/posix/transport/utest/mocks
6 -
unistd_api.h
in platform/posix/ota_pal/utest/mocks
5 -
Files With Most Units (Top 14)
File# lines# units
ota_pal_posix_utest.c
in platform/posix/ota_pal/utest
738 51
openssl_utest.c
in platform/posix/transport/utest
643 24
plaintext_utest.c
in platform/posix/transport/utest
196 18
mbedtls_pkcs11_posix.c
in platform/posix/transport/src
610 15
ota_pal_posix.c
in platform/posix/ota_pal/source
505 14
sockets_utest.c
in platform/posix/transport/utest
245 14
openssl_posix.c
in platform/posix/transport/src
550 13
release-verify.py
in tools/release
266 10
clock_utest.c
in platform/posix/utest
69 8
sockets_posix.c
in platform/posix/transport/src
268 6
plaintext_posix.c
in platform/posix/transport/src
143 5
custom_unity_runner.c
in integration-test/custom_test_runner
57 4
generate_docs.py
in tools/doxygen
72 3
clock_posix.c
in platform/posix
24 2
Files With Long Lines (Top 8)

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

File# lines# units# long lines
release-verify.py
in tools/release
266 10 5
ota_pal_posix_utest.c
in platform/posix/ota_pal/utest
738 51 5
mbedtls_pkcs11_posix.c
in platform/posix/transport/src
610 15 3
cmake
utility.cmake
in tools/cmake
112 - 2
ota_pal_posix.c
in platform/posix/ota_pal/source
505 14 2
openssl_posix.c
in platform/posix/transport/src
550 13 2
generate_docs.py
in tools/doxygen
72 3 1
cmake
cmock_dependencies.cmake
in tools/cmock
24 - 1