twitter / groupcache
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 0% | 22% | 77%
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
go0% | 0% | 0% | 22% | 77%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
ROOT0% | 0% | 0% | 29% | 70%
groupcachepb0% | 0% | 0% | 0% | 100%
lru0% | 0% | 0% | 0% | 100%
consistenthash0% | 0% | 0% | 0% | 100%
singleflight0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
52 10 1
35 8 1
37 7 1
36 7 1
36 7 1
36 7 1
31 6 6
29 6 1
23 6 1
16 5 1
15 5 1
15 5 1
21 5 1
29 5 1
26 5 1
18 5 1
22 5 2
23 5 4
26 5 5
13 4 1
13 4 1
11 4 1
17 4 1
10 3 1
8 3 1
9 3 1
10 3 1
10 3 1
11 3 1
10 3 1
21 3 1
13 3 1
11 3 1
10 3 1
13 3 1
11 3 1
15 3 4
12 3 2
13 3 1
12 3 1
12 3 1
8 2 1
6 2 1
6 2 1
6 2 1
6 2 1
6 2 1
6 2 1
6 2 1
6 2 1