apache / sling-whiteboard
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
1% | 3% | 13% | 15% | 66%
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% | 14% | 15% | 65%
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%
atomosfeaturelauncherconfig0% | 0% | 47% | 9% | 42%
org.apache.sling.ddr0% | 0% | 41% | 20% | 38%
it-is-cloudy-here0% | 0% | 19% | 17% | 62%
codesign0% | 0% | 42% | 0% | 57%
remote-content-api0% | 0% | 9% | 6% | 84%
mdresourcedecorator0% | 0% | 27% | 15% | 56%
org.apache.sling.offline0% | 0% | 17% | 0% | 82%
SlingModelPersist0% | 0% | 0% | 43% | 56%
upgrade0% | 0% | 0% | 24% | 75%
org.apache.sling.thumbnails0% | 0% | 0% | 13% | 86%
slingpost0% | 0% | 0% | 35% | 64%
atomosfeaturelauncher0% | 0% | 0% | 22% | 77%
sling-repoinit-maven-plugin0% | 0% | 0% | 25% | 74%
json-store0% | 0% | 0% | 24% | 75%
resource-predicates0% | 0% | 0% | 29% | 70%
atomosfeaturelauncherweaver0% | 0% | 0% | 38% | 61%
capabilities-oak0% | 0% | 0% | 51% | 48%
mdresourceprovider0% | 0% | 0% | 20% | 79%
org.apache.sling.repoinit.webconsole0% | 0% | 0% | 22% | 77%
serverless-microsling0% | 0% | 0% | 13% | 86%
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%
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%
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
33 22 1
70 22 2
79 21 3
78 17 2
78 17 2
78 17 2
203 16 0
70 16 3
39 16 1
39 16 1
52 16 3
59 16 1
55 15 6
56 14 4
61 14 1
72 14 0
53 14 3
51 13 2
50 13 1
67 13 3
29 12 1
44 12 3
39 12 2
61 12 1
54 11 2
58 11 1
45 11 0
47 11 0
44 11 0
25 10 1
55 10 2
33 10 2
20 10 1
24 10 2
42 10 0
26 10 2
27 10 5
20 10 1
46 9 1
34 9 0
38 9 0
17 9 1
49 9 0