alibaba / PhotonLibOS
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 12 components.
  • 326 files, 57,838 LOC (100.0% vs. main code).
  • "common" is biggest, containing 27.81% of LOC.
  • "ROOT" is smallest, containing 0.31% of LOC.


common16083 LOC (27%) 62 files
include14008 LOC (24%) 108 files
fs8781 LOC (15%) 36 files
net7271 LOC (12%) 37 files
thread4968 LOC (8%) 23 files
io2612 LOC (4%) 15 files
rpc1850 LOC (3%) 12 files
ecosystem1317 LOC (2%) 5 files
doc292 LOC (<1%) 8 files
CMake239 LOC (<1%) 16 files
tools237 LOC (<1%) 2 files
ROOT180 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.
net157 commits (28%)
common148 commits (26%)
thread107 commits (19%)
io60 commits (10%)
fs56 commits (10%)
CMake37 commits (6%)
rpc29 commits (5%)
include28 commits (5%)
ROOT27 commits (4%)
ecosystem9 commits (1%)
doc9 commits (1%)
tools9 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
net
19
196
133
103
common
20
173
45
104
thread
6
91
47
73
io
71
35
29
fs
11
37
38
59
include
1
31
7
87
CMake
5
21
28
8
ecosystem
2
23
ROOT
19
9
11
rpc
3
16
13
12
doc
11
10
tools
1
3
3
3


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 net net net--net 11 common common net--common 3 thread thread net--thread 1 CMake CMake net--CMake 1 include include net--include 1 common--common 7 fs fs fs--common 1 fs--fs 4 fs--CMake 2 thread--common 2 thread--fs 1 thread--thread 3 ROOT ROOT ROOT--net 2 ROOT--ROOT 1 io io ROOT--io 1 rpc rpc rpc--common 2 rpc--rpc 1 CMake--CMake 2 io--thread 1 io--io 2 include--common 1 include--fs 1 include--CMake 2 tools tools tools--thread 1 ecosystem ecosystem ecosystem--ecosystem 1


2025-05-14 18:55