elastic / elasticsearch-rails
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 14% | 12% | 72%
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% | 14% | 12% | 72%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
elasticsearch-rails0% | 0% | 62% | 0% | 37%
elasticsearch-model0% | 0% | 3% | 18% | 78%
elasticsearch-persistence0% | 0% | 0% | 3% | 96%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
97 22 2
115 14 2
35 12 2
29 10 1
11 9 1
21 8 0
21 8 2
16 7 0
12 7 2
15 6 1
13 6 1
13 6 1
14 6 1
18 6 3
10 6 0
10 6 0
7 6 1
12 5 2
17 5 3
3 5 1
12 4 2
17 4 1
36 4 1
5 4 2
15 4 1
13 4 2
15 4 2
5 4 0
5 4 0
4 3 0
12 3 4
17 3 1
5 3 0
3 3 0
10 3 0
9 3 0
15 3 1
11 3 2
10 3 1
3 3 0
8 3 1
3 3 0
3 3 0
11 3 1
12 3 2
9 3 2
3 3 1
3 3 1
3 3 0
5 2 1