gitlab-org / cli
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.
  • 282 files, 30,578 LOC (92.3% vs. main code).
  • "commands" is biggest, containing 73.68% of LOC.
  • "snap" is smallest, containing 0.16% of LOC.


commands22529 LOC (67%) 200 files
pkg3177 LOC (9%) 31 files
api2503 LOC (7%) 29 files
internal1759 LOC (5%) 17 files
cmd398 LOC (1%) 2 files
scripts163 LOC (<1%) 2 files
snap49 LOC (<1%) 1 file
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
commands1505 commits (45%)
api198 commits (6%)
pkg162 commits (4%)
cmd145 commits (4%)
internal140 commits (4%)
scripts13 commits (<1%)
snap13 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
commands
790
1241
461
760
930
742
api
77
103
55
46
69
1
pkg
55
63
31
36
75
33
internal
10
38
25
21
47
65
cmd
14
8
21
20
29
60
scripts
2
2
6
3
snap
2
2
6
3


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 commands commands commands--commands 118 api api api--commands 42 api--api 6 pkg pkg pkg--commands 23 pkg--api 7 pkg--pkg 10 internal internal pkg--internal 6 internal--commands 10 internal--api 6 internal--internal 2 cmd cmd cmd--commands 6 cmd--pkg 2


2025-05-16 13:32