uber / tchannel-go
Static Component Dependencies

An overview of static code dependencies among source code logical components.

Intro

Static code dependencies refer to the relationships between different modules, libraries, or components in a software system that are established at compile-time rather than at runtime. These dependencies are determined by the code itself, meaning that one module directly references another through imports, includes, or explicit references in the code. Examples include:

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 20 components.
  • 178 files, 17,549 LOC (94.8% vs. main code).
  • "ROOT" is biggest, containing 42.63% of LOC.
  • "trace" is smallest, containing 0.01% of LOC.


ROOT7482 LOC (40%) 57 files
thrift3257 LOC (17%) 27 files
testutils1604 LOC (8%) 24 files
hyperbahn1597 LOC (8%) 13 files
benchmark1222 LOC (6%) 18 files
crossdock506 LOC (2%) 10 files
typed386 LOC (2%) 3 files
relay277 LOC (1%) 4 files
json254 LOC (1%) 3 files
stats223 LOC (1%) 3 files
http180 LOC (<1%) 3 files
scripts146 LOC (<1%) 1 file
raw145 LOC (<1%) 2 files
internal73 LOC (<1%) 2 files
tos71 LOC (<1%) 2 files
tnet43 LOC (<1%) 1 file
peers29 LOC (<1%) 2 files
trand27 LOC (<1%) 1 file
pprof26 LOC (<1%) 1 file
trace1 LOC (<1%) 1 file
Static Dependencies
Dependencies among components are static code dependencies among files in different components.
  • Analyzed system has 22 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 22 links contain 36 dependencies.
G ROOT ROOT scripts scripts trand trand pprof pprof http http pprof->http 1 testutils testutils json json testutils->json 1 raw raw testutils->raw 2 relay relay testutils->relay 1 tos tos testutils->tos 1 typed typed testutils->typed 1 internal internal testutils->internal 1 thrift thrift testutils->thrift 1 crossdock crossdock crossdock->json 2 crossdock->http 1 crossdock->thrift 1 peers peers relay->thrift 1 http->typed 3 tnet tnet trace trace benchmark benchmark benchmark->testutils 2 benchmark->raw 3 benchmark->relay 1 hyperbahn hyperbahn benchmark->hyperbahn 1 benchmark->thrift 2 hyperbahn->json 1 hyperbahn->thrift 5 thrift->typed 2 thrift->internal 2 stats stats


Download: SVG DOT (open online Graphviz editor)

Open 2D force graph...
Open 3D force graph...

Show more details about dependencies...






2025-05-03 07:36