apache / kafka
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
<1% | 1% | 9% | 16% | 72%
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
java<1% | <1% | 8% | 16% | 74%
scala1% | 5% | 18% | 24% | 50%
py0% | 0% | 14% | 24% | 61%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
clients<1% | <1% | 7% | 14% | 76%
server12% | 0% | 0% | 10% | 77%
core1% | 4% | 18% | 24% | 50%
generator3% | 5% | 23% | 16% | 50%
connect0% | 1% | 8% | 15% | 74%
trogdor0% | 3% | 1% | 22% | 71%
group-coordinator0% | 1% | 8% | 18% | 71%
storage0% | <1% | 10% | 12% | 76%
metadata0% | <1% | 11% | 20% | 67%
tools0% | <1% | 11% | 18% | 69%
streams0% | 0% | 6% | 16% | 76%
raft0% | 0% | 12% | 17% | 70%
server-common0% | 0% | 3% | 11% | 84%
jmh-benchmarks0% | 0% | 7% | 5% | 86%
coordinator-common0% | 0% | 10% | 14% | 74%
committer-tools0% | 0% | 30% | 26% | 42%
shell0% | 0% | 10% | 13% | 76%
share-coordinator0% | 0% | 0% | 39% | 60%
release0% | 0% | 0% | 16% | 83%
docker0% | 0% | 0% | 42% | 57%
transaction-coordinator0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
185 90 1
185 90 2
185 90 3
185 90 3
101 84 2
210 69 8
186 51 2
64 46 0
148 46 7
74 43 0
101 40 1
108 40 2
75 39 1
84 38 2
121 36 3
58 35 2
89 35 3
108 35 1
101 34 5
98 34 3
190 31 1
81 30 1
124 30 0
80 30 1
241 29 1
93 29 3
131 29 0
182 27 3
59 27 1
134 27 4
144 26 1
127 26 1
169 26 4
146 26 0
142 25 6
115 25 4
175 25 1
92 25 1
85 25 3
64 25 0
89 25 3
59 24 0
55 24 0
74 24 1
87 24 5
156 24 1
72 24 0
49 23 0
72 23 1
109 23 4