twitter / ccommon
Unit Size

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

Intro
Learn more...
Unit Size Overall
15% | 5% | 13% | 16% | 49%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
rs22% | 0% | 11% | 12% | 53%
c0% | 47% | 26% | 9% | 16%
h0% | 0% | 13% | 32% | 54%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
rust22% | 0% | 11% | 12% | 53%
src0% | 47% | 26% | 9% | 16%
include0% | 0% | 13% | 32% | 54%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
134 3 0
107 5 1
102 5 1
70 17 4
52 17 4
44 1 2
36 7 3
32 5 4
31 3 1
30 3 1
24 4 2
23 4 1
23 4 1
21 3 2
21 7 2
21 3 2
19 2 1
17 3 2
17 3 3
16 5 3
16 1 2
15 3 3
15 3 3
15 4 1
14 2 1
14 2 1
14 2 2
14 1 0
14 4 3
13 2 1
13 1 3
12 1 1
12 1 1
12 1 1
12 1 2
12 1 0
11 1 2
11 1 1
11 1 2
11 1 2
11 1 1
11 1 2
11 2 1
11 3 1
10 3 2
10 1 2
10 1 2
10 1 2
10 1 2
10 1 0