alibaba / MongoShake
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 13 components.
  • 93 files, 12,791 LOC (100.0% vs. main code).
  • "collector" is biggest, containing 35.79% of LOC.
  • "unit_test_common" is smallest, containing 0.35% of LOC.


collector4578 LOC (35%) 26 files
common1777 LOC (13%) 17 files
executor1744 LOC (13%) 9 files
tunnel1401 LOC (10%) 15 files
oplog1076 LOC (8%) 7 files
cmd631 LOC (4%) 3 files
scripts559 LOC (4%) 3 files
tools254 LOC (1%) 3 files
modules241 LOC (1%) 3 files
sharding200 LOC (1%) 2 files
quorum175 LOC (1%) 1 file
receiver110 LOC (<1%) 2 files
unit_test_common45 LOC (<1%) 2 files
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
collector77 commits (10%)
executor42 commits (5%)
common41 commits (5%)
oplog28 commits (3%)
unit_test_common17 commits (2%)
cmd15 commits (2%)
tunnel13 commits (1%)
scripts12 commits (1%)
sharding10 commits (1%)
quorum8 commits (1%)
receiver5 commits (<1%)
tools3 commits (<1%)
modules1 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
executor
12
4
68
27
oplog
2
2
40
4
receiver
4
2
quorum
5
3
tools
1
1
3
modules
3
sharding
6
5
collector
13
146
97
common
2
48
43
unit_test_common
2
10
6
cmd
6
16
scripts
4
2
2
3
1
tunnel
11
26


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 executor executor executor--executor 2 oplog oplog oplog--executor 2


2025-05-14 18:51