elastic / opentelemetry-demo
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 3% | 9% | 33% | 53%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go0% | 3% | 5% | 34% | 56%
java0% | 23% | 28% | 25% | 23%
py0% | 6% | 15% | 53% | 23%
cs0% | 0% | 57% | 30% | 11%
cpp0% | 0% | 56% | 28% | 15%
kt0% | 0% | 44% | 0% | 55%
tsx0% | 0% | 16% | 58% | 24%
php0% | 0% | 78% | 0% | 21%
ts0% | 0% | 0% | 16% | 83%
h0% | 0% | 0% | 38% | 61%
js0% | 0% | 0% | 39% | 60%
rb0% | 0% | 0% | 100% | 0%
rs0% | 0% | 0% | 0% | 100%
m0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
src0% | 3% | 9% | 33% | 53%
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
49 7 0
48 2 3
45 1 0
43 4 3
39 5 0
37 4 0
35 7 1
35 6 1
33 1 0
32 7 0
31 5 1
31 1 2
30 8 0
30 2 1
30 2 3
30 3 1
26 1 2
25 11 2
24 4 0
24 3 1
24 3 2
23 3 2
22 2 0
22 2 2
22 2 0
21 1 2
21 1 2
20 3 0
19 3 2
18 2 1
18 1 15
18 2 2
18 4 1
17 3 3
17 3 3
17 3 3
17 3 3
17 3 3
17 3 3
17 3 3
17 3 3
17 3 3
17 3 3
17 3 3
17 3 3