aws / amazon-ecs-agent
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 (48 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 48 components.
  • 500 files, 51,153 lines of code (86.1% vs. main code).
  • "agent/ecs_client" is biggest, containing 13.38% of code.
  • "agent/statechange" is smallest, containing 0.02% of code.


agent/ecs_client6845 LOC (11%) 4 files
agent/api5879 LOC (9%) 41 files
agent/engine5753 LOC (9%) 34 files
agent/taskresource5538 LOC (9%) 47 files
agent/dockerclient3130 LOC (5%) 23 files
agent/acs2868 LOC (4%) 18 files
agent/app2279 LOC (3%) 21 files
agent/handlers2211 LOC (3%) 33 files
agent/stats1747 LOC (2%) 14 files
agent/config1378 LOC (2%) 18 files
agent/utils1321 LOC (2%) 39 files
agent/tcs1302 LOC (2%) 8 files
agent/eni1185 LOC (1%) 29 files
agent/ecscni1132 LOC (1%) 19 files
agent/asm951 LOC (1%) 6 files
agent/logger904 LOC (1%) 16 files
agent/wsclient731 LOC (1%) 11 files
agent/ec2641 LOC (1%) 8 files
agent/eventhandler616 LOC (1%) 4 files
agent/containermetadata569 LOC (<1%) 8 files
agent/ecr419 LOC (<1%) 8 files
agent/statemanager409 LOC (<1%) 6 files
agent/data392 LOC (<1%) 8 files
misc/windows-deploy311 LOC (<1%) 4 files
scripts267 LOC (<1%) 5 files
agent/metrics261 LOC (<1%) 4 files
agent/doctor228 LOC (<1%) 4 files
agent/credentials225 LOC (<1%) 6 files
agent/gpu195 LOC (<1%) 3 files
agent/s3168 LOC (<1%) 7 files
agent/gogenerate162 LOC (<1%) 1 files
agent/ssm153 LOC (<1%) 7 files
agent/httpclient150 LOC (<1%) 3 files
agent/async149 LOC (<1%) 3 files
agent/fsx134 LOC (<1%) 7 files
agent/sighandlers119 LOC (<1%) 4 files
agent/eventstream88 LOC (<1%) 1 files
misc/netkitten79 LOC (<1%) 2 files
misc/exec-command-agent-test67 LOC (<1%) 3 files
misc/gremlin35 LOC (<1%) 1 files
agent/version33 LOC (<1%) 2 files
ROOT30 LOC (<1%) 3 files
misc/pause-container29 LOC (<1%) 1 files
agent19 LOC (<1%) 2 files
misc/volumes-test14 LOC (<1%) 1 files
misc/container-health-windows13 LOC (<1%) 1 files
misc/stats-windows13 LOC (<1%) 1 files
agent/statechange11 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-30 22:23