apache / incubator-teaclave-sgx-sdk
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
4% | 9% | 26% | 22% | 36%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
cpp21% | 17% | 31% | 12% | 17%
rs2% | 8% | 25% | 23% | 40%
c0% | 6% | 28% | 29% | 35%
java0% | 14% | 29% | 21% | 35%
go0% | 23% | 42% | 23% | 10%
h0% | 0% | 28% | 18% | 52%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
samplecode11% | 12% | 31% | 24% | 18%
sgx_demangle22% | 28% | 20% | 14% | 14%
sgx_tstd0% | 4% | 22% | 20% | 52%
sgx_serialize_derive0% | 39% | 46% | 7% | 6%
sgx_rand0% | 17% | 10% | 19% | 53%
sgx_crypto_helper0% | 21% | 8% | 44% | 25%
sgx_backtrace_sys0% | 91% | 0% | 0% | 8%
sgx_rand_derive0% | 100% | 0% | 0% | 0%
sgx_unwind0% | 19% | 33% | 31% | 16%
sgx_no_tstd0% | 90% | 0% | 0% | 9%
sgx_signal0% | 29% | 17% | 24% | 28%
sgx_ucrypto0% | 0% | 50% | 34% | 15%
sgx_tcrypto0% | 0% | 50% | 34% | 14%
sgx_ustdc0% | 0% | 20% | 21% | 57%
sgx_tdh0% | 0% | 60% | 22% | 17%
sgx_backtrace0% | 0% | 35% | 27% | 37%
sgx_alloc0% | 0% | 30% | 26% | 42%
sgx_tseal0% | 0% | 59% | 0% | 40%
sgx_urts0% | 0% | 53% | 9% | 37%
sgx_serialize0% | 0% | 5% | 23% | 71%
sgx_align_struct_attribute0% | 0% | 19% | 41% | 39%
sgx_trts0% | 0% | 0% | 49% | 50%
xargo0% | 0% | 0% | 100% | 0%
sgx_serialize_derive_internals0% | 0% | 0% | 50% | 50%
sgx_types0% | 0% | 0% | 0% | 100%
sgx_build_helper0% | 0% | 0% | 0% | 100%
sgx_libc0% | 0% | 0% | 0% | 100%
sgx_tprotected_fs0% | 0% | 0% | 0% | 100%
sgx_panic_unwind0% | 0% | 0% | 0% | 100%
sgx_panic_abort0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
187 35 2
187 35 2
179 35 2
179 35 2
176 2 0
169 18 2
111 18 1
105 8 2
103 7 0
93 2 3
90 3 3
88 21 4
88 21 4
85 2 4
84 22 2
84 4 1
84 2 0
81 13 1
78 11 2
75 18 2
74 4 1
73 14 2
72 15 2
71 9 0
71 20 2
71 15 2
70 2 0
69 10 2
68 13 2
67 9 2
67 9 1
64 8 3
64 8 3
61 1 2
59 5 1
59 1 0
59 1 0
58 1 2
57 9 0
56 6 0
55 5 4
54 3 2
54 14 2
54 5 1
53 5 2
53 16 2
52 5 2
52 9 2
51 2 3
51 3 1