facebookresearch / rlmeta
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 2,834 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,116 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (808 lines of code)
    • 25 very small files (910 lines of code)
0% | 0% | 39% | 28% | 32%
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% | 34% | 25% | 40%
h0% | 0% | 84% | 0% | 15%
cc0% | 0% | 0% | 95% | 4%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
rlmeta/core0% | 0% | 53% | 13% | 33%
rlmeta/cc0% | 0% | 50% | 37% | 11%
rlmeta/envs0% | 0% | 60% | 0% | 39%
rlmeta/agents/dqn0% | 0% | 0% | 91% | 8%
rlmeta/agents/ppo0% | 0% | 0% | 94% | 5%
rlmeta/utils0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
rlmeta/agents0% | 0% | 0% | 0% | 100%
rlmeta0% | 0% | 0% | 0% | 100%
Longest Files (Top 34)
File# lines# units
segment_tree.h
in rlmeta/cc
399 30
loop.py
in rlmeta/core
263 34
replay_buffer.py
in rlmeta/core
240 38
atari_wrappers.py
in rlmeta/envs
214 31
apex_dqn_agent.py
in rlmeta/agents/dqn
198 13
ppo_agent.py
in rlmeta/agents/ppo
189 8
cc
nested_utils.cc
in rlmeta/cc
185 11
server.py
in rlmeta/core
126 21
cc
circular_buffer.cc
in rlmeta/cc
110 10
remote.py
in rlmeta/core
93 14
gym_wrappers.py
in rlmeta/envs
91 14
data_utils.py
in rlmeta/utils
76 11
stats_dict.py
in rlmeta/utils
68 17
setup.py
in root
64 4
model.py
in rlmeta/core
58 11
segment_tree.py
in rlmeta/core
54 13
agent.py
in rlmeta/agents
54 10
controller.py
in rlmeta/core
51 10
rescaler.py
in rlmeta/core
44 12
running_stats.py
in rlmeta/utils
41 8
circular_buffer.h
in rlmeta/cc
34 5
wrappers.py
in rlmeta/envs
30 7
torch_utils.h
in rlmeta/cc
21 -
env.py
in rlmeta/envs
20 6
dqn_model.py
in rlmeta/agents/dqn
19 5
nested_utils.h
in rlmeta/cc
19 -
cc
pybind.cc
in rlmeta/cc
15 -
types.py
in rlmeta/core
13 -
asycio_utils.py
in rlmeta/utils
13 2
ppo_model.py
in rlmeta/agents/ppo
12 2
remote_utils.py
in rlmeta/utils
8 1
launchable.py
in rlmeta/core
6 2
moolib_utils.py
in rlmeta/utils
5 2
__init__.py
in rlmeta
1 -
Files With Most Units (Top 20)
File# lines# units
replay_buffer.py
in rlmeta/core
240 38
loop.py
in rlmeta/core
263 34
atari_wrappers.py
in rlmeta/envs
214 31
segment_tree.h
in rlmeta/cc
399 30
server.py
in rlmeta/core
126 21
stats_dict.py
in rlmeta/utils
68 17
remote.py
in rlmeta/core
93 14
gym_wrappers.py
in rlmeta/envs
91 14
segment_tree.py
in rlmeta/core
54 13
apex_dqn_agent.py
in rlmeta/agents/dqn
198 13
rescaler.py
in rlmeta/core
44 12
model.py
in rlmeta/core
58 11
data_utils.py
in rlmeta/utils
76 11
cc
nested_utils.cc
in rlmeta/cc
185 11
controller.py
in rlmeta/core
51 10
agent.py
in rlmeta/agents
54 10
cc
circular_buffer.cc
in rlmeta/cc
110 10
ppo_agent.py
in rlmeta/agents/ppo
189 8
running_stats.py
in rlmeta/utils
41 8
wrappers.py
in rlmeta/envs
30 7
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