mozilla / bugbug
Unit Size

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

Intro
Learn more...
Unit Size Overall
25% | 20% | 26% | 12% | 15%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py26% | 17% | 26% | 12% | 17%
js22% | 38% | 24% | 8% | 5%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
bugbug21% | 17% | 26% | 14% | 20%
scripts37% | 18% | 26% | 7% | 8%
ui22% | 39% | 25% | 7% | 5%
http_service21% | 7% | 37% | 16% | 17%
infra0% | 56% | 0% | 35% | 8%
functions0% | 0% | 22% | 34% | 42%
ROOT0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
749 205 1
256 105 3
228 46 1
206 57 4
196 15 3
194 25 3
190 3 3
185 32 3
178 34 3
171 1 3
163 31 1
151 14 0
149 29 3
142 28 0
142 33 2
140 31 2
139 21 1
138 77 2
116 32 3
113 18 2
105 24 2
101 1 1
101 21 4
95 26 1
94 12 1
90 26 1
89 26 1
87 39 2
82 2 3
82 17 5
81 21 3
75 28 1
74 27 1
72 1 2
71 1 2
70 3 3
68 8 1
67 1 1
67 13 2
66 7 2
65 6 4
65 2 3
64 3 2
64 11 1
63 5 4
62 1 2
62 4 2
62 16 2
61 1 2
61 14 6