facebookresearch / differentiable-robot-model
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 24 files with 6,820 lines of code.
    • 0 very long files (0 lines of code)
    • 5 long files (3,277 lines of code)
    • 9 medium size files (2,844 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (439 lines of code)
    • 7 very small files (260 lines of code)
0% | 48% | 41% | 6% | 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
urdf0% | 63% | 34% | 0% | 1%
py0% | 0% | 62% | 25% | 11%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
diff_robot_data/allegro/urdf0% | 100% | 0% | 0% | 0%
diff_robot_data/kuka_iiwa/urdf0% | 70% | 29% | 0% | 0%
diff_robot_data/fetch_description/urdf0% | 55% | 44% | 0% | 0%
diff_robot_data/kinova_description/urdf0% | 60% | 39% | 0% | 0%
differentiable_robot_model0% | 0% | 65% | 26% | 8%
diff_robot_data/panda_description/urdf0% | 0% | 100% | 0% | 0%
diff_robot_data0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
experiments0% | 0% | 0% | 0% | 100%
Longest Files (Top 24)
File# lines# units
urdf
iiwa7_allegro.urdf
in diff_robot_data/kuka_iiwa/urdf
956 -
urdf
fetch.urdf
in diff_robot_data/fetch_description/urdf
611 -
urdf
jaco.urdf
in diff_robot_data/kinova_description/urdf
580 -
urdf
allegro_hand_description_left_small_damping.urdf
in diff_robot_data/allegro/urdf
565 -
urdf
allegro_hand_description_left.urdf
in diff_robot_data/allegro/urdf
565 -
robot_model.py
in differentiable_robot_model
453 22
urdf
iiwa7.urdf
in diff_robot_data/kuka_iiwa/urdf
401 -
urdf
jaco_clean.urdf
in diff_robot_data/kinova_description/urdf
382 -
rigid_body_params.py
in differentiable_robot_model
321 21
urdf
panda.urdf
in diff_robot_data/panda_description/urdf
307 -
spatial_vector_algebra.py
in differentiable_robot_model
291 32
urdf
fetch_arm_no_gripper.urdf
in diff_robot_data/fetch_description/urdf
241 -
urdf
fetch_arm_no_gripper_small_damping.urdf
in diff_robot_data/fetch_description/urdf
241 -
urdf
panda_no_gripper.urdf
in diff_robot_data/panda_description/urdf
207 -
se3_so3_util.py
in differentiable_robot_model
190 15
data_utils.py
in differentiable_robot_model
142 12
urdf_utils.py
in differentiable_robot_model
107 4
rigid_body.py
in differentiable_robot_model
69 5
urdf
2link_robot.urdf
in diff_robot_data
67 -
utils.py
in differentiable_robot_model
59 8
setup.py
in root
57 -
__init__.py
in differentiable_robot_model
6 -
__init__.py
in experiments
1 -
__init__.py
in diff_robot_data
1 -
Files With Most Units (Top 8)
File# lines# units
spatial_vector_algebra.py
in differentiable_robot_model
291 32
robot_model.py
in differentiable_robot_model
453 22
rigid_body_params.py
in differentiable_robot_model
321 21
se3_so3_util.py
in differentiable_robot_model
190 15
data_utils.py
in differentiable_robot_model
142 12
utils.py
in differentiable_robot_model
59 8
rigid_body.py
in differentiable_robot_model
69 5
urdf_utils.py
in differentiable_robot_model
107 4
Files With Long Lines (Top 5)

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

File# lines# units# long lines
urdf
iiwa7_allegro.urdf
in diff_robot_data/kuka_iiwa/urdf
956 - 20
urdf
iiwa7.urdf
in diff_robot_data/kuka_iiwa/urdf
401 - 7
urdf
fetch.urdf
in diff_robot_data/fetch_description/urdf
611 - 3
urdf
jaco_clean.urdf
in diff_robot_data/kinova_description/urdf
382 - 1
urdf
jaco.urdf
in diff_robot_data/kinova_description/urdf
580 - 1