facebookresearch / hanabi_SAD
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 34 files with 3,981 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,486 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,672 lines of code)
    • 17 very small files (823 lines of code)
0% | 0% | 37% | 41% | 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
py0% | 0% | 58% | 24% | 17%
h0% | 0% | 19% | 57% | 23%
cc0% | 0% | 0% | 73% | 26%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pyhanabi0% | 0% | 79% | 19% | <1%
rela0% | 0% | 18% | 58% | 22%
pyhanabi/tools0% | 0% | 49% | 27% | 23%
cpp0% | 0% | 0% | 70% | 29%
pyhanabi/common_utils0% | 0% | 0% | 36% | 63%
Longest Files (Top 34)
File# lines# units
r2d2.py
in pyhanabi
402 19
utils.py
in pyhanabi
308 18
prioritized_replay.h
in rela
286 17
obl_model.py
in pyhanabi/tools
264 13
selfplay.py
in pyhanabi
226 1
transition_buffer.h
in rela
170 8
cc
transition.cc
in rela
167 7
batcher.h
in rela
154 9
cc
hanabi_env.cc
in cpp
151 3
r2d2_actor.h
in rela
150 5
action_matrix.py
in pyhanabi/tools
149 3
tensor_dict.h
in rela
143 12
hanabi_env.h
in cpp
131 15
create.py
in pyhanabi
125 5
helper.py
in pyhanabi/common_utils
124 15
eval.py
in pyhanabi
106 2
batch_runner.h
in rela
102 5
multi_counter.py
in pyhanabi/common_utils
83 11
env.h
in rela
81 8
thread_loop.h
in cpp
73 1
cc
pybind.cc
in rela
69 -
eval_model.py
in pyhanabi/tools
63 1
convert_model.py
in pyhanabi/tools
62 2
context.h
in rela
61 6
transition.h
in rela
51 -
saver.py
in pyhanabi/common_utils
47 2
cc
pybind.cc
in cpp
45 -
utils.h
in rela
45 5
thread_loop.h
in rela
43 7
stopwatch.py
in pyhanabi/common_utils
42 5
assert_utils.py
in pyhanabi/common_utils
24 6
logger.py
in pyhanabi/common_utils
18 3
set_path.py
in pyhanabi
10 1
__init__.py
in pyhanabi/common_utils
6 -
Files With Most Units (Top 20)
File# lines# units
r2d2.py
in pyhanabi
402 19
utils.py
in pyhanabi
308 18
prioritized_replay.h
in rela
286 17
hanabi_env.h
in cpp
131 15
helper.py
in pyhanabi/common_utils
124 15
obl_model.py
in pyhanabi/tools
264 13
tensor_dict.h
in rela
143 12
multi_counter.py
in pyhanabi/common_utils
83 11
batcher.h
in rela
154 9
env.h
in rela
81 8
transition_buffer.h
in rela
170 8
cc
transition.cc
in rela
167 7
thread_loop.h
in rela
43 7
context.h
in rela
61 6
assert_utils.py
in pyhanabi/common_utils
24 6
utils.h
in rela
45 5
batch_runner.h
in rela
102 5
r2d2_actor.h
in rela
150 5
stopwatch.py
in pyhanabi/common_utils
42 5
create.py
in pyhanabi
125 5
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