openai / openai-java
Static Component Dependencies

An overview of static code dependencies among source code logical components.

Intro

Static code dependencies refer to the relationships between different modules, libraries, or components in a software system that are established at compile-time rather than at runtime. These dependencies are determined by the code itself, meaning that one module directly references another through imports, includes, or explicit references in the code. Examples include:

  • Library and Module Imports
  • Class Dependencies (Inheritance & Composition)
  • Function and Method Calls
  • Dependency Injection Without Runtime Resolution
Learn more...
  • To learn more about good practices on componentization and dependencies, Sokrates recommends the following resources:
Logical Decompositions Overview

Analyzed system has 1 logical decomposition:

  • primary (8 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 8 components.
  • 131 files, 7,573 LOC (1.3% vs. main code).
  • "openai-java-core" is biggest, containing 64.56% of LOC.
  • "openai-java-spring-boot-starter" is smallest, containing 0.18% of LOC.


openai-java-core4889 LOC (<1%) 66 files
openai-java-example2022 LOC (<1%) 54 files
openai-java-client-okhttp293 LOC (<1%) 2 files
buildSrc212 LOC (<1%) 4 files
openai-java-proguard-test81 LOC (<1%) 1 file
ROOT41 LOC (<1%) 2 files
openai-java21 LOC (<1%) 1 file
openai-java-spring-boot-starter14 LOC (<1%) 1 file
Static Dependencies
Dependencies among components are static code dependencies among files in different components.
  • Analyzed system has 1 links (arrows) between components.
  • The number on the arrow represents the number of files from referring component that depend on files in referred component.
  • These 1 links contain 1 dependencies.
flowchart TB
    n0["ROOT"]
    n1["openai-java-proguard-test"]
    n2["openai-java-example"]
    n3["buildSrc"]
    n4["openai-java"]
    n5["openai-java-core"]
    n6["openai-java-spring-boot-starter"]
    n7["openai-java-client-okhttp"]
    n7 -->|"1"| n5
    classDef default fill:#808080,stroke:#ffffff,color:#000000;
    classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
    class n0,n1,n2,n3,n4,n5,n6,n7 highlighted;
    linkStyle 0 stroke:#00688b5E,stroke-width:1px



Download: Mermaid (.mmd) (open online Mermaid editor)

Open 2D force graph...
Open 3D force graph...

Show more details about dependencies...
From Component
 --> To Component
From Component
(files with dependencies)
Details
openai-java-client-okhttp
  --> openai-java-core
1 file, 282 LOC (96%)
1 source file







2026-06-24 10:37