apache / rocketmq-client-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 10 components.
  • 71 files, 12,677 LOC (100.0% vs. main code).
  • "internal" is biggest, containing 37.45% of LOC.
  • "hooks" is smallest, containing 0.08% of LOC.


internal4747 LOC (37%) 31 files
consumer4607 LOC (36%) 13 files
primitive1027 LOC (8%) 10 files
producer956 LOC (7%) 4 files
benchmark687 LOC (5%) 5 files
admin373 LOC (2%) 3 files
rlog177 LOC (1%) 1 file
ROOT60 LOC (<1%) 2 files
errors33 LOC (<1%) 1 file
hooks10 LOC (<1%) 1 file
Static Dependencies
Dependencies among components are static code dependencies among files in different components.
  • Analyzed system has 23 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 23 links contain 80 dependencies.
  • There is 1 place (2 links) with cyclic dependencies (11 file dependencies).
G benchmark benchmark producer producer benchmark->producer 1 primitive primitive benchmark->primitive 2 consumer consumer benchmark->consumer 1 errors errors benchmark->errors 1 rlog rlog benchmark->rlog 4 ROOT ROOT producer->primitive 4 internal internal producer->internal 3 producer->errors 1 producer->rlog 1 primitive->internal 1 primitive->errors 1 primitive->rlog 2 admin admin admin->primitive 1 admin->internal 1 admin->rlog 1 internal->primitive 10 internal->errors 6 internal->rlog 7 hooks hooks consumer->primitive 11 consumer->internal 9 consumer->hooks 2 consumer->errors 3 consumer->rlog 7


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.
consumer201 commits (38%)
internal162 commits (30%)
producer84 commits (16%)
primitive78 commits (14%)
ROOT25 commits (4%)
rlog18 commits (3%)
benchmark17 commits (3%)
admin12 commits (2%)
errors5 commits (<1%)
hooks1 commits (<1%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2023 2022 2021 2020 2019 2018
consumer
19
92
36
61
184
internal
19
72
37
102
192
producer
6
25
14
21
53
primitive
3
11
12
29
72
admin
7
5
1
2
benchmark
7
7
3
8
15
ROOT
6
1
4
15
rlog
1
5
3
3
6
errors
2
3
hooks
1


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 consumer consumer consumer--consumer 5 primitive primitive consumer--primitive 1 internal internal internal--consumer 1 internal--internal 3 admin admin internal--admin 2 admin--admin 2 producer producer producer--consumer 1 producer--internal 2 producer--producer 1 producer--primitive 1 rlog rlog rlog--consumer 1


2023-08-10 21:30