apple / swift-nio-ssl
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 600 files with 318,335 lines of code.
    • 80 very long files (210,409 lines of code)
    • 61 long files (42,706 lines of code)
    • 124 medium size files (39,238 lines of codeclsfd_ftr_w_mp_ins)
    • 115 small files (16,914 lines of code)
    • 220 very small files (9,068 lines of code)
66% | 13% | 12% | 5% | 2%
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
S88% | 8% | 2% | 0% | <1%
h79% | 2% | 8% | 3% | 6%
cc49% | 28% | 16% | 4% | <1%
c14% | 27% | 34% | 16% | 6%
inc100% | 0% | 0% | 0% | 0%
swift0% | 26% | 32% | 23% | 16%
rb0% | 0% | 0% | 100% | 0%
py0% | 0% | 0% | 100% | 0%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Sources/CNIOBoringSSL/crypto67% | 12% | 11% | 5% | 2%
Sources/CNIOBoringSSL/include73% | 4% | 10% | 4% | 7%
Sources/CNIOBoringSSL/ssl52% | 26% | 15% | 4% | <1%
Sources/NIOSSL0% | 29% | 36% | 26% | 7%
scripts0% | 0% | 0% | 100% | 0%
Sources/NIOSSLPerformanceTester0% | 0% | 0% | 0% | 100%
docker0% | 0% | 0% | 0% | 100%
Sources/NIOSSLHTTP1Client0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Sources/NIOTLSServer0% | 0% | 0% | 0% | 100%
Sources/CNIOBoringSSLShims0% | 0% | 0% | 0% | 100%
Sources/CNIOBoringSSLShims/include0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
obj_dat.h
in Sources/CNIOBoringSSL/crypto/obj
10638 -
p256-x86_64-table.h
in Sources/CNIOBoringSSL/crypto/fipsmodule/ec
9473 1
S
chacha20_poly1305_x86_64.linux.x86_64.S
in Sources/CNIOBoringSSL/crypto/cipher_extra
8574 -
S
poly_rq_mul.S
in Sources/CNIOBoringSSL/crypto/hrss/asm
8487 -
S
chacha20_poly1305_x86_64.mac.x86_64.S
in Sources/CNIOBoringSSL/crypto/cipher_extra
8456 -
curve25519_tables.h
in Sources/CNIOBoringSSL/crypto/curve25519
7836 -
boringssl_prefix_symbols_nasm.inc
in Sources/CNIOBoringSSL/include
6863 -
S
sha256-586.linux.x86.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
5572 -
S
sha1-x86_64.linux.x86_64.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
5415 -
S
sha1-x86_64.mac.x86_64.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
5342 -
CNIOBoringSSL_boringssl_prefix_symbols.h
in Sources/CNIOBoringSSL/include
4464 -
S
p256-x86_64-asm.linux.x86_64.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
3866 -
S
sha1-586.linux.x86.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
3733 -
S
sha256-x86_64.linux.x86_64.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
3602 -
S
sha256-x86_64.mac.x86_64.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
3538 -
S
p256-x86_64-asm.mac.x86_64.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
3496 -
CNIOBoringSSL_boringssl_prefix_symbols_asm.h
in Sources/CNIOBoringSSL/include
3428 -
CNIOBoringSSL_nid.h
in Sources/CNIOBoringSSL/include
3228 -
S
x86_64-mont5.linux.x86_64.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
3206 -
extensions.cc
in Sources/CNIOBoringSSL/ssl
3205 141
S
x86_64-mont5.mac.x86_64.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
3045 -
S
sha512-586.linux.x86.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
2842 -
S
sha256-armv4.linux.arm.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
2795 -
S
sha256-armv4.ios.arm.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
2794 -
S
sha512-x86_64.linux.x86_64.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
2629 -
S
sha512-x86_64.mac.x86_64.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
2585 -
S
aes128gcmsiv-x86_64.linux.x86_64.S
in Sources/CNIOBoringSSL/crypto/cipher_extra
2564 -
S
aesni-x86.linux.x86.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
2518 -
S
aes128gcmsiv-x86_64.mac.x86_64.S
in Sources/CNIOBoringSSL/crypto/cipher_extra
2466 -
S
aesni-x86_64.linux.x86_64.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
2351 -
ssl_lib.cc
in Sources/CNIOBoringSSL/ssl
2319 259
S
aesni-x86_64.mac.x86_64.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
2265 -
S
x25519-asm-arm.S
in Sources/CNIOBoringSSL/crypto/curve25519/asm
2134 -
S
chacha-armv8.linux.aarch64.S
in Sources/CNIOBoringSSL/crypto/chacha
1923 -
S
chacha-armv8.ios.aarch64.S
in Sources/CNIOBoringSSL/crypto/chacha
1914 -
S
sha512-armv4.linux.arm.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
1862 -
S
sha512-armv4.ios.arm.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
1860 -
x509_vfy.c
in Sources/CNIOBoringSSL/crypto/x509
1750 57
curve25519.c
in Sources/CNIOBoringSSL/crypto/curve25519
1733 75
CNIOBoringSSL_ssl.h
in Sources/CNIOBoringSSL/include
1663 -
S
rsaz-avx2.linux.x86_64.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
1636 -
S
sha512-armv8.linux.aarch64.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
1602 -
S
sha512-armv8.ios.aarch64.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
1593 -
internal.h
in Sources/CNIOBoringSSL/ssl
1585 37
S
rsaz-avx2.mac.x86_64.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
1577 -
S
poly1305_arm_asm.S
in Sources/CNIOBoringSSL/crypto/poly1305
1546 -
S
chacha-x86_64.linux.x86_64.S
in Sources/CNIOBoringSSL/crypto/chacha
1518 -
S
sha1-armv4-large.ios.arm.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
1493 -
S
sha1-armv4-large.linux.arm.S
in Sources/CNIOBoringSSL/crypto/fipsmodule
1491 -
S
chacha-x86_64.mac.x86_64.S
in Sources/CNIOBoringSSL/crypto/chacha
1473 -
Files With Most Units (Top 20)
File# lines# units
ssl_lib.cc
in Sources/CNIOBoringSSL/ssl
2319 259
extensions.cc
in Sources/CNIOBoringSSL/ssl
3205 141
ssl_x509.cc
in Sources/CNIOBoringSSL/ssl
1001 85
hrss.c
in Sources/CNIOBoringSSL/crypto/hrss
1375 78
curve25519.c
in Sources/CNIOBoringSSL/crypto/curve25519
1733 75
x509_vfy.c
in Sources/CNIOBoringSSL/crypto/x509
1750 57
ssl_session.cc
in Sources/CNIOBoringSSL/ssl
925 57
bio.c
in Sources/CNIOBoringSSL/crypto/bio
505 49
ec.c
in Sources/CNIOBoringSSL/crypto/fipsmodule/ec
929 49
aes_nohw.c
in Sources/CNIOBoringSSL/crypto/fipsmodule/aes
875 48
x509_lu.c
in Sources/CNIOBoringSSL/crypto/x509
649 48
cbs.c
in Sources/CNIOBoringSSL/crypto/bytestring
563 47
pmbtoken.c
in Sources/CNIOBoringSSL/crypto/trust_token
1148 45
internal.h
in Sources/CNIOBoringSSL/crypto
440 42
ssl_cert.cc
in Sources/CNIOBoringSSL/ssl
694 42
cipher.c
in Sources/CNIOBoringSSL/crypto/fipsmodule/cipher
478 40
cbb.c
in Sources/CNIOBoringSSL/crypto/bytestring
548 39
ssl_cipher.cc
in Sources/CNIOBoringSSL/ssl
1229 38
err.c
in Sources/CNIOBoringSSL/crypto/err
572 37
internal.h
in Sources/CNIOBoringSSL/ssl
1585 37
Files With Long Lines (Top 20)

