openai / compose-richtext
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 (9 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 9 components.
  • 87 files, 8,624 LOC (100.0% vs. main code).
  • "richtext-ui" is biggest, containing 44.39% of LOC.
  • "richtext-ui-material" is smallest, containing 0.93% of LOC.


richtext-ui3828 LOC (44%) 32 files
android-sample2274 LOC (26%) 19 files
richtext-markdown1234 LOC (14%) 17 files
richtext-commonmark463 LOC (5%) 7 files
desktop-sample380 LOC (4%) 2 files
ROOT167 LOC (1%) 2 files
buildSrc118 LOC (1%) 4 files
richtext-ui-material380 LOC (<1%) 2 files
richtext-ui-material80 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.
richtext-ui163 commits (43%)
android-sample74 commits (19%)
buildSrc50 commits (13%)
richtext-markdown46 commits (12%)
richtext-commonmark35 commits (9%)
ROOT33 commits (8%)
desktop-sample28 commits (7%)
richtext-ui-material27 commits (7%)
richtext-ui-material320 commits (5%)
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 2022 2021
richtext-ui
38
55
39
5
13
13
android-sample
23
22
13
2
6
8
richtext-markdown
23
10
13
buildSrc
10
13
2
16
9
ROOT
2
6
7
2
10
6
richtext-commonmark
3
4
7
3
12
6
desktop-sample
5
7
8
8
richtext-ui-material3
5
7
2
6
richtext-ui-material
2
7
2
8
8


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["richtext-ui"]
    n1["richtext-markdown"]
    n2["android-sample"]
    n3["richtext-commonmark"]
    n4["ROOT"]
    n0 ---|"21"| n0
    n1 ---|"16"| n1
    n2 ---|"12"| n2
    n0 ---|"11"| n1
    n0 ---|"8"| n2
    n1 ---|"5"| n2
    n3 ---|"3"| n1
    n3 ---|"3"| n0
    n3 ---|"2"| n2
    n4 ---|"2"| n2
    n3 ---|"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:#a0a0a0C9,stroke-width:7px
    linkStyle 2 stroke:#a0a0a0A5,stroke-width:5px
    linkStyle 3 stroke:#00688bA5,stroke-width:5px
    linkStyle 4 stroke:#00688b82,stroke-width:3px
    linkStyle 5 stroke:#00688b70,stroke-width:2px
    linkStyle 6 stroke:#00688b5E,stroke-width:1px
    linkStyle 7 stroke:#00688b5E,stroke-width:1px
    linkStyle 8 stroke:#00688b4C,stroke-width:1px
    linkStyle 9 stroke:#00688b4C,stroke-width:1px
    linkStyle 10 stroke:#a0a0a04C,stroke-width:1px



2026-06-24 10:34