Uber / ringpop-go
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 13 components.
  • 53 files, 5,959 LOC (68.9% vs. main code).
  • "swim" is biggest, containing 52.12% of LOC.
  • "membership" is smallest, containing 0.29% of LOC.


swim3106 LOC (35%) 23 files
ROOT848 LOC (9%) 6 files
hashring530 LOC (6%) 3 files
forward353 LOC (4%) 3 files
logging272 LOC (3%) 5 files
replica218 LOC (2%) 1 file
util180 LOC (2%) 1 file
scripts155 LOC (1%) 2 files
router125 LOC (1%) 1 file
events92 LOC (1%) 1 file
discovery37 LOC (<1%) 3 files
shared26 LOC (<1%) 2 files
membership17 LOC (<1%) 2 files
Static Dependencies
Dependencies among components are static code dependencies among files in different components.
  • Analyzed system has 21 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 21 links contain 46 dependencies.
G ROOT ROOT util util discovery discovery shared shared hashring hashring events events hashring->events 1 logging logging hashring->logging 1 membership membership hashring->membership 1 swim swim swim->util 9 swim->discovery 1 swim->shared 4 swim->events 1 swim->logging 10 swim->membership 3 scripts scripts scripts->discovery 1 scripts->swim 1 replica replica replica->util 1 replica->shared 1 replica->logging 1 forward forward replica->forward 1 forward->util 1 forward->shared 2 forward->events 2 forward->logging 2 router router router->swim 1 router->events 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.
swim117 commits (28%)
ROOT109 commits (26%)
forward40 commits (9%)
hashring30 commits (7%)
scripts27 commits (6%)
router19 commits (4%)
events16 commits (3%)
replica14 commits (3%)
shared11 commits (2%)
logging9 commits (2%)
util6 commits (1%)
membership3 commits (<1%)
discovery3 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
shared
8
5
ROOT
2
2
2
8
82
70
replica
6
8
forward
4
29
30
membership
5
router
5
6
8
util
6
discovery
9
logging
4
16
hashring
9
26
7
scripts
3
17
8
swim
2
9
277
75
events
12
4


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:33