GoogleCloudPlatform / ruby-docs-samples
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 1% | 6% | 92%
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
rb0% | 0% | 1% | 5% | 93%
js0% | 0% | 0% | 85% | 15%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
media_cdn0% | 0% | 82% | 0% | 17%
jobs0% | 0% | 0% | 15% | 84%
spanner0% | 0% | 0% | 2% | 97%
run0% | 0% | 0% | 43% | 56%
getting-started0% | 0% | 0% | 6% | 93%
iap0% | 0% | 0% | 29% | 70%
appengine0% | 0% | 0% | 0% | 100%
cloud-sql0% | 0% | 0% | 0% | 100%
functions0% | 0% | 0% | 0% | 100%
spec0% | 0% | 0% | 0% | 100%
endpoints0% | 0% | 0% | 0% | 100%
auth0% | 0% | 0% | 0% | 100%
cdn0% | 0% | 0% | 0% | 100%
eventarc0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
80 13 0
53 10 0
50 8 0
19 7 0
43 7 0
46 7 0
25 6 0
46 6 0
68 6 1
14 6 0
14 5 0
49 5 0
31 5 0
11 4 0
11 4 0
11 4 0
29 4 0
47 4 0
20 4 0
24 4 0
21 4 0
15 4 0
15 4 0
15 4 0
21 4 0
21 4 0
21 4 0
14 4 0
24 4 0
13 4 0
16 4 0
15 4 0
17 4 0
19 4 0
14 4 0
45 4 0
15 4 0
16 4 0
15 4 0
16 4 0
18 4 0
14 4 0
16 4 0
8 3 0
8 3 0
8 3 0
18 3 0
19 3 0
33 3 0
8 3 0