openai / openai-dotnet
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 (7 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 7 components.
  • 932 files, 26,742 LOC (12.7% vs. main code).
  • "OpenAI" is biggest, containing 71.05% of LOC.
  • "specification" is smallest, containing 0.06% of LOC.


OpenAI18999 LOC (9%) 680 files
OpenAI.Responses3614 LOC (1%) 216 files
codegen2010 LOC (<1%) 24 files
scripts1443 LOC (<1%) 7 files
api569 LOC (<1%) 1 file
.github92 LOC (<1%) 3 files
specification15 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.
scripts46 commits (9%)
codegen35 commits (7%)
OpenAI13 commits (2%)
OpenAI.Responses12 commits (2%)
specification1 commits (<1%)
api1 commits (<1%)
.github1 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
scripts
18
28
codegen
15
20
OpenAI
13
OpenAI.Responses
12
specification
1
api
1
.github
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["scripts"]
    n1["OpenAI.Responses"]
    n2["codegen"]
    n3["OpenAI"]
    n4["api"]
    n0 ---|"6"| n0
    n1 ---|"5"| n1
    n2 ---|"5"| n1
    n3 ---|"5"| n1
    n3 ---|"4"| n3
    n0 ---|"4"| n3
    n0 ---|"4"| n2
    n2 ---|"4"| n3
    n2 ---|"4"| n2
    n0 ---|"3"| n1
    n4 ---|"1"| n0
    n4 ---|"1"| n2
    classDef default fill:#00b2ee,stroke:#ffffff,color:#000000;
    classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
    linkStyle 0 stroke:#a0a0a0B7,stroke-width:6px
    linkStyle 1 stroke:#a0a0a0A5,stroke-width:5px
    linkStyle 2 stroke:#00688bA5,stroke-width:5px
    linkStyle 3 stroke:#00688bA5,stroke-width:5px
    linkStyle 4 stroke:#a0a0a093,stroke-width:4px
    linkStyle 5 stroke:#00688b93,stroke-width:4px
    linkStyle 6 stroke:#00688b93,stroke-width:4px
    linkStyle 7 stroke:#00688b93,stroke-width:4px
    linkStyle 8 stroke:#a0a0a093,stroke-width:4px
    linkStyle 9 stroke:#00688b82,stroke-width:3px
    linkStyle 10 stroke:#00688b5E,stroke-width:1px
    linkStyle 11 stroke:#00688b5E,stroke-width:1px



2026-06-24 10:37