gitlab-org / pg_query
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
16% | 8% | 20% | 16% | 36%
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
c18% | 9% | 23% | 17% | 32%
rb26% | 18% | 10% | 12% | 31%
h0% | 0% | 0% | 9% | 90%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
ext16% | 8% | 21% | 16% | 37%
lib27% | 19% | 10% | 13% | 29%
spec0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
335 110 2
324 102 3
237 88 2
243 82 2
235 81 2
304 74 2
160 72 0
169 59 2
190 55 2
201 50 3
160 47 2
192 47 2
165 43 2
92 35 2
69 35 0
120 28 4
118 28 2
47 28 4
67 25 2
76 25 2
114 25 2
121 24 1
80 24 2
107 24 2
73 23 2
88 22 2
96 22 2
58 21 2
43 20 2
65 19 2
69 19 2
85 19 2
211 18 1
81 18 3
31 18 0
68 17 2
55 17 2
45 16 2
54 16 2
88 15 1
61 14 2
61 14 2
51 14 2
56 14 2
103 13 1
49 13 2
46 13 3
56 13 2
51 13 2
42 12 2