apache / incubator-baremaps
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
<1% | 1% | 8% | 12% | 77%
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% | 1% | 9% | 12% | 75%
js0% | 0% | 0% | 3% | 96%
ts0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
baremaps-dem35% | 0% | 0% | 23% | 40%
baremaps-calcite0% | 4% | 19% | 14% | 60%
baremaps-pmtiles0% | 2% | 0% | 20% | 77%
baremaps-core0% | 0% | 11% | 11% | 76%
baremaps-openstreetmap0% | 0% | 8% | 6% | 84%
baremaps-flatgeobuf0% | 0% | 16% | 25% | 57%
baremaps-geoparquet0% | 0% | 9% | 16% | 73%
baremaps-maplibre0% | 0% | 6% | 10% | 83%
baremaps-postgres0% | 0% | 3% | 5% | 91%
baremaps-data0% | 0% | 2% | 9% | 88%
baremaps-shapefile0% | 0% | 5% | 23% | 71%
baremaps-rpsl0% | 0% | 22% | 55% | 22%
baremaps-server0% | 0% | 10% | 0% | 89%
basemap0% | 0% | 0% | 3% | 96%
baremaps-cli0% | 0% | 0% | 4% | 95%
baremaps-testing0% | 0% | 0% | 11% | 89%
baremaps-renderer0% | 0% | 0% | 0% | 100%
baremaps-benchmarking0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
daylight0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
219 72 3
54 31 2
25 28 1
89 27 2
58 26 3
152 25 2
54 24 1
63 23 3
122 23 2
72 23 1
54 22 2
41 21 1
45 21 1
47 19 2
96 18 2
60 18 1
97 18 1
46 18 1
22 17 2
36 17 1
21 16 1
19 16 2
36 16 1
46 16 2
18 15 3
60 15 1
45 14 1
64 14 1
57 14 1
62 13 4
63 12 3
34 12 2
44 12 1
75 12 1
86 12 1
37 12 1
38 11 2
14 11 1
42 11 3
30 11 0
37 11 1
25 10 1
30 10 1
70 10 5
83 10 0
21 10 4
54 10 1
21 10 2
45 9 1
50 9 2