facebookresearch / pyrobot
Components & Dependencies

An overview of source code logical components.

Intro

Logical decomposition is a representation of the organization of the main source code, where every and each file is put in exactly one logical component.

  • A software system can have one or more logical decompositions.
  • A logical decomposition can be defined in two ways in Sokrates.
  • First approach is based on the folders structure. Components are mapped to folders at defined folder depth relative to the source code root.
  • Second approach is based on explicit definition of each component. In such explicit definitions, components are explicitly named and their files are selected based on explicitly defined path and content filters.
  • A logical decomposition is considered invalid if a file is selected into two or more components.This constraint is introduced in order to facilitate measuring of dependencies among components.
  • Files not assigned to any component are put into a special "Unclassified" component.
Learn more...
Logical Decompositions Overview

Analyzed system has 1 logical decomposition:

  • primary (22 components)

Logical Decomposition #1: PRIMARY

The decompositions is based on the folder structure (relative to the source code root), with automatically defined folder depth to have at least 10 components.

Bubble Chart | Tree Map
Components
The "primary" logical decomposition has 22 components.
  • 180 files, 15,966 lines of code (100.0% vs. main code).
  • "robots/LoCoBot/locobot_control" is biggest, containing 17.86% of code.
  • "pyrobot_bridge" is smallest, containing 0.03% of code.


robots/LoCoBot/locobot_control2851 LOC (17%) 22 files
robots/LoCoBot/locobot_description2741 LOC (17%) 6 files
src/pyrobot/locobot1891 LOC (11%) 8 files
robots/LoCoBot/locobot_navigation1574 LOC (9%) 41 files
robots/LoCoBot/locobot_moveit_config1171 LOC (7%) 22 files
robots/LoCoBot/locobot_calibration930 LOC (5%) 8 files
robots/LoCoBot/locobot_lite_moveit_config910 LOC (5%) 14 files
src/pyrobot/utils908 LOC (5%) 4 files
src/pyrobot698 LOC (4%) 3 files
robots/LoCoBot/locobot_gazebo538 LOC (3%) 12 files
src/pyrobot/vrep_locobot362 LOC (2%) 5 files
src/pyrobot/habitat335 LOC (2%) 5 files
src/pyrobot/cfg305 LOC (1%) 11 files
pyrobot_bridge/nodes248 LOC (1%) 2 files
src/pyrobot/allegro_hand186 LOC (1%) 2 files
robots/LoCoBot/turtlebot_controller112 LOC (<1%) 4 files
src/pyrobot/sawyer79 LOC (<1%) 3 files
src/pyrobot/kinect248 LOC (<1%) 2 files
src/pyrobot/ur542 LOC (<1%) 2 files
ROOT28 LOC (<1%) 1 files
src/pyrobot/azure_kinect5 LOC (<1%) 2 files
pyrobot_bridge4 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-25 19:40