facebookresearch / pytorch3d
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 (25 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 25 components.
  • 281 files, 36,604 lines of code (100.0% vs. main code).
  • "pytorch3d/csrc" is biggest, containing 50.04% of code.
  • "pytorch3d" is smallest, containing 0% of code.


pytorch3d/csrc18317 LOC (50%) 141 files
pytorch3d/renderer5534 LOC (15%) 33 files
pytorch3d/ops2766 LOC (7%) 23 files
pytorch3d/io2328 LOC (6%) 9 files
pytorch3d/structures1867 LOC (5%) 5 files
projects/nerf1316 LOC (3%) 15 files
pytorch3d/datasets759 LOC (2%) 8 files
pytorch3d/transforms757 LOC (2%) 6 files
pytorch3d/vis562 LOC (1%) 3 files
website/static471 LOC (1%) 2 files
pytorch3d/loss386 LOC (1%) 6 files
website/pages327 LOC (<1%) 4 files
packaging253 LOC (<1%) 1 files
website/core209 LOC (<1%) 3 files
pytorch3d/common170 LOC (<1%) 6 files
pytorch3d/utils138 LOC (<1%) 4 files
ROOT115 LOC (<1%) 2 files
packaging/vs201961 LOC (<1%) 2 files
packaging/vs201761 LOC (<1%) 2 files
scripts60 LOC (<1%) 1 files
packaging/pytorch3d48 LOC (<1%) 1 files
website44 LOC (<1%) 1 files
packaging/linux_wheels43 LOC (<1%) 1 files
packaging/cub_conda11 LOC (<1%) 1 files
pytorch3d1 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:48