openai / openai-apps-sdk-examples
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 (11 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 11 components.
  • 88 files, 13,922 LOC (100.0% vs. main code).
  • "src" is biggest, containing 65.42% of LOC.
  • "ROOT" is smallest, containing 0.16% of LOC.


src9108 LOC (65%) 75 files
mcp_app_basics_node1459 LOC (10%) 1 file
cards_against_ai_server_node1342 LOC (9%) 3 files
authenticated_server_python461 LOC (3%) 1 file
kitchen_sink_server_node349 LOC (2%) 1 file
pizzaz_server_node347 LOC (2%) 1 file
solar-system_server_python276 LOC (1%) 1 file
pizzaz_server_python259 LOC (1%) 1 file
shopping_cart_python184 LOC (1%) 1 file
kitchen_sink_server_python115 LOC (<1%) 1 file
ROOT22 LOC (<1%) 2 files
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
src56 commits (46%)
pizzaz_server_python21 commits (17%)
solar-system_server_python13 commits (10%)
pizzaz_server_node12 commits (10%)
cards_against_ai_server_node10 commits (8%)
kitchen_sink_server_python9 commits (7%)
authenticated_server_python9 commits (7%)
shopping_cart_python7 commits (5%)
kitchen_sink_server_node7 commits (5%)
ROOT4 commits (3%)
mcp_app_basics_node4 commits (3%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2026 2025
src
20
36
pizzaz_server_python
2
19
solar-system_server_python
2
11
pizzaz_server_node
12
cards_against_ai_server_node
10
kitchen_sink_server_python
2
7
authenticated_server_python
2
7
shopping_cart_python
2
5
kitchen_sink_server_node
7
ROOT
3
1
mcp_app_basics_node
4


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["src"]
    n1["cards_against_ai_server_node"]
    n2["mcp_app_basics_node"]
    n3["shopping_cart_python"]
    n4["pizzaz_server_python"]
    n5["solar-system_server_python"]
    n6["kitchen_sink_server_python"]
    n7["authenticated_server_python"]
    n0 ---|"16"| n0
    n0 ---|"10"| n1
    n1 ---|"8"| n1
    n0 ---|"3"| n2
    n3 ---|"2"| n4
    n5 ---|"2"| n4
    n5 ---|"2"| n6
    n4 ---|"2"| n7
    n5 ---|"2"| n7
    n4 ---|"2"| n6
    n3 ---|"2"| n6
    n6 ---|"2"| n7
    n3 ---|"2"| n7
    n5 ---|"2"| 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:#00688bB7,stroke-width:6px
    linkStyle 2 stroke:#a0a0a0A5,stroke-width:5px
    linkStyle 3 stroke:#00688b5E,stroke-width:1px
    linkStyle 4 stroke:#00688b5E,stroke-width:1px
    linkStyle 5 stroke:#00688b5E,stroke-width:1px
    linkStyle 6 stroke:#00688b5E,stroke-width:1px
    linkStyle 7 stroke:#00688b5E,stroke-width:1px
    linkStyle 8 stroke:#00688b5E,stroke-width:1px
    linkStyle 9 stroke:#00688b5E,stroke-width:1px
    linkStyle 10 stroke:#00688b5E,stroke-width:1px
    linkStyle 11 stroke:#00688b5E,stroke-width:1px
    linkStyle 12 stroke:#00688b5E,stroke-width:1px
    linkStyle 13 stroke:#00688b5E,stroke-width:1px



2026-06-24 10:40