Uber / starlark-go
Unit Size

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

Intro
Learn more...
Unit Size Overall
25% | 12% | 22% | 20% | 19%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go25% | 12% | 22% | 20% | 19%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
starlark23% | 12% | 21% | 21% | 20%
syntax37% | 9% | 19% | 16% | 16%
internal27% | 9% | 38% | 7% | 16%
lib19% | 14% | 16% | 27% | 22%
resolve24% | 27% | 21% | 14% | 12%
cmd0% | 83% | 0% | 0% | 16%
repl0% | 0% | 67% | 18% | 14%
starlarkstruct0% | 0% | 34% | 46% | 19%
starlarktest0% | 0% | 0% | 57% | 42%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
522 124 1
397 146 3
294 99 1
182 54 4
153 24 1
148 46 1
137 45 1
137 52 1
133 29 1
131 30 1
123 10 1
117 30 4
116 31 4
113 43 2
107 34 2
91 23 4
89 35 2
86 31 1
83 14 0
78 24 3
74 19 1
74 20 4
74 22 2
73 24 1
69 15 1
68 15 0
68 19 1
63 14 4
61 21 1
57 14 1
56 24 4
55 16 3
55 11 1
54 18 4
53 22 2
52 12 1
50 14 4
49 11 3
48 21 2
48 13 4
47 5 1
45 10 2
41 15 1
41 12 1
40 9 1
40 12 4
40 8 4
40 12 4
39 10 3
39 11 1