elastic / elasticsearch-specification
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
4% | 12% | 14% | 17% | 51%
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
ts7% | 15% | 20% | 17% | 38%
js0% | 40% | 0% | 9% | 49%
py0% | 0% | 23% | 0% | 76%
rs0% | 0% | 0% | 18% | 81%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
compiler7% | 19% | 19% | 17% | 36%
typescript-generator0% | 0% | 29% | 19% | 50%
output0% | 0% | 23% | 0% | 76%
compiler-rs0% | 0% | 0% | 17% | 82%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
291 67 3
108 42 2
113 42 1
89 37 3
129 35 0
90 30 4
218 29 1
71 24 3
27 21 2
66 18 4
50 18 1
71 17 3
50 17 2
36 17 3
35 16 2
75 16 4
48 15 1
46 15 2
33 13 2
30 12 2
54 12 3
23 12 2
37 11 1
31 11 3
32 11 0
56 11 1
31 10 2
27 10 1
19 10 1
36 9 1
30 9 1
20 9 1
60 9 2
27 8 2
32 8 2
23 8 2
79 8 2
19 7 2
30 7 2
10 7 1
26 7 1
25 7 2
17 7 1
44 7 1
35 7 2
18 7 2
15 7 1
16 7 1
18 7 2
14 7 2