twitter / pants
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 1% | 9% | 17% | 71%
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
py0% | 1% | 11% | 20% | 66%
rs0% | 0% | 3% | 11% | 84%
java0% | 0% | 4% | 17% | 77%
scala0% | 0% | 5% | 10% | 84%
js0% | 0% | 0% | 12% | 87%
cpp0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src0% | 1% | 9% | 17% | 71%
contrib0% | 4% | 9% | 20% | 66%
pants-plugins0% | 0% | 9% | 20% | 69%
testprojects0% | 0% | 0% | 9% | 90%
build-support0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
156 48 1
131 42 3
153 34 4
59 30 11
70 30 4
58 29 2
61 28 2
40 26 2
79 25 3
35 24 3
46 24 3
44 23 1
83 21 3
44 20 1
43 20 2
36 20 3
69 20 10
66 20 1
72 19 2
110 19 3
45 19 3
52 18 2
24 18 1
51 18 5
43 18 2
40 17 1
88 17 6
56 17 3
42 16 2
28 16 1
38 16 6
53 16 7
29 16 3
18 16 4
26 16 3
17 16 4
163 16 2
50 16 3
40 15 3
24 15 2
38 15 2
32 15 2
31 15 4
31 15 3
36 15 7
42 15 3
45 15 1
25 15 2
19 15 2
23 15 2