facebookresearch / ScaDiver
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 25 files with 5,154 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,138 lines of code)
    • 7 medium size files (2,325 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,513 lines of code)
    • 4 very small files (178 lines of code)
0% | 22% | 45% | 29% | 3%
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% | 31% | 52% | 11% | 4%
urdf0% | 0% | 100% | 0% | 0%
yaml0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 37% | 44% | 13% | 5%
bullet0% | 0% | 96% | 0% | 3%
data/character0% | 0% | 100% | 0% | 0%
data/spec0% | 0% | 0% | 100% | 0%
Longest Files (Top 25)
File# lines# units
env_humanoid_base.py
in root
602 44
sim_agent.py
in root
536 36
env_humanoid_imitation.py
in root
413 27
urdf
amass.urdf
in data/character
395 -
bullet_render.py
in bullet
359 24
rllib_model_custom_torch.py
in root
316 17
env_humanoid_tracking.py
in root
312 16
amass_char_info.py
in root
311 -
bullet_utils.py
in bullet
219 12
spec_env_humanoid_imitation_moe.yaml
in data/spec
178 -
rllib_driver.py
in root
149 3
rllib_env_imitation.py
in root
141 12
sim_obstacle.py
in root
125 8
spec_env_humanoid_imitation_expert7.yaml
in data/spec
115 -
spec_env_humanoid_imitation_expert6.yaml
in data/spec
115 -
spec_env_humanoid_imitation_expert1.yaml
in data/spec
115 -
spec_env_humanoid_imitation_expert0.yaml
in data/spec
115 -
spec_env_humanoid_imitation_expert3.yaml
in data/spec
115 -
spec_env_humanoid_imitation_expert2.yaml
in data/spec
115 -
spec_env_humanoid_imitation_expert5.yaml
in data/spec
115 -
spec_env_humanoid_imitation_expert4.yaml
in data/spec
115 -
render_module.py
in root
80 1
env_renderer.py
in root
75 13
bullet_client.py
in bullet
22 3
__init__.py
in bullet
1 -
Files With Most Units (Top 13)
File# lines# units
env_humanoid_base.py
in root
602 44
sim_agent.py
in root
536 36
env_humanoid_imitation.py
in root
413 27
bullet_render.py
in bullet
359 24
rllib_model_custom_torch.py
in root
316 17
env_humanoid_tracking.py
in root
312 16
env_renderer.py
in root
75 13
bullet_utils.py
in bullet
219 12
rllib_env_imitation.py
in root
141 12
sim_obstacle.py
in root
125 8
rllib_driver.py
in root
149 3
bullet_client.py
in bullet
22 3
render_module.py
in root
80 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
bullet_render.py
in bullet
359 24 2
sim_obstacle.py
in root
125 8 1