mozilla / application-services
Unit Size

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

Intro
Learn more...
Unit Size Overall
17% | 18% | 30% | 18% | 14%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
rs19% | 20% | 29% | 17% | 12%
swift9% | 0% | 12% | 24% | 52%
py0% | 9% | 42% | 26% | 21%
kt0% | 2% | 26% | 23% | 47%
groovy0% | 0% | 63% | 16% | 20%
js0% | 0% | 0% | 85% | 14%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
components18% | 19% | 29% | 18% | 13%
megazords9% | 0% | 12% | 24% | 52%
testing18% | 26% | 34% | 14% | 6%
automation0% | 18% | 36% | 19% | 25%
taskcluster0% | 6% | 43% | 29% | 21%
tools0% | 5% | 55% | 22% | 16%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
813 2 0
509 1 0
476 3 0
358 16 0
352 7 0
336 4 3
328 1 0
311 17 0
290 6 4
287 3 0
273 1 0
242 1 0
225 3 0
219 1 0
214 1 0
208 1 0
205 2 0
205 1 0
200 1 0
190 1 0
186 1 0
186 1 0
180 11 2
179 1 0
175 8 0
173 9 3
162 1 0
160 3 0
158 1 0
156 1 0
154 1 0
154 2 0
152 1 0
151 3 1
150 24 2
145 1 0
145 1 0
145 1 0
141 3 0
139 1 0
132 14 4
131 1 0
127 3 0
126 5 2
126 15 8
125 10 6
124 2 0
124 1 0
121 2 0
117 11 2