freertos / corePKCS11
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 17 files with 5,081 lines of code.
    • 1 very long files (3,629 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (467 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (583 lines of code)
    • 10 very small files (402 lines of code)
71% | 0% | 9% | 11% | 7%
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
c80% | 0% | 10% | 9% | 0%
cfg0% | 0% | 0% | 100% | 0%
h0% | 0% | 0% | 0% | 100%
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
source/portable/mbedtls100% | 0% | 0% | 0% | 0%
source0% | 0% | 70% | 29% | 0%
source/portable/os/posix0% | 0% | 100% | 0% | 0%
source/portable/os/freertos_winsim0% | 0% | 0% | 100% | 0%
tools0% | 0% | 0% | 100% | 0%
source/portable/os0% | 0% | 0% | 86% | 13%
source/include0% | 0% | 0% | 0% | 100%
tools/cmock0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
tools/cmock/pkcs_mbedtls0% | 0% | 0% | 0% | 100%
tools/cmock/pkcs_wrapper0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
core_pkcs11_mbedtls.c
in source/portable/mbedtls
3629 46
core_pkcs11.c
in source
263 7
core_pkcs11_pal.c
in source/portable/os/posix
204 8
core_pkcs11_pal.c
in source/portable/os/freertos_winsim
180 7
cfg
uncrustify.cfg
in tools
158 -
core_pkcs11_pal_utils.c
in source/portable/os
137 2
core_pki_utils.c
in source
108 2
core_pkcs11_config_defaults.h
in source/include
89 -
core_pkcs11.h
in source/include
67 -
cmake
coverage.cmake
in tools/cmock
64 -
project.yml
in tools/cmock/pkcs_mbedtls
42 -
project.yml
in tools/cmock/pkcs_wrapper
35 -
cmake
pkcsFilePaths.cmake
in root
31 -
core_pkcs11_pal.h
in source/include
22 -
core_pkcs11_pal_utils.h
in source/portable/os
21 -
manifest.yml
in root
16 -
core_pki_utils.h
in source/include
15 -
Files With Most Units (Top 6)
File# lines# units
core_pkcs11_mbedtls.c
in source/portable/mbedtls
3629 46
core_pkcs11_pal.c
in source/portable/os/posix
204 8
core_pkcs11.c
in source
263 7
core_pkcs11_pal.c
in source/portable/os/freertos_winsim
180 7
core_pki_utils.c
in source
108 2
core_pkcs11_pal_utils.c
in source/portable/os
137 2
Files With Long Lines (Top 3)

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

File# lines# units# long lines
core_pkcs11_mbedtls.c
in source/portable/mbedtls
3629 46 30
core_pkcs11.c
in source
263 7 2
core_pkcs11.h
in source/include
67 - 1