awslabs / aws-service-catalog-puppet
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 (23 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 23 components.
  • 216 files, 16,661 lines of code (100.0% vs. main code).
  • "servicecatalog_puppet" is biggest, containing 29.74% of code.
  • "servicecatalog_puppet/template_builder" is smallest, containing 0.01% of code.


servicecatalog_puppet4955 LOC (29%) 20 files
servicecatalog_puppet/workflow/portfolio1795 LOC (10%) 30 files
servicecatalog_puppet/commands1498 LOC (8%) 12 files
servicecatalog_puppet/template_builder/hub1251 LOC (7%) 3 files
servicecatalog_puppet/workflow1215 LOC (7%) 6 files
servicecatalog_puppet/workflow/launch1057 LOC (6%) 18 files
servicecatalog_puppet/workflow/stack867 LOC (5%) 15 files
servicecatalog_puppet/workflow/workspaces835 LOC (5%) 14 files
servicecatalog_puppet/workflow/spoke_local_portfolios429 LOC (2%) 12 files
servicecatalog_puppet/workflow/service_control_policies373 LOC (2%) 9 files
servicecatalog_puppet/workflow/manifest361 LOC (2%) 4 files
servicecatalog_puppet/workflow/general287 LOC (1%) 4 files
servicecatalog_puppet/workflow/simulate_policies265 LOC (1%) 10 files
servicecatalog_puppet/workflow/lambda_invocations236 LOC (1%) 10 files
servicecatalog_puppet/workflow/codebuild_runs232 LOC (1%) 10 files
servicecatalog_puppet/workflow/assertions227 LOC (1%) 10 files
servicecatalog_puppet/workflow/generic198 LOC (1%) 6 files
servicecatalog_puppet/workflow/generate190 LOC (1%) 5 files
servicecatalog_puppet/workflow/apps145 LOC (<1%) 9 files
ROOT104 LOC (<1%) 5 files
servicecatalog_puppet/manifests96 LOC (<1%) 2 files
servicecatalog_puppet/templates44 LOC (<1%) 1 files
servicecatalog_puppet/template_builder1 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-31 18:31