huggingface / huggingface_hub
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 4 components.
  • 124 files, 18,552 LOC (89.9% vs. main code).
  • "src" is biggest, containing 90.71% of LOC.
  • "contrib" is smallest, containing 0.33% of LOC.


src16829 LOC (81%) 105 files
utils1469 LOC (7%) 10 files
ROOT192 LOC (<1%) 3 files
contrib62 LOC (<1%) 6 files
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
src911 commits (49%)
ROOT94 commits (5%)
utils56 commits (3%)
contrib5 commits (<1%)
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 2021 2020
src
345
450
450
424
159
7
utils
13
43
17
4
ROOT
15
20
27
30
11
1
contrib
1
3
5


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 src src src--src 74 ROOT ROOT src--ROOT 9 ROOT--ROOT 2 utils utils ROOT--utils 1 utils--src 8 utils--utils 2


2025-06-30 08:57