elastic / elasticsearch-labs
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | <1% | 15% | 84%
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
py0% | 0% | 1% | 12% | 86%
js0% | 0% | 0% | 20% | 79%
tsx0% | 0% | 0% | 40% | 59%
go0% | 0% | 0% | 0% | 100%
cs0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
supporting-blog-content0% | 0% | 1% | 14% | 84%
example-apps0% | 0% | 0% | 16% | 83%
notebooks0% | 0% | 0% | 0% | 100%
telemetry0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
34 15 2
44 10 0
56 10 0
58 9 1
24 8 0
71 7 4
13 7 2
29 7 0
28 7 4
16 7 3
83 7 2
70 6 2
14 6 0
17 6 1
52 6 0
19 6 4
9 6 1
15 5 0
15 5 0
61 5 0
80 5 0
53 5 0
13 5 1
23 5 0
75 5 0
33 5 4
31 5 3
26 5 1
11 4 0
11 4 2
11 4 0
11 4 2
15 4 1
51 4 3
84 4 0
14 4 2
42 4 2
19 4 0
12 4 3
22 4 4
15 4 7
51 4 2
38 4 1
38 4 1
21 4 6
73 4 0
6 4 1
18 3 1
23 3 3
23 3 3