twitter / rustcommon
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 0% | 6% | 93%
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
rs0% | 0% | 0% | 6% | 93%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
time0% | 0% | 0% | 31% | 68%
waterfall0% | 0% | 0% | 60% | 40%
atomics0% | 0% | 0% | 0% | 100%
logger0% | 0% | 0% | 0% | 100%
metrics0% | 0% | 0% | 0% | 100%
heatmap0% | 0% | 0% | 0% | 100%
histogram0% | 0% | 0% | 0% | 100%
timer0% | 0% | 0% | 0% | 100%
streamstats0% | 0% | 0% | 0% | 100%
ratelimiter0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
117 7 1
27 6 5
19 5 2
24 5 1
32 5 3
32 5 3
19 5 2
10 4 2
8 4 1
33 4 1
12 4 2
20 4 1
17 4 0
31 4 3
31 4 3
8 3 1
61 3 1
9 3 2
9 3 1
11 3 2
15 3 0
10 3 2
22 3 0
22 3 0
19 3 2
13 3 1
8 3 1
14 3 2
4 2 1
4 2 1
6 2 2
16 2 1
10 2 2
10 2 2
10 2 2
10 2 2
10 2 2
10 2 2
10 2 2
10 2 2
10 2 2
10 2 2
10 2 2
10 2 2
10 2 2
10 2 2
10 2 2
10 2 2
10 2 2
10 2 2