alibaba / PhotonLibOS
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | <1% | 4% | 13% | 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% | 1% | 8% | 22% | 67%
h0% | 0% | 1% | 5% | 93%
py0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
io0% | 5% | 16% | 26% | 52%
fs0% | 1% | 8% | 18% | 72%
net0% | 0% | 7% | 20% | 72%
common0% | 0% | 2% | 9% | 88%
rpc0% | 0% | 13% | 9% | 77%
thread0% | 0% | 1% | 15% | 82%
ROOT0% | 0% | 45% | 0% | 54%
include0% | 0% | 0% | 6% | 93%
ecosystem0% | 0% | 0% | 12% | 87%
tools0% | 0% | 0% | 0% | 100%
doc0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
77 29 3
103 27 1
59 25 1
55 23 2
69 22 4
46 21 3
54 20 2
71 20 2
92 19 1
72 18 4
44 18 1
36 16 3
45 15 1
36 15 3
16 15 1
44 15 1
72 14 2
23 13 1
23 13 1
25 12 1
42 12 1
48 12 1
36 12 2
40 12 3
54 12 3
60 12 1
49 11 3
45 11 0
32 11 3
19 11 1
37 11 3
44 11 3
46 11 1
27 11 1
7 11 1
41 10 3
26 10 4
29 10 0
35 10 2
72 10 3
56 10 4
17 10 1
36 10 4
34 10 3
30 10 4
25 10 1
26 10 3
17 10 2
27 10 4
22 9 1