alibaba / sentinel-golang
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 11% | 25% | 62%
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
go0% | 0% | 11% | 25% | 62%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
core0% | 0% | 14% | 26% | 59%
pkg0% | 0% | 6% | 23% | 70%
ext0% | 0% | 23% | 22% | 54%
example0% | 0% | 10% | 45% | 44%
api0% | 0% | 18% | 11% | 69%
logging0% | 0% | 0% | 43% | 56%
util0% | 0% | 0% | 0% | 100%
exporter0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
58 22 1
102 21 0
80 19 1
67 17 1
16 16 1
60 16 1
48 15 1
44 15 1
63 15 1
50 14 1
50 14 1
88 13 1
49 13 1
44 13 0
46 12 0
96 12 0
55 12 1
13 12 1
27 12 1
54 12 1
46 12 1
41 11 1
53 11 1
41 11 1
54 10 1
40 10 1
48 10 1
40 10 3
24 10 1
49 10 1
35 10 1
37 10 1
85 9 5
43 9 1
59 9 1
26 9 1
58 9 0
45 9 1
37 9 3
28 9 1
33 9 1
17 9 4
51 8 1
51 8 1
51 8 1
51 8 1
51 8 0
51 8 0
52 8 0
51 8 0