apache / incubator-teaclave-sgx-sdk
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 38 components.
  • 1,120 files, 125,321 LOC (100.0% vs. main code).
  • "sgx_tstd" is biggest, containing 31.56% of LOC.
  • "sgx_tcrypto_helper" is smallest, containing 0.02% of LOC.


sgx_tstd39553 LOC (31%) 184 files
samplecode27292 LOC (21%) 480 files
sgx_backtrace_sys11132 LOC (8%) 38 files
sgx_unwind8935 LOC (7%) 152 files
sgx_libc5213 LOC (4%) 8 files
sgx_types4642 LOC (3%) 9 files
sgx_tcrypto2688 LOC (2%) 3 files
sgx_urts2628 LOC (2%) 17 files
sgx_ucrypto2568 LOC (2%) 5 files
common2324 LOC (1%) 45 files
sgx_edl2246 LOC (1%) 46 files
sgx_rand1839 LOC (1%) 14 files
sgx_ustdc1688 LOC (1%) 17 files
sgx_trts1371 LOC (1%) 15 files
sgx_serialize1317 LOC (1%) 5 files
sgx_backtrace1315 LOC (1%) 9 files
sgx_tseal1305 LOC (1%) 5 files
sgx_demangle1256 LOC (1%) 4 files
sgx_crypto_helper918 LOC (<1%) 4 files
sgx_serialize_derive888 LOC (<1%) 7 files
sgx_alloc832 LOC (<1%) 6 files
sgx_tdh711 LOC (<1%) 4 files
sgx_signal686 LOC (<1%) 5 files
sgx_align_struct_attribute309 LOC (<1%) 4 files
sgx_build_helper293 LOC (<1%) 2 files
sgx_tprotected_fs274 LOC (<1%) 3 files
sgx_cov222 LOC (<1%) 2 files
sgx_serialize_derive_internals132 LOC (<1%) 4 files
sgx_no_tstd105 LOC (<1%) 3 files
sgx_tunittest103 LOC (<1%) 2 files
sgx_rand_derive101 LOC (<1%) 2 files
sgx_panic_unwind88 LOC (<1%) 3 files
sgx_tse83 LOC (<1%) 3 files
sgx_tkey_exchange71 LOC (<1%) 2 files
edl64 LOC (<1%) 2 files
sgx_panic_abort58 LOC (<1%) 2 files
xargo51 LOC (<1%) 2 files
sgx_tcrypto_helper20 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.
samplecode207 commits (32%)
sgx_tstd92 commits (14%)
sgx_types76 commits (12%)
sgx_trts56 commits (8%)
sgx_urts51 commits (8%)
sgx_alloc44 commits (6%)
sgx_tunittest43 commits (6%)
sgx_tcrypto39 commits (6%)
sgx_tseal37 commits (5%)
sgx_libc36 commits (5%)
sgx_ucrypto35 commits (5%)
sgx_tprotected_fs35 commits (5%)
sgx_tse34 commits (5%)
sgx_serialize_derive33 commits (5%)
sgx_tkey_exchange33 commits (5%)
sgx_tdh33 commits (5%)
sgx_rand29 commits (4%)
sgx_serialize29 commits (4%)
sgx_rand_derive28 commits (4%)
sgx_serialize_derive_internals28 commits (4%)
sgx_unwind27 commits (4%)
xargo26 commits (4%)
sgx_ustdc24 commits (3%)
sgx_crypto_helper23 commits (3%)
common22 commits (3%)
sgx_tcrypto_helper21 commits (3%)
sgx_backtrace21 commits (3%)
sgx_backtrace_sys20 commits (3%)
sgx_cov18 commits (2%)
sgx_signal16 commits (2%)
sgx_edl14 commits (2%)
sgx_no_tstd14 commits (2%)
sgx_align_struct_attribute13 commits (2%)
sgx_demangle13 commits (2%)
sgx_build_helper11 commits (1%)
sgx_panic_unwind7 commits (1%)
sgx_panic_abort6 commits (<1%)
edl4 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
sgx_libc
12
12
31
40
sgx_backtrace_sys
4
10
21
41
sgx_tunittest
3
4
12
21
8
5
sgx_trts
6
17
13
73
50
36
33
sgx_tcrypto_helper
3
2
7
13
sgx_ucrypto
4
6
33
22
sgx_build_helper
3
4
2
4
common
9
8
36
52
9
10
sgx_tstd
3
220
351
335
357
202
163
sgx_urts
7
16
120
53
21
10
samplecode
12
86
53
444
1220
503
379
sgx_cov
3
4
5
9
xargo
1
5
11
9
6
sgx_signal
2
6
10
25
sgx_tse
4
2
14
13
8
7
sgx_serialize_derive
3
4
11
24
13
15
sgx_rand
3
2
11
49
22
30
sgx_serialize
3
2
11
19
13
12
sgx_rand_derive
3
2
5
9
8
5
sgx_tseal
1
3
6
29
24
17
18
sgx_types
8
20
30
66
59
31
25
sgx_backtrace
3
3
18
26
19
sgx_edl
3
10
75
sgx_align_struct_attribute
6
4
24
sgx_no_tstd
6
6
11
3
sgx_crypto_helper
3
2
17
18
sgx_tprotected_fs
4
2
17
14
12
9
sgx_tkey_exchange
3
2
12
11
8
7
sgx_tdh
3
6
22
22
13
14
sgx_unwind
1
10
242
6
146
3
edl
4
1
sgx_panic_unwind
5
6
3
sgx_alloc
8
14
51
20
11
5
sgx_tcrypto
4
6
17
17
14
12
sgx_serialize_derive_internals
3
2
5
14
10
9
sgx_demangle
3
8
5
8
sgx_panic_abort
2
4
2
sgx_ustdc
2
2
49
39
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...

No temporal dependencies found.



2025-05-07 16:56