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

anthropic-java-core483262 LOC (98%) 2,317 files
anthropic-java-example2704 LOC (<1%) 53 files
anthropic-java-detekt-rules1064 LOC (<1%) 23 files
anthropic-java-client-okhttp889 LOC (<1%) 5 files
anthropic-java-bedrock622 LOC (<1%) 4 files
buildSrc617 LOC (<1%) 11 files
anthropic-java-mcp392 LOC (<1%) 3 files
config361 LOC (<1%) 8 files
anthropic-java-ecosystem-test321 LOC (<1%) 3 files
anthropic-java-aws311 LOC (<1%) 4 files
anthropic-java-google-cloud204 LOC (<1%) 3 files
anthropic-java-vertex164 LOC (<1%) 3 files
anthropic-java-foundry133 LOC (<1%) 3 files
gradle98 LOC (<1%) 1 file
anthropic-java53 LOC (<1%) 2 files
ROOT36 LOC (<1%) 3 files

scope details...
  • 2,446 files, 491,231 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.
anthropic-java-core443 commits (45%)
ROOT366 commits (37%)
anthropic-java-example65 commits (6%)
anthropic-java-client-okhttp64 commits (6%)
buildSrc59 commits (6%)
anthropic-java-bedrock19 commits (1%)
anthropic-java-ecosystem-test12 commits (1%)
gradle11 commits (1%)
anthropic-java-mcp11 commits (1%)
anthropic-java-vertex10 commits (1%)
anthropic-java9 commits (<1%)
anthropic-java-aws7 commits (<1%)
anthropic-java-foundry6 commits (<1%)
config4 commits (<1%)
anthropic-java-detekt-rules4 commits (<1%)
anthropic-java-google-cloud3 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
anthropic-java-core
272
164
7
ROOT
226
127
13
anthropic-java-example
32
30
3
anthropic-java-client-okhttp
26
36
2
buildSrc
43
14
2
anthropic-java-bedrock
13
6
anthropic-java-ecosystem-test
12
gradle
11
anthropic-java-mcp
11
anthropic-java-vertex
7
3
anthropic-java
6
2
1
anthropic-java-aws
7
anthropic-java-foundry
6
anthropic-java-detekt-rules
4
config
4
anthropic-java-google-cloud
3


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["anthropic-java-core"]
    n1["ROOT"]
    n2["anthropic-java-example"]
    n3["anthropic-java-client-okhttp"]
    n4["buildSrc"]
    n5["gradle"]
    n6["anthropic-java-mcp"]
    n7["anthropic-java-ecosystem-test"]
    n8["anthropic-java-bedrock"]
    n9["anthropic-java"]
    n10["anthropic-java-aws"]
    n11["config"]
    n12["anthropic-java-detekt-rules"]
    n13["anthropic-java-foundry"]
    n14["anthropic-java-vertex"]
    n0 ---|"149"| n0
    n0 ---|"69"| n1
    n2 ---|"15"| n0
    n0 ---|"13"| n3
    n4 ---|"13"| n4
    n4 ---|"12"| n0
    n4 ---|"11"| n1
    n2 ---|"11"| n2
    n4 ---|"10"| n5
    n1 ---|"9"| n1
    n2 ---|"9"| n1
    n3 ---|"8"| n3
    n6 ---|"8"| n0
    n6 ---|"6"| n1
    n7 ---|"6"| n4
    n5 ---|"6"| n0
    n5 ---|"5"| n1
    n2 ---|"5"| n6
    n5 ---|"4"| n7
    n6 ---|"4"| n4
    n7 ---|"4"| n0
    n3 ---|"4"| n8
    n9 ---|"4"| n4
    n8 ---|"4"| n10
    n7 ---|"3"| n7
    n9 ---|"3"| n1
    n11 ---|"3"| n12
    n12 ---|"3"| n4
    n11 ---|"3"| n4
    n8 ---|"3"| n0
    n3 ---|"3"| n2
    n3 ---|"3"| n4
    n12 ---|"3"| n0
    n13 ---|"3"| n10
    n13 ---|"3"| n8
    n14 ---|"3"| n10
    n14 ---|"3"| n8
    n14 ---|"3"| n13
    n11 ---|"3"| n0
    n14 ---|"3"| n0
    n6 ---|"2"| n6
    n6 ---|"2"| n5
    n8 ---|"2"| n1
    n8 ---|"2"| n2
    n3 ---|"2"| n7
    n3 ---|"2"| n1
    n9 ---|"2"| n7
    n5 ---|"2"| n3
    n5 ---|"2"| n9
    n14 ---|"2"| n1
    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:#00688b93,stroke-width:4px
    linkStyle 2 stroke:#00688b5E,stroke-width:1px
    linkStyle 3 stroke:#00688b4C,stroke-width:1px
    linkStyle 4 stroke:#a0a0a04C,stroke-width:1px
    linkStyle 5 stroke:#00688b4C,stroke-width:1px
    linkStyle 6 stroke:#00688b4C,stroke-width:1px
    linkStyle 7 stroke:#a0a0a04C,stroke-width:1px
    linkStyle 8 stroke:#00688b4C,stroke-width:1px
    linkStyle 9 stroke:#a0a0a04C,stroke-width:1px
    linkStyle 10 stroke:#00688b4C,stroke-width:1px
    linkStyle 11 stroke:#a0a0a04C,stroke-width:1px
    linkStyle 12 stroke:#00688b4C,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:#00688b4C,stroke-width:1px
    linkStyle 19 stroke:#00688b4C,stroke-width:1px
    linkStyle 20 stroke:#00688b4C,stroke-width:1px
    linkStyle 21 stroke:#00688b4C,stroke-width:1px
    linkStyle 22 stroke:#00688b4C,stroke-width:1px
    linkStyle 23 stroke:#00688b4C,stroke-width:1px
    linkStyle 24 stroke:#a0a0a04C,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:#00688b4C,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:#a0a0a04C,stroke-width:1px
    linkStyle 41 stroke:#00688b4C,stroke-width:1px
    linkStyle 42 stroke:#00688b4C,stroke-width:1px
    linkStyle 43 stroke:#00688b4C,stroke-width:1px
    linkStyle 44 stroke:#00688b4C,stroke-width:1px
    linkStyle 45 stroke:#00688b4C,stroke-width:1px
    linkStyle 46 stroke:#00688b4C,stroke-width:1px
    linkStyle 47 stroke:#00688b4C,stroke-width:1px
    linkStyle 48 stroke:#00688b4C,stroke-width:1px
    linkStyle 49 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 22:57