There are 75 files with lines longer than 120 characters. In total, there are 340 long lines.

File# lines# units# long lines
CNIOBoringSSL_boringssl_prefix_symbols_asm.h
in Sources/CNIOBoringSSL/include
3428 - 139
CNIOBoringSSL_boringssl_prefix_symbols.h
in Sources/CNIOBoringSSL/include
4464 - 58
boringssl_prefix_symbols_nasm.inc
in Sources/CNIOBoringSSL/include
6863 - 18
SSLPrivateKey.swift
in Sources/NIOSSL
203 4 15
SSLContext.swift
in Sources/NIOSSL
547 6 9
ByteBufferBIO.swift
in Sources/NIOSSL
167 4 8
SSLConnection.swift
in Sources/NIOSSL
315 24 7
NIOSSLClientHandler.swift
in Sources/NIOSSL
74 1 6
SSLCertificate.swift
in Sources/NIOSSL
361 2 5
SecurityFrameworkCertificateVerification.swift
in Sources/NIOSSL
86 2 4
CustomPrivateKey.swift
in Sources/NIOSSL
147 2 2
IdentityVerification.swift
in Sources/NIOSSL
178 - 2
PosixPort.swift
in Sources/NIOSSL
111 - 2
SSLCallbacks.swift
in Sources/NIOSSL
117 7 2
SSLErrors.swift
in Sources/NIOSSL
166 1 2
main.swift
in Sources/NIOSSLHTTP1Client
98 5 2
S
chacha-armv8.ios.aarch64.S
in Sources/CNIOBoringSSL/crypto/chacha
1914 - 1
S
chacha-armv8.linux.aarch64.S
in Sources/CNIOBoringSSL/crypto/chacha
1923 - 1
S
chacha-x86_64.linux.x86_64.S
in Sources/CNIOBoringSSL/crypto/chacha
1518 - 1
S
chacha-x86_64.mac.x86_64.S
in Sources/CNIOBoringSSL/crypto/chacha
1473 - 1