amazon-connect / video-call-escalation
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.
  • 135 files, 7,983 lines of code (10.4% vs. main code).
  • "demo-website/src" is biggest, containing 22.72% of code.
  • "agent-app/src/utils" is smallest, containing 0.23% of code.


demo-website/src1814 LOC (2%) 3 files
agent-app/src/containers851 LOC (1%) 18 files
cdk-stacks/lambdas/services807 LOC (1%) 8 files
agent-app/src/providers662 LOC (<1%) 9 files
cdk-stacks/lib/api626 LOC (<1%) 6 files
agent-app/src/components423 LOC (<1%) 16 files
agent-app/src277 LOC (<1%) 5 files
agent-app/src/views267 LOC (<1%) 11 files
cdk-stacks/lambdas/handlers256 LOC (<1%) 15 files
cdk-stacks/docker/recording237 LOC (<1%) 6 files
cdk-stacks/lib/recording233 LOC (<1%) 2 files
cdk-stacks209 LOC (<1%) 2 files
cdk-stacks/lib198 LOC (<1%) 2 files
agent-app/src/apis182 LOC (<1%) 4 files
cdk-stacks/lib/infrastructure173 LOC (<1%) 3 files
agent-app/src/hooks143 LOC (<1%) 5 files
cdk-stacks/lambdas/lib134 LOC (<1%) 5 files
cdk-stacks/lib/pipeline113 LOC (<1%) 2 files
cdk-stacks/lambdas/custom-resources107 LOC (<1%) 1 files
cdk-stacks/lambdas/repository106 LOC (<1%) 6 files
agent-app/src/constants74 LOC (<1%) 2 files
cdk-stacks/lib/frontend73 LOC (<1%) 2 files
agent-app/src/utils18 LOC (<1%) 2 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-02-01 02:41