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

graphql-dgs-codegen-core19077 LOC (93%) 586 files
graphql-dgs-codegen-shared-core655 LOC (3%) 13 files
graphql-dgs-codegen-gradle453 LOC (2%) 5 files
scripts180 LOC (<1%) 4 files
.run31 LOC (<1%) 2 files
.github23 LOC (<1%) 2 files

scope details...
  • 612 files, 20,419 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.
graphql-dgs-codegen-core593 commits (49%)
graphql-dgs-codegen-gradle154 commits (12%)
graphql-dgs-codegen-shared-core66 commits (5%)
scripts12 commits (1%)
.github6 commits (<1%)
.run4 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 2023 2022 2021 2020
graphql-dgs-codegen-core
54
88
54
52
125
214
6
graphql-dgs-codegen-gradle
36
18
2
17
32
45
4
graphql-dgs-codegen-shared-core
1
16
10
20
19
scripts
2
1
5
2
2
.github
2
4
.run
4


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["graphql-dgs-codegen-gradle"]
    n1["graphql-dgs-codegen-core"]
    n2["scripts"]
    n3["graphql-dgs-codegen-shared-core"]
    n0 ---|"14"| n0
    n1 ---|"14"| n1
    n0 ---|"13"| n1
    n2 ---|"2"| n0
    n3 ---|"1"| n1
    n3 ---|"1"| n3
    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:#a0a0a0FF,stroke-width:10px
    linkStyle 2 stroke:#00688bED,stroke-width:9px
    linkStyle 3 stroke:#00688b5E,stroke-width:1px
    linkStyle 4 stroke:#00688b4C,stroke-width:1px
    linkStyle 5 stroke:#a0a0a04C,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 17:29