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

graphql-dgs4317 LOC (27%) 105 files
graphql-dgs-spring-graphql1840 LOC (11%) 26 files
graphql-dgs-client1725 LOC (10%) 34 files
graphql-dgs-spring-boot-micrometer1307 LOC (8%) 22 files
graphql-dgs-example-shared781 LOC (4%) 29 files
graphql-error-types510 LOC (3%) 10 files
graphql-dgs-spring-graphql-example-java282 LOC (1%) 14 files
graphql-dgs-extended-scalars247 LOC (1%) 3 files
scripts227 LOC (1%) 3 files
graphql-dgs-spring-graphql-example-java-webflux189 LOC (1%) 10 files
graphql-dgs-reactive187 LOC (1%) 6 files
graphql-dgs-subscription-types180 LOC (1%) 6 files
graphql-dgs-pagination136 LOC (<1%) 5 files
ROOT134 LOC (<1%) 2 files
graphql-dgs-platform86 LOC (<1%) 1 file
graphql-dgs-jackson271 LOC (<1%) 3 files
graphql-dgs-extended-validation54 LOC (<1%) 3 files
graphql-dgs-example-jackson2-only47 LOC (<1%) 3 files
graphql-dgs-platform-dependencies34 LOC (<1%) 1 file
graphql-dgs-example-jackson-both30 LOC (<1%) 3 files
graphql-dgs-example-jackson3-only29 LOC (<1%) 3 files
graphql-dgs-json-api17 LOC (<1%) 2 files
buildSrc9 LOC (<1%) 2 files
dgs-starter8 LOC (<1%) 1 file
graphql-dgs-spring-graphql-test7 LOC (<1%) 1 file
dgs-starter-test4 LOC (<1%) 1 file
.github4 LOC (<1%) 3 files
graphql-dgs-spring-graphql-starter-test3 LOC (<1%) 1 file
graphql-dgs-spring-graphql-starter3 LOC (<1%) 1 file

