elastic / apm-agent-go
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 11 components.
  • 252 files, 20,207 LOC (86.1% vs. main code).
  • "module" is biggest, containing 42.64% of LOC.
  • "tools" is smallest, containing 0.03% of LOC.


module8617 LOC (36%) 153 files
ROOT5289 LOC (22%) 32 files
model2636 LOC (11%) 5 files
internal1382 LOC (5%) 28 files
transport821 LOC (3%) 8 files
stacktrace446 LOC (1%) 6 files
sqlutil371 LOC (1%) 4 files
apmtest351 LOC (1%) 9 files
scripts269 LOC (1%) 4 files
apmconfig18 LOC (<1%) 2 files
tools7 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.
ROOT427 commits (29%)
module338 commits (23%)
model136 commits (9%)
internal115 commits (7%)
transport99 commits (6%)
stacktrace41 commits (2%)
apmtest36 commits (2%)
scripts28 commits (1%)
apmconfig4 commits (<1%)
sqlutil4 commits (<1%)
tools2 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
ROOT
3
15
14
109
65
88
225
521
module
1
10
54
253
132
151
307
556
internal
2
4
10
18
14
13
80
67
transport
4
1
13
1
14
34
96
sqlutil
1
5
4
scripts
1
7
3
2
5
11
7
apmtest
13
5
9
20
19
stacktrace
5
1
3
13
62
apmconfig
2
2
4
model
1
16
17
25
54
191
tools
2


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 transport transport transport--transport 2 ROOT ROOT internal internal ROOT--internal 2


2025-05-13 19:44