uber / cosmo
Static Component Dependencies

An overview of static code dependencies among source code logical components.

Intro

Static code dependencies refer to the relationships between different modules, libraries, or components in a software system that are established at compile-time rather than at runtime. These dependencies are determined by the code itself, meaning that one module directly references another through imports, includes, or explicit references in the code. Examples include:

Learn more...
Logical Decompositions Overview

Analyzed system has 1 logical decomposition:

Logical Decomposition #1: PRIMARY

The decompositions is based on the folder structure at level 1 (relative to the source code root).

Bubble Chart | Tree Map
Component Sizes (Lines of Code)
The "primary" logical decomposition has 21 components.
  • 1,150 files, 144,321 LOC (38.8% vs. main code).
  • "studio" is biggest, containing 28.7% of LOC.
  • "docker" is smallest, containing 0% of LOC.


studio41424 LOC (11%) 241 files
controlplane40186 LOC (10%) 403 files
router21684 LOC (5%) 146 files
composition15286 LOC (4%) 43 files
cli6587 LOC (1%) 81 files
helm4486 LOC (1%) 80 files
playground4373 LOC (1%) 39 files
proto2889 LOC (<1%) 5 files
graphqlmetrics1605 LOC (<1%) 34 files
connect1572 LOC (<1%) 5 files
keycloak1053 LOC (<1%) 21 files
composition-go657 LOC (<1%) 7 files
infrastructure606 LOC (<1%) 14 files
shared577 LOC (<1%) 7 files
cdn-server422 LOC (<1%) 4 files
data_migrations364 LOC (<1%) 2 files
aws-lambda-router284 LOC (<1%) 5 files
ROOT129 LOC (<1%) 8 files
otelcollector86 LOC (<1%) 2 files
admission-server50 LOC (<1%) 2 files
docker1 LOC (<1%) 1 file
Static Dependencies
Dependencies among components are static code dependencies among files in different components.
  • Analyzed system has 2 links (arrows) between components.
  • The number on the arrow represents the number of files from referring component that depend on files in referred component.
  • These 2 links contain 4 dependencies.
G ROOT ROOT playground playground studio studio composition composition composition-go composition-go controlplane controlplane router router graphqlmetrics graphqlmetrics admission-server admission-server data_migrations data_migrations otelcollector otelcollector cli cli connect connect aws-lambda-router aws-lambda-router aws-lambda-router->router 2 aws-lambda-router->graphqlmetrics 2 cdn-server cdn-server helm helm keycloak keycloak infrastructure infrastructure proto proto docker docker shared shared


Download: SVG DOT (open online Graphviz editor)

Open 2D force graph...
Open 3D force graph...

Show more details about dependencies...






2025-05-03 07:39