openai / openai-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 (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
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
openai-java-core48 commits (22%)
openai-java-example27 commits (12%)
ROOT23 commits (10%)
openai-java-client-okhttp9 commits (4%)
buildSrc7 commits (3%)
openai-java2 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
openai-java-core
10
18
20
openai-java-example
21
6
ROOT
2
16
4
1
openai-java-client-okhttp
1
3
5
buildSrc
3
3
1
openai-java
1
1


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["openai-java-core"]
    n1["ROOT"]
    n0 ---|"4"| n0
    n0 ---|"1"| n1
    classDef default fill:#00b2ee,stroke:#ffffff,color:#000000;
    classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
    linkStyle 0 stroke:#a0a0a093,stroke-width:4px
    linkStyle 1 stroke:#00688b5E,stroke-width:1px



2026-06-24 10:37