Conditional Complexity Overall
  • There are 450 units with 5,398 lines of code in units (3.3% of code).
    • 1 very complex units (154 lines of code)
    • 2 complex units (239 lines of code)
    • 17 medium complex units (877 lines of code)
    • 38 simple units (1,185 lines of code)
    • 392 very simple units (2,943 lines of code)
2% | 4% | 16% | 21% | 54%
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
py3% | 4% | 17% | 23% | 50%
rb0% | 0% | 0% | 4% | 95%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
tools5% | 0% | 7% | 24% | 62%
flow0% | 9% | 25% | 18% | 46%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
154 55 3
163 42 2
76 26 2
49 23 2
130 19 1
92 18 1
120 18 7
55 17 1
53 17 1
54 15 0
25 13 3
38 13 0
27 12 3
23 12 2
26 12 4
58 12 1
44 11 2
27 11 2
39 11 2
17 11 1
186 10 0
55 10 0
26 10 1
28 10 2
41 9 4
33 9 5
17 9 4
28 9 4
23 9 2
24 9 5
39 8 1
23 8 2
23 8 3
36 8 5
27 8 2
30 8 3
20 8 0
63 8 2
15 8 2
27 8 3
39 7 2
12 7 1
27 7 2
22 7 2
26 7 1
14 6 1
49 6 2
24 6 5
19 6 2
20 6 3
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...