mozilla / version-control-tools
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
2% | 6% | 24% | 23% | 42%
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
py2% | 6% | 24% | 24% | 41%
js0% | 0% | 9% | 14% | 76%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
hgext5% | 10% | 19% | 28% | 35%
pylib1% | 5% | 26% | 21% | 44%
hgserver0% | 23% | 6% | 32% | 37%
hghooks0% | 0% | 36% | 27% | 35%
testing0% | 0% | 27% | 13% | 58%
scripts0% | 0% | 45% | 28% | 25%
ansible0% | 0% | 10% | 35% | 53%
hgtemplates0% | 0% | 9% | 14% | 76%
hgwsgi0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
128 59 5
190 57 5
106 52 2
211 52 4
153 47 4
118 46 2
92 41 5
129 40 2
131 39 7
292 37 4
104 33 2
37 32 3
171 29 3
133 28 2
83 28 2
80 28 4
59 26 2
71 26 0
158 25 2
104 24 1
51 23 4
84 23 3
39 22 3
36 22 1
165 22 0
61 21 2
59 21 2
100 21 1
33 20 3
76 20 2
113 20 1
82 20 4
54 19 1
31 19 2
48 19 1
69 19 3
125 19 0
83 19 1
67 19 2
61 19 4
64 19 2
130 18 4
52 18 2
34 18 2
86 18 0
29 17 2
22 17 2
49 17 3
68 17 0
43 17 3