microsoft / PQCrypto-SIDH
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 115 files with 64,018 lines of code.
    • 10 very long files (36,964 lines of code)
    • 15 long files (9,953 lines of code)
    • 31 medium size files (13,274 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,750 lines of code)
    • 47 very small files (2,077 lines of code)
57% | 15% | 20% | 2% | 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
c78% | 7% | 10% | 2% | 1%
S76% | 23% | 0% | 0% | 0%
vcxproj0% | 33% | 66% | 0% | 0%
h0% | 0% | 0% | 75% | 24%
filters0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/P75190% | 4% | 1% | 2% | <1%
src/P61087% | 5% | 2% | 3% | <1%
src/P50375% | 9% | 9% | 4% | 1%
src/P43458% | 24% | 10% | 4% | 2%
src54% | 23% | 9% | 7% | 4%
Visual Studio/SIDH0% | 87% | 0% | 0% | 12%
src/compression0% | 37% | 60% | 0% | 2%
Visual Studio/kem_tests0% | 0% | 93% | 0% | 6%
Visual Studio/kex_tests0% | 0% | 93% | 0% | 6%
Visual Studio/arith_tests0% | 0% | 93% | 0% | 6%
src/sha30% | 0% | 96% | 0% | 3%
src/random0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
P751_compressed_pair_tables.c
in src/P751
10985 -
P610_compressed_pair_tables.c
in src/P610
7748 -
P503_compressed_pair_tables.c
in src/P503
4903 -
P434_compressed_pair_tables.c
in src/P434
4090 -
S
fp_x64_asm.S
in src/P751/AMD64
2820 -
S
fp_x64_asm.S
in src/P503/AMD64
1614 -
S
fp_arm64_asm.S
in src/P751/ARM64
1316 -
fpx.c
in src
1263 79
S
fp_x64_asm.S
in src/P610/AMD64
1188 -
S
fp_arm64_asm.S
in src/P610/ARM64
1037 -
S
fp_x64_asm.S
in src/P434/AMD64
908 -
S
fp_arm64_asm.S
in src/P503/ARM64
814 -
fp_x64.c
in src/P751/AMD64
792 9
S
fp_arm64_asm.S
in src/P434/ARM64
768 -
vcxproj
SIDHp434_compressed.vcxproj
in Visual Studio/SIDH
658 -
sidh_compressed.c
in src/compression
634 22
vcxproj
SIDHp751_compressed.vcxproj
in Visual Studio/SIDH
624 -
vcxproj
SIDHp503_compressed.vcxproj
in Visual Studio/SIDH
621 -
fp_x64.c
in src/P610/AMD64
618 9
vcxproj
SIDHp610_compressed.vcxproj
in Visual Studio/SIDH
615 -
vcxproj
SIDHp751.vcxproj
in Visual Studio/SIDH
596 -
vcxproj
SIDHp503.vcxproj
in Visual Studio/SIDH
593 -
vcxproj
SIDHp434.vcxproj
in Visual Studio/SIDH
588 -
vcxproj
SIDHp610.vcxproj
in Visual Studio/SIDH
575 -
ec_isogeny.c
in src
549 31
vcxproj
test-SIKEp434.vcxproj
in Visual Studio/kem_tests
487 -
vcxproj
test-SIKEp434_compressed.vcxproj
in Visual Studio/kem_tests
487 -
vcxproj
test-SIKEp503.vcxproj
in Visual Studio/kem_tests
487 -
vcxproj
test-SIKEp503_compressed.vcxproj
in Visual Studio/kem_tests
487 -
vcxproj
test-SIKEp610.vcxproj
in Visual Studio/kem_tests
487 -
vcxproj
test-SIKEp610_compressed.vcxproj
in Visual Studio/kem_tests
487 -
vcxproj
test-SIKEp751.vcxproj
in Visual Studio/kem_tests
487 -
vcxproj
test-SIKEp751_compressed.vcxproj
in Visual Studio/kem_tests
487 -
vcxproj
test-SIDHp434.vcxproj
in Visual Studio/kex_tests
487 -
vcxproj
test-SIDHp434_compressed.vcxproj
in Visual Studio/kex_tests
487 -
vcxproj
test-SIDHp503.vcxproj
in Visual Studio/kex_tests
487 -
vcxproj
test-SIDHp503_compressed.vcxproj
in Visual Studio/kex_tests
487 -
vcxproj
test-SIDHp610.vcxproj
in Visual Studio/kex_tests
487 -
vcxproj
test-SIDHp610_compressed.vcxproj
in Visual Studio/kex_tests
487 -
vcxproj
test-SIDHp751.vcxproj
in Visual Studio/kex_tests
487 -
vcxproj
test-SIDHp751_compressed.vcxproj
in Visual Studio/kex_tests
487 -
fp_x64.c
in src/P503/AMD64
468 9
torsion_basis.c
in src/compression
445 19
vcxproj
arith_tests-P434.vcxproj
in Visual Studio/arith_tests
432 -
vcxproj
arith_tests-P503.vcxproj
in Visual Studio/arith_tests
432 -
vcxproj
arith_tests-P610.vcxproj
in Visual Studio/arith_tests
432 -
vcxproj
arith_tests-P751.vcxproj
in Visual Studio/arith_tests
432 -
fp_x64.c
in src/P434/AMD64
391 9
fips202.c
in src/sha3
372 11
dlog.c
in src/compression
357 7
Files With Most Units (Top 20)
File# lines# units
fpx.c
in src
1263 79
ec_isogeny.c
in src
549 31
sidh_compressed.c
in src/compression
634 22
torsion_basis.c
in src/compression
445 19
fips202.c
in src/sha3
372 11
fp_generic.c
in src/P434/generic
194 10
fp_generic.c
in src/P503/generic
194 10
fp_generic.c
in src/P610/generic
194 10
fp_generic.c
in src/P751/generic
194 10
fp_x64.c
in src/P434/AMD64
391 9
fp_arm64.c
in src/P434/ARM64
60 9
fp_x64.c
in src/P503/AMD64
468 9
fp_arm64.c
in src/P503/ARM64
60 9
fp_x64.c
in src/P610/AMD64
618 9
fp_arm64.c
in src/P610/ARM64
60 9
fp_x64.c
in src/P751/AMD64
792 9
fp_arm64.c
in src/P751/ARM64
60 9
dlog.c
in src/compression
357 7
sidh.c
in src
227 7
pairing.c
in src/compression
227 4
Files With Long Lines (Top 20)

