golang / 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 205 files with 41,954 lines of code.
    • 5 very long files (7,495 lines of code)
    • 15 long files (9,590 lines of code)
    • 47 medium size files (15,229 lines of codeclsfd_ftr_w_mp_ins)
    • 38 small files (5,702 lines of code)
    • 100 very small files (3,938 lines of code)
17% | 22% | 36% | 13% | 9%
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
go14% | 23% | 35% | 15% | 11%
s31% | 20% | 40% | 4% | 2%
c0% | 0% | 0% | 100% | 0%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ed2551994% | 0% | 0% | 4% | <1%
chacha20poly130590% | 0% | 0% | 0% | 9%
otr63% | 0% | 27% | 8% | 0%
ssh12% | 31% | 46% | 3% | 5%
acme0% | 56% | 31% | 4% | 7%
openpgp0% | 30% | 38% | 21% | 9%
salsa200% | 62% | 0% | 34% | 2%
blake2b0% | 44% | 31% | 19% | 4%
cryptobyte0% | 62% | 23% | 11% | 2%
ocsp0% | 100% | 0% | 0% | 0%
bn2560% | 0% | 79% | 19% | 1%
chacha200% | 0% | 77% | 17% | 4%
curve255190% | 0% | 75% | 11% | 13%
blake2s0% | 0% | 60% | 34% | 4%
sha30% | 0% | 55% | 22% | 21%
cast50% | 0% | 100% | 0% | 0%
internal0% | 0% | 41% | 28% | 30%
pkcs120% | 0% | 37% | 23% | 38%
twofish0% | 0% | 100% | 0% | 0%
argon20% | 0% | 35% | 50% | 14%
bcrypt0% | 0% | 89% | 0% | 10%
blowfish0% | 0% | 0% | 85% | 14%
scrypt0% | 0% | 0% | 100% | 0%
ripemd1600% | 0% | 0% | 58% | 41%
nacl0% | 0% | 0% | 0% | 100%
md40% | 0% | 0% | 0% | 100%
xts0% | 0% | 0% | 0% | 100%
xtea0% | 0% | 0% | 0% | 100%
tea0% | 0% | 0% | 0% | 100%
hkdf0% | 0% | 0% | 0% | 100%
pbkdf20% | 0% | 0% | 0% | 100%
poly13050% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
s
chacha20poly1305_amd64.s
in chacha20poly1305
2381 -
edwards25519.go
in ed25519/internal/edwards25519
1463 46
const.go
in ed25519/internal/edwards25519
1401 -
otr.go
in otr
1126 55
keys.go
in ssh
1124 63
autocert.go
in acme/autocert
883 45
s
salsa20_amd64.s
in salsa20/salsa
876 -
acme.go
in acme
744 37
messages.go
in ssh
679 20
s
blake2bAVX2_amd64.s
in blake2b
652 -
ca.go
in acme/autocert/internal/acmetest
635 27
public_key.go
in openpgp/packet
599 35
signature.go
in openpgp/packet
590 16
client.go
in ssh/agent
587 26
asn1.go
in cryptobyte
584 46
kex.go
in ssh
579 15
ocsp.go
in ocsp
576 15
cipher.go
in ssh
561 21
keys.go
in openpgp
538 17
server.go
in ssh
507 12
smp.go
in otr
490 13
client_auth.go
in ssh
486 26
session.go
in ssh
476 31
server.go
in ssh/agent
470 16
cast5.go
in cast5
469 8
handshake.go
in ssh
468 23
packet.go
in openpgp/packet
464 21
s
sum_s390x.s
in internal/poly1305
447 -
channel.go
in ssh
445 27
certs.go
in ssh
412 19
s
blake2s_amd64.s
in blake2s
412 -
knownhosts.go
in ssh/knownhosts
399 30
s
blake2s_386.s
in blake2s
393 -
prober.go
in acme/internal/acmeprobe
392 12
s
keccakf_amd64.s
in sha3
371 -
keccakf.go
in sha3
368 1
s
chacha_ppc64le.s
in chacha20
362 -
tcpip.go
in ssh
353 22
s
fe_amd64.s
in curve25519/internal/field
329 -
rfc8555.go
in acme
329 15
read.go
in openpgp
326 8
private_key.go
in openpgp/packet
325 18
write.go
in openpgp
306 16
types.go
in acme
304 21
clearsign.go
in openpgp/clearsign
298 7
bn256.go
in bn256
294 25
optate.go
in bn256
289 6
fe.go
in curve25519/internal/field
285 23
common.go
in ssh
282 18
pkcs12.go
in pkcs12
279 10
Files With Most Units (Top 20)
File# lines# units
keys.go
in ssh
1124 63
otr.go
in otr
1126 55
asn1.go
in cryptobyte
584 46
edwards25519.go
in ed25519/internal/edwards25519
1463 46
autocert.go
in acme/autocert
883 45
acme.go
in acme
744 37
public_key.go
in openpgp/packet
599 35
session.go
in ssh
476 31
knownhosts.go
in ssh/knownhosts
399 30
channel.go
in ssh
445 27
ca.go
in acme/autocert/internal/acmetest
635 27
client.go
in ssh/agent
587 26
client_auth.go
in ssh
486 26
bn256.go
in bn256
294 25
handshake.go
in ssh
468 23
fe.go
in curve25519/internal/field
285 23
tcpip.go
in ssh
353 22
packet.go
in openpgp/packet
464 21
gfp6.go
in bn256
221 21
cipher.go
in ssh
561 21
Files With Long Lines (Top 20)

There are 37 files with lines longer than 120 characters. In total, there are 1001 long lines.

File# lines# units# long lines
const.go
in ed25519/internal/edwards25519
1401 - 761
s
chacha20poly1305_amd64.s
in chacha20poly1305
2381 - 127
s
keccakf_amd64.s
in sha3
371 - 24
write.go
in openpgp
306 16 7
kex.go
in ssh
579 15 7
client_auth.go
in ssh
486 26 7
constants.go
in bn256
18 1 6
handshake.go
in ssh
468 23 6
common.go
in ssh
282 18 5
otr.go
in otr
1126 55 5
public_key.go
in openpgp/packet
599 35 4
server.go
in ssh
507 12 4
encrypted_key.go
in openpgp/packet
165 7 3
keys.go
in ssh
1124 63 3
certs.go
in ssh
412 19 3
autocert.go
in acme/autocert
883 45 3
signature.go
in openpgp/packet
590 16 2
keys.go
in openpgp
538 17 2
ocsp.go
in ocsp
576 15 2
bcrypt.go
in bcrypt
219 15 2