uber / kraken
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 15 components.
  • 298 files, 22,354 LOC (100.0% vs. main code).
  • "lib" is biggest, containing 56.65% of LOC.
  • "proto" is smallest, containing 0.37% of LOC.


lib12664 LOC (56%) 153 files
utils2047 LOC (9%) 32 files
origin1685 LOC (7%) 12 files
build-index1295 LOC (5%) 13 files
tracker1204 LOC (5%) 22 files
proxy693 LOC (3%) 10 files
core539 LOC (2%) 10 files
nginx526 LOC (2%) 8 files
agent521 LOC (2%) 5 files
helm503 LOC (2%) 15 files
config235 LOC (1%) 5 files
metrics158 LOC (<1%) 5 files
localdb108 LOC (<1%) 5 files
tools94 LOC (<1%) 2 files
proto82 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 259 dependencies.
  • There are 4 places (8 links) with cyclic dependencies (32 file dependencies).
G metrics metrics utils utils metrics->utils 1 nginx nginx nginx->utils 1 core core utils->core 3 tools tools tools->utils 1 localdb localdb localdb->utils 2 config config origin origin origin->metrics 2 origin->nginx 2 origin->utils 9 origin->localdb 2 origin->core 8 lib lib origin->lib 7 proxy proxy proxy->metrics 2 proxy->nginx 2 proxy->utils 6 proxy->origin 3 build-index build-index proxy->build-index 3 proxy->core 2 proxy->lib 3 agent agent agent->metrics 2 agent->nginx 2 agent->utils 4 agent->build-index 1 agent->core 4 agent->lib 3 tracker tracker agent->tracker 2 build-index->metrics 2 build-index->nginx 2 build-index->utils 6 build-index->localdb 2 build-index->origin 3 build-index->core 5 build-index->lib 5 core->utils 1 lib->utils 63 lib->origin 2 lib->build-index 3 lib->core 52 lib->tracker 5 helm helm proto proto tracker->metrics 2 tracker->nginx 2 tracker->utils 11 tracker->origin 2 tracker->core 8 tracker->lib 6


Download: SVG DOT (open online Graphviz editor)

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

Show more details about dependencies...






2025-05-03 07:37