apache / incubator-teaclave-sgx-sdk
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
0% | 2% | 5% | 10% | 81%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
cpp0% | 17% | 21% | 22% | 39%
rs0% | 0% | 2% | 7% | 89%
java0% | 0% | 17% | 3% | 78%
go0% | 0% | 23% | 22% | 53%
c0% | 0% | 0% | 18% | 81%
h0% | 0% | 0% | 28% | 71%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
samplecode0% | 7% | 10% | 14% | 67%
sgx_demangle0% | 0% | 27% | 21% | 51%
sgx_tstd0% | 0% | 1% | 8% | 89%
sgx_ucrypto0% | 0% | 6% | 11% | 82%
sgx_tcrypto0% | 0% | 6% | 11% | 82%
sgx_ustdc0% | 0% | 0% | 15% | 84%
sgx_unwind0% | 0% | 0% | 24% | 75%
sgx_backtrace0% | 0% | 0% | 19% | 80%
sgx_tseal0% | 0% | 0% | 30% | 69%
sgx_alloc0% | 0% | 0% | 12% | 87%
sgx_align_struct_attribute0% | 0% | 0% | 19% | 80%
sgx_rand0% | 0% | 0% | 2% | 97%
sgx_trts0% | 0% | 0% | 12% | 87%
sgx_serialize0% | 0% | 0% | 0% | 100%
sgx_serialize_derive0% | 0% | 0% | 0% | 100%
sgx_crypto_helper0% | 0% | 0% | 0% | 100%
sgx_tdh0% | 0% | 0% | 0% | 100%
sgx_signal0% | 0% | 0% | 0% | 100%
sgx_types0% | 0% | 0% | 0% | 100%
sgx_urts0% | 0% | 0% | 0% | 100%
sgx_backtrace_sys0% | 0% | 0% | 0% | 100%
sgx_rand_derive0% | 0% | 0% | 0% | 100%
sgx_no_tstd0% | 0% | 0% | 0% | 100%
sgx_serialize_derive_internals0% | 0% | 0% | 0% | 100%
sgx_build_helper0% | 0% | 0% | 0% | 100%
xargo0% | 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%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
179 35 2
187 35 2
179 35 2
187 35 2
84 22 2
88 21 4
88 21 4
71 20 2
111 18 1
75 18 2
169 18 2
53 16 2
72 15 2
46 15 9
71 15 2
46 15 9
73 14 2
54 14 2
44 14 0
48 13 2
81 13 1
68 13 2
78 11 2
16 11 2
38 11 2
34 11 1
38 11 2
34 11 1
44 11 3
35 10 1
47 10 0
69 10 2
33 10 7
47 10 1
43 10 1
33 10 7
67 9 2
19 9 1
20 9 1
39 9 0
71 9 0
67 9 1
52 9 2
27 9 1
57 9 0
35 8 2
105 8 2
41 8 1
16 8 5
28 8 3