Conditional Complexity Overall
  • There are 132 units with 3,964 lines of code in units (33.9% of code).
    • 0 very complex units (0 lines of code)
    • 5 complex units (1,150 lines of code)
    • 16 medium complex units (1,106 lines of code)
    • 21 simple units (575 lines of code)
    • 90 very simple units (1,133 lines of code)
0% | 29% | 27% | 14% | 28%
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
tsx0% | 47% | 24% | 2% | 25%
ts0% | 10% | 30% | 27% | 31%
js0% | 0% | 59% | 0% | 40%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src0% | 29% | 27% | 14% | 28%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
357 31 0
398 30 0
86 30 1
195 29 0
114 26 1
38 19 1
61 19 0
51 15 1
86 15 1
29 15 1
38 15 0
37 14 0
196 14 0
42 13 0
31 12 2
54 12 1
128 12 0
71 11 1
25 11 1
160 11 0
59 11 1
18 10 2
27 9 1
40 9 0
76 9 1
33 9 1
29 8 2
22 8 0
25 8 1
23 8 1
21 8 2
25 7 1
37 7 1
17 7 1
16 7 1
17 7 1
25 7 0
30 7 1
22 6 1
23 6 1
25 6 1
24 6 1
29 5 0
16 5 0
37 5 1
16 5 1
61 5 0
30 5 1
19 5 1
20 4 0
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...