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.

OpenAI19819 LOC (8%) 696 files
OpenAI.Responses3843 LOC (1%) 229 files
codegen1975 LOC (<1%) 24 files
scripts1502 LOC (<1%) 7 files
api569 LOC (<1%) 1 file
.github184 LOC (<1%) 5 files
specification15 LOC (<1%) 1 file

scope details...
  • 963 files, 27,907 LOC (11.4% 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.
scripts52 commits (8%)
codegen48 commits (8%)
OpenAI36 commits (6%)
OpenAI.Responses26 commits (4%)
.github6 commits (1%)
specification1 commits (<1%)
api1 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
scripts
24
28
codegen
27
21
OpenAI
36
OpenAI.Responses
26
.github
4
1
1
specification
1
api
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"]
    n1["OpenAI.Responses"]
    n2["codegen"]
    n3["scripts"]
    n4["api"]
    n0 ---|"16"| n0
    n1 ---|"11"| n1
    n0 ---|"10"| n1
    n1 ---|"8"| n2
    n2 ---|"8"| n0
    n2 ---|"7"| n2
    n3 ---|"5"| n3
    n3 ---|"4"| n0
    n3 ---|"3"| n2
    n1 ---|"3"| n3
    n4 ---|"1"| n2
    n4 ---|"1"| n3
    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:#a0a0a0B7,stroke-width:6px
    linkStyle 2 stroke:#00688bB7,stroke-width:6px
    linkStyle 3 stroke:#00688bA5,stroke-width:5px
    linkStyle 4 stroke:#00688bA5,stroke-width:5px
    linkStyle 5 stroke:#a0a0a093,stroke-width:4px
    linkStyle 6 stroke:#a0a0a082,stroke-width:3px
    linkStyle 7 stroke:#00688b70,stroke-width:2px
    linkStyle 8 stroke:#00688b5E,stroke-width:1px
    linkStyle 9 stroke:#00688b5E,stroke-width:1px
    linkStyle 10 stroke:#00688b4C,stroke-width:1px
    linkStyle 11 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-07 12:07