gitlab-org / cli
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
6% | 6% | 25% | 24% | 37%
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
go6% | 6% | 25% | 24% | 37%
js0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
commands7% | 7% | 28% | 25% | 31%
cmd0% | 33% | 12% | 39% | 14%
pkg0% | 0% | 15% | 22% | 62%
internal0% | 0% | 16% | 18% | 64%
api0% | 0% | 16% | 10% | 72%
scripts0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
361 101 1
266 62 1
209 58 1
190 57 1
229 56 1
186 52 1
246 42 2
168 41 1
132 34 1
151 32 1
134 32 3
117 32 0
125 29 1
112 27 1
105 27 1
36 26 2
91 26 3
78 26 1
112 25 1
79 24 1
121 24 1
94 24 1
118 23 1
52 23 1
78 22 2
37 22 2
92 22 4
57 22 3
57 22 3
114 21 1
81 21 4
122 21 1
96 21 1
108 20 1
101 20 1
64 20 1
61 19 7
60 19 1
104 19 2
74 19 1
51 18 3
63 18 4
75 18 1
53 18 1
67 18 1
97 18 3
87 18 1
69 18 1
74 18 1
52 17 2