JetBrains / leveldb
Unit Size

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

Intro
Learn more...
Unit Size Overall
4% | 18% | 29% | 22% | 25%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
cc4% | 18% | 31% | 23% | 21%
h0% | 17% | 0% | 12% | 69%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
db5% | 25% | 31% | 15% | 21%
benchmarks7% | 21% | 38% | 21% | 10%
util0% | 10% | 18% | 34% | 35%
table0% | 6% | 30% | 29% | 33%
helpers0% | 0% | 23% | 32% | 43%
port0% | 0% | 0% | 41% | 58%
include0% | 0% | 0% | 9% | 90%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
128 32 1
113 24 1
110 34 0
97 23 5
92 22 2
86 28 1
78 12 6
75 13 3
71 18 0
70 17 2
69 17 0
66 16 0
65 29 2
65 12 2
64 10 4
63 7 1
62 9 4
60 9 2
59 13 1
58 9 3
58 14 2
57 9 2
56 16 2
53 10 1
52 12 6
51 9 2
51 9 0
51 15 0
50 24 2
48 6 0
48 9 0
48 10 1
47 6 1
46 14 1
44 9 0
44 6 2
44 10 2
42 18 2
42 13 3
41 9 1
41 7 2
39 8 3
38 8 0
38 9 1
38 9 3
37 7 3
37 13 4
37 4 3
37 10 0
36 8 1