Conditional Complexity Overall
  • There are 259 units with 2,586 lines of code in units (77.4% of code).
    • 0 very complex units (0 lines of code)
    • 1 complex units (188 lines of code)
    • 7 medium complex units (316 lines of code)
    • 20 simple units (560 lines of code)
    • 231 very simple units (1,522 lines of code)
0% | 7% | 12% | 21% | 58%
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
go0% | 7% | 12% | 21% | 58%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
command0% | 40% | 0% | 6% | 53%
spinnaker0% | 0% | 17% | 53% | 29%
mysql0% | 0% | 37% | 17% | 44%
term0% | 0% | 49% | 25% | 25%
grp0% | 0% | 25% | 8% | 66%
deploy0% | 0% | 8% | 10% | 81%
schedule0% | 0% | 0% | 35% | 64%
eligible0% | 0% | 0% | 24% | 75%
config0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
tracker0% | 0% | 0% | 0% | 100%
errorcounter0% | 0% | 0% | 0% | 100%
outage0% | 0% | 0% | 0% | 100%
decryptor0% | 0% | 0% | 0% | 100%
cal0% | 0% | 0% | 0% | 100%
constrainer0% | 0% | 0% | 0% | 100%
env0% | 0% | 0% | 0% | 100%
clock0% | 0% | 0% | 0% | 100%
cmd0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
188 41 0
65 20 1
23 14 1
54 14 2
36 13 2
50 13 1
41 11 1
47 11 6
36 10 1
12 9 4
34 9 1
39 9 1
35 9 1
36 9 4
25 8 6
33 8 1
34 8 1
28 7 6
26 7 1
27 7 1
26 7 1
25 6 1
25 6 4
29 6 2
20 6 1
22 6 1
19 6 2
29 6 2
22 5 1
18 5 1
21 5 1
25 5 1
30 5 1
23 5 1
33 5 1
19 5 3
13 4 2
15 4 1
12 4 1
17 4 1
13 4 1
11 4 1
11 4 1
6 4 1
26 4 1
15 4 1
9 4 1
15 4 1
18 4 4
16 4 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...