aws-amplify / amplify-js
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.
  • 718 files, 65,855 lines of code (65.0% vs. main code).
  • "packages/amazon-cognito-identity-js" is biggest, containing 14.52% of code.
  • "vscode/out" is smallest, containing 0% of code.


packages/amazon-cognito-identity-js9563 LOC (9%) 40 files
packages/aws-amplify-react8298 LOC (8%) 59 files
packages/amplify-ui-components8157 LOC (8%) 180 files
packages/datastore7137 LOC (7%) 30 files
packages/aws-amplify-angular5626 LOC (5%) 90 files
packages/aws-amplify-vue3418 LOC (3%) 34 files
packages/aws-amplify-react-native3246 LOC (3%) 34 files
packages/core3005 LOC (2%) 46 files
packages/analytics2622 LOC (2%) 29 files
packages/auth2619 LOC (2%) 16 files
packages/storage2423 LOC (2%) 17 files
packages/predictions2055 LOC (2%) 18 files
packages/pushnotification1382 LOC (1%) 12 files
packages/pubsub1336 LOC (1%) 13 files
packages/datastore-storage-adapter892 LOC (<1%) 7 files
packages/amplify-ui671 LOC (<1%) 16 files
scripts537 LOC (<1%) 4 files
packages/xr502 LOC (<1%) 10 files
packages/api-rest475 LOC (<1%) 7 files
packages/geo391 LOC (<1%) 9 files
packages/interactions370 LOC (<1%) 13 files
packages/api-graphql368 LOC (<1%) 6 files
packages/aws-amplify175 LOC (<1%) 8 files
packages/amplify-ui-storybook161 LOC (<1%) 1 files
packages/amplify-ui-angular153 LOC (<1%) 4 files
packages/api104 LOC (<1%) 5 files
packages/amplify-ui-react68 LOC (<1%) 4 files
vscode67 LOC (<1%) 1 files
ROOT16 LOC (<1%) 2 files
packages/amplify-ui-vue16 LOC (<1%) 1 files
vscode/src1 LOC (<1%) 1 files
vscode/out1 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-02-01 01:48