gitlab-org / libpg_query
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
12% | 2% | 20% | 16% | 47%
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
c17% | 0% | 14% | 15% | 52%
rb0% | 10% | 40% | 18% | 29%
h0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src16% | 0% | 14% | 15% | 54%
scripts0% | 10% | 40% | 18% | 29%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
304 74 2
68 26 0
47 24 1
43 19 0
204 18 3
66 15 0
43 13 0
53 12 6
53 12 2
23 9 1
78 9 6
21 8 1
73 7 0
49 6 1
41 6 2
112 6 4
16 5 0
28 5 2
25 5 4
61 5 1
43 5 4
21 4 1
11 4 1
19 4 1
62 4 3
198 4 4
21 3 0
60 3 1
17 3 2
76 3 4
34 3 1
3 2 0
9 2 2
3 2 1
20 2 0
7 2 1
9 2 1
7 2 1
10 2 1
10 2 1
53 2 1
20 2 1
8 2 1
15 2 2
20 2 5
3 1 0
15 1 0
3 1 1
3 1 2
12 1 0