alibaba / loongcollector
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 10 components.
  • 1,280 files, 210,997 LOC (100.0% vs. main code).
  • "core" is biggest, containing 64.38% of LOC.
  • "protobuf_public" is smallest, containing 0.04% of LOC.


core135840 LOC (64%) 768 files
plugins43788 LOC (20%) 290 files
pkg25248 LOC (11%) 159 files
pluginmanager3506 LOC (1%) 27 files
k8s_templates741 LOC (<1%) 6 files
plugin_main617 LOC (<1%) 6 files
config_server452 LOC (<1%) 3 files
tools407 LOC (<1%) 4 files
example_config307 LOC (<1%) 13 files
protobuf_public91 LOC (<1%) 4 files
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
core388 commits (34%)
plugins230 commits (20%)
pkg152 commits (13%)
pluginmanager80 commits (7%)
plugin_main33 commits (2%)
tools12 commits (1%)
example_config5 commits (<1%)
config_server5 commits (<1%)
k8s_templates5 commits (<1%)
protobuf_public1 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
core
1429
2149
388
194
plugins
48
149
396
178
252
pkg
45
111
283
37
23
pluginmanager
32
88
81
20
6
plugin_main
3
14
16
14
tools
3
5
6
config_server
6
example_config
4
8
6
protobuf_public
4
k8s_templates
3
6
14


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 core core core--core 100 pkg pkg pkg--core 9 pkg--pkg 12 plugins plugins pkg--plugins 10 plugins--core 4 plugins--plugins 7 pluginmanager pluginmanager plugins--pluginmanager 4 plugin_main plugin_main plugins--plugin_main 1 pluginmanager--core 7 pluginmanager--pkg 7 pluginmanager--pluginmanager 9 pluginmanager--plugin_main 2 plugin_main--core 3 plugin_main--pkg 3 tools tools tools--core 2 tools--pkg 1 tools--pluginmanager 1 config_server config_server config_server--core 1 example_config example_config example_config--example_config 1


2025-05-14 18:54