Conditional Complexity Overall
  • There are 27 units with 545 lines of code in units (24.7% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 3 medium complex units (216 lines of code)
    • 5 simple units (178 lines of code)
    • 19 very simple units (151 lines of code)
0% | 0% | 39% | 32% | 27%
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
ts0% | 0% | 25% | 41% | 32%
tsx0% | 0% | 87% | 0% | 12%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
app0% | 0% | 34% | 35% | 29%
ROOT0% | 0% | 100% | 0% | 0%
lib0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 27 most complex units
Unit# linesMcCabe index# params
106 20 0
66 14 6
44 11 1
22 10 3
56 8 1
28 7 2
40 7 2
32 6 3
20 5 1
11 5 2
8 4 2
6 4 1
7 3 1
6 3 1
7 3 4
6 3 3
8 2 4
4 2 4
9 2 6
15 1 2
4 1 4
4 1 4
4 1 4
16 1 3
4 1 0
9 1 0
3 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...