alibaba / nacos
Components

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.

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 29 components.
  • 2,125 files, 151,593 LOC (100.0% vs. main code).
  • "config" is biggest, containing 15.39% of LOC.
  • "bootstrap" is smallest, containing 0.05% of LOC.


config23325 LOC (15%) 246 files
console-ui20992 LOC (13%) 166 files
naming18287 LOC (12%) 272 files
core14559 LOC (9%) 259 files
common13774 LOC (9%) 205 files
istio9579 LOC (6%) 53 files
client8858 LOC (5%) 100 files
api8668 LOC (5%) 244 files
console8035 LOC (5%) 86 files
plugin4970 LOC (3%) 125 files
plugin-default-impl4959 LOC (3%) 84 files
client-basic2478 LOC (1%) 50 files
maintainer-client2334 LOC (1%) 26 files
sys1891 LOC (1%) 25 files
persistence1674 LOC (1%) 36 files
distribution1206 LOC (<1%) 8 files
style922 LOC (<1%) 3 files
auth810 LOC (<1%) 28 files
ai707 LOC (<1%) 13 files
consistency695 LOC (<1%) 25 files
lock682 LOC (<1%) 20 files
logger-adapter-impl520 LOC (<1%) 10 files
address365 LOC (<1%) 9 files
k8s-sync322 LOC (<1%) 3 files
cmdb274 LOC (<1%) 9 files
prometheus264 LOC (<1%) 7 files
example245 LOC (<1%) 6 files
server117 LOC (<1%) 6 files
bootstrap81 LOC (<1%) 1 file
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
naming1104 commits (20%)
config875 commits (16%)
client829 commits (15%)
core733 commits (13%)
api700 commits (13%)
common562 commits (10%)
console397 commits (7%)
console-ui236 commits (4%)
distribution214 commits (4%)
plugin181 commits (3%)
consistency113 commits (2%)
sys112 commits (2%)
cmdb85 commits (1%)
example81 commits (1%)
auth80 commits (1%)
istio70 commits (1%)
plugin-default-impl67 commits (1%)
address64 commits (1%)
persistence48 commits (<1%)
prometheus30 commits (<1%)
style27 commits (<1%)
maintainer-client22 commits (<1%)
logger-adapter-impl16 commits (<1%)
k8s-sync11 commits (<1%)
ai9 commits (<1%)
bootstrap8 commits (<1%)
client-basic8 commits (<1%)
server7 commits (<1%)
lock6 commits (<1%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2025 2024 2023 2022 2021 2020 2019 2018
config
710
913
874
388
303
1470
1145
749
core
338
460
667
290
419
1844
48
21
naming
424
319
589
708
870
1216
1648
401
console-ui
243
464
360
171
198
433
console
404
183
98
59
8
139
143
60
client
223
357
286
260
276
746
1107
242
api
346
231
277
199
334
743
1199
557
plugin
86
362
565
332
common
129
317
537
371
262
1249
39
plugin-default-impl
215
225
142
maintainer-client
128
auth
61
58
20
137
14
18
istio
62
45
57
75
63
26
37
client-basic
106
sys
34
53
89
20
23
93
persistence
18
66
258
lock
82
distribution
25
35
21
6
3
67
64
65
logger-adapter-impl
3
52
ai
44
prometheus
9
24
46
3
server
16
9
example
8
17
7
5
4
9
39
36
address
12
8
12
26
9
61
81
consistency
15
19
6
13
283
k8s-sync
11
3
6
3
bootstrap
5
3
style
3
3
1
1
23
cmdb
3
6
40
190
50


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 config config config--config 60 client client config--client 30 api api config--api 30 console console config--console 29 common common config--common 23 console-ui console-ui console-ui--config 19 console-ui--console-ui 42 console-ui--api 14 client--console-ui 13 client--client 41 client--api 33 client--console 14 api--api 36 api--console 24 console--console-ui 30 console--console 34 distribution distribution console--distribution 13 core core core--config 30 core--console-ui 14 core--client 19 core--api 24 core--console 27 core--core 34 core--common 19 auth auth core--auth 15 naming naming naming--config 30 naming--client 26 naming--api 28 naming--console 18 naming--core 25 naming--naming 32 naming--common 23 common--client 27 common--api 20 common--common 20 plugin plugin plugin--config 19 plugin--client 14 plugin--console 16 plugin--core 14 plugin--plugin 23 maintainer-client maintainer-client maintainer-client--console 14 maintainer-client--maintainer-client 21 plugin-default-impl plugin-default-impl plugin-default-impl--config 15 plugin-default-impl--console-ui 13 plugin-default-impl--console 19 plugin-default-impl--core 16 plugin-default-impl--plugin-default-impl 20 distribution--config 16 distribution--console-ui 13 auth--auth 13


2025-05-14 18:51