apache / sling-whiteboard
Unit Size

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

Intro
Learn more...
Unit Size Overall
3% | 9% | 25% | 20% | 40%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
java4% | 10% | 24% | 20% | 40%
js0% | 0% | 47% | 23% | 28%
ts0% | 0% | 30% | 30% | 39%
lua0% | 0% | 64% | 0% | 35%
groovy0% | 0% | 0% | 100% | 0%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
tag-modifier23% | 10% | 21% | 12% | 31%
connectfeaturelauncher0% | 30% | 43% | 15% | 10%
org.apache.sling.ddr0% | 28% | 37% | 16% | 16%
it-is-cloudy-here0% | 19% | 14% | 29% | 36%
org.apache.sling.jaxrs0% | 28% | 9% | 15% | 47%
jcr-wrappers0% | 5% | 2% | 3% | 87%
codesign0% | 24% | 33% | 30% | 11%
org.apache.sling.servlets.oidc-rp0% | 16% | 16% | 27% | 39%
remote-content-api0% | 9% | 11% | 17% | 61%
osgi-featuremodel0% | 8% | 13% | 17% | 59%
SlingModelPersist0% | 0% | 54% | 33% | 11%
org.apache.sling.thumbnails0% | 0% | 32% | 28% | 39%
upgrade0% | 0% | 30% | 25% | 43%
slingpost0% | 0% | 69% | 15% | 14%
encrypt0% | 0% | 45% | 14% | 39%
json-store0% | 0% | 52% | 31% | 15%
serverless-microsling0% | 0% | 54% | 28% | 17%
sling-repoinit-maven-plugin0% | 0% | 40% | 37% | 21%
mdresourcedecorator0% | 0% | 35% | 44% | 20%
chunked-distribution0% | 0% | 31% | 47% | 21%
sfsresourceprovider0% | 0% | 45% | 26% | 27%
resource-predicates0% | 0% | 29% | 23% | 47%
org.apache.sling.commons.batch0% | 0% | 20% | 25% | 54%
jmx-exporter0% | 0% | 60% | 34% | 5%
resource-schemas0% | 0% | 16% | 28% | 56%
mdresourceprovider0% | 0% | 20% | 32% | 46%
json-logs0% | 0% | 16% | 29% | 53%
maven-central-source-reporter0% | 0% | 35% | 18% | 45%
vscode-htl0% | 0% | 30% | 30% | 39%
org.apache.sling.repoinit.webconsole0% | 0% | 22% | 27% | 50%
capabilities-oak0% | 0% | 33% | 33% | 33%
transformer0% | 0% | 12% | 11% | 76%
http-caching-experiments0% | 0% | 64% | 0% | 35%
jbang0% | 0% | 60% | 0% | 40%
mvresourceprovider0% | 0% | 0% | 42% | 57%
org.apache.sling.repoinit.filevault.validator0% | 0% | 0% | 41% | 58%
graalvm0% | 0% | 0% | 13% | 86%
startup-tracker0% | 0% | 0% | 19% | 80%
fake-content-generator0% | 0% | 0% | 25% | 75%
feature-model-compare0% | 0% | 0% | 100% | 0%
metrics-prometheus0% | 0% | 0% | 0% | 100%
aries-jax-rs-whiteboard0% | 0% | 0% | 0% | 100%
hc-resource0% | 0% | 0% | 0% | 100%
featuremodel0% | 0% | 0% | 0% | 100%
instance-stopper0% | 0% | 0% | 0% | 100%
starter-system-info0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
157 58 2
141 49 2
129 31 0
115 34 2
100 48 1
79 21 3
78 17 2
78 17 2
78 17 2
75 25 4
72 14 0
70 22 2
70 16 3
66 1 2
64 24 4
61 14 1
61 12 1
61 11 2
59 16 1
56 14 4
55 15 6
53 14 3
52 16 3
51 17 5
51 13 2
50 1 0
50 13 1
49 1 0
49 9 0
47 11 0
46 8 0
46 9 1
45 11 0
44 1 2
44 11 0
43 4 2
42 9 3
42 10 0
41 7 3
41 6 2
40 8 2
40 6 4
39 3 1
39 5 2
39 16 1
39 16 1
39 12 2
38 9 0
37 10 3
37 7 2