anthropics / anthropic-sdk-java
Components

An overview of source code logical components.

Intro

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.
Logical Decompositions Overview

Analyzed system has 1 logical decomposition:

  • primary (13 components)

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 13 components.
  • 157 files, 12,454 LOC (3.8% vs. main code).
  • "anthropic-java-core" is biggest, containing 61.09% of LOC.
  • "ROOT" is smallest, containing 0.21% of LOC.


anthropic-java-core7608 LOC (2%) 83 files
anthropic-java-example2422 LOC (<1%) 48 files
anthropic-java-bedrock496 LOC (<1%) 3 files
anthropic-java-mcp391 LOC (<1%) 3 files
anthropic-java-client-okhttp347 LOC (<1%) 2 files
anthropic-java-aws298 LOC (<1%) 3 files
buildSrc280 LOC (<1%) 6 files
anthropic-java-ecosystem-test177 LOC (<1%) 1 file
anthropic-java-vertex153 LOC (<1%) 2 files
anthropic-java-foundry128 LOC (<1%) 2 files
gradle89 LOC (<1%) 1 file
anthropic-java39 LOC (<1%) 1 file
ROOT26 LOC (<1%) 2 files
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
anthropic-java-core52 commits (31%)
anthropic-java-example31 commits (18%)
buildSrc13 commits (7%)
ROOT10 commits (6%)
gradle6 commits (3%)
anthropic-java-client-okhttp6 commits (3%)
anthropic-java-bedrock5 commits (3%)
anthropic-java-ecosystem-test5 commits (3%)
anthropic-java-foundry4 commits (2%)
anthropic-java-mcp4 commits (2%)
anthropic-java-vertex4 commits (2%)
anthropic-java3 commits (1%)
anthropic-java-aws3 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
26
26
anthropic-java-example
6
23
2
buildSrc
12
1
ROOT
5
5
gradle
6
anthropic-java-client-okhttp
3
3
anthropic-java-bedrock
2
3
anthropic-java-ecosystem-test
5
anthropic-java-foundry
4
anthropic-java-mcp
4
anthropic-java-vertex
2
2
anthropic-java
3
anthropic-java-aws
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["buildSrc"]
    n2["gradle"]
    n3["ROOT"]
    n4["anthropic-java-example"]
    n5["anthropic-java-ecosystem-test"]
    n6["anthropic-java-mcp"]
    n7["anthropic-java"]
    n8["anthropic-java-client-okhttp"]
    n9["anthropic-java-foundry"]
    n10["anthropic-java-vertex"]
    n11["anthropic-java-aws"]
    n12["anthropic-java-bedrock"]
    n0 ---|"8"| n0
    n1 ---|"7"| n1
    n2 ---|"6"| n1
    n3 ---|"5"| n1
    n4 ---|"5"| n4
    n1 ---|"4"| n5
    n4 ---|"4"| n0
    n6 ---|"3"| n1
    n2 ---|"3"| n5
    n3 ---|"3"| n7
    n7 ---|"3"| n1
    n3 ---|"3"| n2
    n8 ---|"3"| n0
    n1 ---|"2"| n0
    n4 ---|"2"| n6
    n9 ---|"2"| n4
    n3 ---|"2"| n6
    n0 ---|"2"| n2
    n6 ---|"2"| n2
    n10 ---|"2"| n11
    n0 ---|"2"| n12
    n0 ---|"2"| n6
    n0 ---|"2"| n11
    n12 ---|"2"| n9
    n10 ---|"2"| n0
    n10 ---|"2"| n9
    n0 ---|"2"| n9
    n10 ---|"2"| n12
    n12 ---|"2"| n11
    n11 ---|"2"| n9
    n11 ---|"1"| n1
    n4 ---|"1"| n3
    n8 ---|"1"| n2
    n7 ---|"1"| n5
    n6 ---|"1"| n6
    n10 ---|"1"| n2
    n8 ---|"1"| n11
    n11 ---|"1"| n6
    n8 ---|"1"| n1
    n9 ---|"1"| n6
    n1 ---|"1"| n12
    n7 ---|"1"| n2
    n4 ---|"1"| n12
    n8 ---|"1"| n12
    n4 ---|"1"| n8
    n1 ---|"1"| n10
    n9 ---|"1"| n1
    n9 ---|"1"| n2
    n12 ---|"1"| n2
    n7 ---|"1"| n6
    classDef default fill:#00b2ee,stroke:#ffffff,color:#000000;
    classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
    linkStyle 0 stroke:#a0a0a0DB,stroke-width:8px
    linkStyle 1 stroke:#a0a0a0C9,stroke-width:7px
    linkStyle 2 stroke:#00688bB7,stroke-width:6px
    linkStyle 3 stroke:#00688bA5,stroke-width:5px
    linkStyle 4 stroke:#a0a0a0A5,stroke-width:5px
    linkStyle 5 stroke:#00688b93,stroke-width:4px
    linkStyle 6 stroke:#00688b93,stroke-width:4px
    linkStyle 7 stroke:#00688b82,stroke-width:3px
    linkStyle 8 stroke:#00688b82,stroke-width:3px
    linkStyle 9 stroke:#00688b82,stroke-width:3px
    linkStyle 10 stroke:#00688b82,stroke-width:3px
    linkStyle 11 stroke:#00688b82,stroke-width:3px
    linkStyle 12 stroke:#00688b82,stroke-width:3px
    linkStyle 13 stroke:#00688b70,stroke-width:2px
    linkStyle 14 stroke:#00688b70,stroke-width:2px
    linkStyle 15 stroke:#00688b70,stroke-width:2px
    linkStyle 16 stroke:#00688b70,stroke-width:2px
    linkStyle 17 stroke:#00688b70,stroke-width:2px
    linkStyle 18 stroke:#00688b70,stroke-width:2px
    linkStyle 19 stroke:#00688b70,stroke-width:2px
    linkStyle 20 stroke:#00688b70,stroke-width:2px
    linkStyle 21 stroke:#00688b70,stroke-width:2px
    linkStyle 22 stroke:#00688b70,stroke-width:2px
    linkStyle 23 stroke:#00688b70,stroke-width:2px
    linkStyle 24 stroke:#00688b70,stroke-width:2px
    linkStyle 25 stroke:#00688b70,stroke-width:2px
    linkStyle 26 stroke:#00688b70,stroke-width:2px
    linkStyle 27 stroke:#00688b70,stroke-width:2px
    linkStyle 28 stroke:#00688b70,stroke-width:2px
    linkStyle 29 stroke:#00688b70,stroke-width:2px
    linkStyle 30 stroke:#00688b5E,stroke-width:1px
    linkStyle 31 stroke:#00688b5E,stroke-width:1px
    linkStyle 32 stroke:#00688b5E,stroke-width:1px
    linkStyle 33 stroke:#00688b5E,stroke-width:1px
    linkStyle 34 stroke:#a0a0a05E,stroke-width:1px
    linkStyle 35 stroke:#00688b5E,stroke-width:1px
    linkStyle 36 stroke:#00688b5E,stroke-width:1px
    linkStyle 37 stroke:#00688b5E,stroke-width:1px
    linkStyle 38 stroke:#00688b5E,stroke-width:1px
    linkStyle 39 stroke:#00688b5E,stroke-width:1px
    linkStyle 40 stroke:#00688b5E,stroke-width:1px
    linkStyle 41 stroke:#00688b5E,stroke-width:1px
    linkStyle 42 stroke:#00688b5E,stroke-width:1px
    linkStyle 43 stroke:#00688b5E,stroke-width:1px
    linkStyle 44 stroke:#00688b5E,stroke-width:1px
    linkStyle 45 stroke:#00688b5E,stroke-width:1px
    linkStyle 46 stroke:#00688b5E,stroke-width:1px
    linkStyle 47 stroke:#00688b5E,stroke-width:1px
    linkStyle 48 stroke:#00688b5E,stroke-width:1px
    linkStyle 49 stroke:#00688b5E,stroke-width:1px



2026-06-24 10:44