mozilla / pontoon
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
9% | 4% | 18% | 21% | 47%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
js24% | 2% | 17% | 14% | 40%
tsx0% | 12% | 18% | 31% | 38%
py0% | 2% | 20% | 22% | 54%
ts0% | 4% | 10% | 24% | 61%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
pontoon11% | 2% | 18% | 18% | 47%
translate0% | 9% | 15% | 28% | 46%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
2510 190 1
164 38 4
107 34 3
106 34 3
180 32 0
164 31 3
66 31 2
198 30 7
90 28 1
43 27 1
89 26 2
44 25 2
106 25 1
134 24 1
265 24 5
90 23 2
117 22 2
70 22 1
36 20 1
85 20 1
109 20 2
48 19 4
53 19 8
105 18 1
71 18 1
89 18 2
113 18 1
74 16 1
28 16 2
53 16 3
73 16 1
63 16 2
86 16 1
67 16 2
25 15 1
38 15 1
85 15 0
75 15 3
67 15 1
93 15 1
46 15 2
39 15 2
151 15 3
71 14 5
45 14 2
42 14 2
35 14 2
25 14 3
48 14 2
112 14 2