huggingface / transformers
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 7 components.
  • 2,321 files, 720,266 LOC (100.0% vs. main code).
  • "src" is biggest, containing 98.33% of LOC.
  • "docker" is smallest, containing 0.01% of LOC.


src708257 LOC (98%) 2,258 files
utils9835 LOC (1%) 46 files
templates729 LOC (<1%) 1 file
benchmark680 LOC (<1%) 8 files
ROOT502 LOC (<1%) 3 files
scripts202 LOC (<1%) 3 files
docker61 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.
src9187 commits (47%)
utils719 commits (3%)
ROOT634 commits (3%)
templates40 commits (<1%)
benchmark14 commits (<1%)
scripts12 commits (<1%)
docker2 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 2019 2018
src
11557
9446
9240
7220
6227
2247
205
utils
171
172
246
160
106
55
15
ROOT
54
60
93
92
110
118
98
17
benchmark
11
14
templates
1
5
6
5
16
7
scripts
2
4
3
4
docker
1
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 src src src--src 610 ROOT ROOT src--ROOT 47 utils utils utils--src 70 utils--utils 27 utils--ROOT 4 benchmark benchmark utils--benchmark 1 ROOT--ROOT 4 benchmark--src 4 benchmark--ROOT 1 benchmark--benchmark 3 templates templates templates--src 1


2025-06-30 08:59