facebookresearch / spreadingvectors
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 14 files with 1,458 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (604 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (440 lines of code)
    • 9 very small files (414 lines of code)
0% | 0% | 41% | 30% | 28%
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
cpp0% | 0% | 100% | 0% | 0%
py0% | 0% | 0% | 58% | 41%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lattices0% | 0% | 68% | 14% | 17%
ROOT0% | 0% | 0% | 72% | 27%
lib0% | 0% | 0% | 39% | 60%
Longest Files (Top 14)
File# lines# units
lattice_Zn.cpp
in lattices
339 15
lattice_utils.cpp
in lattices
265 10
train.py
in root
191 4
Zn_lattice.py
in lattices
128 12
metrics.py
in lib
121 8
quantizers.py
in lib
90 15
eval.py
in root
74 -
lattice_Zn.h
in lattices
65 3
data.py
in lib
64 7
bench_Zn_decoder.py
in lattices
44 -
lattice_utils.h
in lattices
43 4
net.py
in lib
32 6
__init__.py
in lattices
1 -
__init__.py
in lib
1 -
Files With Most Units (Top 10)
File# lines# units
lattice_Zn.cpp
in lattices
339 15
quantizers.py
in lib
90 15
Zn_lattice.py
in lattices
128 12
lattice_utils.cpp
in lattices
265 10
metrics.py
in lib
121 8
data.py
in lib
64 7
net.py
in lib
32 6
lattice_utils.h
in lattices
43 4
train.py
in root
191 4
lattice_Zn.h
in lattices
65 3
Files With Long Lines (Top 1)

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

File# lines# units# long lines
eval.py
in root
74 - 1