apache / shardingsphere
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.
  • 6,200 files, 305,680 LOC (100.0% vs. main code).
  • "infra" is biggest, containing 33.13% of LOC.
  • "distribution" is smallest, containing 0.09% of LOC.


infra101258 LOC (33%) 1,686 files
parser100341 LOC (32%) 1,782 files
kernel35375 LOC (11%) 1,010 files
features28941 LOC (9%) 778 files
proxy13301 LOC (4%) 287 files
jdbc8238 LOC (2%) 81 files
mode7247 LOC (2%) 218 files
db-protocol6816 LOC (2%) 224 files
agent2894 LOC (<1%) 123 files
src1009 LOC (<1%) 5 files
distribution260 LOC (<1%) 6 files
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
kernel1291 commits (2%)
infra1210 commits (2%)
features1168 commits (2%)
mode738 commits (1%)
proxy694 commits (1%)
parser638 commits (1%)
jdbc215 commits (<1%)
agent184 commits (<1%)
db-protocol139 commits (<1%)
src29 commits (<1%)
distribution18 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
infra
447
3112
1331
276
features
310
3069
1729
667
parser
87
2490
861
kernel
212
2056
2060
405
mode
1216
327
162
109
proxy
174
842
1327
68
jdbc
49
505
agent
10
150
460
21
db-protocol
96
419
218
src
6
24
distribution
2
16
4


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 mode mode mode--mode 222 features features mode--features 31 kernel kernel mode--kernel 43 jdbc jdbc mode--jdbc 7 infra infra infra--mode 43 infra--infra 142 parser parser infra--parser 23 db-protocol db-protocol infra--db-protocol 2 features--infra 65 features--features 97 kernel--infra 55 kernel--features 43 kernel--kernel 76 kernel--parser 7 proxy proxy kernel--proxy 30 parser--features 18 parser--parser 46 parser--jdbc 2 proxy--mode 28 proxy--infra 31 proxy--features 10 proxy--parser 4 proxy--proxy 41 agent agent proxy--agent 1 jdbc--infra 13 jdbc--features 4 jdbc--kernel 13 jdbc--proxy 25 jdbc--jdbc 19 jdbc--db-protocol 1 db-protocol--proxy 2 db-protocol--db-protocol 1 agent--mode 1 agent--infra 1 agent--kernel 1 agent--agent 2


2025-05-07 17:00