mysql / mysql-server
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
6% | 7% | 18% | 16% | 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
cc7% | 9% | 21% | 19% | 41%
cpp6% | 10% | 24% | 20% | 37%
c13% | 12% | 26% | 16% | 31%
hpp1% | 3% | 9% | 10% | 74%
java5% | 3% | 10% | 10% | 69%
inc7% | 0% | 15% | 12% | 64%
h<1% | 1% | 4% | 8% | 85%
pl11% | 10% | 20% | 14% | 42%
pm6% | 9% | 18% | 17% | 47%
php4% | 6% | 23% | 13% | 51%
py0% | 4% | 17% | 17% | 61%
cs0% | 1% | 9% | 19% | 69%
ipp0% | 0% | 11% | 22% | 66%
rb0% | 0% | 73% | 0% | 26%
lua0% | 0% | 0% | 68% | 31%
m0% | 0% | 0% | 48% | 51%
kt0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
extra6% | 5% | 15% | 13% | 59%
storage5% | 9% | 21% | 19% | 44%
sql8% | 11% | 22% | 18% | 38%
mysql-test7% | 1% | 17% | 13% | 61%
client16% | 16% | 27% | 16% | 23%
mysys11% | 12% | 21% | 20% | 33%
router2% | 5% | 16% | 18% | 56%
sql-common11% | 11% | 24% | 21% | 29%
strings13% | 17% | 20% | 21% | 26%
plugin1% | 4% | 17% | 19% | 57%
components4% | 2% | 10% | 27% | 55%
utilities8% | 7% | 31% | 20% | 30%
libs2% | 3% | 5% | 11% | 76%
libmysql2% | 3% | 31% | 26% | 35%
include0% | 3% | 2% | 7% | 85%
scripts0% | 10% | 0% | 48% | 40%
unittest0% | 0% | 5% | 7% | 86%
vio0% | 0% | 33% | 28% | 38%
testclients0% | 0% | 46% | 14% | 38%
vector-common0% | 0% | 62% | 32% | 5%
libchangestreams0% | 0% | 25% | 25% | 49%
cmake0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
4433 805 0
1502 583 2
3568 516 4
2261 353 2
965 290 5
495 281 4
711 279 13
1179 261 4
1025 252 3
1069 249 3
757 248 3
1094 226 2
737 221 2
726 220 10
1067 211 2
565 208 2
635 204 2
634 196 3
897 194 1
501 192 5
373 185 3
572 185 2
577 182 2
463 172 4
611 169 9
646 159 4
822 157 5
517 153 11
546 152 1
501 149 1
527 149 7
645 146 5
310 144 2
579 143 1
327 142 0
482 140 6
449 137 6
563 134 9
574 131 2
761 131 5
514 129 2
322 128 3
331 127 2
645 126 1
181 124 1
77 123 1
334 122 7
416 121 2
402 119 3
726 118 2