apache / incubator-teaclave-sgx-sdk
Components & Dependencies

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.

Learn more...
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,113 files, 125,128 LOC (100.0% vs. main code).
  • "sgx_tstd" is biggest, containing 31.61% of LOC.
  • "sgx_tcrypto_helper" is smallest, containing 0.02% of LOC.


sgx_tstd39553 LOC (31%) 184 files
samplecode27099 LOC (21%) 473 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
Static Dependencies
Dependencies among components are static code dependencies among files in different components.
  • Analyzed system has 8 links (arrows) between components.
  • The number on the arrow represents the number of files from referring component that depend on files in referred component.
  • These 8 links contain 80 dependencies.
G sgx_tstd sgx_tstd sgx_alloc sgx_alloc sgx_align_struct_attribute sgx_align_struct_attribute sgx_types sgx_types sgx_serialize_derive_internals sgx_serialize_derive_internals sgx_tkey_exchange sgx_tkey_exchange sgx_panic_unwind sgx_panic_unwind sgx_ustdc sgx_ustdc common common sgx_ustdc->common 1 sgx_edl sgx_edl sgx_ustdc->sgx_edl 1 sgx_rand sgx_rand sgx_tdh sgx_tdh sgx_no_tstd sgx_no_tstd sgx_serialize sgx_serialize sgx_trts sgx_trts sgx_panic_abort sgx_panic_abort sgx_urts sgx_urts sgx_tcrypto_helper sgx_tcrypto_helper sgx_tse sgx_tse sgx_backtrace sgx_backtrace sgx_ucrypto sgx_ucrypto samplecode samplecode samplecode->common 30 samplecode->sgx_edl 30 edl edl sgx_crypto_helper sgx_crypto_helper sgx_build_helper sgx_build_helper xargo xargo sgx_tseal sgx_tseal sgx_tunittest sgx_tunittest sgx_serialize_derive sgx_serialize_derive sgx_tcrypto sgx_tcrypto sgx_demangle sgx_demangle sgx_unwind sgx_unwind sgx_unwind->common 7 sgx_unwind->sgx_edl 7 sgx_rand_derive sgx_rand_derive sgx_cov sgx_cov sgx_libc sgx_libc sgx_backtrace_sys sgx_backtrace_sys sgx_backtrace_sys->common 2 sgx_backtrace_sys->sgx_edl 2 sgx_signal sgx_signal sgx_tprotected_fs sgx_tprotected_fs


Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details about dependencies...




Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
samplecode206 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
2023 2022 2021 2020 2019 2018 2017
sgx_tstd
3
220
351
335
357
202
163
samplecode
5
86
53
444
1220
503
379
sgx_types
8
20
30
66
59
31
25
sgx_trts
6
17
13
73
50
36
33
sgx_libc
12
12
31
40
sgx_unwind
1
10
242
6
146
3
common
9
8
36
52
9
10
sgx_signal
2
6
10
25
sgx_alloc
8
14
51
20
11
5
sgx_urts
7
16
120
53
21
10
sgx_backtrace
3
3
18
26
19
sgx_align_struct_attribute
6
4
24
sgx_no_tstd
6
6
11
3
sgx_panic_unwind
5
6
3
sgx_backtrace_sys
4
10
21
41
sgx_ucrypto
4
6
33
22
sgx_tse
4
2
14
13
8
7
sgx_tseal
1
3
6
29
24
17
18
sgx_tprotected_fs
4
2
17
14
12
9
sgx_tcrypto
4
6
17
17
14
12
sgx_tunittest
3
4
12
21
8
5
sgx_tcrypto_helper
3
2
7
13
sgx_build_helper
3
4
2
4
sgx_cov
3
4
5
9
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_edl
3
10
75
sgx_crypto_helper
3
2
17
18
sgx_tkey_exchange
3
2
12
11
8
7
sgx_tdh
3
6
22
22
13
14
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
xargo
1
5
11
9
6
edl
4
1


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 sgx_types sgx_types sgx_types--sgx_types 2 sgx_trts sgx_trts sgx_types--sgx_trts 2 sgx_signal sgx_signal sgx_types--sgx_signal 1 sgx_tseal sgx_tseal sgx_types--sgx_tseal 1 sgx_trts--sgx_trts 1 sgx_trts--sgx_signal 1 samplecode samplecode samplecode--samplecode 2 sgx_tstd sgx_tstd sgx_tstd--sgx_trts 1 sgx_tstd--samplecode 1 sgx_tstd--sgx_tstd 1 sgx_backtrace sgx_backtrace sgx_tstd--sgx_backtrace 1 sgx_signal--sgx_signal 1 sgx_tseal--sgx_trts 1 sgx_tseal--sgx_signal 1 sgx_unwind sgx_unwind sgx_unwind--sgx_trts 1 sgx_unwind--sgx_tstd 1 sgx_unwind--sgx_backtrace 1 sgx_backtrace--sgx_trts 1 sgx_backtrace--sgx_backtrace 1


2023-08-10 18:19