elastic / elasticsearch
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 15 components.
  • 14,651 files, 1,920,392 LOC (100.0% vs. main code).
  • "x-pack" is biggest, containing 50.41% of LOC.
  • "dev-tools" is smallest, containing 0% of LOC.


x-pack968004 LOC (50%) 7,889 files
server713188 LOC (37%) 4,671 files
modules134707 LOC (7%) 1,014 files
libs37958 LOC (1%) 407 files
build-tools-internal17908 LOC (<1%) 201 files
qa8951 LOC (<1%) 55 files
benchmarks8384 LOC (<1%) 66 files
plugins8327 LOC (<1%) 139 files
build-tools7417 LOC (<1%) 73 files
gradle5020 LOC (<1%) 2 files
distribution4371 LOC (<1%) 63 files
client3491 LOC (<1%) 45 files
build-conventions1729 LOC (<1%) 22 files
ROOT864 LOC (<1%) 3 files
dev-tools73 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.
server14783 commits (17%)
x-pack13738 commits (16%)
modules4342 commits (5%)
libs880 commits (1%)
plugins874 commits (1%)
build-tools-internal791 commits (<1%)
gradle697 commits (<1%)
benchmarks477 commits (<1%)
ROOT413 commits (<1%)
client379 commits (<1%)
qa333 commits (<1%)
build-tools313 commits (<1%)
distribution281 commits (<1%)
build-conventions111 commits (<1%)
dev-tools7 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 2017 2016 2015 2014 2013
x-pack
12045
36896
28025
12528
18890
11232
8696
15682
server
6143
37640
23732
14838
16421
11066
9104
19292
99
modules
1008
6500
2795
1880
2048
2891
1068
2884
1427
4620
59
libs
865
1901
372
395
348
30
103
51
build-tools-internal
149
1219
381
605
376
plugins
142
608
129
235
308
166
60
216
158
534
288
qa
193
392
187
14
9
2
benchmarks
77
327
296
103
49
12
3
11
3
54
distribution
105
279
120
240
58
2
2
6
build-tools
24
337
143
291
162
gradle
54
296
314
120
build-conventions
3
125
16
36
64
client
1
79
24
32
146
30
57
222
117
453
ROOT
2
16
48
23
11
15
24
46
33
66
101
20
8
dev-tools
3
1
1
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 x-pack x-pack x-pack--x-pack 948 server server x-pack--server 477 plugins plugins x-pack--plugins 49 server--server 761 libs libs server--libs 130 modules modules modules--x-pack 206 modules--server 232 modules--modules 195 modules--plugins 59 distribution distribution modules--distribution 30 gradle gradle modules--gradle 32 libs--x-pack 115 libs--modules 95 libs--libs 201 libs--gradle 14 qa qa qa--x-pack 63 qa--server 68 qa--modules 48 qa--libs 33 qa--qa 46 qa--distribution 17 build-tools-internal build-tools-internal build-tools-internal--x-pack 66 build-tools-internal--server 64 build-tools-internal--modules 51 build-tools-internal--libs 42 build-tools-internal--qa 30 build-tools-internal--build-tools-internal 48 build-tools-internal--gradle 26 build-tools build-tools build-tools-internal--build-tools 15 plugins--server 44 plugins--libs 37 plugins--qa 16 plugins--build-tools-internal 18 plugins--plugins 33 benchmarks benchmarks benchmarks--x-pack 42 benchmarks--server 42 benchmarks--modules 26 benchmarks--libs 28 benchmarks--qa 14 benchmarks--benchmarks 16 distribution--x-pack 33 distribution--server 39 distribution--libs 34 distribution--build-tools-internal 14 gradle--x-pack 30 gradle--server 32 gradle--gradle 19 build-tools--x-pack 17 build-tools--server 17 build-tools--modules 15


2025-05-13 19:52