aws-samples / aws-builders-fair-projects
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 (19 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 19 components.
  • 2,500 files, 285,588 lines of code (21.8% vs. main code).
  • "reinvent-2020/RhythmCloud" is biggest, containing 48.91% of code.
  • "reinvent-2019/autoponics" is smallest, containing 0.11% of code.


reinvent-2020/RhythmCloud139674 LOC (10%) 1377 files
reinvent-2019/rhythm-cloud101436 LOC (7%) 582 files
reinvent-2019/smart-garden8989 LOC (<1%) 111 files
reinvent-2020/aws-smart-recycle6694 LOC (<1%) 14 files
reinvent-2019/connected-photo-booth5188 LOC (<1%) 21 files
reinvent-2019/lego-ev3-raspberry-pi-robot4893 LOC (<1%) 43 files
reinvent-2019/learn-languages-ai-ml3705 LOC (<1%) 90 files
reinvent-2019/doodlechallenge3154 LOC (<1%) 52 files
reinvent-2019/iot-racing-ninja2181 LOC (<1%) 26 files
reinvent-2019/automatic-anomaly-detection-tool1922 LOC (<1%) 29 files
reinvent-2019/fully-automated-farm1899 LOC (<1%) 47 files
reinvent-2019/drone-zone1559 LOC (<1%) 11 files
reinvent-2019/polyglot-bot1219 LOC (<1%) 24 files
reinvent-2019/deeppens757 LOC (<1%) 10 files
reinvent-2019/puente756 LOC (<1%) 22 files
reinvent-2019/sign-and-speak499 LOC (<1%) 10 files
reinvent-2020/rock-a-bye-baby436 LOC (<1%) 13 files
reinvent-2019/smart-garage320 LOC (<1%) 7 files
reinvent-2019/autoponics307 LOC (<1%) 11 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-31 16:11