Conditional Complexity Overall
  • There are 209 units with 2,024 lines of code in units (6.0% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 1 medium complex units (115 lines of code)
    • 12 simple units (259 lines of code)
    • 196 very simple units (1,650 lines of code)
0% | 0% | 5% | 12% | 81%
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
js0% | 0% | 15% | 18% | 65%
ts0% | 0% | 0% | 8% | 91%
tsx0% | 0% | 0% | 14% | 85%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
libs0% | 0% | 6% | 9% | 84%
scripts0% | 0% | 0% | 64% | 35%
configs0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
115 19 1
19 10 2
22 10 1
11 10 2
53 8 2
16 8 1
5 7 1
15 7 1
32 7 1
29 6 0
7 6 1
9 6 3
41 6 1
24 5 3
42 5 1
33 5 2
43 5 2
19 5 0
12 5 1
14 4 2
28 4 1
39 4 2
8 4 1
13 4 1
15 4 0
10 4 0
12 4 2
15 3 2
10 3 2
19 3 1
11 3 1
18 3 14
13 3 1
18 3 14
9 3 1
8 3 1
8 3 1
2 3 1
12 3 3
3 3 1
23 3 2
10 2 0
33 2 1
10 2 1
5 2 1
9 2 0
17 2 2
10 2 1
8 2 1
10 2 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...