facebookresearch / rela
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 32 files with 3,325 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (986 lines of codeclsfd_ftr_w_mp_ins)
    • 10 small files (1,455 lines of code)
    • 18 very small files (884 lines of code)
0% | 0% | 29% | 43% | 26%
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
h0% | 0% | 49% | 28% | 21%
py0% | 0% | 14% | 56% | 28%
cc0% | 0% | 0% | 57% | 42%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
rela0% | 0% | 50% | 20% | 28%
pyrela0% | 0% | 18% | 59% | 21%
atari0% | 0% | 0% | 92% | 7%
pyrela/common_utils0% | 0% | 0% | 44% | 55%
Longest Files (Top 32)
File# lines# units
r2d2_actor.h
in rela
279 9
prioritized_replay.h
in rela
272 15
main.py
in pyrela
225 1
utils.h
in rela
210 19
atari_env.h
in atari
170 9
parse_log.py
in pyrela
165 9
r2d2.py
in pyrela
159 10
dqn_actor.h
in rela
158 11
cc
types.cc
in rela
154 6
benchmark.py
in pyrela
151 3
helper.py
in pyrela/common_utils
143 15
net.py
in pyrela
126 10
game_state.h
in atari
117 10
create_atari.py
in pyrela
112 5
multi_counter.py
in pyrela/common_utils
91 11
cc
pybind.cc
in rela
88 -
thread_loop.h
in rela
85 8
utils.py
in pyrela
75 7
env.h
in rela
75 8
apex.py
in pyrela
72 8
context.h
in rela
61 6
types.h
in rela
56 -
eval.py
in pyrela
50 1
model_locker.h
in rela
48 3
analyze_sweep.py
in pyrela
45 1
stopwatch.py
in pyrela/common_utils
42 5
cc
pybind.cc
in atari
24 -
assert_utils.py
in pyrela/common_utils
24 6
logger.py
in pyrela/common_utils
18 3
actor.h
in rela
13 1
set_path.py
in pyrela
12 1
__init__.py
in pyrela/common_utils
5 -
Files With Most Units (Top 20)
File# lines# units
utils.h
in rela
210 19
helper.py
in pyrela/common_utils
143 15
prioritized_replay.h
in rela
272 15
multi_counter.py
in pyrela/common_utils
91 11
dqn_actor.h
in rela
158 11
game_state.h
in atari
117 10
net.py
in pyrela
126 10
r2d2.py
in pyrela
159 10
atari_env.h
in atari
170 9
parse_log.py
in pyrela
165 9
r2d2_actor.h
in rela
279 9
apex.py
in pyrela
72 8
env.h
in rela
75 8
thread_loop.h
in rela
85 8
utils.py
in pyrela
75 7
assert_utils.py
in pyrela/common_utils
24 6
context.h
in rela
61 6
cc
types.cc
in rela
154 6
stopwatch.py
in pyrela/common_utils
42 5
create_atari.py
in pyrela
112 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