JetBrains / kotlin
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 21 components.
  • 51,394 files, 2,116,270 LOC (85.2% vs. main code).
  • "compiler" is biggest, containing 52.97% of LOC.
  • "scripts" is smallest, containing 0% of LOC.


compiler1120890 LOC (45%) 28,864 files
analysis258702 LOC (10%) 8,265 files
libraries216942 LOC (8%) 2,958 files
kotlin-native168432 LOC (6%) 1,178 files
plugins117215 LOC (4%) 2,293 files
js73895 LOC (2%) 3,836 files
core54289 LOC (2%) 751 files
native43454 LOC (1%) 955 files
jps13098 LOC (<1%) 1,636 files
generators10621 LOC (<1%) 96 files
repo8591 LOC (<1%) 131 files
build-common7938 LOC (<1%) 81 files
annotations7015 LOC (<1%) 103 files
gradle6251 LOC (<1%) 6 files
wasm5060 LOC (<1%) 66 files
prepare1283 LOC (<1%) 43 files
ROOT1165 LOC (<1%) 3 files
benchmarks665 LOC (<1%) 18 files
idea572 LOC (<1%) 107 files
test-instrumenter137 LOC (<1%) 3 files
scripts55 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.
compiler34640 commits (26%)
libraries7432 commits (5%)
analysis4624 commits (3%)
core3566 commits (2%)
plugins3167 commits (2%)
kotlin-native2974 commits (2%)
js2033 commits (1%)
ROOT1368 commits (1%)
native1154 commits (<1%)
jps920 commits (<1%)
gradle601 commits (<1%)
generators591 commits (<1%)
build-common453 commits (<1%)
repo376 commits (<1%)
prepare357 commits (<1%)
wasm223 commits (<1%)
annotations124 commits (<1%)
benchmarks58 commits (<1%)
idea40 commits (<1%)
test-instrumenter14 commits (<1%)
scripts2 commits (<1%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2026 2025 2024 2023 2022 2021 2020 2019 2018 2017 2016 2015 2014 2013 2012 2011
compiler
1268
27015
26361
18353
12095
30167
25353
15772
15885
7435
8383
8127
1687
1646
179
119
analysis
200
6409
7842
4157
1830
506
libraries
124
4369
3756
5213
3199
1075
899
1223
1491
396
390
644
159
37
47
plugins
67
3271
2240
1279
1661
1031
523
285
44
9
kotlin-native
11
1706
2367
1968
1327
2057
1431
5
js
56
1256
2283
863
1345
644
254
583
3474
4171
1879
208
9
native
8
1136
1787
379
149
776
188
core
13
692
275
409
435
948
862
687
766
699
1144
1856
17
repo
9
312
217
130
1
generators
243
296
273
38
116
50
31
55
32
gradle
7
197
207
140
71
85
4
1
1
ROOT
1
113
125
158
140
205
235
163
125
103
wasm
4
97
112
97
98
33
56
build-common
84
37
149
64
88
73
67
88
101
56
jps
79
232
141
396
1314
152
178
390
427
317
654
221
prepare
30
58
55
52
67
61
47
33
53
benchmarks
5
4
5
4
13
25
19
idea
5
3
2
13
94
67
annotations
18
161
38
test-instrumenter
1
1
2
3
3
6
scripts
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 compiler compiler compiler--compiler 1394 analysis analysis compiler--analysis 266 build-common build-common compiler--build-common 20 generators generators compiler--generators 18 ROOT ROOT compiler--ROOT 12 gradle gradle compiler--gradle 11 analysis--analysis 447 libraries libraries libraries--libraries 301 libraries--compiler 93 kotlin-native kotlin-native libraries--kotlin-native 35 libraries--analysis 18 core core libraries--core 18 js js libraries--js 11 libraries--ROOT 9 plugins plugins plugins--plugins 255 plugins--compiler 98 plugins--analysis 37 plugins--libraries 18 plugins--kotlin-native 9 native native plugins--native 8 plugins--generators 8 kotlin-native--kotlin-native 123 kotlin-native--compiler 99 js--js 116 js--compiler 82 js--analysis 8 core--compiler 103 core--core 71 core--analysis 21 core--plugins 15 core--build-common 9 native--native 91 native--compiler 39 native--kotlin-native 29 native--libraries 22 native--analysis 11 generators--generators 27 generators--libraries 14 wasm wasm wasm--compiler 27 wasm--wasm 19 repo repo repo--repo 26 repo--libraries 24 repo--gradle 23 repo--compiler 14 repo--ROOT 11 gradle--gradle 23 gradle--libraries 18 build-common--libraries 9 jps jps jps--compiler 9 jps--jps 8


2026-01-18 17:28