Conditional Complexity Overall
  • There are 6,509 units with 56,707 lines of code in units (67.2% of code).
    • 0 very complex units (0 lines of code)
    • 6 complex units (974 lines of code)
    • 57 medium complex units (3,222 lines of code)
    • 250 simple units (7,691 lines of code)
    • 6,196 very simple units (44,820 lines of code)
0% | 1% | 5% | 13% | 79%
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% | 79%
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% | 16% | 63%
mantis-common0% | 0% | 8% | 8% | 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-server0% | 0% | 3% | 15% | 81%
mantis-publish0% | 0% | 1% | 15% | 83%
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
39 21 1
60 21 1
82 21 2
125 21 2
139 21 0
40 19 4
85 18 1
115 16 1
18 16 1
60 16 4
59 15 1
103 15 2
57 15 1
95 15 0
153 15 1
186 15 1
32 14 1
50 14 2
34 14 2
81 14 1
39 14 1
49 14 3
25 13 1
61 13 0
27 13 1
26 13 1
15 13 1
30 13 1
19 13 1
56 13 0
125 13 5
153 13 0
27 13 1
17 13 1
91 13 1
115 12 1
14 12 1
11 12 1
38 12 1
31 12 2
14 12 1
41 12 2
About This Analysis
  • Conditional complexity (also called cyclomatic complexity) is a term used to measure the complexity of software. The term refers to the number of possible paths through a program function. A higher value ofter means higher maintenance and testing costs (infosecinstitute.com).
  • Conditional complexity is calculated by counting all conditions in the program that can affect the execution path (e.g. if statement, loops, switches, and/or operators, try and catch blocks...).
  • Conditional complexity is measured at the unit level (methods, functions...).
  • Units are classified in four categories based on the measured McCabe index: 1-5 (simple units), 6-10 (medium complex units), 11-25 (complex units), 26+ (very complex units).
Learn more...