apache / incubator-s2graph
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | <1% | 11% | 20% | 66%
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
scala0% | <1% | 11% | 21% | 66%
java0% | 0% | 11% | 5% | 82%
py0% | 0% | 0% | 0% | 100%
sbt0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
s2core0% | 1% | 14% | 19% | 64%
loader0% | 0% | 24% | 14% | 60%
s2jobs0% | 0% | 8% | 11% | 80%
s2rest_play0% | 0% | 14% | 32% | 52%
s2rest_netty0% | 0% | 41% | 25% | 32%
s2counter_loader0% | 0% | 5% | 34% | 59%
s2counter_core0% | 0% | 1% | 34% | 63%
s2graphql0% | 0% | 1% | 7% | 91%
spark0% | 0% | 0% | 15% | 84%
s2http0% | 0% | 0% | 0% | 100%
project0% | 0% | 0% | 0% | 100%
s2graph_gremlin0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
54 38 2
60 35 3
44 29 2
73 25 2
22 21 1
63 18 5
101 18 2
147 18 4
25 17 1
15 17 2
75 17 4
41 17 1
36 17 3
49 16 2
36 16 4
22 15 1
57 15 2
78 15 4
44 14 5
73 14 1
70 14 4
48 14 1
63 14 3
46 14 2
34 14 1
17 14 2
25 14 2
111 14 0
129 14 4
44 13 1
72 13 4
17 13 2
55 13 1
84 13 2
38 13 7
25 13 1
52 12 4
41 12 2
72 12 2
14 11 1
14 11 1
37 11 2
45 11 7
26 11 2
68 11 2
51 11 2
12 11 3
16 10 1
16 10 2
45 10 3