openai / tiktoken
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.

Logical Decompositions Overview

Analyzed system has 1 logical decomposition:

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 5 components.
  • 15 files, 1,426 LOC (100.0% vs. main code).
  • "tiktoken" is biggest, containing 42.5% of LOC.
  • "scripts" is smallest, containing 5.61% of LOC.


tiktoken606 LOC (42%) 6 files
src549 LOC (38%) 2 files
tiktoken_ext108 LOC (7%) 1 file
ROOT83 LOC (5%) 4 files
scripts80 LOC (5%) 2 files
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
tiktoken28 commits (49%)
ROOT25 commits (43%)
src12 commits (21%)
tiktoken_ext11 commits (19%)
scripts2 commits (3%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2025 2024 2023 2022
tiktoken
5
12
27
3
ROOT
7
8
27
3
src
4
6
4
tiktoken_ext
5
5
1
scripts
2


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...

G ROOT ROOT ROOT--ROOT 2 src src ROOT--src 1 tiktoken tiktoken ROOT--tiktoken 2 src--src 2 tiktoken--src 1 tiktoken--tiktoken 1


2025-05-04 14:10