apache / sling-whiteboard
Conditional Complexity

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

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