aws-samples / amazon-sagemaker-local-mode
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 (29 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 29 components.
  • 68 files, 2,692 lines of code (100.0% vs. main code).
  • "pytorch_script_mode_local_training_and_serving" is biggest, containing 7.17% of code.
  • "scikit_learn_bring_your_own_model_local_serving" is smallest, containing 1.71% of code.


pytorch_script_mode_local_training_and_serving193 LOC (7%) 3 files
xgboost_script_mode_local_training_and_serving160 LOC (5%) 3 files
blog150 LOC (5%) 2 files
tensorflow_script_mode_local_training_and_serving140 LOC (5%) 2 files
catboost_scikit_learn_script_mode_local_training_and_serving120 LOC (4%) 2 files
tensorflow_script_mode_california_housing_local_training_and_batch_transform118 LOC (4%) 2 files
tensorflow_bring_your_own_california_housing_local_training_and_batch_transform116 LOC (4%) 4 files
tensorflow_script_mode_california_housing_local_training_and_serving115 LOC (4%) 2 files
tensorflow_script_mode_debug_local_training108 LOC (4%) 2 files
tensorflow_script_mode_local_gpu_training_resnet50103 LOC (3%) 2 files
hdbscan_bring_your_own_container_local_training98 LOC (3%) 2 files
lightgbm_bring_your_own_container_local_training_and_serving93 LOC (3%) 3 files
scikit_learn_bring_your_own_container_and_own_model_local_serving91 LOC (3%) 3 files
catboost_bring_your_own_container_local_training_and_serving89 LOC (3%) 3 files
scikit_learn_script_mode_local_training_and_serving87 LOC (3%) 2 files
delta_sharing_scikit_learn_local_training_and_serving83 LOC (3%) 2 files
pytorch_script_mode_local_model_inference74 LOC (2%) 2 files
scikit_learn_nltk_local_processing73 LOC (2%) 2 files
delta_lake_bring_your_own_container_local_training_and_serving71 LOC (2%) 3 files
tensorflow_bring_your_own_california_housing_local_training_and_serving71 LOC (2%) 2 files
prophet_bring_your_own_container_local_training_and_serving71 LOC (2%) 3 files
delta_sharing_bring_your_own_container_local_processing68 LOC (2%) 2 files
tensorflow_script_mode_local_model_inference64 LOC (2%) 2 files
scikit_learn_local_processing64 LOC (2%) 2 files
scikit_learn_bring_your_own_container_local_processing62 LOC (2%) 2 files
huggingface_hebert_sentiment_analysis_local_serving58 LOC (2%) 3 files
scikit_learn_script_mode_local_serving_no_model_artifact53 LOC (1%) 2 files
pytorch_nlp_script_mode_local_model_inference53 LOC (1%) 2 files
scikit_learn_bring_your_own_model_local_serving46 LOC (1%) 2 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-31 16:42