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 11 components.

internal7569 LOC (12%) 43 files
ROOT3559 LOC (5%) 21 files
auth2288 LOC (3%) 11 files
scripts1522 LOC (2%) 8 files
packages1422 LOC (2%) 10 files
responses726 LOC (1%) 5 files
option567 LOC (<1%) 5 files
bedrock565 LOC (<1%) 2 files
azure534 LOC (<1%) 1 file
webhooks139 LOC (<1%) 2 files
.github56 LOC (<1%) 1 file

scope details...
  • 109 files, 18,947 LOC (31.7% vs. main code).
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
internal320 commits (30%)
ROOT138 commits (13%)
packages69 commits (6%)
option40 commits (3%)
azure26 commits (2%)
auth17 commits (1%)
bedrock5 commits (<1%)
responses5 commits (<1%)
scripts5 commits (<1%)
.github5 commits (<1%)
webhooks2 commits (<1%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2026 2025 2024
internal
118
151
51
ROOT
115
19
4
packages
22
46
1
option
21
18
1
azure
13
9
4
auth
17
bedrock
5
responses
5
scripts
5
.github
5
webhooks
2


Dependencies between components in same commits (past 180 days)
The number on the lines shows the number of shared commits.
See detailed temporal dependencies report...

flowchart TB
    n0["option"]
    n1["internal"]
    n2["ROOT"]
    n3["auth"]
    n4["azure"]
    n5["packages"]
    n6["scripts"]
    n7["bedrock"]
    n8["responses"]
    n9[".github"]
    n0 ---|"17"| n1
    n1 ---|"16"| n1
    n1 ---|"15"| n2
    n0 ---|"9"| n3
    n1 ---|"9"| n3
    n2 ---|"9"| n2
    n4 ---|"8"| n1
    n2 ---|"8"| n5
    n0 ---|"7"| n2
    n3 ---|"7"| n3
    n5 ---|"7"| n1
    n0 ---|"6"| n0
    n6 ---|"5"| n6
    n3 ---|"5"| n2
    n7 ---|"4"| n1
    n7 ---|"4"| n0
    n4 ---|"3"| n2
    n4 ---|"3"| n0
    n5 ---|"3"| n5
    n0 ---|"3"| n5
    n6 ---|"2"| n2
    n7 ---|"2"| n4
    n7 ---|"2"| n7
    n8 ---|"2"| n2
    n7 ---|"2"| n2
    n4 ---|"1"| n3
    n8 ---|"1"| n8
    n5 ---|"1"| n4
    n3 ---|"1"| n5
    n8 ---|"1"| n1
    n8 ---|"1"| n0
    n8 ---|"1"| n5
    n8 ---|"1"| n3
    n6 ---|"1"| n9
    n7 ---|"1"| n5
    classDef default fill:#00b2ee,stroke:#ffffff,color:#000000;
    classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
    linkStyle 0 stroke:#00688bFF,stroke-width:10px
    linkStyle 1 stroke:#a0a0a0ED,stroke-width:9px
    linkStyle 2 stroke:#00688bDB,stroke-width:8px
    linkStyle 3 stroke:#00688bA5,stroke-width:5px
    linkStyle 4 stroke:#00688bA5,stroke-width:5px
    linkStyle 5 stroke:#a0a0a0A5,stroke-width:5px
    linkStyle 6 stroke:#00688b93,stroke-width:4px
    linkStyle 7 stroke:#00688b93,stroke-width:4px
    linkStyle 8 stroke:#00688b93,stroke-width:4px
    linkStyle 9 stroke:#a0a0a093,stroke-width:4px
    linkStyle 10 stroke:#00688b93,stroke-width:4px
    linkStyle 11 stroke:#a0a0a082,stroke-width:3px
    linkStyle 12 stroke:#a0a0a070,stroke-width:2px
    linkStyle 13 stroke:#00688b70,stroke-width:2px
    linkStyle 14 stroke:#00688b70,stroke-width:2px
    linkStyle 15 stroke:#00688b70,stroke-width:2px
    linkStyle 16 stroke:#00688b5E,stroke-width:1px
    linkStyle 17 stroke:#00688b5E,stroke-width:1px
    linkStyle 18 stroke:#a0a0a05E,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:#a0a0a05E,stroke-width:1px
    linkStyle 23 stroke:#00688b5E,stroke-width:1px
    linkStyle 24 stroke:#00688b5E,stroke-width:1px
    linkStyle 25 stroke:#00688b4C,stroke-width:1px
    linkStyle 26 stroke:#a0a0a04C,stroke-width:1px
    linkStyle 27 stroke:#00688b4C,stroke-width:1px
    linkStyle 28 stroke:#00688b4C,stroke-width:1px
    linkStyle 29 stroke:#00688b4C,stroke-width:1px
    linkStyle 30 stroke:#00688b4C,stroke-width:1px
    linkStyle 31 stroke:#00688b4C,stroke-width:1px
    linkStyle 32 stroke:#00688b4C,stroke-width:1px
    linkStyle 33 stroke:#00688b4C,stroke-width:1px
    linkStyle 34 stroke:#00688b4C,stroke-width:1px

About This Analysis

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.


2026-10-07 13:04