scope details...
  • 304 files, 12,468 LOC (78.4% 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-dgs565 commits (28%)
ROOT298 commits (14%)
graphql-dgs-client189 commits (9%)
graphql-dgs-spring-graphql173 commits (8%)
graphql-dgs-platform159 commits (7%)
graphql-dgs-spring-boot-micrometer158 commits (7%)
buildSrc72 commits (3%)
graphql-dgs-spring-graphql-example-java51 commits (2%)
graphql-dgs-example-shared49 commits (2%)
graphql-dgs-reactive47 commits (2%)
graphql-dgs-extended-scalars46 commits (2%)
graphql-error-types44 commits (2%)
graphql-dgs-subscription-types38 commits (1%)
graphql-dgs-pagination34 commits (1%)
scripts31 commits (1%)
graphql-dgs-spring-graphql-example-java-webflux20 commits (<1%)
graphql-dgs-spring-graphql-starter19 commits (<1%)
graphql-dgs-extended-validation16 commits (<1%)
graphql-dgs-platform-dependencies9 commits (<1%)
graphql-dgs-spring-graphql-starter-test9 commits (<1%)
graphql-dgs-spring-graphql-test9 commits (<1%)
dgs-starter8 commits (<1%)
.github7 commits (<1%)
graphql-dgs-jackson26 commits (<1%)
dgs-starter-test5 commits (<1%)
graphql-dgs-example-jackson2-only3 commits (<1%)
graphql-dgs-json-api3 commits (<1%)
graphql-dgs-example-jackson-both3 commits (<1%)
graphql-dgs-example-jackson3-only3 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-spring-graphql
29
68
71
5
ROOT
28
45
52
27
46
82
18
graphql-dgs
18
47
77
68
130
218
7
graphql-dgs-client
13
26
29
18
12
86
5
graphql-dgs-platform
22
14
25
16
41
41
graphql-dgs-spring-boot-micrometer
4
30
22
19
32
51
graphql-dgs-extended-scalars
6
13
4
2
13
8
graphql-dgs-spring-graphql-example-java
1
17
29
4
scripts
3
14
1
3
10
graphql-dgs-reactive
4
12
5
1
18
7
graphql-error-types
1
11
5
2
2
22
1
graphql-dgs-pagination
1
10
5
3
8
7
buildSrc
1
9
13
3
4
38
4
graphql-dgs-spring-graphql-example-java-webflux
1
7
10
2
graphql-dgs-example-shared
8
9
14
5
13
graphql-dgs-subscription-types
7
1
5
7
18
dgs-starter
4
2
2
graphql-dgs-extended-validation
3
3
4
1
1
4
graphql-dgs-spring-graphql-test
1
5
3
graphql-dgs-jackson2
6
graphql-dgs-example-jackson2-only
3
graphql-dgs-platform-dependencies
3
6
dgs-starter-test
1
2
2
graphql-dgs-json-api
3
graphql-dgs-spring-graphql-starter-test
1
2
6
graphql-dgs-example-jackson-both
3
graphql-dgs-spring-graphql-starter
1
2
13
3
graphql-dgs-example-jackson3-only
3
.github
2
5


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-client"]
    n1["graphql-dgs-spring-graphql"]
    n2["graphql-dgs-jackson2"]
    n3["ROOT"]
    n4["graphql-dgs-platform"]
    n5["graphql-dgs"]
    n6["graphql-dgs-extended-scalars"]
    n7["dgs-starter"]
    n8["graphql-dgs-example-jackson-both"]
    n9["graphql-dgs-example-jackson2-only"]
    n10["graphql-dgs-example-jackson3-only"]
    n11["graphql-dgs-json-api"]
    n12["graphql-dgs-reactive"]
    n0 ---|"7"| n0
    n1 ---|"7"| n1
    n1 ---|"6"| n2
    n1 ---|"6"| n0
    n2 ---|"5"| n0
    n1 ---|"5"| n3
    n4 ---|"4"| n3
    n2 ---|"4"| n2
    n1 ---|"4"| n4
    n5 ---|"4"| n0
    n5 ---|"4"| n2
    n5 ---|"4"| n1
    n5 ---|"4"| n5
    n3 ---|"4"| n0
    n3 ---|"4"| n2
    n3 ---|"4"| n5
    n4 ---|"3"| n6
    n7 ---|"3"| n3
    n7 ---|"3"| n4
    n0 ---|"3"| n4
    n0 ---|"3"| n7
    n8 ---|"3"| n3
    n8 ---|"3"| n4
    n8 ---|"3"| n7
    n8 ---|"3"| n0
    n8 ---|"3"| n8
    n9 ---|"3"| n3
    n9 ---|"3"| n4
    n9 ---|"3"| n7
    n9 ---|"3"| n0
    n9 ---|"3"| n8
    n9 ---|"3"| n9
    n10 ---|"3"| n3
    n10 ---|"3"| n4
    n10 ---|"3"| n7
    n10 ---|"3"| n0
    n10 ---|"3"| n8
    n10 ---|"3"| n9
    n10 ---|"3"| n10
    n2 ---|"3"| n4
    n2 ---|"3"| n7
    n2 ---|"3"| n8
    n2 ---|"3"| n9
    n2 ---|"3"| n10
    n11 ---|"3"| n0
    n11 ---|"3"| n2
    n11 ---|"3"| n11
    n12 ---|"3"| n3
    n12 ---|"3"| n4
    n12 ---|"3"| n7
    classDef default fill:#00b2ee,stroke:#ffffff,color:#000000;
    classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
    linkStyle 0 stroke:#a0a0a0C9,stroke-width:7px
    linkStyle 1 stroke:#a0a0a0C9,stroke-width:7px
    linkStyle 2 stroke:#00688bB7,stroke-width:6px
    linkStyle 3 stroke:#00688bB7,stroke-width:6px
    linkStyle 4 stroke:#00688bA5,stroke-width:5px
    linkStyle 5 stroke:#00688bA5,stroke-width:5px
    linkStyle 6 stroke:#00688b93,stroke-width:4px
    linkStyle 7 stroke:#a0a0a093,stroke-width:4px
    linkStyle 8 stroke:#00688b93,stroke-width:4px
    linkStyle 9 stroke:#00688b93,stroke-width:4px
    linkStyle 10 stroke:#00688b93,stroke-width:4px
    linkStyle 11 stroke:#00688b93,stroke-width:4px
    linkStyle 12 stroke:#a0a0a093,stroke-width:4px
    linkStyle 13 stroke:#00688b93,stroke-width:4px
    linkStyle 14 stroke:#00688b93,stroke-width:4px
    linkStyle 15 stroke:#00688b93,stroke-width:4px
    linkStyle 16 stroke:#00688b82,stroke-width:3px
    linkStyle 17 stroke:#00688b82,stroke-width:3px
    linkStyle 18 stroke:#00688b82,stroke-width:3px
    linkStyle 19 stroke:#00688b82,stroke-width:3px
    linkStyle 20 stroke:#00688b82,stroke-width:3px
    linkStyle 21 stroke:#00688b82,stroke-width:3px
    linkStyle 22 stroke:#00688b82,stroke-width:3px
    linkStyle 23 stroke:#00688b82,stroke-width:3px
    linkStyle 24 stroke:#00688b82,stroke-width:3px
    linkStyle 25 stroke:#a0a0a082,stroke-width:3px
    linkStyle 26 stroke:#00688b82,stroke-width:3px
    linkStyle 27 stroke:#00688b82,stroke-width:3px
    linkStyle 28 stroke:#00688b82,stroke-width:3px
    linkStyle 29 stroke:#00688b82,stroke-width:3px
    linkStyle 30 stroke:#00688b82,stroke-width:3px
    linkStyle 31 stroke:#a0a0a082,stroke-width:3px
    linkStyle 32 stroke:#00688b82,stroke-width:3px
    linkStyle 33 stroke:#00688b82,stroke-width:3px
    linkStyle 34 stroke:#00688b82,stroke-width:3px
    linkStyle 35 stroke:#00688b82,stroke-width:3px
    linkStyle 36 stroke:#00688b82,stroke-width:3px
    linkStyle 37 stroke:#00688b82,stroke-width:3px
    linkStyle 38 stroke:#a0a0a082,stroke-width:3px
    linkStyle 39 stroke:#00688b82,stroke-width:3px
    linkStyle 40 stroke:#00688b82,stroke-width:3px
    linkStyle 41 stroke:#00688b82,stroke-width:3px
    linkStyle 42 stroke:#00688b82,stroke-width:3px
    linkStyle 43 stroke:#00688b82,stroke-width:3px
    linkStyle 44 stroke:#00688b82,stroke-width:3px
    linkStyle 45 stroke:#00688b82,stroke-width:3px
    linkStyle 46 stroke:#a0a0a082,stroke-width:3px
    linkStyle 47 stroke:#00688b82,stroke-width:3px
    linkStyle 48 stroke:#00688b82,stroke-width:3px
    linkStyle 49 stroke:#00688b82,stroke-width:3px

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