netflix / mantis
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 1% | 5% | 13% | 78%
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
java0% | 1% | 5% | 13% | 78%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
mantis-control-plane0% | 1% | 4% | 14% | 79%
mantis-network0% | 19% | 14% | 3% | 61%
mantis-runtime0% | 4% | 3% | 8% | 83%
mantis-runtime-autoscaler-api0% | 2% | 16% | 17% | 64%
mantis-common0% | 0% | 8% | 9% | 82%
mantis-runtime-executor0% | 0% | 11% | 16% | 72%
mantis-connectors0% | 0% | 6% | 13% | 79%
mantis-jm-akka0% | 0% | 14% | 15% | 69%
mantis-remote-observable0% | 0% | 3% | 28% | 68%
mantis-publish0% | 0% | 3% | 13% | 83%
mantis-server0% | 0% | 3% | 15% | 81%
mantis-source-jobs0% | 0% | 0% | 26% | 73%
mantis-examples0% | 0% | 0% | 19% | 80%
mantis-runtime-loader0% | 0% | 0% | 10% | 89%
mantis-discovery-proto0% | 0% | 0% | 7% | 92%
mantis-client0% | 0% | 0% | 0% | 100%
mantis-rxcontrol0% | 0% | 0% | 0% | 100%
mantis-common-akka0% | 0% | 0% | 0% | 100%
mantis-common-serde0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
91 45 3
184 43 0
196 42 2
174 34 22
285 29 0
44 26 1
111 25 1
25 23 1
60 21 1
125 21 2
39 21 1
139 21 0
92 20 2
40 19 4
85 18 1
115 16 1
60 16 4
186 15 1
105 15 2
17 15 1
59 15 1
95 15 0
57 15 1
140 15 1
81 14 1
34 14 2
49 14 3
50 14 2
30 13 1
153 13 0
57 13 0
19 13 1
91 13 1
27 13 1
30 13 1
25 13 1
61 13 0
27 13 1
26 13 1
17 13 1
14 12 1
14 12 1
53 12 1
31 12 2
11 12 1
31 12 2
46 12 2
14 12 1
41 12 2
115 12 1