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

scripts3711 LOC (40%) 51 files
packages2830 LOC (31%) 32 files
engine1609 LOC (17%) 17 files
benchmarks938 LOC (10%) 13 files
ROOT3 LOC (<1%) 1 file

scope details...
  • 114 files, 9,091 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.
scripts94 commits (49%)
packages55 commits (29%)
engine44 commits (23%)
benchmarks9 commits (4%)
ROOT2 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
scripts
94
packages
55
engine
44
benchmarks
9
ROOT
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["scripts"]
    n1["engine"]
    n2["packages"]
    n3["benchmarks"]
    n4["ROOT"]
    n0 ---|"56"| n0
    n0 ---|"36"| n1
    n0 ---|"34"| n2
    n2 ---|"27"| n2
    n1 ---|"23"| n1
    n1 ---|"15"| n2
    n3 ---|"7"| n3
    n3 ---|"7"| n0
    n3 ---|"4"| n2
    n3 ---|"3"| n1
    n4 ---|"2"| n0
    n4 ---|"2"| n1
    n4 ---|"1"| n2
    n3 ---|"1"| n4
    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:#00688bB7,stroke-width:6px
    linkStyle 2 stroke:#00688bB7,stroke-width:6px
    linkStyle 3 stroke:#a0a0a093,stroke-width:4px
    linkStyle 4 stroke:#a0a0a093,stroke-width:4px
    linkStyle 5 stroke:#00688b70,stroke-width:2px
    linkStyle 6 stroke:#a0a0a05E,stroke-width:1px
    linkStyle 7 stroke:#00688b5E,stroke-width:1px
    linkStyle 8 stroke:#00688b4C,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:#00688b4C,stroke-width:1px
    linkStyle 13 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-06 14:29