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
Static Dependencies
Dependencies among components are static code dependencies among files in different components.
  • Analyzed system has 25 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 25 links contain 50 dependencies.
  • There are 4 places (8 links) with cyclic dependencies (22 file dependencies).
flowchart TB
    n0["ROOT"]
    n1["tools"]
    n2["foundry"]
    n3["config"]
    n4["internal"]
    n5["toolrunner"]
    n6["mcp"]
    n7["option"]
    n8["shared"]
    n9["bedrock"]
    n10["packages"]
    n11["lib"]
    n12["googlecloud"]
    n13["aws"]
    n14["vertex"]
    n4 -->|"10"| n10
    n4 -->|"4"| n3
    n11 -->|"4"| n4
    n11 -->|"4"| n7
    n11 -->|"3"| n10
    n7 -->|"2"| n4
    n9 -->|"2"| n4
    n9 -->|"2"| n7
    n10 -->|"2"| n4
    n12 -->|"2"| n7
    n1 -->|"1"| n7
    n2 -->|"1"| n7
    n3 -->|"1"| n4
    n4 -->|"1"| n8
    n4 -->|"1"| n7
    n7 -->|"1"| n3
    n8 -->|"1"| n4
    n8 -->|"1"| n10
    n9 -->|"1"| n3
    n10 -->|"1"| n7
    n11 -->|"1"| n1
    n13 -->|"1"| n4
    n13 -->|"1"| n7
    n14 -->|"1"| n4
    n14 -->|"1"| n7
    classDef default fill:#808080,stroke:#ffffff,color:#000000;
    classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
    class n0,n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12,n13,n14 highlighted;
    linkStyle 0 stroke:#DC143CFF,stroke-width:10px
    linkStyle 1 stroke:#DC143C93,stroke-width:4px
    linkStyle 2 stroke:#00688b93,stroke-width:4px
    linkStyle 3 stroke:#00688b93,stroke-width:4px
    linkStyle 4 stroke:#00688b82,stroke-width:3px
    linkStyle 5 stroke:#DC143C70,stroke-width:2px
    linkStyle 6 stroke:#00688b70,stroke-width:2px
    linkStyle 7 stroke:#00688b70,stroke-width:2px
    linkStyle 8 stroke:#DC143C70,stroke-width:2px
    linkStyle 9 stroke:#00688b70,stroke-width:2px
    linkStyle 10 stroke:#00688b5E,stroke-width:1px
    linkStyle 11 stroke:#00688b5E,stroke-width:1px
    linkStyle 12 stroke:#DC143C5E,stroke-width:1px
    linkStyle 13 stroke:#DC143C5E,stroke-width:1px
    linkStyle 14 stroke:#DC143C5E,stroke-width:1px
    linkStyle 15 stroke:#00688b5E,stroke-width:1px
    linkStyle 16 stroke:#DC143C5E,stroke-width:1px
    linkStyle 17 stroke:#00688b5E,stroke-width:1px
    linkStyle 18 stroke:#00688b5E,stroke-width:1px
    linkStyle 19 stroke:#00688b5E,stroke-width:1px
    linkStyle 20 stroke:#00688b5E,stroke-width:1px
    linkStyle 21 stroke:#00688b5E,stroke-width:1px
    linkStyle 22 stroke:#00688b5E,stroke-width:1px
    linkStyle 23 stroke:#00688b5E,stroke-width:1px
    linkStyle 24 stroke:#00688b5E,stroke-width:1px




Explore: 2D force graph | 3D force graph

Show more details about dependencies...
From Component
 --> To Component
From Component
(files with dependencies)
Details
internal
  --> packages
10 files, 1865 LOC (22%)
10 source files
internal
  --> config
4 files, 624 LOC (7%)
4 source files
lib
  --> internal
4 files, 1972 LOC (75%)
4 source files
lib
  --> option
4 files, 1972 LOC (75%)
4 source files
lib
  --> packages
3 files, 1583 LOC (60%)
3 source files
option
  --> internal
2 files, 411 LOC (100%)
2 source files
bedrock
  --> internal
2 files, 335 LOC (100%)
2 source files
bedrock
  --> option
2 files, 335 LOC (100%)
2 source files
packages
  --> internal
2 files, 477 LOC (64%)
2 source files
googlecloud
  --> option
2 files, 128 LOC (100%)
2 source files
tools
  --> option
1 file, 53 LOC (3%)
1 source file
foundry
  --> option
1 file, 102 LOC (100%)
1 source file
config
  --> internal
1 file, 132 LOC (21%)
1 source file
internal
  --> shared
1 file, 94 LOC (1%)
1 source file
internal
  --> option
1 file, 205 LOC (2%)
1 source file
option
  --> config
1 file, 374 LOC (90%)
1 source file
shared
  --> internal
1 file, 248 LOC (18%)
1 source file
shared
  --> packages
1 file, 248 LOC (18%)
1 source file
bedrock
  --> config
1 file, 271 LOC (80%)
1 source file
packages
  --> option
1 file, 384 LOC (51%)
1 source file
lib
  --> tools
1 file, 436 LOC (16%)
1 source file
aws
  --> internal
1 file, 66 LOC (100%)
1 source file
aws
  --> option
1 file, 66 LOC (100%)
1 source file
vertex
  --> internal
1 file, 114 LOC (100%)
1 source file
vertex
  --> option
1 file, 114 LOC (100%)
1 source file
About This Analysis

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:

  • Library and Module Imports
  • Class Dependencies (Inheritance & Composition)
  • Function and Method Calls
  • Dependency Injection Without Runtime Resolution
Learn more...
  • To learn more about good practices on componentization and dependencies, Sokrates recommends the following resources:


2026-10-06 22:54