aws / aws-sam-cli-app-templates
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 (27 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 27 components.
  • 524 files, 11,123 lines of code (61.5% vs. main code).
  • "java8.al2" is biggest, containing 10.99% of code.
  • "ruby2.7-image" is smallest, containing 0.43% of code.


java8.al21222 LOC (6%) 28 files
java111193 LOC (6%) 29 files
java81123 LOC (6%) 29 files
python3.9911 LOC (5%) 51 files
nodejs12.x887 LOC (4%) 48 files
dotnetcore3.1862 LOC (4%) 34 files
python3.8762 LOC (4%) 46 files
nodejs14.x632 LOC (3%) 34 files
python3.7595 LOC (3%) 40 files
python3.6595 LOC (3%) 40 files
python3.8-image379 LOC (2%) 31 files
python3.9-image360 LOC (1%) 31 files
go1.x245 LOC (1%) 9 files
buildspecs204 LOC (1%) 15 files
ruby2.7159 LOC (<1%) 6 files
java11-image157 LOC (<1%) 7 files
java8.al2-image157 LOC (<1%) 7 files
java8-image142 LOC (<1%) 4 files
go1.x-image81 LOC (<1%) 4 files
dotnetcore3.1-image79 LOC (<1%) 3 files
dotnet5.0-image72 LOC (<1%) 3 files
nodejs14.x-image56 LOC (<1%) 3 files
nodejs12.x-image56 LOC (<1%) 3 files
python3.7-image49 LOC (<1%) 7 files
python3.6-image49 LOC (<1%) 7 files
ROOT48 LOC (<1%) 3 files
ruby2.7-image48 LOC (<1%) 2 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-31 15:09