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

app-macos44820 LOC (68%) 351 files
tools16687 LOC (25%) 143 files
tool-sdk1830 LOC (2%) 27 files
tool-reader600 LOC (<1%) 6 files
release487 LOC (<1%) 1 file
device-helper484 LOC (<1%) 4 files
build-logic338 LOC (<1%) 8 files
ROOT149 LOC (<1%) 4 files
gradle63 LOC (<1%) 1 file
.codex28 LOC (<1%) 1 file
skills8 LOC (<1%) 2 files
contracts3 LOC (<1%) 1 file

scope details...
  • 549 files, 65,497 LOC (100.0% 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.
app-macos71 commits (15%)
release16 commits (3%)
tool-sdk16 commits (3%)
tools14 commits (3%)
ROOT12 commits (2%)
.codex5 commits (1%)
tool-reader5 commits (1%)
skills4 commits (<1%)
device-helper3 commits (<1%)
gradle2 commits (<1%)
build-logic2 commits (<1%)
contracts1 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
app-macos
71
release
16
tool-sdk
16
tools
14
ROOT
10
2
.codex
5
tool-reader
5
skills
4
device-helper
3
gradle
2
build-logic
2
contracts
1


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["app-macos"]
    n1["tool-sdk"]
    n2["release"]
    n3["tools"]
    n4["ROOT"]
    n5["tool-reader"]
    n6["device-helper"]
    n7["build-logic"]
    n8["gradle"]
    n9[".codex"]
    n10["skills"]
    n0 ---|"47"| n0
    n1 ---|"11"| n2
    n3 ---|"11"| n3
    n3 ---|"10"| n1
    n1 ---|"8"| n1
    n3 ---|"7"| n2
    n4 ---|"5"| n2
    n1 ---|"5"| n0
    n3 ---|"5"| n0
    n0 ---|"4"| n2
    n5 ---|"4"| n0
    n5 ---|"3"| n2
    n5 ---|"3"| n5
    n1 ---|"3"| n5
    n3 ---|"3"| n5
    n6 ---|"3"| n0
    n4 ---|"3"| n1
    n4 ---|"3"| n3
    n6 ---|"3"| n6
    n7 ---|"2"| n2
    n8 ---|"2"| n2
    n4 ---|"2"| n4
    n4 ---|"2"| n8
    n4 ---|"1"| n0
    n7 ---|"1"| n0
    n7 ---|"1"| n4
    n8 ---|"1"| n0
    n8 ---|"1"| n7
    n8 ---|"1"| n1
    n8 ---|"1"| n3
    n9 ---|"1"| n0
    n9 ---|"1"| n2
    n9 ---|"1"| n4
    n9 ---|"1"| n7
    n9 ---|"1"| n8
    n7 ---|"1"| n7
    n10 ---|"1"| n0
    n10 ---|"1"| n2
    n10 ---|"1"| n4
    n10 ---|"1"| n7
    n10 ---|"1"| n8
    n10 ---|"1"| n9
    classDef default fill:#00b2ee,stroke:#ffffff,color:#000000;
    classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
    linkStyle 0 stroke:#a0a0a0FF,stroke-width:10px
    linkStyle 1 stroke:#00688b70,stroke-width:2px
    linkStyle 2 stroke:#a0a0a070,stroke-width:2px
    linkStyle 3 stroke:#00688b70,stroke-width:2px
    linkStyle 4 stroke:#a0a0a05E,stroke-width:1px
    linkStyle 5 stroke:#00688b5E,stroke-width:1px
    linkStyle 6 stroke:#00688b5E,stroke-width:1px
    linkStyle 7 stroke:#00688b5E,stroke-width:1px
    linkStyle 8 stroke:#00688b5E,stroke-width:1px
    linkStyle 9 stroke:#00688b4C,stroke-width:1px
    linkStyle 10 stroke:#00688b4C,stroke-width:1px
    linkStyle 11 stroke:#00688b4C,stroke-width:1px
    linkStyle 12 stroke:#a0a0a04C,stroke-width:1px
    linkStyle 13 stroke:#00688b4C,stroke-width:1px
    linkStyle 14 stroke:#00688b4C,stroke-width:1px
    linkStyle 15 stroke:#00688b4C,stroke-width:1px
    linkStyle 16 stroke:#00688b4C,stroke-width:1px
    linkStyle 17 stroke:#00688b4C,stroke-width:1px
    linkStyle 18 stroke:#a0a0a04C,stroke-width:1px
    linkStyle 19 stroke:#00688b4C,stroke-width:1px
    linkStyle 20 stroke:#00688b4C,stroke-width:1px
    linkStyle 21 stroke:#a0a0a04C,stroke-width:1px
    linkStyle 22 stroke:#00688b4C,stroke-width:1px
    linkStyle 23 stroke:#00688b4C,stroke-width:1px
    linkStyle 24 stroke:#00688b4C,stroke-width:1px
    linkStyle 25 stroke:#00688b4C,stroke-width:1px
    linkStyle 26 stroke:#00688b4C,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
    linkStyle 35 stroke:#a0a0a04C,stroke-width:1px
    linkStyle 36 stroke:#00688b4C,stroke-width:1px
    linkStyle 37 stroke:#00688b4C,stroke-width:1px
    linkStyle 38 stroke:#00688b4C,stroke-width:1px
    linkStyle 39 stroke:#00688b4C,stroke-width:1px
    linkStyle 40 stroke:#00688b4C,stroke-width:1px
    linkStyle 41 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:08