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

app779 LOC (10%) 5 files
components625 LOC (8%) 10 files
hooks301 LOC (3%) 2 files
lib240 LOC (3%) 9 files
services138 LOC (1%) 1 file
ROOT98 LOC (1%) 4 files
types25 LOC (<1%) 1 file

scope details...
  • 32 files, 2,206 LOC (29.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.
app1 commits (100%)
types1 commits (100%)
components1 commits (100%)
ROOT1 commits (100%)
lib1 commits (100%)
services1 commits (100%)
hooks1 commits (100%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2026
app
1
components
1
types
1
lib
1
ROOT
1
services
1
hooks
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"]
    n1["components"]
    n2["hooks"]
    n3["lib"]
    n4["ROOT"]
    n5["services"]
    n6["types"]
    n0 ---|"1"| n0
    n1 ---|"1"| n0
    n1 ---|"1"| n1
    n2 ---|"1"| n0
    n2 ---|"1"| n1
    n2 ---|"1"| n2
    n3 ---|"1"| n0
    n3 ---|"1"| n1
    n3 ---|"1"| n2
    n3 ---|"1"| n3
    n4 ---|"1"| n0
    n4 ---|"1"| n1
    n4 ---|"1"| n2
    n4 ---|"1"| n3
    n5 ---|"1"| n0
    n5 ---|"1"| n1
    n5 ---|"1"| n2
    n5 ---|"1"| n3
    n5 ---|"1"| n4
    n6 ---|"1"| n0
    n6 ---|"1"| n1
    n6 ---|"1"| n2
    n6 ---|"1"| n3
    n6 ---|"1"| n4
    n6 ---|"1"| n5
    classDef default fill:#00b2ee,stroke:#ffffff,color:#000000;
    classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
    linkStyle 0 stroke:#a0a0a05E,stroke-width:1px
    linkStyle 1 stroke:#00688b5E,stroke-width:1px
    linkStyle 2 stroke:#a0a0a05E,stroke-width:1px
    linkStyle 3 stroke:#00688b5E,stroke-width:1px
    linkStyle 4 stroke:#00688b5E,stroke-width:1px
    linkStyle 5 stroke:#a0a0a05E,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:#a0a0a05E,stroke-width:1px
    linkStyle 10 stroke:#00688b5E,stroke-width:1px
    linkStyle 11 stroke:#00688b5E,stroke-width:1px
    linkStyle 12 stroke:#00688b5E,stroke-width:1px
    linkStyle 13 stroke:#00688b5E,stroke-width:1px
    linkStyle 14 stroke:#00688b5E,stroke-width:1px
    linkStyle 15 stroke:#00688b5E,stroke-width:1px
    linkStyle 16 stroke:#00688b5E,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

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:11