apache / pulsar
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
8% | 12% | 28% | 20% | 30%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
java8% | 12% | 28% | 20% | 29%
go8% | 6% | 13% | 17% | 53%
py9% | 5% | 37% | 11% | 35%
lua0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
pulsar-broker8% | 15% | 31% | 22% | 21%
pulsar-functions17% | 14% | 25% | 17% | 25%
pulsar-broker-common27% | 4% | 24% | 15% | 28%
pulsar-testclient39% | 11% | 18% | 12% | 17%
pulsar-client5% | 13% | 23% | 21% | 36%
pulsar-client-tools11% | 10% | 21% | 17% | 39%
managed-ledger5% | 18% | 32% | 16% | 26%
pulsar-common2% | 3% | 24% | 24% | 44%
pulsar-client-admin-api18% | 6% | 8% | 9% | 56%
pulsar-function-go8% | 6% | 13% | 17% | 53%
pulsar-io2% | 18% | 29% | 22% | 27%
tiered-storage4% | 13% | 24% | 18% | 38%
pulsar-proxy0% | 26% | 33% | 17% | 21%
pulsar-metadata0% | 8% | 45% | 25% | 20%
pulsar-websocket0% | 20% | 30% | 21% | 27%
pulsar-transaction0% | 18% | 22% | 28% | 30%
pulsar-client-api0% | 17% | 5% | 11% | 65%
pulsar-broker-auth-sasl0% | 27% | 14% | 18% | 39%
pulsar-broker-auth-oidc0% | 12% | 37% | 28% | 21%
pulsar-client-admin0% | <1% | 17% | 8% | 73%
testmocks0% | 3% | 32% | 15% | 47%
pulsar-broker-auth-athenz0% | 59% | 26% | 0% | 14%
pulsar-client-messagecrypto-bc0% | 15% | 57% | 21% | 5%
pulsar-package-management0% | 0% | 30% | 34% | 35%
pulsar-config-validation0% | 0% | 40% | 24% | 35%
pulsar-client-auth-sasl0% | 0% | 47% | 30% | 22%
structured-event-log0% | 0% | 32% | 0% | 67%
pulsar-client-auth-athenz0% | 0% | 39% | 30% | 30%
pulsar-cli-utils0% | 0% | 51% | 0% | 48%
docker0% | 0% | 88% | 0% | 11%
pulsar-opentelemetry0% | 0% | 77% | 0% | 22%
microbench0% | 0% | 0% | 0% | 100%
bouncy-castle0% | 0% | 0% | 0% | 100%
jclouds-shaded0% | 0% | 0% | 0% | 100%
wireshark0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
2038 5 1
373 1 2
339 65 3
338 8 7
317 69 2
305 48 0
268 44 0
250 65 2
234 42 1
223 52 0
223 42 1
217 66 0
216 39 7
200 34 2
195 31 0
194 45 0
194 28 6
191 34 22
184 50 2
184 22 6
182 1 1
180 36 2
168 41 9
167 16 0
164 35 1
159 18 2
156 43 17
154 30 0
150 37 9
150 9 7
149 1 1
149 35 9
148 1 1
147 35 9
144 15 1
143 16 13
143 12 3
142 46 0
142 46 4
142 26 2
141 37 7
141 20 5
140 46 2
140 16 3
139 30 8
137 33 0
136 20 0
136 29 8
136 35 2
135 21 3