microsoft / bedrock
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 (32 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 32 components.
  • 122 files, 4,163 lines of code (100.0% vs. main code).
  • "cluster/environments/azure-multiple-clusters" is biggest, containing 12.39% of code.
  • "cluster/azure/provider" is smallest, containing 0.14% of code.


cluster/environments/azure-multiple-clusters516 LOC (12%) 12 files
cluster/environments/azure-multiple-clusters-waf-tm-apimgmt491 LOC (11%) 19 files
cluster/azure/api-mgmt384 LOC (9%) 3 files
cluster/environments/azure-velero-restore240 LOC (5%) 4 files
cluster/azure/aks222 LOC (5%) 5 files
cluster/environments/azure-single-keyvault-cosmos-mongo-db-simple214 LOC (5%) 5 files
ROOT206 LOC (4%) 1 files
cluster/environments/azure-single-keyvault202 LOC (4%) 5 files
pipelines178 LOC (4%) 2 files
cluster/environments/azure-simple175 LOC (4%) 3 files
cluster/azure/aks-gitops174 LOC (4%) 3 files
cluster/environments/azure-msi157 LOC (3%) 3 files
cluster/azure/keyvault_flexvol90 LOC (2%) 2 files
cluster/common/flux85 LOC (2%) 3 files
cluster/azure/waf81 LOC (1%) 2 files
cluster/azure/tm-endpoint-ip79 LOC (1%) 3 files
cluster/azure/cosmos-mongo-db-simple71 LOC (1%) 3 files
cluster/common/velero70 LOC (1%) 3 files
cluster/azure/backend-state68 LOC (1%) 7 files
cluster/azure/vnet65 LOC (1%) 3 files
cluster/environments/azure-common-infra59 LOC (1%) 5 files
cluster/azure/tm-profile46 LOC (1%) 3 files
cluster/azure/keyvault45 LOC (1%) 3 files
cluster/common/kubediff40 LOC (<1%) 3 files
cluster/azure/keyvault_flexvol_role32 LOC (<1%) 2 files
cluster/azure/keyvault_policy32 LOC (<1%) 3 files
cluster/azure/subnet32 LOC (<1%) 3 files
pipelines/gitlab-cicd30 LOC (<1%) 1 files
cluster/azure/acr29 LOC (<1%) 3 files
cluster/azure/keyvault_secret29 LOC (<1%) 3 files
cluster/common/provider15 LOC (<1%) 1 files
cluster/azure/provider6 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-30 22:28