facebookresearch / rebel
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 36 files with 4,647 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,449 lines of code)
    • 4 medium size files (1,384 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (872 lines of code)
    • 23 very small files (942 lines of code)
0% | 31% | 29% | 18% | 20%
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
cc0% | 41% | 29% | 23% | 5%
py0% | 42% | 27% | 19% | 11%
h0% | 0% | 35% | 9% | 55%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
csrc/liars_dice0% | 37% | 26% | 19% | 16%
cfvpy0% | 74% | 0% | 15% | 9%
csrc/liars_dice/rela0% | 0% | 43% | 17% | 38%
heyhi0% | 0% | 100% | 0% | 0%
scripts0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
conf/c02_selfplay0% | 0% | 0% | 0% | 100%
conf/common/optimizer0% | 0% | 0% | 0% | 100%
conf/common/launcher0% | 0% | 0% | 0% | 100%
Longest Files (Top 36)
File# lines# units
cc
subgame_solving.cc
in csrc/liars_dice
891 39
selfplay.py
in cfvpy
558 16
prioritized_replay.h
in csrc/liars_dice/rela
389 24
cc
recursive_eval.cc
in csrc/liars_dice
381 7
__init__.py
in heyhi
354 26
cc
recursive_solving.cc
in csrc/liars_dice
260 12
cc
pybind.cc
in csrc/liars_dice/rela
158 4
eval_all.py
in scripts
130 4
cc
gen_benchmark.cc
in csrc/liars_dice
129 3
cc
stats.cc
in csrc/liars_dice
123 2
utils.py
in cfvpy
119 18
liars_dice.h
in csrc/liars_dice
107 14
cc
real_net.cc
in csrc/liars_dice
106 11
subgame_solving.h
in csrc/liars_dice
95 2
tree.h
in csrc/liars_dice
89 8
cc
types.cc
in csrc/liars_dice/rela
79 9
model_locker.h
in csrc/liars_dice/rela
72 6
run.py
in root
72 3
models.py
in cfvpy
71 6
util.h
in csrc/liars_dice
66 8
recursive_solving.h
in csrc/liars_dice
60 1
data_loop.h
in csrc/liars_dice/rela
60 3
context.h
in csrc/liars_dice/rela
58 6
liars_sp.yaml
in conf/c02_selfplay
43 -
cc
liars_dice.cc
in csrc/liars_dice
40 4
thread_loop.h
in csrc/liars_dice/rela
39 7
types.h
in csrc/liars_dice/rela
36 2
real_net.h
in csrc/liars_dice
14 -
stats.h
in csrc/liars_dice
11 -
net_interface.h
in csrc/liars_dice
9 -
slurm.yaml
in conf/common/launcher
8 -
sgd.yaml
in conf/common/optimizer
5 -
ralamb.yaml
in conf/common/optimizer
4 -
adam.yaml
in conf/common/optimizer
4 -
radam.yaml
in conf/common/optimizer
4 -
tasks.py
in cfvpy
3 1
Files With Most Units (Top 20)
File# lines# units
cc
subgame_solving.cc
in csrc/liars_dice
891 39
__init__.py
in heyhi
354 26
prioritized_replay.h
in csrc/liars_dice/rela
389 24
utils.py
in cfvpy
119 18
selfplay.py
in cfvpy
558 16
liars_dice.h
in csrc/liars_dice
107 14
cc
recursive_solving.cc
in csrc/liars_dice
260 12
cc
real_net.cc
in csrc/liars_dice
106 11
cc
types.cc
in csrc/liars_dice/rela
79 9
tree.h
in csrc/liars_dice
89 8
util.h
in csrc/liars_dice
66 8
cc
recursive_eval.cc
in csrc/liars_dice
381 7
thread_loop.h
in csrc/liars_dice/rela
39 7
model_locker.h
in csrc/liars_dice/rela
72 6
context.h
in csrc/liars_dice/rela
58 6
models.py
in cfvpy
71 6
cc
liars_dice.cc
in csrc/liars_dice
40 4
cc
pybind.cc
in csrc/liars_dice/rela
158 4
eval_all.py
in scripts
130 4
data_loop.h
in csrc/liars_dice/rela
60 3
Files With Long Lines (Top 0)

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

File# lines# units# long lines