GoogleCloudPlatform / spanner-migration-tool
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
1% | 6% | 17% | 26% | 48%
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
go1% | 7% | 18% | 28% | 44%
ts0% | 2% | 10% | 15% | 72%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
internal22% | 0% | 5% | 24% | 47%
sources0% | 14% | 18% | 31% | 36%
webv20% | 4% | 22% | 25% | 47%
reverse_replication0% | 47% | 34% | 0% | 18%
assessment0% | 6% | 13% | 39% | 40%
conversion0% | 12% | 25% | 24% | 37%
streaming0% | 11% | 19% | 26% | 42%
ui0% | 2% | 10% | 15% | 72%
cmd0% | 0% | 42% | 25% | 31%
profiles0% | 0% | 47% | 34% | 18%
testing0% | 0% | 64% | 0% | 35%
spanner0% | 0% | 9% | 37% | 53%
common0% | 0% | 5% | 18% | 75%
performance0% | 0% | 51% | 0% | 48%
accessors0% | 0% | 4% | 19% | 76%
import_data0% | 0% | 0% | 51% | 48%
proto0% | 0% | 0% | 18% | 81%
expressions_api0% | 0% | 0% | 24% | 75%
schema0% | 0% | 0% | 75% | 24%
dao0% | 0% | 0% | 0% | 100%
logger0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
399 85 8
172 49 2
141 45 2
119 43 2
153 43 4
99 43 4
140 41 2
107 36 3
100 33 1
94 32 4
85 31 3
119 31 3
88 31 2
169 30 1
102 28 2
132 27 5
100 26 0
191 26 0
55 24 2
68 24 0
87 23 0
42 22 1
105 21 2
77 21 3
94 21 1
47 20 2
39 19 1
105 19 1
52 19 1
80 19 7
41 18 1
48 18 2
98 18 1
63 17 0
58 17 1
89 17 2
82 17 1
93 17 1
88 17 0
66 17 1
93 17 2
71 17 2
29 17 5
78 16 0
70 16 1
57 16 5
46 16 1
55 16 2
71 16 2
70 16 2