facebookresearch / pyrobot
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 180 files with 15,966 lines of code.
    • 1 very long files (1,171 lines of code)
    • 6 long files (4,674 lines of code)
    • 14 medium size files (4,231 lines of codeclsfd_ftr_w_mp_ins)
    • 19 small files (2,836 lines of code)
    • 140 very small files (3,054 lines of code)
7% | 29% | 26% | 17% | 19%
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
cpp81% | 0% | 14% | 0% | 3%
urdf0% | 100% | 0% | 0% | 0%
py0% | 25% | 40% | 19% | 14%
rviz0% | 0% | 100% | 0% | 0%
yaml0% | 0% | 0% | 38% | 61%
srdf0% | 0% | 0% | 100% | 0%
cc0% | 0% | 0% | 100% | 0%
h0% | 0% | 0% | 57% | 42%
launch0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
robots/LoCoBot/locobot_control41% | 0% | 21% | 18% | 18%
robots/LoCoBot/locobot_description0% | 98% | 0% | 0% | 1%
src/pyrobot0% | 99% | 0% | 0% | <1%
src/pyrobot/locobot0% | 36% | 50% | 6% | 6%
robots/LoCoBot/locobot_calibration0% | 64% | 24% | 0% | 10%
src/pyrobot/utils0% | 0% | 99% | 0% | <1%
robots/LoCoBot/locobot_navigation0% | 0% | 29% | 33% | 36%
robots/LoCoBot/locobot_moveit_config0% | 0% | 36% | 40% | 22%
robots/LoCoBot/locobot_lite_moveit_config0% | 0% | 47% | 32% | 20%
robots/LoCoBot/locobot_gazebo0% | 0% | 39% | 0% | 60%
src/pyrobot/habitat0% | 0% | 0% | 74% | 25%
pyrobot_bridge/nodes0% | 0% | 0% | 100% | 0%
src/pyrobot/vrep_locobot0% | 0% | 0% | 53% | 46%
src/pyrobot/allegro_hand0% | 0% | 0% | 99% | <1%
src/pyrobot/cfg0% | 0% | 0% | 0% | 100%
robots/LoCoBot/turtlebot_controller0% | 0% | 0% | 0% | 100%
src/pyrobot/sawyer0% | 0% | 0% | 0% | 100%
src/pyrobot/kinect20% | 0% | 0% | 0% | 100%
src/pyrobot/ur50% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
src/pyrobot/azure_kinect0% | 0% | 0% | 0% | 100%
pyrobot_bridge0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
locobot_controller.cpp
in robots/LoCoBot/locobot_control/src
1171 32
urdf
interbotix_locobot_description.urdf
in robots/LoCoBot/locobot_description/urdf
912 -
urdf
cmu_locobot_description.urdf
in robots/LoCoBot/locobot_description/urdf
893 -
urdf
locobot_lite_description.urdf
in robots/LoCoBot/locobot_description/urdf
886 -
core.py
in src/pyrobot
695 49
base_control_utils.py
in src/pyrobot/locobot
684 48
solve_for_calibration_params.py
in robots/LoCoBot/locobot_calibration/scripts
604 20
rviz
moveit.rviz
in robots/LoCoBot/locobot_lite_moveit_config/launch
428 -
rviz
moveit.rviz
in robots/LoCoBot/locobot_moveit_config/launch
428 -
base.py
in src/pyrobot/locobot
407 28
move_group_interface.py
in src/pyrobot/utils
392 10
base_controllers.py
in src/pyrobot/locobot
312 22
pointrobot3factor_ros_server.py
in robots/LoCoBot/locobot_control/nodes
308 13
teleoperation.py
in robots/LoCoBot/locobot_control/scripts/locobot_control
306 21
planning_scene_interface.py
in src/pyrobot/utils
297 20
vslam.py
in robots/LoCoBot/locobot_navigation/orb_slam2_ros/scripts/orb_slam2_ros
242 18
camera.py
in src/pyrobot/locobot
228 22
pcdlib.py
in robots/LoCoBot/locobot_navigation/orb_slam2_ros/scripts/orb_slam2_ros
227 10
collect_calibration_data.py
in robots/LoCoBot/locobot_calibration/scripts
226 10
util.py
in src/pyrobot/utils
218 18
gazebo_locobot_control.cpp
in robots/LoCoBot/locobot_gazebo/src
212 12
active_camera.py
in robots/LoCoBot/locobot_control/scripts/locobot_control
199 23
arm.py
in src/pyrobot/vrep_locobot
194 21
analytic_ik.py
in robots/LoCoBot/locobot_control/scripts/locobot_control
187 5
gripper.py
in src/pyrobot/allegro_hand
185 22
base_local_planner_params.yaml
in robots/LoCoBot/locobot_navigation/base_navigation/config/create
178 -
ompl_planning.yaml
in robots/LoCoBot/locobot_lite_moveit_config/config
178 -
ompl_planning.yaml
in robots/LoCoBot/locobot_moveit_config/config
178 -
srdf
interbotix_locobot.srdf
in robots/LoCoBot/locobot_moveit_config/config
158 -
locobot_controller.h
in robots/LoCoBot/locobot_control/include/locobot_control
140 3
srdf
cmu_locobot.srdf
in robots/LoCoBot/locobot_moveit_config/config
140 -
kinematics.py
in pyrobot_bridge/nodes
137 9
cc
orb_ros_rgbd.cc
in robots/LoCoBot/locobot_navigation/orb_slam2_ros/src
137 5
base.py
in src/pyrobot/habitat
130 12
bicycle_model.py
in src/pyrobot/locobot
129 10
camera.py
in src/pyrobot/habitat
120 18
cc
gen_cfg_file.cc
in robots/LoCoBot/locobot_navigation/orb_slam2_ros/src
118 3
srdf
locobot_lite.srdf
in robots/LoCoBot/locobot_lite_moveit_config/config
115 -
moveit_bridge.py
in pyrobot_bridge/nodes
111 7
mapToGrid.py
in robots/LoCoBot/locobot_navigation/base_navigation/nodes
102 7
reset_sim_example.py
in robots/LoCoBot/locobot_gazebo/scripts
88 7
arm.py
in src/pyrobot/locobot
85 6
launch
main.launch
in robots/LoCoBot/locobot_control/launch
84 -
launch
vslam_debug.launch
in robots/LoCoBot/locobot_control/launch
83 -
locobot_config.py
in src/pyrobot/cfg
78 1
dynamixels_tuned.yaml
in robots/LoCoBot/locobot_control/config
76 -
dynamixels_teleop.yaml
in robots/LoCoBot/locobot_control/config
76 -
dwa_local_planner_params.yaml
in robots/LoCoBot/locobot_navigation/base_navigation/config/turtlebot
65 -
base.py
in src/pyrobot/vrep_locobot
64 9
gazebo_locobot_control.h
in robots/LoCoBot/locobot_gazebo/include/locobot_gazebo
61 -
Files With Most Units (Top 20)
File# lines# units
core.py
in src/pyrobot
695 49
base_control_utils.py
in src/pyrobot/locobot
684 48
locobot_controller.cpp
in robots/LoCoBot/locobot_control/src
1171 32
base.py
in src/pyrobot/locobot
407 28
active_camera.py
in robots/LoCoBot/locobot_control/scripts/locobot_control
199 23
base_controllers.py
in src/pyrobot/locobot
312 22
camera.py
in src/pyrobot/locobot
228 22
gripper.py
in src/pyrobot/allegro_hand
185 22
teleoperation.py
in robots/LoCoBot/locobot_control/scripts/locobot_control
306 21
arm.py
in src/pyrobot/vrep_locobot
194 21
solve_for_calibration_params.py
in robots/LoCoBot/locobot_calibration/scripts
604 20
planning_scene_interface.py
in src/pyrobot/utils
297 20
vslam.py
in robots/LoCoBot/locobot_navigation/orb_slam2_ros/scripts/orb_slam2_ros
242 18
camera.py
in src/pyrobot/habitat
120 18
util.py
in src/pyrobot/utils
218 18
camera.py
in src/pyrobot/vrep_locobot
50 15
pointrobot3factor_ros_server.py
in robots/LoCoBot/locobot_control/nodes
308 13
gazebo_locobot_control.cpp
in robots/LoCoBot/locobot_gazebo/src
212 12
base.py
in src/pyrobot/habitat
130 12
collect_calibration_data.py
in robots/LoCoBot/locobot_calibration/scripts
226 10
Files With Long Lines (Top 18)

