apache / trafficcontrol
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
1% | 4% | 21% | 19% | 52%
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
go2% | 6% | 26% | 22% | 42%
js0% | 2% | 6% | 5% | 84%
java0% | 1% | 11% | 22% | 64%
ts0% | 1% | 11% | 16% | 70%
py0% | 2% | 1% | 10% | 85%
c0% | 0% | 15% | 58% | 25%
pm0% | 0% | 23% | 24% | 52%
pl0% | 0% | 0% | 15% | 84%
tsx0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
cache-config15% | 6% | 21% | 18% | 37%
traffic_ops1% | 6% | 29% | 22% | 39%
lib2% | 3% | 19% | 19% | 54%
grove0% | 16% | 10% | 14% | 58%
traffic_portal0% | 2% | 6% | 5% | 84%
traffic_router0% | 1% | 11% | 22% | 64%
traffic_monitor0% | 2% | 26% | 21% | 50%
infrastructure0% | 8% | 19% | 39% | 32%
experimental0% | <1% | 12% | 16% | 70%
tc-health-client0% | 4% | 34% | 24% | 36%
misc0% | 12% | 8% | 9% | 69%
traffic_stats0% | 0% | 14% | 49% | 35%
tools0% | 0% | 46% | 14% | 39%
traffic_server0% | 0% | 15% | 58% | 25%
traffic_control0% | 0% | 0% | 20% | 79%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
582 106 6
266 78 1
373 74 4
371 66 2
230 60 0
282 59 7
131 58 9
162 55 2
154 51 7
267 50 7
147 50 12
279 49 5
207 47 5
164 47 6
108 46 1
133 43 6
236 41 7
160 40 0
124 39 4
201 38 2
190 38 8
122 38 2
131 38 4
206 37 0
100 34 2
122 33 3
143 33 7
77 33 1
119 33 1
100 33 1
130 32 2
54 32 4
93 31 2
63 31 2
97 31 2
95 31 2
44 31 4
150 31 2
57 30 3
172 29 0
127 29 2
113 29 2
118 29 3
82 29 3
75 29 4
175 29 8
105 28 2
20 28 1
134 28 0
80 27 1