twitter / scrooge
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 2% | 19% | 20% | 57%
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
scala0% | 2% | 19% | 19% | 58%
java0% | 0% | 12% | 37% | 50%
py0% | 0% | 0% | 97% | 2%
sbt0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
scrooge-generator0% | 4% | 25% | 21% | 48%
scrooge-core0% | 0% | 7% | 15% | 76%
scrooge-adaptive0% | 0% | 23% | 23% | 53%
scrooge-thrift-validation0% | 0% | 62% | 0% | 37%
scrooge-maven-plugin0% | 0% | 11% | 34% | 54%
scrooge-linter0% | 0% | 9% | 30% | 59%
doc0% | 0% | 0% | 97% | 2%
scrooge-benchmark0% | 0% | 0% | 0% | 100%
scrooge-serializer0% | 0% | 0% | 0% | 100%
scrooge-sbt-plugin0% | 0% | 0% | 0% | 100%
project0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
90 32 2
46 31 5
43 29 5
58 24 2
103 22 1
76 21 3
161 19 3
32 19 2
33 18 5
24 17 1
39 17 2
58 17 3
19 16 1
59 16 4
26 16 2
35 16 1
42 16 3
20 16 1
40 15 2
27 15 3
36 15 3
26 14 1
16 14 0
48 13 3
16 13 2
69 13 0
37 12 2
17 12 1
16 12 2
16 11 1
16 11 1
17 11 1
17 11 1
16 11 1
95 11 2
19 11 1
12 11 1
35 11 1
32 10 3
19 10 2
15 10 1
39 9 1
42 9 0
10 9 1
99 9 2
13 9 2
13 9 2
22 9 1
35 9 1
33 8 2