microsoft / SEAL
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 219 files with 34,970 lines of code.
    • 3 very long files (4,286 lines of code)
    • 7 long files (4,830 lines of code)
    • 51 medium size files (15,568 lines of codeclsfd_ftr_w_mp_ins)
    • 42 small files (6,017 lines of code)
    • 116 very small files (4,269 lines of code)
12% | 13% | 44% | 17% | 12%
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
h20% | 15% | 38% | 14% | 10%
cpp10% | 13% | 51% | 17% | 6%
cs0% | 15% | 41% | 22% | 20%
c0% | 0% | 80% | 19% | 0%
yml0% | 0% | 37% | 13% | 49%
in0% | 0% | 0% | 45% | 54%
cmake0% | 0% | 0% | 19% | 80%
targets0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
native/src/seal/util18% | 24% | 36% | 13% | 5%
native/src/seal17% | 0% | 60% | 16% | 5%
native/src/seal/c0% | 13% | 43% | 23% | 18%
dotnet/src0% | 16% | 42% | 23% | 18%
native/bench0% | 0% | 72% | 13% | 14%
pipelines0% | 0% | 37% | 13% | 49%
cmake0% | 0% | 0% | 37% | 62%
dotnet/src/tools0% | 0% | 0% | 0% | 100%
dotnet/nuget0% | 0% | 0% | 0% | 100%
pkgconfig0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
iterator.h
in native/src/seal/util
1656 30
evaluator.cpp
in native/src/seal
1612 34
pointer.h
in native/src/seal/util
1018 43
uintarith.h
in native/src/seal/util
881 39
rns.cpp
in native/src/seal/util
806 22
polyarithsmallmod.h
in native/src/seal/util
724 25
NativeMethods.cs
in dotnet/src
682 1
evaluator.cpp
in native/src/seal/c
682 30
ztools.cpp
in native/src/seal/util
553 9
common.h
in native/src/seal/util
502 34
plaintext.cpp
in native/src/seal/c
485 40
ciphertext.cpp
in native/src/seal/c
473 36
uintcore.h
in native/src/seal/util
469 30
Evaluator.cs
in dotnet/src
449 52
ckks.h
in native/src/seal
436 24
uintarith.cpp
in native/src/seal/util
425 7
fips202.c
in native/src/seal/util
398 13
mempool.cpp
in native/src/seal/util
381 4
serialization.cpp
in native/src/seal
378 9
memorymanager.h
in native/src/seal
374 30
context.cpp
in native/src/seal
363 2
numth.cpp
in native/src/seal/util
363 10
dynarray.h
in native/src/seal
362 25
ntt.cpp
in native/src/seal/util
356 14
batchencoder.cpp
in native/src/seal
330 11
plaintext.h
in native/src/seal
330 28
polyarithsmallmod.cpp
in native/src/seal/util
330 9
valcheck.cpp
in native/src/seal
330 21
evaluator.h
in native/src/seal
320 31
streambuf.cpp
in native/src/seal/util
316 22
uintarithsmallmod.h
in native/src/seal/util
314 18
Plaintext.cs
in dotnet/src
304 29
windows.yml
in pipelines
302 -
Ciphertext.cs
in dotnet/src
298 22
blake2b.c
in native/src/seal/util
294 15
rlwe.cpp
in native/src/seal/util
291 8
randomgen.h
in native/src/seal
288 22
bench.h
in native/bench
280 15
ntt.h
in native/src/seal/util
276 19
dwthandler.h
in native/src/seal/util
266 2
decryptor.cpp
in native/src/seal
261 7
modulus.cpp
in native/src/seal/c
260 20
SEALContext.cs
in dotnet/src
257 7
ciphertext.cpp
in native/src/seal
256 8
keygenerator.cpp
in native/src/seal
251 7
ciphertext.h
in native/src/seal
247 22
uintarithmod.h
in native/src/seal/util
247 6
encryptionparameters.cpp
in native/src/seal/c
245 18
Modulus.cs
in dotnet/src
240 23
Serialization.cs
in dotnet/src
238 12
Files With Most Units (Top 20)
File# lines# units
Evaluator.cs
in dotnet/src
449 52
pointer.h
in native/src/seal/util
1018 43
plaintext.cpp
in native/src/seal/c
485 40
uintarith.h
in native/src/seal/util
881 39
ciphertext.cpp
in native/src/seal/c
473 36
evaluator.cpp
in native/src/seal
1612 34
common.h
in native/src/seal/util
502 34
evaluator.h
in native/src/seal
320 31
evaluator.cpp
in native/src/seal/c
682 30
memorymanager.h
in native/src/seal
374 30
iterator.h
in native/src/seal/util
1656 30
uintcore.h
in native/src/seal/util
469 30
Plaintext.cs
in dotnet/src
304 29
plaintext.h
in native/src/seal
330 28
dynarray.h
in native/src/seal
362 25
polyarithsmallmod.h
in native/src/seal/util
724 25
ckks.h
in native/src/seal
436 24
Modulus.cs
in dotnet/src
240 23
Ciphertext.cs
in dotnet/src
298 22
ciphertext.h
in native/src/seal
247 22
Files With Long Lines (Top 12)

There are 12 files with lines longer than 120 characters. In total, there are 94 long lines.

File# lines# units# long lines
NativeMethods.cs
in dotnet/src
682 1 68
windows.yml
in pipelines
302 - 6
targets
SEALNet.targets
in dotnet/nuget
42 - 4
Evaluator.cs
in dotnet/src
449 52 4
ios.yml
in pipelines
34 - 3
in
SEALNet.nuspec.in
in dotnet/nuget
32 - 2
android.yml
in pipelines
61 - 2
in
SEALNet-multi.nuspec.in
in dotnet/nuget
39 - 1
CKKSEncoder.cs
in dotnet/src
159 14 1
in
SEALNet.csproj.in
in dotnet/src
30 - 1
nix.yml
in pipelines
36 - 1
nuget.yml
in pipelines
107 - 1