There are 18 files with lines longer than 120 characters. In total, there are 78 long lines.

File# lines# units# long lines
urdf
interbotix_locobot_description.urdf
in robots/LoCoBot/locobot_description/urdf
912 - 18
urdf
cmu_locobot_description.urdf
in robots/LoCoBot/locobot_description/urdf
893 - 15
urdf
locobot_lite_description.urdf
in robots/LoCoBot/locobot_description/urdf
886 - 13
locobot_controller.cpp
in robots/LoCoBot/locobot_control/src
1171 32 6
launch
turtlebot_move_base.launch
in robots/LoCoBot/locobot_navigation/base_navigation/launch
54 - 4
launch
create_move_base.launch
in robots/LoCoBot/locobot_navigation/base_navigation/launch
45 - 4
launch
empty_world.launch
in robots/LoCoBot/locobot_gazebo/launch
38 - 3
launch
move_group.launch
in robots/LoCoBot/locobot_lite_moveit_config/launch
36 - 3
launch
move_group.launch
in robots/LoCoBot/locobot_moveit_config/launch
40 - 3
base_local_planner_params.yaml
in robots/LoCoBot/locobot_navigation/base_navigation/config/create
178 - 1
launch
gazebo_locobot.launch
in robots/LoCoBot/locobot_gazebo/launch
37 - 1
launch
demo_fake.launch
in robots/LoCoBot/locobot_lite_moveit_config/launch
27 - 1
launch
planning_context.launch
in robots/LoCoBot/locobot_lite_moveit_config/launch
13 - 1
rviz
moveit.rviz
in robots/LoCoBot/locobot_lite_moveit_config/launch
428 - 1
launch
run_benchmark_ompl.launch
in robots/LoCoBot/locobot_moveit_config/launch
13 - 1
launch
default_warehouse_db.launch
in robots/LoCoBot/locobot_moveit_config/launch
8 - 1
launch
demo.launch
in robots/LoCoBot/locobot_moveit_config/launch
26 - 1
rviz
moveit.rviz
in robots/LoCoBot/locobot_moveit_config/launch
428 - 1