JetBrains / CMake
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
26% | 19% | 26% | 15% | 12%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
cxx27% | 18% | 26% | 16% | 11%
c26% | 20% | 27% | 14% | 10%
cpp6% | 18% | 27% | 24% | 22%
h0% | 4% | 13% | 16% | 65%
py0% | 15% | 26% | 27% | 29%
hxx0% | 0% | 0% | 11% | 88%
cc0% | 0% | 0% | 100% | 0%
pl0% | 0% | 0% | 73% | 26%
m0% | 0% | 0% | 100% | 0%
mm0% | 0% | 0% | 100% | 0%
inl0% | 0% | 0% | 0% | 100%
tcc0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
Source27% | 18% | 26% | 15% | 12%
Utilities25% | 20% | 27% | 15% | 11%
Help0% | 0% | 3% | 79% | 16%
Modules0% | 0% | 12% | 35% | 52%
Auxiliary0% | 0% | 0% | 73% | 26%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
1116 250 3
1094 226 2
1067 211 2
911 110 3
840 173 2
840 266 2
757 190 2
757 248 3
745 76 1
697 97 1
646 159 4
635 204 2
634 196 3
600 144 3
554 77 4
543 83 1
514 98 2
496 68 3
477 119 0
469 131 1
463 90 9
453 87 3
452 75 2
442 104 2
438 99 1
434 67 4
430 71 2
421 97 3
415 92 2
411 115 3
411 112 10
402 119 3
392 84 2
383 80 1
377 108 6
366 107 1
366 132 2
361 84 3
352 66 0
343 55 2
339 41 0
333 65 0
328 53 2
327 104 0
325 50 2
323 117 1
320 101 2
319 56 1
318 111 2
314 109 2