Linux / Crypto
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 172 files with 82,842 lines of code.
    • 8 very long files (45,305 lines of code)
    • 16 long files (11,248 lines of code)
    • 52 medium size files (16,963 lines of codeclsfd_ftr_w_mp_ins)
    • 46 small files (6,710 lines of code)
    • 50 very small files (2,616 lines of code)
54% | 13% | 20% | 8% | 3%
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
h97% | 0% | 0% | <1% | 1%
c26% | 22% | 34% | 12% | 4%
asn10% | 0% | 0% | 41% | 58%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT58% | 12% | 17% | 7% | 2%
asymmetric_keys0% | 28% | 48% | 11% | 12%
async_tx0% | 0% | 71% | 24% | 4%
Longest Files (Top 50)
File# lines# units
testmgr.h
in root
32110 -
testmgr.c
in root
4800 86
tcrypt.c
in root
2594 39
drbg.c
in root
1332 46
1221 6
ecc.c
in root
1129 53
wp512.c
in root
1083 8
1036 13
algapi.c
in root
990 55
gcm.c
in root
921 55
854 10
af_alg.c
in root
853 32
cryptd.c
in root
844 57
khazad.c
in root
830 6
ccm.c
in root
754 35
skcipher.c
in root
737 45
asym_tpm.c
in asymmetric_keys
677 16
anubis.c
in root
614 6
x509_cert_parser.c
in asymmetric_keys
569 19
vmac.c
in root
534 13
531 9
516 18
516 37
508 2
pkcs7_parser.c
in asymmetric_keys
496 21
essiv.c
in root
485 23
477 8
shash.c
in root
476 43
ahash.c
in root
474 38
asymmetric_type.c
in asymmetric_keys
473 20
462 20
api.c
in root
454 13
seed.c
in root
430 5
426 -
adiantum.c
in root
414 17
397 17
simd.c
in root
394 17
391 17
385 18
authenc.c
in root
369 17
368 18
xts.c
in root
346 17
345 2
sm2.c
in root
342 16
331 15
325 18
async_pq.c
in async_tx
323 2
public_key.c
in asymmetric_keys
321 10
fcrypt.c
in root
319 5
pkcs7_verify.c
in asymmetric_keys
317 7
Files With Most Units (Top 50)
File# lines# units
testmgr.c
in root
4800 86
cryptd.c
in root
844 57
gcm.c
in root
921 55
algapi.c
in root
990 55
ecc.c
in root
1129 53
drbg.c
in root
1332 46
skcipher.c
in root
737 45
shash.c
in root
476 43
tcrypt.c
in root
2594 39
ahash.c
in root
474 38
516 37
ccm.c
in root
754 35
af_alg.c
in root
853 32
essiv.c
in root
485 23
pkcs7_parser.c
in asymmetric_keys
496 21
asymmetric_type.c
in asymmetric_keys
473 20
462 20
x509_cert_parser.c
in asymmetric_keys
569 19
368 18
aead.c
in root
237 18
pcrypt.c
in root
287 18
zstd.c
in root
209 18
516 18
385 18
325 18
391 17
simd.c
in root
394 17
deflate.c
in root
267 17
xts.c
in root
346 17
397 17
242 17
adiantum.c
in root
414 17
authenc.c
in root
369 17
asym_tpm.c
in asymmetric_keys
677 16
lrw.c
in root
288 16
ecdsa.c
in root
273 16
sm2.c
in root
342 16
331 15
156 14
cts.c
in root
284 14
317 14
276 14
internal.h
in root
129 13
api.c
in root
454 13
176 13
ctr.c
in root
268 13
vmac.c
in root
534 13
cfb.c
in root
181 13
258 13
1036 13
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
331 15 1