apache / pulsar
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
<1% | 3% | 12% | 17% | 65%
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% | 3% | 12% | 18% | 65%
go0% | 5% | 9% | 10% | 74%
py0% | 9% | 22% | 5% | 62%
lua0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
pulsar-broker<1% | 2% | 14% | 19% | 63%
pulsar-functions1% | 9% | 15% | 19% | 52%
pulsar-common2% | 0% | 5% | 15% | 76%
pulsar-client-tools2% | 3% | 12% | 12% | 67%
pulsar-testclient0% | 30% | 22% | 5% | 41%
pulsar-client0% | 3% | 12% | 17% | 66%
managed-ledger0% | 4% | 12% | 19% | 62%
pulsar-io0% | 4% | 12% | 23% | 60%
pulsar-client-api0% | 14% | 3% | 4% | 76%
pulsar-function-go0% | 5% | 9% | 10% | 74%
pulsar-broker-common0% | 1% | 5% | 15% | 77%
pulsar-proxy0% | 3% | 15% | 21% | 59%
pulsar-client-admin-api0% | 2% | 0% | 3% | 93%
pulsar-metadata0% | 0% | 10% | 23% | 66%
pulsar-websocket0% | 0% | 17% | 26% | 55%
tiered-storage0% | 0% | 12% | 15% | 72%
pulsar-transaction0% | 0% | 9% | 13% | 77%
testmocks0% | 0% | 5% | 23% | 71%
pulsar-client-admin0% | 0% | 1% | 5% | 92%
structured-event-log0% | 0% | 25% | 0% | 74%
pulsar-broker-auth-oidc0% | 0% | 12% | 13% | 73%
pulsar-broker-auth-sasl0% | 0% | 15% | 17% | 66%
docker0% | 0% | 88% | 0% | 11%
pulsar-broker-auth-athenz0% | 0% | 59% | 26% | 14%
pulsar-cli-utils0% | 0% | 26% | 25% | 48%
pulsar-client-messagecrypto-bc0% | 0% | 0% | 62% | 37%
pulsar-config-validation0% | 0% | 0% | 26% | 73%
pulsar-package-management0% | 0% | 0% | 11% | 88%
pulsar-client-auth-sasl0% | 0% | 0% | 19% | 80%
pulsar-opentelemetry0% | 0% | 0% | 77% | 22%
pulsar-client-auth-athenz0% | 0% | 0% | 24% | 75%
microbench0% | 0% | 0% | 0% | 100%
bouncy-castle0% | 0% | 0% | 0% | 100%
jclouds-shaded0% | 0% | 0% | 0% | 100%
wireshark0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
317 69 2
217 66 0
250 65 2
339 65 3
134 62 1
223 52 0
184 50 2
305 48 0
142 46 0
142 46 4
140 46 2
194 45 0
268 44 0
51 44 1
156 43 17
234 42 1
223 42 1
168 41 9
88 40 1
216 39 7
127 39 2
79 38 2
141 37 7
150 37 9
180 36 2
164 35 1
147 35 9
149 35 9
136 35 2
104 34 0
102 34 2
191 34 22
200 34 2
122 33 2
91 33 2
137 33 0
112 32 3
47 31 0
113 31 4
112 31 1
195 31 0
115 31 1
154 30 0
132 30 3
48 30 0
139 30 8
53 29 4
136 29 8
107 29 0
81 28 7