aws / aws-app-mesh-examples
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 (53 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 53 components.
  • 343 files, 46,631 lines of code (100.0% vs. main code).
  • "walkthroughs/howto-metrics-extension-ecs" is biggest, containing 12.62% of code.
  • "walkthroughs/howto-k8s-http-ingress-v2" is smallest, containing 0.05% of code.


walkthroughs/howto-metrics-extension-ecs5885 LOC (12%) 8 files
walkthroughs/howto-ecs-basics2774 LOC (5%) 6 files
blogs/ecs-canary-deployments-pipeline2290 LOC (4%) 14 files
walkthroughs/howto-mutual-tls-file-provided-by-acm2069 LOC (4%) 8 files
walkthroughs/howto-grpc2055 LOC (4%) 8 files
walkthroughs/howto-http-headers1587 LOC (3%) 4 files
blogs/ecs-ec2-crossvpc-with-tls1540 LOC (3%) 4 files
blogs/ecs-service-connectivity1404 LOC (3%) 31 files
walkthroughs/howto-timeout-policy1360 LOC (2%) 9 files
walkthroughs/howto-k8s-grpc1359 LOC (2%) 5 files
blogs/eks-canary-deployments-pipeline1348 LOC (2%) 15 files
walkthroughs/howto-grpc-ingress-gateway1297 LOC (2%) 6 files
blogs/ecs-cross-account1171 LOC (2%) 7 files
walkthroughs/eks-app-mesh-cross-account-acm1143 LOC (2%) 15 files
walkthroughs/howto-tls-file-provided1126 LOC (2%) 11 files
walkthroughs/howto-ingress-gateway1104 LOC (2%) 6 files
walkthroughs/howto-http21090 LOC (2%) 5 files
walkthroughs/howto-circuit-breakers1032 LOC (2%) 6 files
walkthroughs/howto-alb1012 LOC (2%) 6 files
walkthroughs/howto-multiple-listeners954 LOC (2%) 5 files
walkthroughs/eks-app-mesh-multi-account933 LOC (2%) 11 files
walkthroughs/howto-cross-account926 LOC (1%) 7 files
blogs/eks-multi-account-spire924 LOC (1%) 22 files
walkthroughs/howto-match-and-rewrite-at-ingress912 LOC (1%) 5 files
walkthroughs/eks-getting-started896 LOC (1%) 18 files
walkthroughs/howto-outlier-detection884 LOC (1%) 5 files
walkthroughs/tls-with-acm843 LOC (1%) 7 files
blogs/cert-manager-tls783 LOC (1%) 6 files
walkthroughs/howto-servicediscovery-cloudmap779 LOC (1%) 3 files
walkthroughs/howto-mutual-tls-file-provided742 LOC (1%) 8 files
walkthroughs/howto-http-retries731 LOC (1%) 4 files
blogs/eks-appmesh-connectivity551 LOC (1%) 9 files
blogs/eks-bulkhead-pattern-circuit-breaker393 LOC (<1%) 3 files
walkthroughs/howto-k8s-mtls-sds-based356 LOC (<1%) 3 files
walkthroughs/howto-k8s-fargate284 LOC (<1%) 4 files
walkthroughs/howto-k8s-grpc-ingress-v2284 LOC (<1%) 4 files
walkthroughs/fargate253 LOC (<1%) 2 files
walkthroughs/eks222 LOC (<1%) 1 files
walkthroughs/howto-k8s-outlier-detection198 LOC (<1%) 2 files
walkthroughs/howto-k8s-mtls-file-based194 LOC (<1%) 7 files
walkthroughs/howto-k8s-tls-file-based167 LOC (<1%) 6 files
walkthroughs/howto-k8s-http2148 LOC (<1%) 2 files
walkthroughs/howto-k8s-connection-pools81 LOC (<1%) 1 files
walkthroughs/howto-k8s-timeout-policy67 LOC (<1%) 4 files
walkthroughs/howto-k8s-cloudmap64 LOC (<1%) 4 files
walkthroughs/howto-k8s-cross-cluster64 LOC (<1%) 4 files
walkthroughs/howto-k8s-retry-policy64 LOC (<1%) 2 files
walkthroughs/howto-k8s-alb61 LOC (<1%) 2 files
walkthroughs/howto-k8s-tls-acm61 LOC (<1%) 2 files
walkthroughs/howto-k8s-http-headers61 LOC (<1%) 2 files
walkthroughs/howto-k8s-egress61 LOC (<1%) 2 files
walkthroughs/howto-k8s-ingress-gateway22 LOC (<1%) 1 files
walkthroughs/howto-k8s-http-ingress-v222 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-31 14:57