Uber / cadvisor
Components & Dependencies

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.

Learn more...
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 26 components.
  • 175 files, 23,238 LOC (100.0% vs. main code).
  • "container" is biggest, containing 22.68% of LOC.
  • "ROOT" is smallest, containing 0% of LOC.


container5270 LOC (22%) 52 files
cmd4521 LOC (19%) 31 files
metrics3009 LOC (12%) 4 files
utils1886 LOC (8%) 20 files
manager1713 LOC (7%) 2 files
info1317 LOC (5%) 7 files
perf943 LOC (4%) 7 files
fs711 LOC (3%) 2 files
collector494 LOC (2%) 7 files
integration489 LOC (2%) 2 files
resctrl459 LOC (1%) 3 files
machine415 LOC (1%) 4 files
client351 LOC (1%) 3 files
summary323 LOC (1%) 3 files
devicemapper278 LOC (1%) 7 files
validate269 LOC (1%) 1 file
events220 LOC (<1%) 1 file
deploy182 LOC (<1%) 8 files
build101 LOC (<1%) 1 file
nvm98 LOC (<1%) 2 files
zfs76 LOC (<1%) 1 file
storage45 LOC (<1%) 2 files
stats31 LOC (<1%) 2 files
watcher19 LOC (<1%) 1 file
version17 LOC (<1%) 1 file
ROOT1 LOC (<1%) 1 file
Static Dependencies
Dependencies among components are static code dependencies among files in different components.
  • Analyzed system has 44 links (arrows) between components.
  • The number on the arrow represents the number of files from referring component that depend on files in referred component.
  • These 44 links contain 114 dependencies.
  • There are 2 places (4 links) with cyclic dependencies (24 file dependencies).
G metrics metrics cmd cmd cmd->metrics 2 validate validate cmd->validate 1 watcher watcher cmd->watcher 2 utils utils cmd->utils 2 storage storage cmd->storage 6 container container cmd->container 5 manager manager cmd->manager 8 version version cmd->version 2 events events cmd->events 1 fs fs cmd->fs 3 validate->utils 1 validate->container 1 validate->manager 1 deploy deploy integration integration collector collector nvm nvm info info container->watcher 11 zfs zfs container->zfs 6 machine machine container->machine 3 devicemapper devicemapper container->devicemapper 6 container->fs 19 manager->watcher 1 manager->collector 2 manager->utils 2 manager->nvm 1 manager->container 1 manager->version 1 manager->machine 1 manager->events 1 manager->fs 1 perf perf manager->perf 1 resctrl resctrl manager->resctrl 1 stats stats manager->stats 2 summary summary manager->summary 1 ROOT ROOT machine->utils 2 machine->nvm 1 machine->container 1 machine->fs 1 build build events->utils 1 events->container 1 fs->utils 1 fs->container 1 fs->devicemapper 1 perf->utils 1 perf->stats 5 client client resctrl->container 1 resctrl->stats 1


Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details about dependencies...




Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
container779 commits (22%)
manager524 commits (15%)
info267 commits (7%)
utils209 commits (6%)
fs194 commits (5%)
metrics161 commits (4%)
cmd97 commits (2%)
integration93 commits (2%)
machine89 commits (2%)
client73 commits (2%)
collector61 commits (1%)
validate47 commits (1%)
events43 commits (1%)
storage35 commits (1%)
perf31 commits (<1%)
summary29 commits (<1%)
deploy22 commits (<1%)
version22 commits (<1%)
devicemapper21 commits (<1%)
nvm21 commits (<1%)
build18 commits (<1%)
resctrl15 commits (<1%)
zfs11 commits (<1%)
stats8 commits (<1%)
watcher6 commits (<1%)
ROOT2 commits (<1%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2024 2023 2022 2021 2020 2019 2018 2017 2016 2015 2014
container
57
23
211
162
143
139
134
203
255
308
utils
18
3
30
74
31
9
17
23
128
25
cmd
18
9
94
148
1
machine
14
1
9
50
13
10
14
6
client
6
4
4
8
2
4
4
10
32
22
manager
6
8
27
65
23
22
42
64
232
141
integration
6
2
6
7
4
4
2
42
37
2
resctrl
5
1
10
4
fs
4
2
20
29
23
17
30
45
38
31
validate
4
4
3
2
2
8
12
12
info
4
3
15
77
17
16
50
80
122
nvm
4
8
20
collector
3
12
2
3
2
27
74
perf
3
16
59
build
3
9
2
4
metrics
2
4
21
56
13
27
18
19
30
ROOT
2
zfs
2
2
1
2
3
1
storage
1
2
3
10
21
deploy
4
3
8
19
10
stats
2
8
devicemapper
12
8
3
6
4
28
events
7
1
2
2
31
watcher
6
summary
2
6
37
version
22


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

No temporal dependencies found.



2024-04-03 14:38