Petastorm
Components & Dependencies

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 (16 components)
Logical Decomposition #1: PRIMARY
The decompositions is based on folder structure at level 2 (relative to the source code root).
Components
The "primary" logical decomposition has 16 components.
  • 84 files, 5,134 lines of code (95.9% vs. main code).
  • "petastorm" is biggest, containing 41.35% of code.
  • "examples" is smallest, containing 0.02% of code.


petastorm2123 LOC (39%) 23 files
petastorm/etl526 LOC (9%) 7 files
petastorm/workers_pool503 LOC (9%) 7 files
petastorm/spark382 LOC (7%) 2 files
examples/mnist264 LOC (4%) 5 files
petastorm/benchmark250 LOC (4%) 4 files
petastorm/reader_impl238 LOC (4%) 6 files
examples/spark_dataset_converter188 LOC (3%) 4 files
petastorm/hdfs163 LOC (3%) 2 files
examples/hello_world146 LOC (2%) 12 files
petastorm/tools106 LOC (1%) 3 files
ROOT86 LOC (1%) 1 files
examples/imagenet77 LOC (1%) 3 files
petastorm/gcsfs_helpers50 LOC (<1%) 2 files
petastorm/pyarrow_helpers31 LOC (<1%) 2 files
examples1 LOC (<1%) 1 files
Alternative Visuals
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2020-09-11 20:40