GoogleCloudPlatform / opentelemetry-demo
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 15% | 28% | 24% | 31%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go0% | 26% | 25% | 25% | 21%
java0% | 23% | 28% | 25% | 23%
py0% | 30% | 18% | 6% | 44%
cs0% | 0% | 44% | 39% | 16%
cpp0% | 0% | 56% | 28% | 15%
kt0% | 0% | 80% | 0% | 19%
tsx0% | 0% | 56% | 28% | 15%
php0% | 0% | 78% | 0% | 21%
h0% | 0% | 0% | 38% | 61%
ts0% | 0% | 0% | 12% | 87%
js0% | 0% | 0% | 60% | 39%
rb0% | 0% | 0% | 100% | 0%
rs0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
src0% | 12% | 29% | 25% | 31%
internal0% | 100% | 0% | 0% | 0%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
72 9 1
68 7 0
65 9 2
60 9 1
59 32 4
48 2 3
48 7 0
45 1 0
39 5 0
38 4 3
37 4 0
35 7 1
35 6 1
33 1 0
31 5 1
30 2 3
30 2 1
30 3 1
30 8 0
25 11 2
24 4 2
24 4 0
22 2 2
19 3 2
19 3 1
18 4 1
17 5 0
17 4 1
17 2 2
16 4 0
16 1 0
16 1 0
16 1 0
15 3 1
15 2 1
15 1 2
14 2 0
14 2 0
14 1 1
14 2 2
14 2 2
14 1 1
14 3 3
14 2 0
14 4 1
13 1 0
13 2 0
13 2 0
13 4 1
13 2 0