Conditional Complexity Overall
  • There are 47 units with 2,356 lines of code in units (71.1% of code).
    • 2 very complex units (954 lines of code)
    • 0 complex units (0 lines of code)
    • 6 medium complex units (414 lines of code)
    • 10 simple units (561 lines of code)
    • 29 very simple units (427 lines of code)
40% | 0% | 17% | 23% | 18%
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
tsx68% | 0% | 0% | 22% | 8%
ts0% | 0% | 42% | 25% | 32%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src40% | 0% | 17% | 23% | 18%
Most Complex Units
Top 47 most complex units
Unit# linesMcCabe index# params
528 71 3
426 53 1
85 19 1
58 15 1
57 12 1
66 12 3
55 11 1
93 11 0
261 10 0
46 10 0
33 9 1
29 7 0
26 7 2
27 7 0
54 7 0
35 7 1
24 6 2
26 6 1
22 5 0
9 5 1
65 5 0
32 5 2
20 4 1
20 4 1
13 4 0
11 3 0
14 3 0
16 3 2
15 3 1
35 3 1
25 3 1
7 3 0
12 2 1
9 2 0
11 2 0
11 2 0
6 2 0
21 2 0
8 2 1
11 1 2
4 1 0
5 1 0
3 1 0
3 1 0
13 1 2
1 1 0
5 1 1
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...