awslabs / bike-kem
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 52 files with 3,534 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (356 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (951 lines of code)
    • 44 very small files (2,227 lines of code)
0% | 0% | 10% | 26% | 63%
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% | 0% | 14% | 24% | 60%
h0% | 0% | 0% | 26% | 73%
cmake0% | 0% | 0% | 65% | 34%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/third_party_src0% | 0% | 97% | 0% | 2%
include/internal0% | 0% | 0% | 26% | 73%
src/random0% | 0% | 0% | 44% | 55%
src0% | 0% | 0% | 100% | 0%
src/decode0% | 0% | 0% | 38% | 61%
cmake0% | 0% | 0% | 65% | 34%
src/gf2x0% | 0% | 0% | 0% | 100%
src/common0% | 0% | 0% | 0% | 100%
include0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
fips202.c
in src/third_party_src
356 9
kem.c
in src
179 11
decode.c
in src/decode
165 6
sha.c
in src/random
130 2
gf2x_internal.h
in include/internal
127 1
utilities.h
in include/internal
126 6
sampling.c
in src/random
121 9
cmake
compilation-flags.cmake
in cmake
103 -
decode_avx2.c
in src/decode
97 4
gf2x_mul_base_pclmul.c
in src/gf2x
93 3
utilities.c
in src/common
92 6
decode_avx512.c
in src/decode
89 4
gf2x_mul_base_vpclmul.c
in src/gf2x
88 3
types.h
in include/internal
86 -
x86_64_intrinsic.h
in include/internal
78 -
gf2x_inv.c
in src/gf2x
76 3
decode_portable.c
in src/decode
75 4
gf2x_mul_avx2.c
in src/gf2x
72 4
gf2x_mul_avx512.c
in src/gf2x
72 4
gf2x_mul_portable.c
in src/gf2x
72 4
gf2x_ksqr_avx2.c
in src/gf2x
67 4
aes.c
in src/random
65 2
gf2x_ksqr_avx512.c
in src/gf2x
64 4
decode_internal.h
in include/internal
62 1
aes_ctr_prf.c
in src/random
61 4
measurements.h
in include/internal
60 2
defs.h
in include/internal
60 -
sampling_avx2.c
in src/random
59 2
gf2x_mul.c
in src/gf2x
59 3
cpu_features.c
in src/common
58 3
sampling_avx512.c
in src/random
56 2
cleanup.h
in include/internal
55 3
aes.h
in include/internal
54 6
bike_defs.h
in include/internal
52 -
sha.h
in include/internal
51 2
gf2x_mul_base_portable.c
in src/gf2x
46 2
sampling_internal.h
in include/internal
44 1
sampling_portable.c
in src/random
38 2
shake_prf.c
in src/random
36 3
cmake
clang-format.cmake
in cmake
31 -
prf_internal.h
in include/internal
29 -
cmake
arch.cmake
in cmake
23 -
error.h
in include/internal
22 -
gf2x_ksqr_portable.c
in src/gf2x
18 1
sampling.h
in include/internal
18 -
gf2x.h
in include/internal
14 -
kem.h
in include
9 -
fips202.h
in src/third_party_src
8 -
cpu_features.h
in include/internal
7 -
api.h
in include
6 -
Files With Most Units (Top 20)
File# lines# units
kem.c
in src
179 11
fips202.c
in src/third_party_src
356 9
sampling.c
in src/random
121 9
utilities.c
in src/common
92 6
decode.c
in src/decode
165 6
aes.h
in include/internal
54 6
utilities.h
in include/internal
126 6
decode_portable.c
in src/decode
75 4
decode_avx2.c
in src/decode
97 4
decode_avx512.c
in src/decode
89 4
aes_ctr_prf.c
in src/random
61 4
gf2x_mul_avx2.c
in src/gf2x
72 4
gf2x_mul_avx512.c
in src/gf2x
72 4
gf2x_ksqr_avx512.c
in src/gf2x
64 4
gf2x_ksqr_avx2.c
in src/gf2x
67 4
gf2x_mul_portable.c
in src/gf2x
72 4
cpu_features.c
in src/common
58 3
shake_prf.c
in src/random
36 3
gf2x_mul.c
in src/gf2x
59 3
gf2x_inv.c
in src/gf2x
76 3
Files With Long Lines (Top 1)

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

File# lines# units# long lines
cmake
compilation-flags.cmake
in cmake
103 - 2