There are 60 files with lines longer than 120 characters. In total, there are 1339 long lines.

File# lines# units# long lines
P610_compressed.c
in src/P610
308 - 221
P751_compressed.c
in src/P751
327 - 219
P503_compressed.c
in src/P503
320 - 186
P434_compressed.c
in src/P434
312 - 146
P503.c
in src/P503
102 - 43
P610.c
in src/P610
104 - 42
P751.c
in src/P751
106 - 42
P434.c
in src/P434
96 - 29
sidh_compressed.c
in src/compression
634 22 14
vcxproj
test-SIKEp434.vcxproj
in Visual Studio/kem_tests
487 - 13
vcxproj
test-SIKEp434_compressed.vcxproj
in Visual Studio/kem_tests
487 - 13
vcxproj
test-SIKEp503.vcxproj
in Visual Studio/kem_tests
487 - 13
vcxproj
test-SIKEp503_compressed.vcxproj
in Visual Studio/kem_tests
487 - 13
vcxproj
test-SIKEp610.vcxproj
in Visual Studio/kem_tests
487 - 13
vcxproj
test-SIKEp610_compressed.vcxproj
in Visual Studio/kem_tests
487 - 13
vcxproj
test-SIKEp751.vcxproj
in Visual Studio/kem_tests
487 - 13
vcxproj
test-SIKEp751_compressed.vcxproj
in Visual Studio/kem_tests
487 - 13
vcxproj
test-SIDHp434.vcxproj
in Visual Studio/kex_tests
487 - 13
vcxproj
test-SIDHp434_compressed.vcxproj
in Visual Studio/kex_tests
487 - 13
vcxproj
test-SIDHp503.vcxproj
in Visual Studio/kex_tests
487 - 13