gitlab-org / GitLab_FOSS
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | <1% | 1% | 6% | 91%
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% | <1% | 1% | 5% | 93%
js0% | <1% | 3% | 7% | 88%
go0% | 0% | 7% | 26% | 66%
py0% | 0% | 31% | 9% | 58%
rake0% | 0% | 0% | 11% | 88%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
app0% | <1% | 1% | 6% | 90%
lib0% | <1% | <1% | 6% | 91%
gems0% | 2% | 10% | 10% | 77%
qa0% | <1% | 1% | 4% | 93%
config0% | 6% | 6% | 11% | 74%
spec0% | <1% | 1% | 1% | 97%
workhorse0% | 0% | 7% | 26% | 66%
scripts0% | 0% | 4% | 12% | 82%
ROOT0% | 0% | 96% | 0% | 3%
tooling0% | 0% | 1% | 7% | 91%
rubocop0% | 0% | <1% | 11% | 88%
db0% | 0% | <1% | <1% | 99%
keeps0% | 0% | 0% | 6% | 93%
sidekiq_cluster0% | 0% | 0% | 17% | 82%
metrics_server0% | 0% | 0% | 0% | 100%
haml_lint0% | 0% | 0% | 0% | 100%
danger0% | 0% | 0% | 0% | 100%
storybook0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
122 48 2
59 44 2
132 43 10
133 42 0
55 39 3
172 32 2
46 31 3
46 31 3
135 31 2
34 30 1
34 29 1
134 29 0
601 29 0
146 28 1
119 28 2
56 27 2
91 26 3
52 25 0
30 25 1
82 24 1
37 22 2
98 22 0
192 21 2
101 21 0
104 21 3
58 21 0
61 20 2
40 19 4
45 19 0
107 19 0
62 19 1
24 19 0
82 18 0
84 18 1
38 18 0
85 18 2
45 17 1
42 17 2
71 17 1
17 17 0
34 16 0
47 16 1
24 16 0
51 15 3
18 15 2
47 15 10
51 15 1
32 15 1
26 15 1
44 15 1