openai / tunnel-client
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.
  • 173 files, 36,710 LOC (100.0% vs. main code).
  • "pkg" is biggest, containing 66.55% of LOC.
  • ".codex" is smallest, containing 0.07% of LOC.


pkg24430 LOC (66%) 106 files
cmd5422 LOC (14%) 22 files
adminui3804 LOC (10%) 23 files
plugins1788 LOC (4%) 14 files
wrappers665 LOC (1%) 3 files
scripts481 LOC (1%) 2 files
testsupport93 LOC (<1%) 2 files
.codex27 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.
pkg146 commits (57%)
cmd41 commits (16%)
plugins13 commits (5%)
adminui10 commits (3%)
wrappers2 commits (<1%)
testsupport2 commits (<1%)
.codex1 commits (<1%)
scripts1 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
pkg
139
7
cmd
40
1
plugins
13
adminui
10
wrappers
2
testsupport
2
.codex
1
scripts
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["pkg"]
    n1["cmd"]
    n2["plugins"]
    n3["adminui"]
    n4["wrappers"]
    n5["testsupport"]
    n6["scripts"]
    n0 ---|"83"| n0
    n1 ---|"29"| n0
    n1 ---|"17"| n1
    n2 ---|"8"| n0
    n3 ---|"8"| n0
    n1 ---|"7"| n2
    n3 ---|"7"| n3
    n2 ---|"6"| n2
    n1 ---|"2"| n3
    n4 ---|"2"| n1
    n4 ---|"2"| n4
    n4 ---|"2"| n0
    n2 ---|"1"| n3
    n5 ---|"1"| n0
    n6 ---|"1"| n6
    n5 ---|"1"| n1
    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:#00688b82,stroke-width:3px
    linkStyle 2 stroke:#a0a0a070,stroke-width:2px
    linkStyle 3 stroke:#00688b4C,stroke-width:1px
    linkStyle 4 stroke:#00688b4C,stroke-width:1px
    linkStyle 5 stroke:#00688b4C,stroke-width:1px
    linkStyle 6 stroke:#a0a0a04C,stroke-width:1px
    linkStyle 7 stroke:#a0a0a04C,stroke-width:1px
    linkStyle 8 stroke:#00688b4C,stroke-width:1px
    linkStyle 9 stroke:#00688b4C,stroke-width:1px
    linkStyle 10 stroke:#a0a0a04C,stroke-width:1px
    linkStyle 11 stroke:#00688b4C,stroke-width:1px
    linkStyle 12 stroke:#00688b4C,stroke-width:1px
    linkStyle 13 stroke:#00688b4C,stroke-width:1px
    linkStyle 14 stroke:#a0a0a04C,stroke-width:1px
    linkStyle 15 stroke:#00688b4C,stroke-width:1px



2026-06-24 10:41