guardian / mobile-purchases
Unit Size

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

Intro
Learn more...
Unit Size Overall
8% | 14% | 43% | 17% | 16%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
ts4% | 14% | 48% | 17% | 14%
py67% | 32% | 0% | 0% | 0%
sbt0% | 0% | 84% | 0% | 15%
scala0% | 0% | 0% | 44% | 55%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
typescript4% | 14% | 48% | 17% | 14%
adjust_report_etl67% | 32% | 0% | 0% | 0%
ROOT0% | 0% | 84% | 0% | 15%
scala0% | 0% | 0% | 48% | 51%
project0% | 0% | 0% | 0% | 100%
cdk0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
149 35 1
135 15 2
94 30 1
66 7 2
65 12 1
64 1 1
58 5 2
53 10 2
52 11 1
51 18 1
50 6 2
49 10 2
49 7 2
47 6 1
46 10 1
46 8 1
45 6 1
44 1 1
44 6 2
43 6 1
42 6 1
42 1 1
41 6 1
40 3 2
39 10 1
39 11 1
39 6 0
38 10 0
37 5 1
36 5 2
35 7 1
35 9 2
33 5 0
32 5 2
32 4 1
30 4 2
30 6 0
30 2 2
29 5 0
28 4 1
28 3 1
27 5 1
27 4 3
27 4 4
27 4 3
26 1 5
24 7 3
23 3 1
23 3 1
23 3 2